MonetaryAmountFactoryQuery that can be passed
to access MonetaryAmountFactory instances using a possible complex query.
Note this class is NOT thread-safe.
javax.money.Monetary#getAmountFactory(MonetaryAmountFactoryQuery), MonetaryAmountFactory
| Access | Constructor and Description |
|---|---|
| private | MonetaryAmountFactoryQueryBuilder(MonetaryAmountFactoryQuery
MonetaryAmountFactoryQuery used for initializing thisCreates a new instance of |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public MonetaryAmountFactoryQuery | Returns: a newMonetaryAmountFactoryQuery instance.Implements abstract javax. MonetaryAmountFactoryQuery based on the values of this
Builder.
|
| public static MonetaryAmountFactoryQueryBuilder | Returns: a newjavax.money.CurrencyQueryBuilder instance, never null.Creates a new instance of |
| public static MonetaryAmountFactoryQueryBuilder | Returns: a newMonetaryAmountFactoryQueryBuilder instance, never null.MonetaryAmountFactoryQuery used for initializing this
builder.Creates a new instance of |
| public MonetaryAmountFactoryQueryBuilder | Returns: this Builder for chaining.the fixed scale flag. fixedScale)Sets the flag if the scale should fixed, meaning minimal scale and maximal scale are always equally sized. |
| public MonetaryAmountFactoryQueryBuilder | Returns: this Builder for chaining.the max scale, >= 0. maxScale)Sets the maximal scale to be supported. |
| public MonetaryAmountFactoryQueryBuilder | Returns: this Builder for chaining.the precision, >= 0, 0 meaning unlimited. precision)Sets the required precision, the value 0 models unlimited precision. |
| MonetaryAmountFactoryQueryBuilder | back to summary |
|---|---|
| private MonetaryAmountFactoryQueryBuilder(MonetaryAmountFactoryQuery monetaryAmountFactoryQuery) Creates a new instance of
| |
| MonetaryAmountFactoryQueryBuilder | back to summary |
|---|---|
| private MonetaryAmountFactoryQueryBuilder() Default constructor. | |
| build | back to summary |
|---|---|
| public MonetaryAmountFactoryQuery build() Implements abstract javax. Creates a new instance of
| |
| of | back to summary |
|---|---|
| public static MonetaryAmountFactoryQueryBuilder of() Creates a new instance of
| |
| of | back to summary |
|---|---|
| public static MonetaryAmountFactoryQueryBuilder of(MonetaryAmountFactoryQuery monetaryAmountFactoryQuery) Creates a new instance of
| |
| setFixedScale | back to summary |
|---|---|
| public MonetaryAmountFactoryQueryBuilder setFixedScale(boolean fixedScale) Sets the flag if the scale should fixed, meaning minimal scale and maximal scale are always equally sized.
| |
| setMaxScale | back to summary |
|---|---|
| public MonetaryAmountFactoryQueryBuilder setMaxScale(int maxScale) Sets the maximal scale to be supported.
| |
| setPrecision | back to summary |
|---|---|
| public MonetaryAmountFactoryQueryBuilder setPrecision(int precision) Sets the required precision, the value 0 models unlimited precision.
| |