Package cdm.base.math

Class Schedule.ScheduleImpl

java.lang.Object
cdm.base.math.Schedule.ScheduleImpl
All Implemented Interfaces:
Schedule, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
AmountSchedule.AmountScheduleImpl
Enclosing interface:
Schedule

public static class Schedule.ScheduleImpl extends Object implements Schedule
Immutable Implementation of Schedule
  • Constructor Details

  • Method Details

    • getValue

      @RosettaAttribute(value="value", isRequired=true) @RuneAttribute(value="value", isRequired=true) public BigDecimal getValue()
      Description copied from interface: Schedule
      The initial rate or amount, as the case may be. An initial rate of 5% would be represented as 0.05.
      Specified by:
      getValue in interface Schedule
    • getDatedValue

      @RosettaAttribute("datedValue") @RuneAttribute("datedValue") public List<? extends DatedValue> getDatedValue()
      Description copied from interface: Schedule
      The schedule of step date and value pairs. On each step date the associated step value becomes effective. A list of steps may be ordered in the document by ascending step date. An FpML document containing an unordered list of steps is still regarded as a conformant document.
      Specified by:
      getDatedValue in interface Schedule
    • build

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

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

      protected void setBuilderFields(Schedule.ScheduleBuilder 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