Class OMRSAPIFindRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIFindRequest
- All Implemented Interfaces:
RequestIdService
- Direct Known Subclasses:
EntityNeighborhoodFindRequest,OMRSAPIHistoricalFindRequest,OMRSAPIPagedFindRequest
OMRSAPISearchRequest provides a common header for OMRS managed rest to the OMRS REST API. It manages
information about OMRS exceptions. If no exception has been raised exceptionClassName is null.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorOMRSAPIFindRequest(OMRSAPIFindRequest template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the list of statuses that the resulting metadata instances must be in.inthashCode()Create a hash code for this element type.voidsetLimitResultsByStatus(List<InstanceStatus> limitResultsByStatus) Set up the list of statuses that the resulting metadata instances must be in.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
getRequestId, setRequestId
-
Constructor Details
-
OMRSAPIFindRequest
public OMRSAPIFindRequest()Default constructor -
OMRSAPIFindRequest
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getLimitResultsByStatus
Return the list of statuses that the resulting metadata instances must be in.- Returns:
- list of instance status enums.
-
setLimitResultsByStatus
Set up the list of statuses that the resulting metadata instances must be in.- Parameters:
limitResultsByStatus- list of instance status enums.
-
toString
Standard toString method.- Overrides:
toStringin classOMRSAPIRequest- 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 classOMRSAPIRequest- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classOMRSAPIRequest- Returns:
- int hash code
-