atg.commerce.expression
Class Rule

java.lang.Object
  extended by atg.commerce.expression.RuleNode
      extended by atg.commerce.expression.Rule

public class Rule
extends RuleNode

This class represents a rule. It will contain RuleExpressions and an operator which are evaluated to true or false.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.commerce.expression.RuleNode
CONTAINS, CONTAINS_KEY, EQUALS, EQUALS_METHOD, GREATER_THAN, GREATER_THAN_EQUAL_TO, LESS_THAN, LESS_THAN_EQUAL_TO, NO_OP, NOT_EQUAL_TO
 
Constructor Summary
Rule()
           
 
Method Summary
 RuleExpression getLeftSide()
          Returns property leftSide
 RuleExpression getRightSide()
          Returns property rightSide
 void setLeftSide(RuleExpression pLeftSide)
          Sets property leftSide
 void setRightSide(RuleExpression pRightSide)
          Sets property rightSide
 java.lang.String toString()
           
 
Methods inherited from class atg.commerce.expression.RuleNode
getOperator, setOperator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

Rule

public Rule()
Method Detail

getLeftSide

public RuleExpression getLeftSide()
Returns property leftSide

Returns:
returns property leftSide

setLeftSide

public void setLeftSide(RuleExpression pLeftSide)
Sets property leftSide

Parameters:
pLeftSide - the value to set for property leftSide

getRightSide

public RuleExpression getRightSide()
Returns property rightSide

Returns:
returns property rightSide

setRightSide

public void setRightSide(RuleExpression pRightSide)
Sets property rightSide

Parameters:
pRightSide - the value to set for property rightSide

toString

public java.lang.String toString()
Overrides:
toString in class RuleNode