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

public abstract class OCFOMASAPIResponse extends 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 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 FFDCResponseBase
      Returns:
      string containing the property names and values