Class HistoryRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.accessservices.assetmanager.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 TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the starting date/time to use for the query.Return the ending date/time to use for the query.inthashCode()Return hash code for this objectvoidsetFromTime(Date fromTime) Set up the starting date/time to use for the query.voidSet up the engine date/time to use for the query.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTimeMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
getAssetManagerGUID, getAssetManagerName, setAssetManagerGUID, setAssetManagerName
-
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
-
toString
JSON-style toString- Overrides:
toStringin classEffectiveTimeQueryRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classEffectiveTimeQueryRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classEffectiveTimeQueryRequestBody- Returns:
- int hash code
-