Class EffectiveTimeQueryRequestBody

java.lang.Object
org.odpi.openmetadata.viewservices.templatemanager.rest.EffectiveTimeQueryRequestBody

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

    • EffectiveTimeQueryRequestBody

      public EffectiveTimeQueryRequestBody()
      Default constructor
    • EffectiveTimeQueryRequestBody

      public EffectiveTimeQueryRequestBody(EffectiveTimeQueryRequestBody 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