Class GlossaryTermContextDefinition

  • All Implemented Interfaces:
    Serializable

    public class GlossaryTermContextDefinition
    extends Object
    implements Serializable
    GlossaryTermContextDefinition describes a type of context that a glossary term represents.
    See Also:
    Serialized Form
    • 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​(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 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 has code based on properties.
        Overrides:
        hashCode in class Object
        Returns:
        int