Class OMRSAPIRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
- All Implemented Interfaces:
RequestIdService
- Direct Known Subclasses:
AttributeTypeDefCategoryRequest,AttributeTypeDefRequest,ClassificationRequest,ClassificationWithEntityRequest,EntityCreateRequest,EntityDetailRequest,EntityProxyRequest,GetRequest,HistoryRangeRequest,HistoryRequest,InstanceGraphRequest,InstancePropertiesRequest,InstanceStatusRequest,MetadataCollectionIdRequest,OMRSAPIFindRequest,RelationshipCreateRequest,RelationshipRequest,TypeDefCategoryRequest,TypeDefChangeRequest,TypeDefDeleteRequest,TypeDefGalleryRequest,TypeDefPatchRequest,TypeDefPropertiesRequest,TypeDefReIdentifyRequest,TypeDefRequest,TypeDefValidationForRequest
OMRSAPIRequest provides a common header for complex OMRS request to the OMRS REST API. It manages
the parameters in the request body.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorOMRSAPIRequest(OMRSAPIRequest template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the unique identifier for the request.inthashCode()Create a hash code for this element type.voidsetRequestId(String requestId) Set up the unique identifier for the request.toString()Standard toString method.
-
Constructor Details
-
OMRSAPIRequest
public OMRSAPIRequest()Default constructor -
OMRSAPIRequest
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getRequestId
Return the unique identifier for the request.- Specified by:
getRequestIdin interfaceRequestIdService- Returns:
- string guid
-
setRequestId
Set up the unique identifier for the request.- Specified by:
setRequestIdin interfaceRequestIdService- Parameters:
requestId- string guid
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-