Class FetchQueryTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.FetchQueryTransformer
Transforms between a
FetchQuery
and EbXMLAdhocQueryRequest
.- Author:
- Dmytro Rud
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
fromEbXML
(FetchQuery query, QuerySlotHelper slots) Called byfromEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.void
fromEbXML
(FetchQuery query, EbXMLAdhocQueryRequest<AdhocQueryRequest> ebXML) Transforms the ebXML representation of a query into a query object.static FetchQueryTransformer
protected void
toEbXML
(FetchQuery query, QuerySlotHelper slots) Called bytoEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.void
toEbXML
(FetchQuery query, EbXMLAdhocQueryRequest<AdhocQueryRequest> ebXML) Transforms the query into its ebXML representation.
-
Method Details
-
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.
-
getInstance
-
toEbXML
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
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
.
-