Class StubPeriod.StubPeriodImpl

java.lang.Object
cdm.product.common.schedule.StubPeriod.StubPeriodImpl
All Implemented Interfaces:
StubPeriod, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
StubPeriod

public static class StubPeriod.StubPeriodImpl extends Object implements StubPeriod
Immutable Implementation of StubPeriod
  • Constructor Details

  • Method Details

    • getCalculationPeriodDatesReference

      @RosettaAttribute(value="calculationPeriodDatesReference", isRequired=true) @RuneAttribute(value="calculationPeriodDatesReference", isRequired=true) public ReferenceWithMetaCalculationPeriodDates getCalculationPeriodDatesReference()
      Description copied from interface: StubPeriod
      A pointer style reference to the associated calculation period dates component defined elsewhere in the document.
      Specified by:
      getCalculationPeriodDatesReference in interface StubPeriod
    • getInitialStub

      @RosettaAttribute("initialStub") @RuneAttribute("initialStub") public StubValue getInitialStub()
      Description copied from interface: StubPeriod
      Specifies how the initial stub amount is calculated. A single floating rate tenor different to that used for the regular part of the calculation periods schedule may be specified, or two floating tenors may be specified. If two floating rate tenors are specified then Linear Interpolation (in accordance with the 2000 ISDA Definitions, Section 8.3. Interpolation) is assumed to apply. Alternatively, an actual known stub rate or stub amount may be specified.
      Specified by:
      getInitialStub in interface StubPeriod
    • getFinalStub

      @RosettaAttribute("finalStub") @RuneAttribute("finalStub") public StubValue getFinalStub()
      Description copied from interface: StubPeriod
      Specifies how the final stub amount is calculated. A single floating rate tenor different to that used for the regular part of the calculation periods schedule may be specified, or two floating tenors may be specified. If two floating rate tenors are specified then Linear Interpolation (in accordance with the 2000 ISDA Definitions, Section 8.3. Interpolation) is assumed to apply. Alternatively, an actual known stub rate or stub amount may be specified.
      Specified by:
      getFinalStub in interface StubPeriod
    • build

      public StubPeriod build()
      Description copied from interface: StubPeriod
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      build in interface StubPeriod
    • toBuilder

      public StubPeriod.StubPeriodBuilder toBuilder()
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      toBuilder in interface StubPeriod
    • setBuilderFields

      protected void setBuilderFields(StubPeriod.StubPeriodBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object