Class ObservationDate.ObservationDateImpl

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

public static class ObservationDate.ObservationDateImpl extends Object implements ObservationDate
Immutable Implementation of ObservationDate
  • Constructor Details

  • Method Details

    • getUnadjustedDate

      @RosettaAttribute("unadjustedDate") @RuneAttribute("unadjustedDate") public com.rosetta.model.lib.records.Date getUnadjustedDate()
      Description copied from interface: ObservationDate
      A date subject to adjustment.
      Specified by:
      getUnadjustedDate in interface ObservationDate
    • getAdjustedDate

      @RosettaAttribute("adjustedDate") @RuneAttribute("adjustedDate") public com.rosetta.model.lib.records.Date getAdjustedDate()
      Description copied from interface: ObservationDate
      The date once the adjustment has been performed. (Note that this date may change if the business center holidays change).
      Specified by:
      getAdjustedDate in interface ObservationDate
    • getWeight

      @RosettaAttribute("weight") @RuneAttribute("weight") public BigDecimal getWeight()
      Description copied from interface: ObservationDate
      Specifies the degree of importance of the observation.
      Specified by:
      getWeight in interface ObservationDate
    • getObservationReference

      @RosettaAttribute("observationReference") @RuneAttribute("observationReference") public String getObservationReference()
      Description copied from interface: ObservationDate
      Specifies an identification key for the market observation. This attribute can be used as a reference to assign weights to a series of dates defined in a parametricSchedule.
      Specified by:
      getObservationReference in interface ObservationDate
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface ObservationDate
    • build

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

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

      protected void setBuilderFields(ObservationDate.ObservationDateBuilder 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