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