Class GlossaryTermCategorization

  • All Implemented Interfaces:
    java.io.Serializable

    public class GlossaryTermCategorization
    extends RelationshipProperties
    GlossaryTermCategorization describes a type of relationship between a glossary term and a glossary category in a glossary.
    See Also:
    Serialized Form
    • Constructor Detail

      • GlossaryTermCategorization

        public GlossaryTermCategorization()
        Default constructor
      • GlossaryTermCategorization

        public GlossaryTermCategorization​(GlossaryTermCategorization 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 categorization.
        Parameters:
        description - String
      • getDescription

        public java.lang.String getDescription()
        Return the description for the categorization.
        Returns:
        String description
      • setStatus

        public void setStatus​(GlossaryTermRelationshipStatus status)
        Set up whether this relationship should be used.
        Parameters:
        status - status enum (draft, active, deprecated, obsolete, other)
      • getStatus

        public GlossaryTermRelationshipStatus getStatus()
        Returns whether this relationship should be used.
        Returns:
        status enum (draft, active, deprecated, obsolete, other)
      • toString

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