Class AnyTimeRequestBody

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

public class AnyTimeRequestBody extends EffectiveTimeRequestBody
AnyTimeRequestBody describes the start and stop time of the historical query.
  • Constructor Details

    • AnyTimeRequestBody

      public AnyTimeRequestBody()
      Default constructor
    • AnyTimeRequestBody

      public AnyTimeRequestBody(AnyTimeRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getAsOfTime

      public Date getAsOfTime()
      Return the repository date/time to use for the query.
      Returns:
      date object
    • setAsOfTime

      public void setAsOfTime(Date asOfTime)
      Set up the repository date/time to use for the query.
      Parameters:
      asOfTime - date object
    • getForLineage

      public boolean getForLineage()
      Return whether this request is to update lineage memento elements.
      Returns:
      flag
    • setForLineage

      public void setForLineage(boolean forLineage)
      Set up whether this request is to update lineage memento elements.
      Parameters:
      forLineage - flag
    • getForDuplicateProcessing

      public boolean getForDuplicateProcessing()
      Return whether this request is updating an element as part of a deduplication exercise.
      Returns:
      flag
    • setForDuplicateProcessing

      public void setForDuplicateProcessing(boolean forDuplicateProcessing)
      Set up whether this request is updating an element as part of a deduplication exercise.
      Parameters:
      forDuplicateProcessing - flag
    • 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