Class HistoryRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.HistoryRequestBody

public class HistoryRequestBody extends org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
HistoryRequestBody describes the start and stop time of the historical query.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    Return the starting date/time to use for the query.
    Return the ending date/time to use for the query.
    int
    Return hash code for this object
    void
    setFromTime(Date fromTime)
    Set up the starting date/time to use for the query.
    void
    setToTime(Date toTime)
    Set up the engine date/time to use for the query.
    JSON-style toString

    Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody

    getEffectiveTime, setEffectiveTime

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HistoryRequestBody

      public HistoryRequestBody()
      Default constructor
    • HistoryRequestBody

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

    • getFromTime

      public Date getFromTime()
      Return the starting date/time to use for the query.
      Returns:
      date object
    • setFromTime

      public void setFromTime(Date fromTime)
      Set up the starting date/time to use for the query.
      Parameters:
      fromTime - date object
    • getToTime

      public Date getToTime()
      Return the ending date/time to use for the query.
      Returns:
      date object
    • setToTime

      public void setToTime(Date toTime)
      Set up the engine date/time to use for the query.
      Parameters:
      toTime - date object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
      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 org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
      Returns:
      int hash code