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

BoundVariableConstraint - JBoss RULES 3.0.6 API 英文版文档


org.drools.rule
Class BoundVariableConstraint

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

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