Class GlossaryTermStatusRequestBody

java.lang.Object
org.odpi.openmetadata.viewservices.glossarymanager.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.viewservices.glossarymanager.rest.GlossaryTermStatusRequestBody

public class GlossaryTermStatusRequestBody extends EffectiveTimeQueryRequestBody
GlossaryTermStatusRequestBody describes the request body used to update a glossary term's status.
  • Constructor Details

    • GlossaryTermStatusRequestBody

      public GlossaryTermStatusRequestBody()
      Default constructor
    • GlossaryTermStatusRequestBody

      public GlossaryTermStatusRequestBody(GlossaryTermStatusRequestBody template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getGlossaryTermStatus

      public GlossaryTermStatus getGlossaryTermStatus()
      Return the status for the element.
      Returns:
      enum object
    • setGlossaryTermStatus

      public void setGlossaryTermStatus(GlossaryTermStatus glossaryTermStatus)
      Set up the status for the element.
      Parameters:
      glossaryTermStatus - enum object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class EffectiveTimeQueryRequestBody
      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 EffectiveTimeQueryRequestBody
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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