Class HistoryRequestBody


public class HistoryRequestBody extends EffectiveTimeQueryRequestBody
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 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