Top Fields Constructors Methods
tools.jackson.datatype.javax.money

public final Class FieldNames

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final String
private final String
pack-priv static final FieldNames
private final String

Constructor Summary

AccessConstructor and Description
private
FieldNames(final String amount, final String currency, final String formatted)

Method Summary

Modifier and TypeMethod and Description
public static FieldNames
public String
public String
public String
public static FieldNames
valueOf(final String amount, final String currency, final String formatted)

public FieldNames

Returns:

a clone of this object, except with this updated property (returns this if an identical value is passed).
withAmount
(final String amount)

public FieldNames

Returns:

a clone of this object, except with this updated property (returns this if an identical value is passed).
withCurrency
(final String currency)

public FieldNames

Returns:

a clone of this object, except with this updated property (returns this if an identical value is passed).
withFormatted
(final String formatted)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

amountback to summary
private final String amount
currencyback to summary
private final String currency
DEFAULTback to summary
pack-priv static final FieldNames DEFAULT
formattedback to summary
private final String formatted

Constructor Detail

FieldNamesback to summary
private FieldNames(final String amount, final String currency, final String formatted)

Method Detail

defaultsback to summary
public static FieldNames defaults()
getAmountback to summary
public String getAmount()
getCurrencyback to summary
public String getCurrency()
getFormattedback to summary
public String getFormatted()
valueOfback to summary
public static FieldNames valueOf(final String amount, final String currency, final String formatted)
withAmountback to summary
public FieldNames withAmount(final String amount)
Returns:FieldNames

a clone of this object, except with this updated property (returns this if an identical value is passed).

withCurrencyback to summary
public FieldNames withCurrency(final String currency)
Returns:FieldNames

a clone of this object, except with this updated property (returns this if an identical value is passed).

withFormattedback to summary
public FieldNames withFormatted(final String formatted)
Returns:FieldNames

a clone of this object, except with this updated property (returns this if an identical value is passed).