Class ConstantNodalCurve.Builder

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

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

      • get

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

        public ConstantNodalCurve.Builder metadata​(CurveMetadata metadata)
        Sets the curve metadata.

        The metadata will have a single parameter metadata.

        Parameters:
        metadata - the new value, not null
        Returns:
        this, for chaining, not null
      • xValue

        public ConstantNodalCurve.Builder xValue​(double xValue)
        Sets the single x-value.
        Parameters:
        xValue - the new value, not null
        Returns:
        this, for chaining, not null
      • yValue

        public ConstantNodalCurve.Builder yValue​(double yValue)
        Sets the single y-value.
        Parameters:
        yValue - the new value, not null
        Returns:
        this, for chaining, not null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ConstantNodalCurve>