org.drools.common
Class InstanceNotEqualsConstraint

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

public class InstanceNotEqualsConstraint
extends java.lang.Object
implements FieldConstraint

See Also:
Serialized Form
 

Constructor Summary
InstanceNotEqualsConstraint(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

InstanceNotEqualsConstraint

public InstanceNotEqualsConstraint(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)