|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.base.ClassObjectType
public class ClassObjectType
Java class semantics ObjectType.
| Field Summary | |
|---|---|
protected Class<?> |
cls
Java object class. |
protected String |
clsName
|
static ClassObjectType |
DroolsQuery_ObjectType
|
static ClassObjectType |
InitialFact_ObjectType
|
static ClassObjectType |
Map_ObjectType
|
static ClassObjectType |
Match_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. |
Long |
getTransformedMask(Class<?> modifiedClass,
long modificationMask)
|
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)
|
void |
storeTransformedMask(Class<?> modifiedClass,
long modificationMask,
long transforedMask)
|
String |
toString()
|
void |
wire(Class<?> klass)
|
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 Match_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 otherwise| Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic Class<?> getClassType()
getClassType in interface ClassWireablepublic String getClassName()
getClassName in interface ClassWireablepublic void setClassType(Class<?> cls)
public boolean isAssignableFrom(ObjectType objectType)
isAssignableFrom in interface ObjectTypepublic ValueType getValueType()
getValueType in interface ObjectTypepublic boolean isEvent()
ObjectType
isEvent in interface ObjectTypepublic void setEvent(boolean isEvent)
public String toString()
toString in class Objectpublic boolean equals(Object object)
equals in class Objectobject - The object to test.
true if object is equal to this,
otherwise false.public int hashCode()
hashCode in class Objectpublic void wire(Class<?> klass)
wire in interface ClassWireable
public Long getTransformedMask(Class<?> modifiedClass,
long modificationMask)
public void storeTransformedMask(Class<?> modifiedClass,
long modificationMask,
long transforedMask)
|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||