7.0 Action Request System Java API

com.remedy.arsys.api
Class ArithmeticOrRelationalOperand

java.lang.Object
  extended bycom.remedy.arsys.api.ArithmeticOrRelationalOperand
All Implemented Interfaces:
java.lang.Cloneable

public class ArithmeticOrRelationalOperand
extends java.lang.Object
implements java.lang.Cloneable

The ArithmeticOrRelationalOperand class represents the operand values of a arithmetic or relational operation.

Refs: QualifierInfo


Constructor Summary
ArithmeticOrRelationalOperand(ArithmeticOperationInfo opInfo)
           
ArithmeticOrRelationalOperand(CurrencyPartInfo currencyPartInfo)
           
ArithmeticOrRelationalOperand(FieldID fldID)
           
ArithmeticOrRelationalOperand(int nVariable)
           
ArithmeticOrRelationalOperand(int opType, CurrencyPartInfo currencyPartInfo)
           
ArithmeticOrRelationalOperand(OperandType opType, CurrencyPartInfo currencyPartInfo)
           
ArithmeticOrRelationalOperand(OperandType opType, FieldID fldID)
          Constructs using OperandType and FieldID TO BE DEPRECATED
ArithmeticOrRelationalOperand(QueryInfo queryInfo)
          Constructor builds operand using QueryInfo object
ArithmeticOrRelationalOperand(StatusHistoryValue statusHistory)
          Constructor builds operand using StatusHistoryValue
ArithmeticOrRelationalOperand(Value val)
          Constructs using Value object
ArithmeticOrRelationalOperand(Value[] valList)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 OperandType getType()
          Returns type of operand.
 java.lang.Object getValue()
          Returns value of operand.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setValue(Value val)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(OperandType opType,
                                     FieldID fldID)
Constructs using OperandType and FieldID TO BE DEPRECATED


ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(FieldID fldID)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(Value val)
Constructs using Value object


ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(ArithmeticOperationInfo opInfo)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(StatusHistoryValue statusHistory)
Constructor builds operand using StatusHistoryValue


ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(Value[] valList)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(CurrencyPartInfo currencyPartInfo)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(OperandType opType,
                                     CurrencyPartInfo currencyPartInfo)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(int opType,
                                     CurrencyPartInfo currencyPartInfo)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(int nVariable)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(QueryInfo queryInfo)
Constructor builds operand using QueryInfo object

Method Detail

getType

public OperandType getType()
Returns type of operand. The OperandType class defines possible values that can be returned.


getValue

public java.lang.Object getValue()
Returns value of operand.


setValue

public void setValue(Value val)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self

Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true only if the argument is not null, is of same type and represents the same content.


hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.


7.0 Action Request System Java API