|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.semantics.base.ClassObjectType
org.drools.semantics.base.ClassFieldObjectType
Java class semantics ObjectType
.
Constructor Summary | |
ClassFieldObjectType(Class objectTypeClass,
String fieldName,
String fieldValue)
Construct. |
Method Summary | |
boolean |
equals(Object thatObj)
Determine if another object is equal to this. |
String |
getFieldName()
Return the Java object class. |
String |
getFieldValue()
Return the Java object class. |
int |
hashCode()
Produce the hash of this object. |
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 org.drools.semantics.base.ClassObjectType |
getType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClassFieldObjectType(Class objectTypeClass, String fieldName, String fieldValue)
objectTypeClass
- Java object class.Method Detail |
public String getFieldName()
public String getFieldValue()
public boolean matches(Object object)
Object
belongs to the object type
defined by this objectType
instance.
matches
in interface ObjectType
matches
in class ClassObjectType
object
- The Object
to test.
true
if the Object
matches this
object type, else false
.public boolean equals(Object thatObj)
equals
in class ClassObjectType
thatObj
- The object to test.
true
if thatObj
is equal to this,
otherwise false
.public int hashCode()
hashCode
in class ClassObjectType
public String toString()
toString
in class ClassObjectType
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |