5.1 Action Request System Java API

com.remedy.arsys.api
Class FuncCurrencyInfo

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

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

The FuncCurrencyInfo class is used to represent information about the functional currency.


Constructor Summary
FuncCurrencyInfo()
          constructor
FuncCurrencyInfo(java.math.BigDecimal value, java.lang.String currencyCode)
           
FuncCurrencyInfo(java.lang.String value, 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 of FuncCurrencyInfo.
 java.lang.String getCurrencyCode()
          Returns currency code.
 java.math.BigDecimal getValue()
          Returns value of currency.
 void setCurrencyCode(java.lang.String currencyCode)
          Sets currency code.
 void setValue(java.math.BigDecimal value)
          Sets value of currency.
 java.lang.String toString()
          Converts FuncCurrencyInfo to String.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FuncCurrencyInfo

public FuncCurrencyInfo()
constructor

FuncCurrencyInfo

public FuncCurrencyInfo(java.math.BigDecimal value,
                        java.lang.String currencyCode)

FuncCurrencyInfo

public FuncCurrencyInfo(java.lang.String value,
                        java.lang.String currencyCode)
Method Detail

getValue

public java.math.BigDecimal getValue()
Returns value of currency.

setValue

public void setValue(java.math.BigDecimal value)
Sets value of currency.

getCurrencyCode

public java.lang.String getCurrencyCode()
Returns currency code.

setCurrencyCode

public void setCurrencyCode(java.lang.String currencyCode)
Sets currency code.

toString

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

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality of FuncCurrencyInfo. The result is true if and only if the argument is not null and is a FuncCurrencyInfo object that represents the same content, i.e Value and type.
Overrides:
equals 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

5.1 Action Request System Java API