Class RatesCurveGroup.Builder

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

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

      • get

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

        public RatesCurveGroup.Builder discountCurves​(Map<Currency,​Curve> discountCurves)
        Sets the discount curves in the group, keyed by currency.
        Parameters:
        discountCurves - the new value, not null
        Returns:
        this, for chaining, not null
      • forwardCurves

        public RatesCurveGroup.Builder forwardCurves​(Map<? extends Index,​? extends Curve> forwardCurves)
        Sets the forward curves in the group, keyed by index.
        Parameters:
        forwardCurves - 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<RatesCurveGroup>