com.remedy.arsys.api
Class RelationalOperationInfo
java.lang.Object
|
+--com.remedy.arsys.api.RelationalOperationInfo
- public class RelationalOperationInfo
- extends java.lang.Object
- implements IARQualifierOperand, java.lang.Cloneable
The RelationalOperationInfo class represents any relational operation
between any ArithmeticOrRelationalOperand objects.
It consists
of a tag identifying the operation type and two operands specifying the values to
compare.
Note This operand can be used in
ArithmeticOperationInfo operations as well.
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AR_REL_OP_EQUAL
public static final int AR_REL_OP_EQUAL
Constants.AR_REL_OP_EQUAL
tests whether the left operand is equal to the right operand.
AR_REL_OP_GREATER
public static final int AR_REL_OP_GREATER
Constants.AR_REL_OP_GREATER
tests whether the left operand is greater than the right operand.
AR_REL_OP_GREATER_EQUAL
public static final int AR_REL_OP_GREATER_EQUAL
Constants.AR_REL_OP_GREATER_EQUAL
tests whether the left operand is greater than or is equal to the right operand.
AR_REL_OP_LESS
public static final int AR_REL_OP_LESS
Constants.AR_REL_OP_LESS
tests whether the left operand is less than the right operand.
AR_REL_OP_LESS_EQUAL
public static final int AR_REL_OP_LESS_EQUAL
Constants.AR_REL_OP_LESS_EQUAL
tests whether the left operand is less than or is equal to the right operand.
AR_REL_OP_NOT_EQUAL
public static final int AR_REL_OP_NOT_EQUAL
Constants.AR_REL_OP_NOT_EQUAL
tests whether the left operand is not equal to the right operand.
AR_REL_OP_LIKE
public static final int AR_REL_OP_LIKE
Constants.AR_REL_OP_LIKE
tests whether the left operand is LIKE the pattern defined by the right operand.
AR_REL_OP_IN
public static final int AR_REL_OP_IN
Constants.AR_REL_OP_IN
tests whether the left operand is equal to the right operand.
RelationalOperationInfo
public RelationalOperationInfo(int operation,
ArithmeticOrRelationalOperand op1,
ArithmeticOrRelationalOperand op2)
throws java.lang.IllegalArgumentException
setOperation
public void setOperation(int operation)
- Sets conditional operation used.
setLeftOperand
public void setLeftOperand(ArithmeticOrRelationalOperand op)
- Sets value of left operand.
setRightOperand
public void setRightOperand(ArithmeticOrRelationalOperand op)
- Sets value of right operand.
getLeftOperand
public ArithmeticOrRelationalOperand getLeftOperand()
- Returns value of left operand.
getRightOperand
public ArithmeticOrRelationalOperand getRightOperand()
- Returns value of right operand.
getOperation
public int getOperation()
- Returns conditional operation used.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Clone implementation that returns an Object with data cloned from self
- Overrides:
- clone in class java.lang.Object