Class SubjectAreaOMASAPIResponse<R>
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<R>
- Type Parameters:
R- type for response results SubjectAreaOMASAPIResponse provides a common header for Subject Area OMAS managed rest to its REST API. It manages information about exceptions. If no exception has been raised exceptionClassName is null.
- All Implemented Interfaces:
Serializable,org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponse,org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<R>
public class SubjectAreaOMASAPIResponse<R>
extends org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
implements org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<R>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllResults(Collection<? extends R> results) voidresults()voidsetExceptionInfo(org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase e, String className) Set a standard exceptional info for the responseMethods 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponse
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCodeMethods inherited from interface org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse
head
-
Constructor Details
-
SubjectAreaOMASAPIResponse
public SubjectAreaOMASAPIResponse()
-
-
Method Details
-
addAllResults
- Specified by:
addAllResultsin interfaceorg.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<R>
-
addResult
- Specified by:
addResultin interfaceorg.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<R>
-
setExceptionInfo
public void setExceptionInfo(org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase e, String className) Set a standard exceptional info for the response- Parameters:
e- exceptionOCFCheckedExceptionBaseclassName- name of the class being called.
-
results
- Specified by:
resultsin interfaceorg.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<R>
-