Class GlossaryTermContextDefinition

java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.glossaries.GlossaryTermContextDefinition

public class GlossaryTermContextDefinition extends ClassificationProperties
GlossaryTermContextDefinition describes a type of context that a glossary term represents.
  • Constructor Details

    • GlossaryTermContextDefinition

      public GlossaryTermContextDefinition()
      Default constructor
    • GlossaryTermContextDefinition

      public GlossaryTermContextDefinition(GlossaryTermContextDefinition template)
      Copy/clone constructor.
      Parameters:
      template - template object to copy.
  • Method Details

    • setDescription

      public void setDescription(String description)
      Set up description of the context.
      Parameters:
      description - String
    • getDescription

      public String getDescription()
      Return the description for the context.
      Returns:
      String description
    • setScope

      public void setScope(String scope)
      Set up the scope of where the context applies.
      Parameters:
      scope - string
    • getScope

      public String getScope()
      Returns the name of the scope of where the context applies.
      Returns:
      string
    • 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