|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.spi.MockObjectType
public class MockObjectType
Java class semantics ObjectType.
| Constructor Summary | |
|---|---|
MockObjectType()
|
|
MockObjectType(boolean matches)
Construct. |
|
| Method Summary | |
|---|---|
ValueType |
getValueType()
|
boolean |
isAssignableFrom(Object object)
|
boolean |
isAssignableFrom(ObjectType objectType)
|
boolean |
isEvent()
Returns true if the object type represented by this object is an event object type. |
boolean |
matches(Object object)
Determine if the passed Object belongs to the object type
defined by this objectType instance. |
void |
readExternal(ObjectInput in)
|
void |
setEvent(boolean isEvent)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockObjectType()
public MockObjectType(boolean matches)
objectTypeClass - Java object class.| 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 boolean matches(Object object)
Object belongs to the object type
defined by this objectType instance.
object - The Object to test.
true if the Object matches this
object type, else false.public boolean isAssignableFrom(Object object)
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)
|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||