Uses of Class
javax.money.convert.RateType
Package | Description |
---|---|
javax.money.convert |
Defines the monetary currency conversion API.
|
-
Uses of RateType in javax.money.convert
Methods in javax.money.convert that return RateType Modifier and Type Method Description RateType
ConversionContext. getRateType()
Get the deferred flag.static RateType
RateType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RateType[]
RateType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in javax.money.convert that return types with arguments of type RateType Modifier and Type Method Description java.util.Set<RateType>
ConversionQuery. getRateTypes()
Get the rate types set.java.util.Set<RateType>
ProviderContext. getRateTypes()
Get the deferred flag.Methods in javax.money.convert with parameters of type RateType Modifier and Type Method Description static ConversionContextBuilder
ConversionContextBuilder. create(ProviderContext context, RateType rateType)
Create a new Builder, hereby using the givenConversionContext
's values as defaults.static ConversionContext
ConversionContext. from(ProviderContext providerContext, RateType rateType)
Creates a new ConversionContext for the givenProviderContext
and the givenRateType
.static ConversionContext
ConversionContext. of(java.lang.String provider, RateType rateType)
Simple factory method forConversionContext
.static ConversionContext
ConversionContext. of(RateType rateType)
Creates aConversionContext
for accessing rates of the given type, without specifying the rate's provider.static ProviderContext
ProviderContext. of(java.lang.String provider, RateType rateType, RateType... rateTypes)
Creates a new ProviderContext based on the provider id and rate type(s).static ProviderContextBuilder
ProviderContextBuilder. of(java.lang.String provider, RateType rateType, RateType... rateTypes)
Create a new ProviderContextBuilder instance.ConversionContextBuilder
ConversionContextBuilder. setRateType(RateType rateType)
Set the historic value.ConversionQueryBuilder
ConversionQueryBuilder. setRateTypes(RateType... rateTypes)
Set the providers to be considered.ProviderContextBuilder
ProviderContextBuilder. setRateTypes(RateType... rateTypes)
Set the rate types.Method parameters in javax.money.convert with type arguments of type RateType Modifier and Type Method Description static ProviderContextBuilder
ProviderContextBuilder. of(java.lang.String provider, java.util.Collection<RateType> rateTypes)
Create a new ProviderContextBuilder instance.ConversionQueryBuilder
ConversionQueryBuilder. setRateTypes(java.util.Set<RateType> rateTypes)
Set the providers to be considered.ProviderContextBuilder
ProviderContextBuilder. setRateTypes(java.util.Collection<RateType> rateTypes)
Set the rate types.