Class CanonicalVocabularyClassificationRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.CanonicalVocabularyClassificationRequestBody
All Implemented Interfaces:
Serializable

public class CanonicalVocabularyClassificationRequestBody extends Object implements Serializable
CanonicalVocabularyClassificationRequestBody 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 used to semantically classify assets in an unambiguous way.
See Also:
  • Constructor Details

    • CanonicalVocabularyClassificationRequestBody

      public CanonicalVocabularyClassificationRequestBody()
      Default constructor
    • CanonicalVocabularyClassificationRequestBody

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

    • getMetadataCorrelationProperties

      public MetadataCorrelationProperties getMetadataCorrelationProperties()
      Return the properties used to correlate the external metadata element with the open metadata element.
      Returns:
      properties object
    • setMetadataCorrelationProperties

      public void setMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)
      Set up the properties used to correlate the external metadata element with the open metadata element.
      Parameters:
      metadataCorrelationProperties - properties object
    • 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 Object
      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 Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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