Class HistoryRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.HistoryRequestBody
HistoryRequestBody describes the start and stop time of the historical query.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorHistoryRequestBody
(HistoryRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.boolean
Return whether this request is updating an element as part of a deduplication exercise.boolean
Return whether this request is to update lineage memento elements.Return the starting date/time to use for the query.Return the ending date/time to use for the query.int
hashCode()
Return hash code for this objectvoid
setForDuplicateProcessing
(boolean forDuplicateProcessing) Set up whether this request is updating an element as part of a deduplication exercise.void
setForLineage
(boolean forLineage) Set up whether this request is to update lineage memento elements.void
setFromTime
(Date fromTime) Set up the starting date/time to use for the query.void
Set up the engine date/time to use for the query.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
getEffectiveTime, setEffectiveTime
-
Constructor Details
-
HistoryRequestBody
public HistoryRequestBody()Default constructor -
HistoryRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getFromTime
Return the starting date/time to use for the query.- Returns:
- date object
-
setFromTime
Set up the starting date/time to use for the query.- Parameters:
fromTime
- date object
-
getToTime
Return the ending date/time to use for the query.- Returns:
- date object
-
setToTime
Set up the engine date/time to use for the query.- Parameters:
toTime
- 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
JSON-style toString- Overrides:
toString
in classEffectiveTimeRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classEffectiveTimeRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classEffectiveTimeRequestBody
- Returns:
- int hash code
-