Class Taxonomy.TaxonomyImpl

java.lang.Object
cdm.base.staticdata.asset.common.Taxonomy.TaxonomyImpl
All Implemented Interfaces:
Taxonomy, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
ProductTaxonomy.ProductTaxonomyImpl
Enclosing interface:
Taxonomy

public static class Taxonomy.TaxonomyImpl extends Object implements Taxonomy
Immutable Implementation of Taxonomy
  • Constructor Details

  • Method Details

    • getSource

      @RosettaAttribute("source") @RuneAttribute("source") public TaxonomySourceEnum getSource()
      Description copied from interface: Taxonomy
      The source of the taxonomy that defines the rules for classifying the object. The taxonomy source is taken from a enumerated list of taxonomy names. Optional as the taxonomy source may not be provided.
      Specified by:
      getSource in interface Taxonomy
    • getValue

      @RosettaAttribute("value") @RuneAttribute("value") public TaxonomyValue getValue()
      Description copied from interface: Taxonomy
      The value according to that taxonomy. Optional as it may not be possible to classify the object in that taxonomy.
      Specified by:
      getValue in interface Taxonomy
    • build

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

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

      protected void setBuilderFields(Taxonomy.TaxonomyBuilder 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