org.drools.spi
Interface ObjectType

All Superinterfaces:
SemanticComponent, Serializable
All Known Implementing Classes:
ClassFieldObjectType, ClassObjectType

public interface ObjectType
extends SemanticComponent

Semantic object type differentiator.

Author:
bob mcwhirter
See Also:
Declaration

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

Method Detail

matches

public boolean matches(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.


Copyright © 2001-2004 The Codehaus. All Rights Reserved.