Class ChFindMedicationListQueryTransformer
java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChPharmacyDocumentsQueryTransformer<ChFindMedicationListQuery>
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChFindMedicationListQueryTransformer
public class ChFindMedicationListQueryTransformer
extends ChPharmacyDocumentsQueryTransformer<ChFindMedicationListQuery>
Transforms between
ChFindMedicationListQuery
and EbXMLAdhocQueryRequest
.- Author:
- Quentin Ligier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fromEbXML
(@Nullable ChFindMedicationListQuery query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the ebXML representation of a query into a query object.void
toEbXML
(@Nullable ChFindMedicationListQuery query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the query into its EbXML representation.
-
Constructor Details
-
ChFindMedicationListQueryTransformer
public ChFindMedicationListQueryTransformer()
-
-
Method Details
-
toEbXML
public void toEbXML(@Nullable ChFindMedicationListQuery query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the query into its EbXML representation.Does not perform any transformation if one of the parameters is
null
.- Overrides:
toEbXML
in classChPharmacyDocumentsQueryTransformer<ChFindMedicationListQuery>
- Parameters:
query
- the query to transform.ebXML
- the EbXML representation.
-
fromEbXML
public void fromEbXML(@Nullable ChFindMedicationListQuery query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the ebXML representation of a query into a query object.Does not perform any transformation if one of the parameters is
null
.- Overrides:
fromEbXML
in classChPharmacyDocumentsQueryTransformer<ChFindMedicationListQuery>
- Parameters:
query
- the query. Can benull
.ebXML
- the ebXML representation. Can benull
.
-