java.lang.Object
org.odpi.openmetadata.metadatasecurity.properties.Referenceable
org.odpi.openmetadata.metadatasecurity.properties.Glossary

public class Glossary extends Referenceable
GlossaryProperties is a class for representing a generic glossary.
  • Constructor Details

    • Glossary

      public Glossary()
      Default constructor
    • Glossary

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

    • getDisplayName

      public String getDisplayName()
      Return a human memorable name for the glossary.
      Returns:
      string name
    • setDisplayName

      public void setDisplayName(String displayName)
      Set up a human memorable name for the glossary.
      Parameters:
      displayName - string name
    • getDescription

      public String getDescription()
      Return the description of the glossary.
      Returns:
      string text
    • setDescription

      public void setDescription(String description)
      Set up the description of the glossary.
      Parameters:
      description - string text
    • getLanguage

      public String getLanguage()
      Return the language that the glossary contents are written in.
      Returns:
      string name
    • setLanguage

      public void setLanguage(String language)
      Set up the language that the glossary contents are written in.
      Parameters:
      language - string name
    • getUsage

      public String getUsage()
      Return the expected usage of the glossary content.
      Returns:
      string description
    • setUsage

      public void setUsage(String usage)
      Set up the expected usage of the glossary content.
      Parameters:
      usage - string description
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Referenceable
      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 Referenceable
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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