Class FutureValueNotional.Builder

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

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

      • get

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

        public FutureValueNotional.Builder value​(java.lang.Double value)
        Sets the amount.

        The future value notional amount, derived as per the standard formula.

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

        public FutureValueNotional.Builder valueDate​(java.time.LocalDate valueDate)
        Sets the value date.

        This is the adjusted value date of the future value amount, which is the adjusted end date.

        Parameters:
        valueDate - the new value
        Returns:
        this, for chaining, not null
      • dayCountDays

        public FutureValueNotional.Builder dayCountDays​(java.lang.Integer dayCountDays)
        Sets the number of days in the calculation period.

        This defines the number of days from the adjusted start date to the adjusted end date as calculated by the day count.

        Parameters:
        dayCountDays - the new value
        Returns:
        this, for chaining, not null
      • toString

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