javax.money.MonetaryAmountFactory creating instances of .RoundedMoney .
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final MonetaryContext | |
| pack-priv static final MonetaryContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected RoundedMoney | create(Number number, CurrencyUnit currency, MonetaryContext monetaryContext)
Implements abstract org.
|
| public Class | getAmountType()
Implements javax. Access the |
| public NumberValue | getMaxNumber()
Implements javax. Get the maximum possible number that this type can represent. |
| public NumberValue | getMinNumber()
Implements javax. Get the minimum possible number that this type can represent. |
| protected MonetaryContext | |
| protected MonetaryContext | loadMaxMonetaryContext()
Implements abstract org.
|
| DEFAULT_CONTEXT | back to summary |
|---|---|
| pack-priv static final MonetaryContext DEFAULT_CONTEXT | |
| MAX_CONTEXT | back to summary |
|---|---|
| pack-priv static final MonetaryContext MAX_CONTEXT | |
| RoundedMoneyAmountFactory | back to summary |
|---|---|
| public RoundedMoneyAmountFactory() | |
| create | back to summary |
|---|---|
| protected RoundedMoney create(Number number, CurrencyUnit currency, MonetaryContext monetaryContext) Implements abstract org.
| |
| getAmountType | back to summary |
|---|---|
| public Class Implements javax. Doc from javax. Access the
| |
| getMaxNumber | back to summary |
|---|---|
| public NumberValue getMaxNumber() Implements javax. Doc from javax. Get the maximum possible number that this type can represent. If the numeric model has no limitations on the
numeric range, null should be returned. If
| |
| getMinNumber | back to summary |
|---|---|
| public NumberValue getMinNumber() Implements javax. Doc from javax. Get the minimum possible number that this type can represent. If the numeric model has no limitations on the
numeric range, null should be returned. If
| |
| loadDefaultMonetaryContext | back to summary |
|---|---|
| protected MonetaryContext loadDefaultMonetaryContext() Implements abstract org.
| |
| loadMaxMonetaryContext | back to summary |
|---|---|
| protected MonetaryContext loadMaxMonetaryContext() Implements abstract org.
| |