java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.OCFOMASAPIResponse
All Implemented Interfaces:
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponse
Direct Known Subclasses:
APIOperationResponse, AssetResponse, CertificationsResponse, CommentResponse, ConnectionResponse, MeaningResponse, NoteLogResponse, PagedResponse, TagResponse, ValidValueResponse

public abstract class OCFOMASAPIResponse extends org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
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

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    JSON-like toString

    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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OCFOMASAPIResponse

      public OCFOMASAPIResponse()
      Default constructor
    • OCFOMASAPIResponse

      public OCFOMASAPIResponse(OCFOMASAPIResponse template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • toString

      public String toString()
      JSON-like toString
      Overrides:
      toString in class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
      Returns:
      string containing the property names and values