public final class ResponseBuilder extends Object
Constructor and Description |
---|
ResponseBuilder() |
Modifier and Type | Method and Description |
---|---|
String |
buildAccessRightListTypeResponse(AccessRightListType response)
It builds the xml for the AccessRightListType object.
|
String |
buildConsentHCPartyTypeResponse(ConsentHCPartyType response)
It builds the xml for the ConsentHCPartyType object.
|
String |
buildConsentTypeResponse(ConsentType response)
It builds the xml for the ConsentType object.
|
String |
buildHCPartyAdaptedTypeResponse(HCPartyAdaptedType response)
It builds the xml for the HCPartyAdaptedType object.
|
String |
buildIDKMEHRResponse(IDKMEHR response)
It builds the xml for the IDKMEHR object.
|
String |
buildKmehrHeaderGetTransactionListResponse(KmehrHeaderGetTransactionList response)
It builds the xml for the KmehrHeaderGetTransactionList object.
|
String |
buildKmehrmessageResponse(Kmehrmessage response)
It builds the xml for the Kmehrmessage object.
|
String |
buildPersonTypeResponse(PersonType response)
It builds the xml for the PersonType object.
|
<T> String |
buildResponse(T response,
Class<T> clazz)
It builds the response xml string given the object.
|
String |
buildTherapeuticLinkTypeResponse(TherapeuticLinkType response)
It builds the xml for the TherapeuticLinkType object.
|
String |
buildTransactionAccessListTypeResponse(TransactionAccessListType response)
It builds the xml for the TransactionAccessListType object.
|
public <T> String buildResponse(T response, Class<T> clazz) throws TechnicalConnectorException
T
- response
- the response object.clazz
- the class of the response.TechnicalConnectorException
- technical error.public String buildIDKMEHRResponse(IDKMEHR response) throws TechnicalConnectorException
response
- the IDKMEHR object.TechnicalConnectorException
- unexpected error.public String buildKmehrHeaderGetTransactionListResponse(KmehrHeaderGetTransactionList response) throws TechnicalConnectorException
response
- the KmehrHeaderGetTransactionList object.TechnicalConnectorException
- unexpected error.public String buildKmehrmessageResponse(Kmehrmessage response) throws TechnicalConnectorException
response
- the Kmehrmessage object.TechnicalConnectorException
- unexpected error.public String buildHCPartyAdaptedTypeResponse(HCPartyAdaptedType response) throws TechnicalConnectorException
response
- the HCPartyAdaptedType object.TechnicalConnectorException
- unexpected error.public String buildPersonTypeResponse(PersonType response) throws TechnicalConnectorException
response
- the PersonType object.TechnicalConnectorException
- unexpected error.public String buildConsentHCPartyTypeResponse(ConsentHCPartyType response) throws TechnicalConnectorException
response
- the ConsentHCPartyType object.TechnicalConnectorException
- unexpected error.public String buildConsentTypeResponse(ConsentType response) throws TechnicalConnectorException
response
- the ConsentType object.TechnicalConnectorException
- unexpected error.public String buildTherapeuticLinkTypeResponse(TherapeuticLinkType response) throws TechnicalConnectorException
response
- the TherapeuticLinkType object.TechnicalConnectorException
- unexpected error.public String buildAccessRightListTypeResponse(AccessRightListType response) throws TechnicalConnectorException
response
- the AccessRightListType object.TechnicalConnectorException
- unexpected error.public String buildTransactionAccessListTypeResponse(TransactionAccessListType response) throws TechnicalConnectorException
response
- the TransactionAccessListType object.TechnicalConnectorException
- unexpected error.
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.