public class CurrencyData extends BEIDData
m_ResourceID
Constructor and Description |
---|
CurrencyData(Integer resourceID,
String stringCode,
String description,
String symbol,
Integer status,
String statusAsString,
Integer rounding,
Integer roundingMode,
Integer javaRoundingMode,
BigDecimal toleranceAmountMin,
BigDecimal toleranceAmountMax,
BigDecimal tolerancePercent,
boolean isEMUCurrency,
boolean isEuro)
Constructs an object with information for a BEID resource contained
in the Portal BEID table.
|
Modifier and Type | Method and Description |
---|---|
static CurrencyData |
getCurrencyDataNone(String description)
Returns a special currency data object that represents a currency
of type "None".
|
int |
getNumSecondaryCurrencies()
Return the number of affiliate secondary currencies supported
by Portal for this currency.
|
Enumeration |
getSecondaryCurrencies()
Return an enumeration of all of the secondary currencies for this
currency.
|
boolean |
isEMUCurrency()
Is this currency an EMU (Euro member) currency?
|
boolean |
isEuro()
Is this currency the Euro currency?
|
boolean |
isSecondaryCurrency(int secondaryCurrencyID)
For this currency is the specified currency ID a valid secondary
currency?
|
boolean |
isSecondaryCurrencyRequired()
If an account is created using this currency is it required that
the account must also have a secondary currency?
|
compareTo, getDescription, getJavaRoundingMode, getResourceID, getRounding, getRoundingMode, getStatus, getStatusAsString, getStringCode, getSymbol, getToleranceAmountMax, getToleranceAmountMin, getTolerancePercent, isBEIDCurrencyResource, isCurrencyResource, toString
public CurrencyData(Integer resourceID, String stringCode, String description, String symbol, Integer status, String statusAsString, Integer rounding, Integer roundingMode, Integer javaRoundingMode, BigDecimal toleranceAmountMin, BigDecimal toleranceAmountMax, BigDecimal tolerancePercent, boolean isEMUCurrency, boolean isEuro)
resourceID
- The ID of the BEID resource.stringCode
- The low level resource code (i.e. USD)description
- The description of the resource (i.e. Euro)symbol
- The symbol for the resource (i.e. $)status
- The beid resource status.statusAsString
- The string description of beid resource status.rounding
- The number of places after the decimal point.roundingMode
- The rouding mode (up, down, nearest)javaRoundingMode
- The Java rounding mode (up, down, nearest)toleranceAmountMin
- The minimum tolerance for billing operations.toleranceAmountMax
- The maximum tolerance for billing operations.tolerancePercent
- The tolerance percent for billing operations.isEMUCurrency
- This flag will be true if this resource pertains
to an EMU currency.isEuro
- This flag will be true if this resource pertains to
the Euro currency.public boolean isEMUCurrency()
public boolean isEuro()
public int getNumSecondaryCurrencies()
public boolean isSecondaryCurrencyRequired()
public boolean isSecondaryCurrency(int secondaryCurrencyID)
public Enumeration getSecondaryCurrencies()
public static CurrencyData getCurrencyDataNone(String description)
description
- The value to be set into the
description
field of the currency data object
that this method returns.description
field is set
to the value of the argument passed in and the
resourceID
field has contents of value
0
. The remaining fields have value
null
except for the isEMUCurrency
and isEuro
fields both of which have value
false
.Copyright © 2003, 2023, Oracle and/or its affiliates.