5.1 Action Request System Java API

com.remedy.arsys.api
Class CurrencyPartInfo

java.lang.Object
  |
  +--com.remedy.arsys.api.CurrencyPartInfo
All Implemented Interfaces:
java.lang.Cloneable

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

The CurrencyPartInfo class represents the result value from an arithmetic operation between ArithmeticOrRelationalOperand objects. It consists of a tag identifying the operation type and two operands specifying the values to compare.

Note This operand is used in RelationalOperationInfo operation as well.

Refs: QualifierInfo


Constructor Summary
CurrencyPartInfo()
           
CurrencyPartInfo(InternalID fieldId, int partTag, java.lang.String currencyCode)
           
 
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.
 java.lang.String getCurrencyCode()
          Returns Currency Code.
 InternalID getFieldId()
          Returns field Id.
 int getPartTag()
          Returns partTag.
 int hashCode()
          This method can be used to populate a hash table.
 java.lang.String toString()
          Converts CurrencyPartInfo to String.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CurrencyPartInfo

public CurrencyPartInfo()

CurrencyPartInfo

public CurrencyPartInfo(InternalID fieldId,
                        int partTag,
                        java.lang.String currencyCode)
Method Detail

getPartTag

public int getPartTag()
Returns partTag.

getCurrencyCode

public java.lang.String getCurrencyCode()
Returns Currency Code.

getFieldId

public InternalID getFieldId()
Returns field Id.

toString

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

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

equals

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

hashCode

public int hashCode()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object

5.1 Action Request System Java API