javax.money.CurrencyUnit instances. If not properties are set the
query should
returns
the default currencies. Similarly if no provider is set explicitly the default ISO currencies as
returned by java.util.Currency should be returned.
Note this class is NOT thread-safe.
| Access | Constructor and Description |
|---|---|
| private | |
| private | CurrencyQueryBuilder(CurrencyQuery
javax.money.CurrencyQuery used for initializing this builder.Creates a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public CurrencyQuery | Returns: a newjavax.money.CurrencyQuery instance, never null.Implements abstract javax. javax.money.CurrencyQuery.
|
| public static CurrencyQueryBuilder | Returns: a newjavax.money.CurrencyQueryBuilder instance, never null.Creates a new instance of |
| public static CurrencyQueryBuilder | Returns: a newjavax.money.CurrencyQueryBuilder instance, never null.javax.money.CurrencyQuery used for initializing this builder.Creates a new instance of |
| public CurrencyQueryBuilder | Returns: the query for chaining.The ISO countries. countries)Sets the country for which currencies should be requested. |
| public CurrencyQueryBuilder | Returns: the query for chaining.the currency codes or code expressions, not null. codes)Sets the currency code, or the regular expression to select codes. |
| public CurrencyQueryBuilder | Returns: the query for chaining.the numeric codes. codes)Set the numeric code. |
| CurrencyQueryBuilder | back to summary |
|---|---|
| private CurrencyQueryBuilder() Default constructor. | |
| CurrencyQueryBuilder | back to summary |
|---|---|
| private CurrencyQueryBuilder(CurrencyQuery currencyQuery) Creates a new instance of
| |
| build | back to summary |
|---|---|
| public CurrencyQuery build() Implements abstract javax. Creates a new instance of
| |
| of | back to summary |
|---|---|
| public static CurrencyQueryBuilder of() Creates a new instance of
| |
| of | back to summary |
|---|---|
| public static CurrencyQueryBuilder of(CurrencyQuery currencyQuery) Creates a new instance of
| |
| setCountries | back to summary |
|---|---|
| public CurrencyQueryBuilder setCountries(Locale... countries) Sets the country for which currencies should be requested.
| |
| setCurrencyCodes | back to summary |
|---|---|
| public CurrencyQueryBuilder setCurrencyCodes(String... codes) Sets the currency code, or the regular expression to select codes.
| |
| setNumericCodes | back to summary |
|---|---|
| public CurrencyQueryBuilder setNumericCodes(int... codes) Set the numeric code. Setting it to -1 search for currencies that have no numeric code.
| |