be.ehealth.businessconnector.chapterIV.builders

## Class WrappedResponseBuilder

- java.lang.Object
- - be.ehealth.businessconnector.chapterIV.builders.WrappedResponseBuilder

-     public final class WrappedResponseBuilder
      extends Object

  builds wrapped response objects which can be processed with generic code. needed because xml objects are generated and don't have common superclass or interfaced defined but do implement common methods.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Chap4MedicalAdvisorAgreementResponseWrapper<AskChap4MedicalAdvisorAgreementResponse>` | `wrap(AskChap4MedicalAdvisorAgreementResponse response)` wraps a xml class that doesn't implement any interface in a generic class which implements the interfaces.
    `static Chap4MedicalAdvisorAgreementResponseWrapper<ConsultChap4MedicalAdvisorAgreementResponse>` | `wrap(ConsultChap4MedicalAdvisorAgreementResponse agreementResponse)` wraps `ConsultChap4MedicalAdvisorAgreementResponse` in a more generic Chap4MedicalAdvisorAgreementResponseWrapper.
    `static UnsealedResponseWrapper<Response>` | `wrap(Response response)` wraps a xml class that doesn't implement any interface in a generic class which implements the interfaces.
    `static UnsealedResponseWrapper<Response>` | `wrap(Response response)` wraps a xml class that doesn't implement any interface in a generic class which implements the interfaces.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### wrap

          public static Chap4MedicalAdvisorAgreementResponseWrapper<ConsultChap4MedicalAdvisorAgreementResponse> wrap(ConsultChap4MedicalAdvisorAgreementResponse agreementResponse)

      wraps `ConsultChap4MedicalAdvisorAgreementResponse` in a more generic Chap4MedicalAdvisorAgreementResponseWrapper.
      Parameters:
        `agreementResponse` - the object to be wrapped
      Returns:
        the wrapped object , implementing the generic interface.

    - #### wrap

          public static Chap4MedicalAdvisorAgreementResponseWrapper<AskChap4MedicalAdvisorAgreementResponse> wrap(AskChap4MedicalAdvisorAgreementResponse response)

      wraps a xml class that doesn't implement any interface in a generic class which implements the interfaces.
      Parameters:
        `response` - the xml class without interfaces
      Returns:
        the wrapped object , implementing the interfaces

    - #### wrap

          public static UnsealedResponseWrapper<Response> wrap(Response response)

      wraps a xml class that doesn't implement any interface in a generic class which implements the interfaces.
      Parameters:
        `response` - the xml class without interfaces
      Returns:
        the wrapped object , implementing the interfaces

    - #### wrap

          public static UnsealedResponseWrapper<Response> wrap(Response response)

      wraps a xml class that doesn't implement any interface in a generic class which implements the interfaces.
      Parameters:
        `response` - the xml class without interfaces
      Returns:
        the wrapped object , implementing the interfaces

Connector Packaging PERSPHYSICIAN 4.7.3 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.