Class HistoryRequestBody

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

public class HistoryRequestBody extends EffectiveTimeRequestBody
HistoryRequestBody describes the start and stop time of the historical query.
  • 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 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 EffectiveTimeRequestBody
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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