|
||||||||||
| 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
Java class semantics ObjectType.
| Field Summary | |
|---|---|
protected FactTemplate |
factTemplate
FieldTemplate. |
| Constructor Summary | |
|---|---|
FactTemplateObjectType(FactTemplate factTemplate)
Construct. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Determine if another object is equal to this. |
FactTemplate |
getFactTemplate()
Return the Fact Template. |
Object |
getShadow(Object fact)
If shadow facts are enabled, returns the shadow fact, otherwise returns null |
ValueType |
getValueType()
|
int |
hashCode()
|
boolean |
isShadowEnabled()
Returns true in case shadow facts are enabled |
boolean |
matches(Object object)
Determine if the passed Object belongs to the object type
defined by this objectType instance. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected FactTemplate factTemplate
| Constructor Detail |
|---|
public FactTemplateObjectType(FactTemplate factTemplate)
objectTypeClass - Java object class.| Method Detail |
|---|
public FactTemplate getFactTemplate()
public boolean matches(Object object)
Object belongs to the object type
defined by this objectType instance.
matches in interface ObjectTypeobject - The Object to test.
true if the Object matches this
object type, else false.public ValueType getValueType()
getValueType in interface ObjectTypepublic Object getShadow(Object fact)
ObjectType
getShadow in interface ObjectTypefact - the fact to be shadowed
public boolean isShadowEnabled()
ObjectType
isShadowEnabled in interface ObjectTypepublic String toString()
public boolean equals(Object object)
object - The object to test.
true if object is equal to this,
otherwise false.public int hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||