Class RatesCurveInputs.Builder

  • All Implemented Interfaces:
    org.joda.beans.BeanBuilder<RatesCurveInputs>
    Enclosing class:
    RatesCurveInputs

    public static final class RatesCurveInputs.Builder
    extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RatesCurveInputs>
    The bean-builder for RatesCurveInputs.
    • Method Detail

      • get

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

        public RatesCurveInputs.Builder marketData​(Map<? extends MarketDataId<?>,​?> marketData)
        Sets the market data.

        There will typically be at least one entry for each node on the curve.

        Parameters:
        marketData - the new value, not null
        Returns:
        this, for chaining, not null
      • curveMetadata

        public RatesCurveInputs.Builder curveMetadata​(CurveMetadata curveMetadata)
        Sets the metadata for the curve.

        This is used to identify the curve and the necessary pieces of market data.

        Parameters:
        curveMetadata - 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<RatesCurveInputs>