Class ObservationDates.ObservationDatesImpl

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

public static class ObservationDates.ObservationDatesImpl extends Object implements ObservationDates
Immutable Implementation of ObservationDates
  • Constructor Details

  • Method Details

    • getObservationSchedule

      @RosettaAttribute("observationSchedule") @RuneAttribute("observationSchedule") public ObservationSchedule getObservationSchedule()
      Description copied from interface: ObservationDates
      Specifies a schedule of dates (non-parametric) on which market observations take place, and allows for the optional definition of weights where applicable. When no weight is specified, then weight of each date is assumed to be 1.0
      Specified by:
      getObservationSchedule in interface ObservationDates
    • getPeriodicSchedule

      @RosettaAttribute("periodicSchedule") @RuneAttribute("periodicSchedule") public PeriodicDates getPeriodicSchedule()
      Description copied from interface: ObservationDates
      Specifies the date range and frequency on which market observations take place. Weights can be assigned to dates in the schedule by assigning the weight and corresponding observationReference in the observationSchedule.
      Specified by:
      getPeriodicSchedule in interface ObservationDates
    • getParametricDates

      @RosettaAttribute("parametricDates") @RuneAttribute("parametricDates") public ParametricDates getParametricDates()
      Description copied from interface: ObservationDates
      Specifies parametric terms to determine which days within a given calculation period the price would be observed. Typically associated with Commodities.
      Specified by:
      getParametricDates in interface ObservationDates
    • build

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

      Specified by:
      toBuilder in interface ObservationDates
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(ObservationDates.ObservationDatesBuilder 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