public class FactTemplateObjectType extends Object implements ObjectType
| Modifier and Type | Field and Description |
|---|---|
protected FactTemplate |
factTemplate
FieldTemplate.
|
| Constructor and Description |
|---|
FactTemplateObjectType() |
FactTemplateObjectType(FactTemplate factTemplate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Determine if another object is equal to this.
|
String |
getClassName() |
Class<?> |
getClassType() |
FactTemplate |
getFactTemplate()
Return the Fact Template.
|
ValueType |
getValueType() |
int |
hashCode() |
boolean |
isAssignableFrom(Class<?> clazz) |
boolean |
isAssignableFrom(Object object) |
boolean |
isAssignableFrom(ObjectType objectType) |
boolean |
isEvent()
Returns true if the object type represented by this object
is an event object type.
|
boolean |
matches(Object object)
Determine if the passed
Object belongs to the object type
defined by this objectType instance. |
void |
readExternal(ObjectInput in) |
void |
setEvent(boolean isEvent) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
protected FactTemplate factTemplate
public FactTemplateObjectType()
public FactTemplateObjectType(FactTemplate factTemplate)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic FactTemplate getFactTemplate()
public boolean matches(Object object)
Object belongs to the object type
defined by this objectType instance.object - The Object to test.true if the Object matches this
object type, else false.public boolean isAssignableFrom(Object object)
public boolean isAssignableFrom(Class<?> clazz)
isAssignableFrom in interface ObjectTypepublic boolean isAssignableFrom(ObjectType objectType)
isAssignableFrom in interface ObjectTypepublic ValueType getValueType()
getValueType in interface ObjectTypepublic boolean isEvent()
ObjectTypeisEvent in interface ObjectTypepublic void setEvent(boolean isEvent)
public Class<?> getClassType()
getClassType in interface ObjectTypepublic String getClassName()
getClassName in interface ObjectTypepublic boolean equals(Object object)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.