|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.hub.builders.ResponseBuilder
public final class ResponseBuilder
Builder for and response.
Constructor Summary | |
---|---|
ResponseBuilder()
|
Method Summary | ||
---|---|---|
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. |
|
|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseBuilder()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |