Class 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 for FxRateConfig.
    • Method Detail

      • get

        public Object get​(String propertyName)
        Specified by:
        get in interface org.joda.beans.BeanBuilder<FxRateConfig>
        Overrides:
        get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxRateConfig>
      • set

        public FxRateConfig.Builder set​(org.joda.beans.MetaProperty<?> property,
                                        Object value)
        Specified by:
        set in interface org.joda.beans.BeanBuilder<FxRateConfig>
        Overrides:
        set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxRateConfig>
      • 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 class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<FxRateConfig>