|
||||||||||
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 ValueType |
valueType
|
Constructor Summary | |
---|---|
ClassObjectType(java.lang.Class objectTypeClass)
Creates a new class object type with shadow disabled. |
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. |
ValueType |
getValueType()
|
int |
hashCode()
|
boolean |
isAssignableFrom(java.lang.Object object)
|
boolean |
isAssignableFrom(ObjectType objectType)
|
boolean |
matches(java.lang.Object object)
Determine if the passed Object belongs to the object type
defined by this objectType instance. |
boolean |
matchesClass(java.lang.Class clazz)
Determine if the passed Class matches 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 |
Field Detail |
---|
protected java.lang.Class objectTypeClass
protected ValueType valueType
Constructor Detail |
---|
public ClassObjectType(java.lang.Class objectTypeClass)
objectTypeClass
- Java object class.Method Detail |
---|
public java.lang.Class getClassType()
public boolean matchesClass(java.lang.Class clazz)
Class
matches to the object type
defined by this objectType
instance.
clazz
- The Class
to test.
true
if the Class
matches this
object type, else false
.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 isAssignableFrom(java.lang.Object object)
isAssignableFrom
in interface ObjectType
public boolean isAssignableFrom(ObjectType objectType)
isAssignableFrom
in interface ObjectType
public ValueType getValueType()
getValueType
in interface ObjectType
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 |