public class FactTemplateObjectType extends Object implements ObjectType
| Modifier and Type | Field and Description |
|---|---|
protected FactTemplate |
factTemplate
FieldTemplate.
|
| Constructor and Description |
|---|
FactTemplateObjectType() |
FactTemplateObjectType(FactTemplate factTemplate)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Determine if another object is equal to this.
|
FactTemplate |
getFactTemplate()
Return the Fact Template.
|
ValueType |
getValueType() |
int |
hashCode() |
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)
objectTypeClass - Java object class.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(ObjectType objectType)
isAssignableFrom in interface ObjectTypepublic ValueType getValueType()
getValueType in interface ObjectTypepublic boolean isEvent()
ObjectTypeisEvent in interface ObjectTypepublic void setEvent(boolean isEvent)
public boolean equals(Object object)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.