Package com.opengamma.strata.measure.fx
Class FxRateConfig.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxRateConfig>
-
- com.opengamma.strata.measure.fx.FxRateConfig.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<FxRateConfig>
- Enclosing class:
- FxRateConfig
public static final class FxRateConfig.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxRateConfig>
The bean-builder forFxRateConfig
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FxRateConfig
build()
Object
get(String propertyName)
FxRateConfig.Builder
observableRates(Map<CurrencyPair,QuoteId> observableRates)
Sets the keys identifying FX rates which are observable in the market.FxRateConfig.Builder
set(String propertyName, Object newValue)
FxRateConfig.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<FxRateConfig>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxRateConfig>
-
set
public FxRateConfig.Builder set(String propertyName, Object newValue)
-
set
public FxRateConfig.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<FxRateConfig>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxRateConfig>
-
build
public FxRateConfig build()
-
observableRates
public FxRateConfig.Builder observableRates(Map<CurrencyPair,QuoteId> observableRates)
Sets the keys identifying FX rates which are observable in the market. Each entry is keyed by the conventional currency pair.- Parameters:
observableRates
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxRateConfig>
-
-