|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.facttemplates.FactTemplateObjectType
public class FactTemplateObjectType
Field Summary | |
---|---|
protected FactTemplate |
factTemplate
FieldTemplate. |
Constructor Summary | |
---|---|
FactTemplateObjectType()
|
|
FactTemplateObjectType(FactTemplate factTemplate)
Construct. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected FactTemplate factTemplate
Constructor Detail |
---|
public FactTemplateObjectType()
public FactTemplateObjectType(FactTemplate factTemplate)
objectTypeClass
- Java object class.Method Detail |
---|
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(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 String toString()
toString
in class Object
public boolean equals(Object object)
equals
in class Object
object
- The object to test.
true
if object
is equal to this,
otherwise false
.public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |