Class HistoryExternalIdentifiersRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.frameworkservices.gaf.rest.OMAGGAFAPIResponse
org.odpi.openmetadata.frameworkservices.gaf.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.HistoryExternalIdentifiersRequestBody
- All Implemented Interfaces:
FFDCResponse
HistoryRequestBody describes the start and stop time of the historical query.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return 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.int
hashCode()
Return hash code for this objectvoid
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.frameworkservices.gaf.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, getExternalScopeGUID, getExternalScopeName, setEffectiveTime, setExternalScopeGUID, setExternalScopeName
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
Constructor Details
-
HistoryExternalIdentifiersRequestBody
public HistoryExternalIdentifiersRequestBody()Default constructor -
HistoryExternalIdentifiersRequestBody
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:
toString
in classEffectiveTimeQueryRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classEffectiveTimeQueryRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classEffectiveTimeQueryRequestBody
- Returns:
- int hash code
-