Class CodeList.CodeListImpl

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

public static class CodeList.CodeListImpl extends Object implements CodeList
Immutable Implementation of CodeList
  • Constructor Details

  • Method Details

    • getIdentification

      @RosettaAttribute("identification") @Accessor(GETTER) @Required @RuneAttribute("identification") public CodeListIdentification getIdentification()
      Description copied from interface: CodeList
      Identification information about the code list
      Specified by:
      getIdentification in interface CodeList
    • getCodes

      @RosettaAttribute("codes") @Accessor(GETTER) @Multi @RuneAttribute("codes") public List<? extends CodeValue> getCodes()
      Description copied from interface: CodeList
      Code values
      Specified by:
      getCodes in interface CodeList
    • build

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

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

      protected void setBuilderFields(CodeList.CodeListBuilder 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