|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ObjectType
object
- The Object
to test.
true
if the Object
matches this
object type, else false
.public ValueType getValueType()
getValueType
in interface ObjectType
public Object getShadow(Object fact)
ObjectType
getShadow
in interface ObjectType
fact
- the fact to be shadowed
public boolean isShadowEnabled()
ObjectType
isShadowEnabled
in interface ObjectType
public 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 |