Class FindMedicationAdministrationsQueryTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.FindMedicationAdministrationsQueryTransformer
Transforms between
FindMedicationAdministrationsQuery
and EbXMLAdhocQueryRequest
.- Since:
- 3.7
- Author:
- Quentin Ligier
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fromEbXML
(FindMedicationAdministrationsQuery query, EbXMLAdhocQueryRequest<AdhocQueryRequest> ebXML) Transforms the ebXML representation of a query into a query object.protected void
fromEbXML
(FindMedicationAdministrationsQuery query, QuerySlotHelper slots) Called byfromEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.void
Transforms the query into its ebXML representation.protected void
toEbXML
(FindMedicationAdministrationsQuery query, QuerySlotHelper slots) Called bytoEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.
-
Method Details
-
getInstance
-
toEbXML
Called bytoEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.- Parameters:
query
- the query to transform.slots
- the slots to be filled.
-
fromEbXML
Called byfromEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.- Parameters:
query
- the target query.slots
- the slots to transform.
-
toEbXML
public void toEbXML(FindMedicationAdministrationsQuery query, EbXMLAdhocQueryRequest<AdhocQueryRequest> 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(FindMedicationAdministrationsQuery query, EbXMLAdhocQueryRequest<AdhocQueryRequest> 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
.
-