Class ResetSchedule.Builder

  • All Implemented Interfaces:
    Enclosing class:

    public static final class ResetSchedule.Builder
    The bean-builder for ResetSchedule.
    • Method Detail

      • get

        public Object get​(String propertyName)
        Specified by:
        get in interface org.joda.beans.BeanBuilder<ResetSchedule>
        get in class<ResetSchedule>
      • set

        public ResetSchedule.Builder set​(org.joda.beans.MetaProperty<?> property,
                                         Object value)
        Specified by:
        set in interface org.joda.beans.BeanBuilder<ResetSchedule>
        set in class<ResetSchedule>
      • resetFrequency

        public ResetSchedule.Builder resetFrequency​(Frequency resetFrequency)
        Sets the periodic frequency of reset dates.

        Reset dates will be calculated within each accrual period based on unadjusted dates. The frequency must be the same as, or smaller than, the accrual periodic frequency. When calculating the reset dates, the roll convention of the accrual periods will be used. Once the unadjusted date calculation is complete, the business day adjustment specified here will be used.

        Averaging applies if the reset frequency does not equal the accrual frequency.

        resetFrequency - the new value, not null
        this, for chaining, not null
      • businessDayAdjustment

        public ResetSchedule.Builder businessDayAdjustment​(BusinessDayAdjustment businessDayAdjustment)
        Sets the business day adjustment to apply to each reset date.

        This adjustment is applied to each reset date to ensure it is a valid business day.

        businessDayAdjustment - the new value, not null
        this, for chaining, not null
      • resetMethod

        public ResetSchedule.Builder resetMethod​(IborRateResetMethod resetMethod)
        Sets the rate reset method, defaulted to 'Unweighted'.

        This is used when more than one fixing contributes to the accrual period.

        Averaging may be weighted by the number of days that the fixing is applicable for. The number of days is based on the reset period, not the period between two fixing dates.

        Defined by the 2006 ISDA definitions article 6.2a.

        resetMethod - the new value, not null
        this, for chaining, not null
      • toString

        public String toString()
        toString in class<ResetSchedule>