站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

ObjectType - JBoss RULES 3.0.6 API 英文版文档


org.drools.spi
Interface ObjectType

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

public interface ObjectType
extends java.io.Serializable

Semantic object type differentiator.

See Also:
Declaration

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

getValueType

int getValueType()