Package org.drools.core.spi
Interface ObjectType
-
- All Superinterfaces:
Externalizable,Serializable
- All Known Implementing Classes:
ClassObjectType,FactTemplateObjectType
public interface ObjectType extends Externalizable
Semantic object type differentiator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClassName()Class<?>getClassType()ValueTypegetValueType()booleanisAssignableFrom(Class<?> clazz)booleanisAssignableFrom(ObjectType objectType)booleanisEvent()Returns true if the object type represented by this object is an event object type.-
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
-
-
-
-
Method Detail
-
isAssignableFrom
boolean isAssignableFrom(Class<?> clazz)
-
isAssignableFrom
boolean isAssignableFrom(ObjectType objectType)
-
isEvent
boolean isEvent()
Returns true if the object type represented by this object is an event object type. False otherwise.- Returns:
-
getValueType
ValueType getValueType()
-
getClassType
Class<?> getClassType()
-
getClassName
String getClassName()
-
-