Class EffectiveTimeQueryRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
Direct Known Subclasses:
ExternalGlossaryLinkRequestBody, ExternalReferenceLinkRequestBody, FindByPropertiesRequestBody, ForeignKeyRequestBody, GlossaryTermRelationshipRequestBody, NameRequestBody, SearchStringRequestBody

public class EffectiveTimeQueryRequestBody extends AssetManagerIdentifiersRequestBody
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 AssetManagerIdentifiersRequestBody
      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 AssetManagerIdentifiersRequestBody
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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