|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.expression.RuleNode
atg.commerce.expression.Rule
public class Rule
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 |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public Rule()
| Method Detail |
|---|
public RuleExpression getLeftSide()
public void setLeftSide(RuleExpression pLeftSide)
pLeftSide - the value to set for property leftSidepublic RuleExpression getRightSide()
public void setRightSide(RuleExpression pRightSide)
pRightSide - the value to set for property rightSidepublic java.lang.String toString()
toString in class RuleNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||