org.drools.rule
Class BoundVariableConstraint

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

public class BoundVariableConstraint
extends java.lang.Object
implements FieldConstraint

See Also:
Serialized Form
 

Constructor Summary
BoundVariableConstraint(FieldExtractor fieldExtractor, Declaration declaration, Evaluator evaluator)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 Evaluator getEvaluator()
           
 FieldExtractor getFieldExtractor()
           
 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

BoundVariableConstraint

public BoundVariableConstraint(FieldExtractor fieldExtractor,
                               Declaration declaration,
                               Evaluator evaluator)
Method Detail

getRequiredDeclarations

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

getFieldExtractor

public FieldExtractor getFieldExtractor()

getEvaluator

public Evaluator getEvaluator()

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)