Class CodeValue.CodeValueImpl

java.lang.Object
cdm.base.staticdata.codelist.CodeValue.CodeValueImpl
All Implemented Interfaces:
CodeValue, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
CodeValue

public static class CodeValue.CodeValueImpl extends Object implements CodeValue
Immutable Implementation of CodeValue
  • Constructor Details

  • Method Details

    • getValue

      @RosettaAttribute("value") @Accessor(GETTER) @Required @RuneAttribute("value") public String getValue()
      Description copied from interface: CodeValue
      The value of the code, e.g. USNY
      Specified by:
      getValue in interface CodeValue
    • getDescription

      @RosettaAttribute("description") @Accessor(GETTER) @RuneAttribute("description") public String getDescription()
      Description copied from interface: CodeValue
      A description of the meaning of the code, e.g. New York City, USA
      Specified by:
      getDescription in interface CodeValue
    • getSource

      @RosettaAttribute("source") @Accessor(GETTER) @RuneAttribute("source") public String getSource()
      Description copied from interface: CodeValue
      Where the code was defined,e.g. ISDA, FpML, Bloomberg
      Specified by:
      getSource in interface CodeValue
    • getEffectiveDate

      @RosettaAttribute("effectiveDate") @Accessor(GETTER) @RuneAttribute("effectiveDate") public com.rosetta.model.lib.records.Date getEffectiveDate()
      Description copied from interface: CodeValue
      When the code became/becomes effective
      Specified by:
      getEffectiveDate in interface CodeValue
    • getDeprecatedDate

      @RosettaAttribute("deprecatedDate") @Accessor(GETTER) @RuneAttribute("deprecatedDate") public com.rosetta.model.lib.records.Date getDeprecatedDate()
      Description copied from interface: CodeValue
      When the code ceased to be valid for new uses
      Specified by:
      getDeprecatedDate in interface CodeValue
    • build

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

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

      protected void setBuilderFields(CodeValue.CodeValueBuilder 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