7.0 Action Request System Java API

com.remedy.arsys.api
Class CurrencyLimitInfo

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

public class CurrencyLimitInfo
extends FieldLimitInfo
implements java.lang.Cloneable

The CurrencyLimitInfo class defines the value limits for a Currency (DataType.CURRENCY) field


Field Summary
protected  java.math.BigDecimal m_highRange
          Highest number in currency range
protected  java.math.BigDecimal m_lowRange
          Lowest number in currency range
protected  int m_precision
          Number of places to the right of the decimal point .
 
Constructor Summary
CurrencyLimitInfo()
          Constructs a new CurrencyLimitInfo object.
CurrencyLimitInfo(java.math.BigDecimal lowLimit, java.math.BigDecimal highLimit, int precision)
           
CurrencyLimitInfo(java.math.BigDecimal lowLimit, java.math.BigDecimal highLimit, int precision, CurrencyDetail[] functional, CurrencyDetail[] allowable)
           
CurrencyLimitInfo(java.lang.String lowLimit, java.lang.String highLimit, int precision)
           
CurrencyLimitInfo(java.lang.String lowLimit, java.lang.String highLimit, int precision, CurrencyDetail[] functional, CurrencyDetail[] allowable)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self.
 CurrencyDetail[] getAllowable()
          Retrieves currency types that the server will allow user to enter
 CurrencyDetail[] getFunctional()
          Retrieves currency types that are always stored in the database
 java.math.BigDecimal getHighRange()
          Retrieves the upper-range limit.
 java.math.BigDecimal getLowRange()
          Retrieves the lower-range limit.
 int getPrecision()
          Retrieves the display precision (the number of places to the right of the decimal point ).
 void setHighRange(java.math.BigDecimal highLimit)
          Sets the upper-range limit.
 void setLowRange(java.math.BigDecimal lowLimit)
          Sets the lower-range limit.
 void setPrecision(int precision)
          Sets the display precision.
 
Methods inherited from class com.remedy.arsys.api.FieldLimitInfo
getDataType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_lowRange

protected java.math.BigDecimal m_lowRange
Lowest number in currency range


m_highRange

protected java.math.BigDecimal m_highRange
Highest number in currency range


m_precision

protected int m_precision
Number of places to the right of the decimal point .

Constructor Detail

CurrencyLimitInfo

public CurrencyLimitInfo()
Constructs a new CurrencyLimitInfo object.


CurrencyLimitInfo

public CurrencyLimitInfo(java.lang.String lowLimit,
                         java.lang.String highLimit,
                         int precision)

CurrencyLimitInfo

public CurrencyLimitInfo(java.math.BigDecimal lowLimit,
                         java.math.BigDecimal highLimit,
                         int precision)

CurrencyLimitInfo

public CurrencyLimitInfo(java.lang.String lowLimit,
                         java.lang.String highLimit,
                         int precision,
                         CurrencyDetail[] functional,
                         CurrencyDetail[] allowable)

CurrencyLimitInfo

public CurrencyLimitInfo(java.math.BigDecimal lowLimit,
                         java.math.BigDecimal highLimit,
                         int precision,
                         CurrencyDetail[] functional,
                         CurrencyDetail[] allowable)
Method Detail

setLowRange

public void setLowRange(java.math.BigDecimal lowLimit)
Sets the lower-range limit.


setHighRange

public void setHighRange(java.math.BigDecimal highLimit)
Sets the upper-range limit.


setPrecision

public void setPrecision(int precision)
Sets the display precision.


getLowRange

public java.math.BigDecimal getLowRange()
Retrieves the lower-range limit.


getHighRange

public java.math.BigDecimal getHighRange()
Retrieves the upper-range limit.


getPrecision

public int getPrecision()
Retrieves the display precision (the number of places to the right of the decimal point ).


getAllowable

public CurrencyDetail[] getAllowable()
Retrieves currency types that the server will allow user to enter


getFunctional

public CurrencyDetail[] getFunctional()
Retrieves currency types that are always stored in the database


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 FieldLimitInfo
Throws:
java.lang.CloneNotSupportedException

7.0 Action Request System Java API