org.drools.verifier.components
Class VariableRestriction

java.lang.Object
  extended by org.drools.verifier.data.VerifierComponent
      extended by org.drools.verifier.components.PackageComponent
          extended by org.drools.verifier.components.RuleComponent
              extended by org.drools.verifier.components.PatternComponent
                  extended by org.drools.verifier.components.Restriction
                      extended by org.drools.verifier.components.VariableRestriction
All Implemented Interfaces:
Comparable<VerifierComponent>, 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
protected  Variable variable
           
 
Fields inherited from class org.drools.verifier.components.Restriction
operator
 
Constructor Summary
VariableRestriction(Pattern pattern)
           
 
Method Summary
 Restriction.RestrictionType getRestrictionType()
           
 Variable getVariable()
           
 void setVariable(Variable patternVariable)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.drools.verifier.report.components.Cause
getCauses
 

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:
getRestrictionType in class Restriction

toString

public String toString()
Overrides:
toString in class VerifierComponent


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.