org.drools.spi
Interface ObjectType

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ClassObjectType, FactTemplateObjectType

public interface ObjectType
extends java.io.Serializable

Semantic object type differentiator.

Author:
bob mcwhirter
See Also:
Declaration

Method Summary
 ValueType getValueType()
           
 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.
 

Method Detail

matches

boolean matches(java.lang.Object object)
Determine if the passed Object belongs to the object type defined by this objectType instance.

Parameters:
object - The Object to test.
Returns:
true if the Object matches this object type, else false.

isAssignableFrom

boolean isAssignableFrom(java.lang.Object object)

isAssignableFrom

boolean isAssignableFrom(ObjectType objectType)

getValueType

ValueType getValueType()