当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
VariableConstraint (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.rule
Class VariableConstraint
java.lang.Object
org.drools.rule.VariableConstraint
- All Implemented Interfaces:
- Serializable, AlphaNodeFieldConstraint, BetaNodeFieldConstraint, Constraint, RuleComponent
public class VariableConstraint
- extends Object
- implements AlphaNodeFieldConstraint, BetaNodeFieldConstraint
- See Also:
- Serialized Form
VariableConstraint
public VariableConstraint(FieldExtractor fieldExtractor,
Declaration declaration,
Evaluator evaluator)
VariableConstraint
public VariableConstraint(FieldExtractor fieldExtractor,
VariableRestriction restriction)
getRequiredDeclarations
public Declaration[] getRequiredDeclarations()
- Specified by:
getRequiredDeclarations
in interface Constraint
getFieldExtractor
public FieldExtractor getFieldExtractor()
getEvaluator
public Evaluator getEvaluator()
isAllowed
public boolean isAllowed(Object object,
InternalWorkingMemory workingMemory)
- Specified by:
isAllowed
in interface AlphaNodeFieldConstraint
isAllowedCachedLeft
public boolean isAllowedCachedLeft(ContextEntry context,
Object object)
- Specified by:
isAllowedCachedLeft
in interface BetaNodeFieldConstraint
isAllowedCachedRight
public boolean isAllowedCachedRight(ReteTuple tuple,
ContextEntry context)
- Specified by:
isAllowedCachedRight
in interface BetaNodeFieldConstraint
toString
public String toString()
- Overrides:
toString
in class Object
getContextEntry
public ContextEntry getContextEntry()
- Specified by:
getContextEntry
in interface BetaNodeFieldConstraint
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.