org.drools.common
Class InstanceEqualsConstraint

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

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)
           
 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

isAllowed

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

toString

public java.lang.String toString()

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object object)