Class GlossaryTermContextDefinition

  • All Implemented Interfaces:
    java.io.Serializable

    public class GlossaryTermContextDefinition
    extends java.lang.Object
    implements java.io.Serializable
    GlossaryTermContextDefinition describes a type of context that a glossary term represents.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getDescription()
      Return the description for the context.
      java.lang.String getScope()
      Returns the name of the scope of where the context applies.
      int hashCode()
      Return hash code based on properties.
      void setDescription​(java.lang.String description)
      Set up description of the context.
      void setScope​(java.lang.String scope)
      Set up the scope of where the context applies.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GlossaryTermContextDefinition

        public GlossaryTermContextDefinition()
        Default constructor
      • GlossaryTermContextDefinition

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

      • setDescription

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

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

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

        public java.lang.String getScope()
        Returns the name of the scope of where the context applies.
        Returns:
        string
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

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