java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.TaxonomyProperties

public class TaxonomyProperties extends ClassificationProperties
TaxonomyProperties is used to classify a glossary that has the terms organized in a taxonomy. This means each term is attached to one, and only one category and the categories are organized as a hierarchy with a single root category.

Taxonomies are used as a way of organizing assets and other related metadata. The terms in the taxonomy are linked to the assets and as such they are logically categorized by the linked category.
  • Constructor Details

    • TaxonomyProperties

      public TaxonomyProperties()
      Default constructor
    • TaxonomyProperties

      public TaxonomyProperties(TaxonomyProperties template)
      Copy/clone constructor for a primary key.
      Parameters:
      template - template object to copy.
  • Method Details

    • getOrganizingPrinciple

      public String getOrganizingPrinciple()
      Return the organizing principle used to create the taxonomy in the glossary.
      Returns:
      string description
    • setOrganizingPrinciple

      public void setOrganizingPrinciple(String organizingPrinciple)
      Set up the organizing principle used to create the taxonomy in the glossary.
      Parameters:
      organizingPrinciple - string description
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ClassificationProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class ClassificationProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class ClassificationProperties
      Returns:
      int