Class CanonicalVocabularyProperties

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

public class CanonicalVocabularyProperties extends ClassificationProperties
CanonicalVocabularyProperties is used to classify a glossary that has no term definitions with the same name. This means there is only one definition for each term. Typically, the terms are also of a similar level of granularity and are limited to a specific scope of use.

Canonical vocabularies are typically used to semantically classify assets in an unambiguous way.
  • Constructor Details

    • CanonicalVocabularyProperties

      public CanonicalVocabularyProperties()
      Default constructor
    • CanonicalVocabularyProperties

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

    • getScope

      public String getScope()
      Return the scope that the terms in the glossary covers.
      Returns:
      string description
    • setScope

      public void setScope(String scope)
      Set up the scope that the terms in the glossary covers.
      Parameters:
      scope - 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