Class GlossaryTermRequestBody

  • All Implemented Interfaces:
    Serializable

    public class GlossaryTermRequestBody
    extends UpdateRequestBody
    GlossaryTermRequestBody describes the request body used to create/update glossary term properties.
    See Also:
    Serialized Form
    • Constructor Detail

      • GlossaryTermRequestBody

        public GlossaryTermRequestBody()
        Default constructor
      • GlossaryTermRequestBody

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

      • getElementProperties

        public GlossaryTermProperties getElementProperties()
        Return the properties for the element.
        Returns:
        properties object
      • setElementProperties

        public void setElementProperties​(GlossaryTermProperties elementProperties)
        Set up the properties for the element.
        Parameters:
        elementProperties - properties object
      • toString

        public String toString()
        JSON-style toString
        Overrides:
        toString in class UpdateRequestBody
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class UpdateRequestBody
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class UpdateRequestBody
        Returns:
        int hash code