Package org.drools.verifier.components
Class VariableRestriction
- java.lang.Object
-
- org.drools.verifier.data.VerifierComponent<D>
-
- org.drools.verifier.components.PackageComponent<D>
-
- org.drools.verifier.components.RuleComponent
-
- org.drools.verifier.components.PatternComponent
-
- org.drools.verifier.components.Restriction
-
- org.drools.verifier.components.VariableRestriction
-
- All Implemented Interfaces:
java.lang.Comparable,ChildComponent,Cause
public class VariableRestriction extends Restriction implements Cause
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.drools.verifier.components.Restriction
Restriction.RestrictionType
-
-
Field Summary
Fields Modifier and Type Field Description protected Variablevariable-
Fields inherited from class org.drools.verifier.components.Restriction
operator
-
-
Constructor Summary
Constructors Constructor Description VariableRestriction(Pattern pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Restriction.RestrictionTypegetRestrictionType()VariablegetVariable()voidsetVariable(Variable patternVariable)java.lang.StringtoString()-
Methods inherited from class org.drools.verifier.components.Restriction
getFieldPath, getOperator, getPath, getVerifierComponentType, isPatternIsNot, setFieldPath, setOperator, setPatternIsNot
-
Methods inherited from class org.drools.verifier.components.PatternComponent
getPatternName, getPatternOrderNumber, getPatternPath
-
Methods inherited from class org.drools.verifier.components.RuleComponent
getFullRulePath, getOrderNumber, getParentPath, getParentType, getRuleName, getRulePath, setOrderNumber, setParentPath, setParentType, setRuleName
-
Methods inherited from class org.drools.verifier.components.PackageComponent
getPackageName, getPackagePath, setPackageName
-
Methods inherited from class org.drools.verifier.data.VerifierComponent
compareTo, getCauses, getDescr
-
-
-
-
Field Detail
-
variable
protected Variable variable
-
-
Constructor Detail
-
VariableRestriction
public VariableRestriction(Pattern pattern)
-
-
Method Detail
-
getVariable
public Variable getVariable()
-
setVariable
public void setVariable(Variable patternVariable)
-
getRestrictionType
public Restriction.RestrictionType getRestrictionType()
- Specified by:
getRestrictionTypein classRestriction
-
toString
public java.lang.String toString()
- Overrides:
toStringin classVerifierComponent
-
-