Class ControlledGlossaryTermRequestBody

java.lang.Object
org.odpi.openmetadata.viewservices.glossarymanager.rest.ControlledGlossaryTermRequestBody

public class ControlledGlossaryTermRequestBody extends Object
ControlledGlossaryTermRequestBody describes the request body used to create/update controlled glossary term properties.
  • Constructor Details

    • ControlledGlossaryTermRequestBody

      public ControlledGlossaryTermRequestBody()
      Default constructor
    • ControlledGlossaryTermRequestBody

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

    • 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
    • getInitialStatus

      public GlossaryTermStatus getInitialStatus()
      Return the initial status for the controlled glossary term. By default, it is "DRAFT".
      Returns:
      glossary term status enum
    • setInitialStatus

      public void setInitialStatus(GlossaryTermStatus initialStatus)
      Set up the initial status for the controlled glossary term. By default, it is "DRAFT".
      Parameters:
      initialStatus - glossary term status enum
    • getEffectiveTime

      public Date getEffectiveTime()
      Return the date/time to use for the query.
      Returns:
      date object
    • setEffectiveTime

      public void setEffectiveTime(Date effectiveTime)
      Set up the date/time to use for the query.
      Parameters:
      effectiveTime - date object
    • getUpdateDescription

      public String getUpdateDescription()
      Return the string that describes details of the update.
      Returns:
      description
    • setUpdateDescription

      public void setUpdateDescription(String updateDescription)
      Set up the string that describes details of the update.
      Parameters:
      updateDescription - description
    • toString

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

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