Package cdm.base.math

Class DatedValue.DatedValueImpl

java.lang.Object
cdm.base.math.DatedValue.DatedValueImpl
All Implemented Interfaces:
DatedValue, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
DatedValue

public static class DatedValue.DatedValueImpl extends Object implements DatedValue
Immutable Implementation of DatedValue
  • Constructor Details

  • Method Details

    • getDate

      @RosettaAttribute(value="date", isRequired=true) @RuneAttribute(value="date", isRequired=true) public com.rosetta.model.lib.records.Date getDate()
      Description copied from interface: DatedValue
      The date on which the associated step value becomes effective. This day may be subject to adjustment in accordance with a business day convention.
      Specified by:
      getDate in interface DatedValue
    • getValue

      @RosettaAttribute(value="value", isRequired=true) @RuneAttribute(value="value", isRequired=true) public BigDecimal getValue()
      Description copied from interface: DatedValue
      The rate of amount which becomes effective on the associated step date. A rate of 5% would be represented as 0.05.
      Specified by:
      getValue in interface DatedValue
    • getMeta

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

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

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

      protected void setBuilderFields(DatedValue.DatedValueBuilder 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