Class ReferenceableUpdateRequestBody

java.lang.Object
org.odpi.openmetadata.viewservices.glossarybrowser.rest.ReferenceableRequestBody
org.odpi.openmetadata.viewservices.glossarybrowser.rest.ReferenceableUpdateRequestBody

public class ReferenceableUpdateRequestBody extends ReferenceableRequestBody
ReferenceableUpdateRequestBody carries the correlation properties, readVersionIdentifier and effective time for a create (with parent), update or delete requests.
  • Constructor Details

    • ReferenceableUpdateRequestBody

      public ReferenceableUpdateRequestBody()
      Default constructor
    • ReferenceableUpdateRequestBody

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

    • 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 ReferenceableRequestBody
      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 ReferenceableRequestBody
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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