atg.commerce.expression
Class RuleNode

java.lang.Object
  extended by atg.commerce.expression.RuleNode
Direct Known Subclasses:
Rule

public abstract class RuleNode
extends java.lang.Object

This class represents a generic rule node and is a base class for classes like Rule.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static int CONTAINS
           
static int CONTAINS_KEY
           
static int EQUALS
           
static int EQUALS_METHOD
           
static int GREATER_THAN
           
static int GREATER_THAN_EQUAL_TO
           
static int LESS_THAN
           
static int LESS_THAN_EQUAL_TO
           
static int NO_OP
           
static int NOT_EQUAL_TO
           
 
Constructor Summary
RuleNode()
           
 
Method Summary
 int getOperator()
          Returns property operator
 void setOperator(int pOperator)
          Sets property operator
 java.lang.String toString()
           
 
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


NO_OP

public static final int NO_OP
See Also:
Constant Field Values

EQUALS

public static final int EQUALS
See Also:
Constant Field Values

LESS_THAN

public static final int LESS_THAN
See Also:
Constant Field Values

GREATER_THAN

public static final int GREATER_THAN
See Also:
Constant Field Values

LESS_THAN_EQUAL_TO

public static final int LESS_THAN_EQUAL_TO
See Also:
Constant Field Values

GREATER_THAN_EQUAL_TO

public static final int GREATER_THAN_EQUAL_TO
See Also:
Constant Field Values

NOT_EQUAL_TO

public static final int NOT_EQUAL_TO
See Also:
Constant Field Values

CONTAINS

public static final int CONTAINS
See Also:
Constant Field Values

CONTAINS_KEY

public static final int CONTAINS_KEY
See Also:
Constant Field Values

EQUALS_METHOD

public static final int EQUALS_METHOD
See Also:
Constant Field Values
Constructor Detail

RuleNode

public RuleNode()
Method Detail

getOperator

public int getOperator()
Returns property operator

Returns:
returns property operator

setOperator

public void setOperator(int pOperator)
Sets property operator

Parameters:
pOperator - the value to set for property operator

toString

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