javax.money.convert.CurrencyConversion instances. If not properties are set the query
should returns the default currencies.
This class is immutable, serializable and thread-safe.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | KEY_BASE_CURRENCY
THe key used for the base currency attribute. |
| pack-priv static final String | KEY_RATE_TYPES
THe key used for the rate types attribute. |
| pack-priv static final String | KEY_TERM_CURRENCY
THe key used for the term currency attribute. |
| private static final long | serialVersionUID
serialVersionUID.
|
| Access | Constructor and Description |
|---|---|
| pack-priv | ConversionQuery(ConversionQueryBuilder
the corresponding builder, not null. builder)Constructor, used from the ConversionQueryBuilder. |
| Modifier and Type | Method and Description |
|---|---|
| public CurrencyUnit | |
| public CurrencyUnit | Returns: the terminating CurrencyUnit, or null.Implements javax. |
| public Set | Returns: the rate types set, or an empty array, but never null.Get the rate types set. |
| public ConversionQueryBuilder | Returns: a new Builder, never null.Creates a new Builder preinitialized with values from this instance. |
| KEY_BASE_CURRENCY | back to summary |
|---|---|
| pack-priv static final String KEY_BASE_CURRENCY THe key used for the base currency attribute. | |
| KEY_RATE_TYPES | back to summary |
|---|---|
| pack-priv static final String KEY_RATE_TYPES THe key used for the rate types attribute. | |
| KEY_TERM_CURRENCY | back to summary |
|---|---|
| pack-priv static final String KEY_TERM_CURRENCY THe key used for the term currency attribute. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. serialVersionUID. | |
| ConversionQuery | back to summary |
|---|---|
| pack-priv ConversionQuery(ConversionQueryBuilder builder) Constructor, used from the ConversionQueryBuilder.
| |
| getBaseCurrency | back to summary |
|---|---|
| public CurrencyUnit getBaseCurrency() Get the base currency. This attribute is optional, when a
| |
| getCurrency | back to summary |
|---|---|
| public CurrencyUnit getCurrency() Implements javax. Get the terminating currency. This attribute is required, when a
| |
| getRateTypes | back to summary |
|---|---|
| public Set Get the rate types set.
| |
| toBuilder | back to summary |
|---|---|
| public ConversionQueryBuilder toBuilder() Creates a new Builder preinitialized with values from this instance.
| |