Class OMRSAPIHistoricalFindRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIFindRequest
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIHistoricalFindRequest
- All Implemented Interfaces:
RequestIdService
OMRSAPIHistoricalFindRequest provides an extension to the search parameters to include the
point-in-time that the request should be based on. This extension is used since
historical queries are optional support.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the point-in-time for the search.inthashCode()Create a hash code for this element type.voidsetAsOfTime(Date asOfTime) Set up the point-in-time for the search.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIFindRequest
getLimitResultsByStatus, setLimitResultsByStatusMethods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
getRequestId, setRequestId
-
Constructor Details
-
OMRSAPIHistoricalFindRequest
public OMRSAPIHistoricalFindRequest()Default constructor -
OMRSAPIHistoricalFindRequest
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getAsOfTime
Return the point-in-time for the search.- Returns:
- date object
-
setAsOfTime
Set up the point-in-time for the search.- Parameters:
asOfTime- date object
-
toString
Standard toString method.- Overrides:
toStringin classOMRSAPIFindRequest- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOMRSAPIFindRequest- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classOMRSAPIFindRequest- Returns:
- int hash code
-