Class EffectiveTimeRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
Direct Known Subclasses:
AnyTimeRequestBody, HistoryRequestBody

public class EffectiveTimeRequestBody extends Object
EffectiveTimeQueryRequestBody carries the date/time for a query.
  • Constructor Details

    • EffectiveTimeRequestBody

      public EffectiveTimeRequestBody()
      Default constructor
    • EffectiveTimeRequestBody

      public EffectiveTimeRequestBody(EffectiveTimeRequestBody 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
    • 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