Class ChPharmacyDocumentsQueryTransformer<T extends ChPharmacyDocumentsQuery>
java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChPharmacyDocumentsQueryTransformer<T>
- Direct Known Subclasses:
ChFindMedicationCardQueryTransformer
,ChFindMedicationListQueryTransformer
,ChPharmacyStableDocumentsQueryTransformer
Base transformations for all CH:PHARM-1 queries.
- Author:
- Quentin Ligier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fromEbXML
(@Nullable T 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 T query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the query into its ebXML representation.
-
Constructor Details
-
ChPharmacyDocumentsQueryTransformer
public ChPharmacyDocumentsQueryTransformer()
-
-
Method Details
-
toEbXML
public void toEbXML(@Nullable T 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
.- Parameters:
query
- the query. Can benull
.ebXML
- the ebXML representation. Can benull
.
-
fromEbXML
public void fromEbXML(@Nullable T 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
.- Parameters:
query
- the query. Can benull
.ebXML
- the ebXML representation. Can benull
.
-