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

InstanceEqualsConstraint - JBoss RULES 3.0.6 API 英文版文档


org.drools.common
Class InstanceEqualsConstraint

java.lang.Object
  extended by org.drools.common.InstanceEqualsConstraint
All Implemented Interfaces:
java.io.Serializable, Constraint, FieldConstraint, RuleComponent

public class InstanceEqualsConstraint
extends java.lang.Object
implements FieldConstraint

InstanceEqualsConstraint Created: 21/06/2006

See Also:
Serialized Form

Constructor Summary
InstanceEqualsConstraint(int otherColumn)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int getOtherColumn()
           
 Declaration[] getRequiredDeclarations()
           
 int hashCode()
           
 boolean isAllowed(InternalFactHandle handle, Tuple tuple, WorkingMemory workingMemory)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceEqualsConstraint

public InstanceEqualsConstraint(int otherColumn)
Method Detail

getRequiredDeclarations

public Declaration[] getRequiredDeclarations()
Specified by:
getRequiredDeclarations in interface FieldConstraint

getOtherColumn

public int getOtherColumn()

isAllowed

public boolean isAllowed(InternalFactHandle handle,
                         Tuple tuple,
                         WorkingMemory workingMemory)
Specified by:
isAllowed in interface FieldConstraint

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object