|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.base.ClassObjectType
public class ClassObjectType
Java class semantics ObjectType
.
Field Summary | |
---|---|
protected java.lang.Class |
objectTypeClass
Java object class. |
protected int |
valueType
|
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 |
getClassType()
Return the Java object class. |
int |
getValueType()
|
int |
hashCode()
|
boolean |
matches(java.lang.Object object)
Determine if the passed Object belongs to the object type
defined by this objectType instance. |
protected void |
setValueType(java.lang.Class clazz)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.Class objectTypeClass
protected int valueType
Constructor Detail |
---|
public ClassObjectType(java.lang.Class objectTypeClass)
objectTypeClass
- Java object class.Method Detail |
---|
public java.lang.Class getClassType()
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 int getValueType()
getValueType
in interface ObjectType
protected void setValueType(java.lang.Class clazz)
public java.lang.String toString()
toString
in class java.lang.Object
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |