|
||||||||||
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 | |
---|---|
static ClassObjectType |
Activation_ObjectType
|
protected Class<?> |
cls
Java object class. |
protected String |
clsName
|
static ClassObjectType |
DroolsQuery_ObjectType
|
static ClassObjectType |
InitialFact_ObjectType
|
static ClassObjectType |
Map_ObjectType
|
static ClassObjectType |
ObjectArray_ObjectType
|
protected ValueType |
valueType
|
Constructor Summary | |
---|---|
ClassObjectType()
|
|
ClassObjectType(Class<?> objectTypeClass)
Creates a new class object type with shadow disabled. |
|
ClassObjectType(Class<?> objectTypeClass,
boolean isEvent)
Creates a new class object type |
Method Summary | |
---|---|
boolean |
equals(Object object)
Determine if another object is equal to this. |
String |
getClassName()
|
Class<?> |
getClassType()
Return the Java object class. |
ValueType |
getValueType()
|
int |
hashCode()
|
boolean |
isAssignableFrom(ObjectType objectType)
|
boolean |
isEvent()
Returns true if the object type represented by this object is an event object type. |
void |
readExternal(ObjectInput in)
|
void |
setClassType(Class<?> cls)
|
void |
setEvent(boolean isEvent)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ClassObjectType InitialFact_ObjectType
public static final ClassObjectType DroolsQuery_ObjectType
public static final ClassObjectType Map_ObjectType
public static final ClassObjectType ObjectArray_ObjectType
public static final ClassObjectType Activation_ObjectType
protected Class<?> cls
protected String clsName
protected ValueType valueType
Constructor Detail |
---|
public ClassObjectType()
public ClassObjectType(Class<?> objectTypeClass)
objectTypeClass
- Java object class.public ClassObjectType(Class<?> objectTypeClass, boolean isEvent)
objectTypeClass
- the class represented by this class object typeisEvent
- true if it is an event class, false otherwiseMethod Detail |
---|
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public Class<?> getClassType()
public String getClassName()
public void setClassType(Class<?> cls)
public boolean isAssignableFrom(ObjectType objectType)
isAssignableFrom
in interface ObjectType
public ValueType getValueType()
getValueType
in interface ObjectType
public boolean isEvent()
ObjectType
isEvent
in interface ObjectType
public void setEvent(boolean isEvent)
public String toString()
toString
in class Object
public boolean equals(Object object)
equals
in class Object
object
- The object to test.
true
if object
is equal to this,
otherwise false
.public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |