7.0 Action Request System Java API

com.remedy.arsys.api
Class FuncCurrencyInfo

java.lang.Object
  extended bycom.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
 void clear()
          Release all variable object references.
 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.
protected  void finalize()
          Clears up all variable object references if it is called, even through there is no guarantee to be called.
 java.lang.String getCurrencyCode()
          Returns currency code.
 java.math.BigDecimal getValue()
          Returns value of currency.
 java.lang.String getValueString()
          Returns value of currency (string).
 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
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.


getValueString

public java.lang.String getValueString()
Returns value of currency (string).


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.


equals

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


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

clear

public void clear()
Release all variable object references. Since most of those references are JNI objects, gc will not reclaim them if we do not release them specificly. Client should call this in their finally block when done with this object.


finalize

protected void finalize()
                 throws java.lang.Throwable
Clears up all variable object references if it is called, even through there is no guarantee to be called. Basically, the finalize method calls clear(). Client should call this in their finally block when done with this object.

Throws:
java.lang.Throwable

7.0 Action Request System Java API