|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.remedy.cmdb.api.CMDBAttributeLimit
com.remedy.cmdb.api.CMDBCurrencyLimit
The CMDBCurrencyLimits
class defines the limit of a
currency attribute.
Field Summary |
Constructor Summary | |
CMDBCurrencyLimit()
Creates a default currency attribute limit that has a low range of -99999999999999999999999999.99, a high range of 99999999999999999999999999.99, and a precision of 2. |
|
CMDBCurrencyLimit(java.math.BigDecimal low,
java.math.BigDecimal high,
int precision,
CurrencyDetail[] functionalType,
CurrencyDetail[] allowableType)
Creates a currency limit with the specified limit information. |
Method Summary | |
CurrencyDetail[] |
getAllowableType()
Gets the allowable type of the currency limit. |
CurrencyDetail[] |
getFunctionalType()
Gets the functional type of the currency limit. |
java.math.BigDecimal |
getHighRange()
Gets the high range of the decimal attribute limit. |
java.math.BigDecimal |
getLowRange()
Gets the low range of the currency attribute limit. |
int |
getPrecision()
Gets the precision of the decimal attribute limit. |
void |
setAllowableType(CurrencyDetail[] allowableType)
Sets the allowable type of the currency attribute limit. |
void |
setFunctionalType(CurrencyDetail[] functionalType)
Sets the functional type of the currency attribute limit. |
void |
setHighRange(java.math.BigDecimal high)
Sets the high range of the decimal attribute limit. |
void |
setLowRange(java.math.BigDecimal low)
Sets the low range of the decimal attribute limit. |
void |
setPrecision(int precision)
Sets the precision of the decimal attribute limit. |
Methods inherited from class com.remedy.cmdb.api.CMDBAttributeLimit |
getDataType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMDBCurrencyLimit()
public CMDBCurrencyLimit(java.math.BigDecimal low, java.math.BigDecimal high, int precision, CurrencyDetail[] functionalType, CurrencyDetail[] allowableType)
low
- the low range of the currency limithigh
- the high range of the currency limitprecision
- the precision of the currency limitfunctionalType
- the functional type of the currency limitallowableType
- the allowable type of the currency limitMethod Detail |
public java.math.BigDecimal getLowRange()
public java.math.BigDecimal getHighRange()
public int getPrecision()
public CurrencyDetail[] getAllowableType()
public CurrencyDetail[] getFunctionalType()
public void setLowRange(java.math.BigDecimal low)
low
- the low range of the decimal attribute limit to setpublic void setHighRange(java.math.BigDecimal high)
high
- the high range of the decimal attribute limit to setpublic void setPrecision(int precision)
precision
- the precision of the decimal attribute limit to setpublic void setAllowableType(CurrencyDetail[] allowableType)
allowableType
- the allowable typepublic void setFunctionalType(CurrencyDetail[] functionalType)
functionalType
- the functional type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |