|
||||||||||
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(java.lang.Class objectTypeClass,
java.lang.String fieldName,
java.lang.String fieldValue)
Construct. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Determine if another object is equal to this. |
java.lang.String |
getFieldName()
Return the Java object class. |
java.lang.String |
getFieldValue()
Return the Java object class. |
int |
hashCode()
Produce the hash of this object. |
boolean |
matches(java.lang.Object object)
Determine if the passed Object belongs to the object type
defined by this objectType instance. |
java.lang.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(java.lang.Class objectTypeClass, java.lang.String fieldName, java.lang.String fieldValue)
objectTypeClass
- Java object class.Method Detail |
public java.lang.String getFieldName()
public java.lang.String getFieldValue()
public boolean matches(java.lang.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(java.lang.Object object)
equals
in class ClassObjectType
object
- The object to test.
true
if object
is equal to this,
otherwise false
.public int hashCode()
hashCode
in class ClassObjectType
public java.lang.String toString()
toString
in class ClassObjectType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |