|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.arsys.api.FieldLimit
com.bmc.arsys.api.CurrencyFieldLimit
public class CurrencyFieldLimit
The CurrencyFieldLimit
class defines the value limits for a
Currency (DataType.CURRENCY
) field
Constructor Summary | |
---|---|
CurrencyFieldLimit()
Constructs an empty CurrencyLimitInfo object. |
|
CurrencyFieldLimit(BigDecimal lowLimit,
BigDecimal highLimit,
int precision)
Constructs a CurrencyLimitInfo object using the limit and precision info |
|
CurrencyFieldLimit(BigDecimal lowLimit,
BigDecimal highLimit,
int precision,
List<CurrencyDetail> functional,
List<CurrencyDetail> allowable)
|
|
CurrencyFieldLimit(String lowLimit,
String highLimit,
int precision)
Constructs a CurrencyLimitInfo object using the limit and precision info |
|
CurrencyFieldLimit(String lowLimit,
String highLimit,
int precision,
List<CurrencyDetail> functional,
List<CurrencyDetail> allowable)
|
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. |
List<CurrencyDetail> |
getAllowable()
Retrieves currency types that the server will allow user to enter |
List<CurrencyDetail> |
getFunctional()
Retrieves currency types that are always stored in the database |
BigDecimal |
getHighRange()
Retrieves the upper-range limit. |
BigDecimal |
getLowRange()
Retrieves the lower-range limit. |
int |
getPrecision()
Retrieves the display precision (the number of places to the right of the decimal point ). |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setHighRange(BigDecimal highLimit)
Sets the upper-range limit. |
void |
setLowRange(BigDecimal lowLimit)
Sets the lower-range limit. |
void |
setPrecision(int precision)
Sets the display precision. |
String |
toString()
Returns a string description of the object. |
Methods inherited from class com.bmc.arsys.api.FieldLimit |
---|
getDataType |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CurrencyFieldLimit()
CurrencyLimitInfo
object.
public CurrencyFieldLimit(String lowLimit, String highLimit, int precision)
CurrencyLimitInfo
object using the limit and precision info
lowLimit
- Lower-range limit.highLimit
- Upper-range limit.precision
- Display precision.public CurrencyFieldLimit(BigDecimal lowLimit, BigDecimal highLimit, int precision)
CurrencyLimitInfo
object using the limit and precision info
lowLimit
- Lower-range limit.highLimit
- Upper-range limit.precision
- Display precision.public CurrencyFieldLimit(String lowLimit, String highLimit, int precision, List<CurrencyDetail> functional, List<CurrencyDetail> allowable)
public CurrencyFieldLimit(BigDecimal lowLimit, BigDecimal highLimit, int precision, List<CurrencyDetail> functional, List<CurrencyDetail> allowable)
Method Detail |
---|
public void setLowRange(BigDecimal lowLimit)
public void setHighRange(BigDecimal highLimit)
public void setPrecision(int precision)
public BigDecimal getLowRange()
public BigDecimal getHighRange()
public int getPrecision()
public List<CurrencyDetail> getAllowable()
public List<CurrencyDetail> getFunctional()
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public String toString()
toString
in class FieldLimit
public int hashCode()
hashCode
in class FieldLimit
public boolean equals(Object obj)
equals
in class FieldLimit
obj
- the object that we are comparing to
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |