withFastMoney(), withMoney(), withRoundedMoney() and withRoundedMoney(MonetaryOperator) that can be used to configure the module.
| Modifier and Type | Field and Description |
|---|---|
| private final JavaxMoneyModule | |
| private final MonetaryAmountFactory | |
| private final MonetaryAmountFactory | |
| private final FieldNames | |
| private final MonetaryAmountFactory |
| Access | Constructor and Description |
|---|---|
| public | |
| private | MonetaMoneyModule(final JavaxMoneyModule baseModule, final FieldNames names, final MonetaryAmountFactory<FastMoney> fastMoneyFactory, final MonetaryAmountFactory<Money> moneyFactory, final MonetaryAmountFactory<RoundedMoney> roundedMoneyFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | getModuleName()
Implements abstract tools. Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them. |
| public void | setupModule(final JacksonModule.
Implements abstract tools. Method called by |
| public Version | version()
Implements abstract tools. Implements tools. Method that returns version of this module. |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| private <T extends MonetaryAmount> MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule | |
| public MonetaMoneyModule |
| baseModule | back to summary |
|---|---|
| private final JavaxMoneyModule baseModule | |
| fastMoneyFactory | back to summary |
|---|---|
| private final MonetaryAmountFactory<FastMoney> fastMoneyFactory | |
| moneyFactory | back to summary |
|---|---|
| private final MonetaryAmountFactory<Money> moneyFactory | |
| names | back to summary |
|---|---|
| private final FieldNames names | |
| roundedMoneyFactory | back to summary |
|---|---|
| private final MonetaryAmountFactory<RoundedMoney> roundedMoneyFactory | |
| MonetaMoneyModule | back to summary |
|---|---|
| public MonetaMoneyModule() | |
| MonetaMoneyModule | back to summary |
|---|---|
| private MonetaMoneyModule(final JavaxMoneyModule baseModule, final FieldNames names, final MonetaryAmountFactory<FastMoney> fastMoneyFactory, final MonetaryAmountFactory<Money> moneyFactory, final MonetaryAmountFactory<RoundedMoney> roundedMoneyFactory) | |
| getModuleName | back to summary |
|---|---|
| public String getModuleName() Implements abstract tools. Doc from tools. Method that returns a display that can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.
| |
| setupModule | back to summary |
|---|---|
| public void setupModule(final JacksonModule. Implements abstract tools. Doc from tools. Method called by
| |
| version | back to summary |
|---|---|
| public Version version() Implements abstract tools. Implements tools. Doc from tools. Method that returns version of this module. Can be used by Jackson for informational purposes.
| |
| withAmountFieldName | back to summary |
|---|---|
| public MonetaMoneyModule withAmountFieldName(final String name) | |
| withCurrencyFieldName | back to summary |
|---|---|
| public MonetaMoneyModule withCurrencyFieldName(final String name) | |
| withDecimalNumbers | back to summary |
|---|---|
| public MonetaMoneyModule withDecimalNumbers() | |
| withDefaultFormatting | back to summary |
|---|---|
| public MonetaMoneyModule withDefaultFormatting() | |
| withFastMoney | back to summary |
|---|---|
public MonetaMoneyModule withFastMoney()
| |
| withFormattedFieldName | back to summary |
|---|---|
| public MonetaMoneyModule withFormattedFieldName(final String name) | |
| withFormatting | back to summary |
|---|---|
| public MonetaMoneyModule withFormatting(final MonetaryAmountFormatFactory formatFactory) | |
| withMonetaryAmountFactory | back to summary |
|---|---|
| private <T extends MonetaryAmount> MonetaMoneyModule withMonetaryAmountFactory(final MonetaryAmountFactory<T> amountFactory) | |
| withMoney | back to summary |
|---|---|
public MonetaMoneyModule withMoney()
| |
| withNumbers | back to summary |
|---|---|
public MonetaMoneyModule withNumbers(final AmountWriter<?> writer)
| |
| withoutFormatting | back to summary |
|---|---|
| public MonetaMoneyModule withoutFormatting() | |
| withQuotedDecimalNumbers | back to summary |
|---|---|
| public MonetaMoneyModule withQuotedDecimalNumbers() | |
| withRoundedMoney | back to summary |
|---|---|
public MonetaMoneyModule withRoundedMoney()
| |
| withRoundedMoney | back to summary |
|---|---|
public MonetaMoneyModule withRoundedMoney(final MonetaryOperator rounding)
| |