当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
PredicateConstraint - JBoss RULES 3.0.6 API 英文版文档
org.drools.rule
Class PredicateConstraint
java.lang.Object
org.drools.rule.PredicateConstraint
- All Implemented Interfaces:
- java.io.Serializable, Constraint, FieldConstraint, RuleComponent
public class PredicateConstraint
- extends java.lang.Object
- implements FieldConstraint
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PredicateConstraint
public PredicateConstraint(PredicateExpression evaluator,
Declaration declaration)
PredicateConstraint
public PredicateConstraint(Declaration declaration,
Declaration[] requiredDeclarations)
PredicateConstraint
public PredicateConstraint(PredicateExpression expression,
Declaration declaration,
Declaration[] requiredDeclarations)
getRequiredDeclarations
public Declaration[] getRequiredDeclarations()
- Specified by:
getRequiredDeclarations
in interface FieldConstraint
setPredicateExpression
public void setPredicateExpression(PredicateExpression expression)
getPredicateExpression
public PredicateExpression getPredicateExpression()
isAllowed
public boolean isAllowed(InternalFactHandle handle,
Tuple tuple,
WorkingMemory workingMemory)
- Specified by:
isAllowed
in interface FieldConstraint
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