AR System Java API

com.bmc.arsys.api
Class ArithmeticOrRelationalOperand

java.lang.Object
  extended by com.bmc.arsys.api.ArithmeticOrRelationalOperand
All Implemented Interfaces:
Serializable, Cloneable

public class ArithmeticOrRelationalOperand
extends Object
implements Cloneable, Serializable

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

Refs: QualifierInfo

See Also:
Serialized Form

Constructor Summary
ArithmeticOrRelationalOperand(ArithmeticOperationInfo opInfo)
           
ArithmeticOrRelationalOperand(CurrencyPartInfo currencyPartInfo)
           
ArithmeticOrRelationalOperand(int fldID)
           
ArithmeticOrRelationalOperand(int opType, CurrencyPartInfo currencyPartInfo)
           
ArithmeticOrRelationalOperand(int i, int fieldId)
           
ArithmeticOrRelationalOperand(int fldID, int funcid, IQuerySource sourceForm)
           
ArithmeticOrRelationalOperand(int fldID, IQuerySource sourceForm)
          Constructs using FieldId and objects implementing IQuerySource interface
ArithmeticOrRelationalOperand(List<Value> valList)
           
ArithmeticOrRelationalOperand(OperandType opType, CurrencyPartInfo currencyPartInfo)
           
ArithmeticOrRelationalOperand(OperandType opType, int fldID)
          Constructs using OperandType and FieldID TO BE DEPRECATED
ArithmeticOrRelationalOperand(QueryFormField formField)
           
ArithmeticOrRelationalOperand(QueryInfo queryInfo)
          Constructor builds operand using QueryInfo object
ArithmeticOrRelationalOperand(StatusHistoryValueIndicator statusHistory)
          Constructor builds operand using StatusHistoryValueIndicator
ArithmeticOrRelationalOperand(Value val)
          Constructs using Value object
ArithmeticOrRelationalOperand(ValueSetQuery queryValueSet)
          Constructor builds operand using ValueSetQuery object
 
Method Summary
 Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(Object obj)
          Use this method for checking equality between the current object and the provided one.
 OperandType getType()
          Returns type of operand.
 Object getValue()
          Returns value of operand.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setValue(Value val)
           
 String toString()
          Returns a string description of the object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArithmeticOrRelationalOperand

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


ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(int fldID)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(int fldID,
                                     IQuerySource sourceForm)
Constructs using FieldId and objects implementing IQuerySource interface


ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(int fldID,
                                     int funcid,
                                     IQuerySource sourceForm)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(QueryFormField formField)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(int i,
                                     int fieldId)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(Value val)
Constructs using Value object


ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(ArithmeticOperationInfo opInfo)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(StatusHistoryValueIndicator statusHistory)
Constructor builds operand using StatusHistoryValueIndicator


ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(List<Value> valList)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(CurrencyPartInfo currencyPartInfo)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(OperandType opType,
                                     CurrencyPartInfo currencyPartInfo)

ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(int opType,
                                     CurrencyPartInfo currencyPartInfo)

ArithmeticOrRelationalOperand

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


ArithmeticOrRelationalOperand

public ArithmeticOrRelationalOperand(ValueSetQuery queryValueSet)
Constructor builds operand using ValueSetQuery object

Method Detail

getType

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


getValue

public Object getValue()
Returns value of operand.


setValue

public void setValue(Value val)

clone

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

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

equals

public boolean equals(Object obj)
Use this method for checking equality between the current object and the provided one. The result is true only if the argument is not null, is of the same type and represents the same content.

Overrides:
equals in class Object
Parameters:
obj - the object that we are comparing to
Returns:
returns a boolean that tells if the two objects equal

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.

Overrides:
hashCode in class Object
Returns:
returns the hash code for this instance

toString

public String toString()
Returns a string description of the object.

Overrides:
toString in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.