Class GetRelatedDocumentsQueryTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.GetFromDocumentQueryTransformer<GetRelatedDocumentsQuery>
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.GetRelatedDocumentsQueryTransformer
public class GetRelatedDocumentsQueryTransformer
extends GetFromDocumentQueryTransformer<GetRelatedDocumentsQuery>
Transforms between a
GetDocumentsQuery
and EbXMLAdhocQueryRequest
.- Author:
- Jens Riemschneider
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
fromEbXML
(GetRelatedDocumentsQuery query, QuerySlotHelper slots) Called byfromEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.void
fromEbXML
(GetRelatedDocumentsQuery query, EbXMLAdhocQueryRequest<AdhocQueryRequest> ebXML) Transforms the ebXML representation of a query into a query object.protected void
toEbXML
(GetRelatedDocumentsQuery query, QuerySlotHelper slots) Called bytoEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.void
toEbXML
(GetRelatedDocumentsQuery query, EbXMLAdhocQueryRequest<AdhocQueryRequest> ebXML) Transforms the query into its ebXML representation.
-
Method Details
-
toEbXML
Called bytoEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.- Overrides:
toEbXML
in classGetFromDocumentQueryTransformer<GetRelatedDocumentsQuery>
- Parameters:
query
- the query to transform.slots
- the slots to be filled.
-
fromEbXML
Called byfromEbXML(StoredQuery, EbXMLAdhocQueryRequest)
to transform slots.- Overrides:
fromEbXML
in classGetFromDocumentQueryTransformer<GetRelatedDocumentsQuery>
- Parameters:
query
- the target query.slots
- the slots to transform.
-
getInstance
-
toEbXML
public void toEbXML(GetRelatedDocumentsQuery 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(GetRelatedDocumentsQuery 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
.
-