|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.semantics.base.ClassObjectType
public class ClassObjectType
Java class semantics ObjectType
.
Constructor Summary | |
---|---|
ClassObjectType(java.lang.Class objectTypeClass)
Construct. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassObjectType(java.lang.Class objectTypeClass)
objectTypeClass
- Java object class.Method Detail |
---|
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 object)
equals
in class java.lang.Object
object
- The object to test.
true
if object
is equal to this,
otherwise false
.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |