Class OCFOMASAPIResponse
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.OCFOMASAPIResponse
- All Implemented Interfaces:
FFDCResponse
- Direct Known Subclasses:
APIOperationResponse
,AssetResponse
,CertificationsResponse
,CommentResponse
,ConnectionResponse
,MeaningResponse
,NoteLogResponse
,PagedResponse
,TagResponse
,ValidValueResponse
OCFOMASAPIResponse provides a common header for or Open Connector Framework (OCF) bean-based REST responses.
It manages information about exceptions. If no exception has been raised exceptionClassName is null.
-
Constructor Summary
ConstructorDescriptionDefault constructorOCFOMASAPIResponse
(OCFOMASAPIResponse template) Copy/clone constructor -
Method Summary
Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
equals, getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, hashCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
Constructor Details
-
OCFOMASAPIResponse
public OCFOMASAPIResponse()Default constructor -
OCFOMASAPIResponse
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
toString
JSON-like toString- Overrides:
toString
in classFFDCResponseBase
- Returns:
- string containing the property names and values
-