|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.java.ClassObjectType
Java class semantics ObjectType
.
Constructor Summary | |
ClassObjectType()
Construct, partially. |
|
ClassObjectType(java.lang.Class objectTypeClass)
Construct. |
Method Summary | |
boolean |
equals(java.lang.Object thatObj)
Determine if another object is equal to this. |
java.lang.Class |
getType()
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. |
void |
setType(java.lang.Class objectTypeClass)
Set the Java object class. |
java.lang.String |
toString()
Produce a debug string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClassObjectType()
setType(java.lang.Class)
public ClassObjectType(java.lang.Class objectTypeClass)
objectTypeClass
- Java object class.Method Detail |
public void setType(java.lang.Class objectTypeClass)
objectTypeClass
- The Java object class.public java.lang.Class getType()
public boolean matches(java.lang.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 boolean equals(java.lang.Object thatObj)
equals
in class java.lang.Object
thatObj
- The object to test.true
if thatObj
is equal
to this, otherwise false
.public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |