public class Meaning extends ElementBase
Meaning is a cut-down summary of a glossary term to aid the asset consumer in understanding the content of an asset.
  • Field Details

    • name

      protected String name
    • description

      protected String description
  • Constructor Details

    • Meaning

      public Meaning()
      Default constructor
    • Meaning

      public Meaning(Meaning templateMeaning)
      Copy/clone constructor.
      Parameters:
      templateMeaning - element to copy
  • Method Details

    • getName

      public String getName()
      Return the glossary term name.
      Returns:
      String name
    • setName

      public void setName(String name)
      Set up the glossary term name.
      Parameters:
      name - String name
    • getDescription

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

      public void setDescription(String description)
      Set up the description of the glossary term.
      Parameters:
      description - String description
    • toString

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

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class ElementBase
      Returns:
      int