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 Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public 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 ObjectType
public boolean isAssignableFrom(ObjectType objectType)
isAssignableFrom
in interface ObjectType
public ValueType getValueType()
getValueType
in interface ObjectType
public boolean isEvent()
ObjectType
isEvent
in interface ObjectType
public void setEvent(boolean isEvent)
public Class<?> getClassType()
getClassType
in interface ObjectType
public String getClassName()
getClassName
in interface ObjectType
public boolean equals(Object object)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.