Class FindDocumentsQueryTransformer

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.AbstractFindDocumentsQueryTransformer<FindDocumentsQuery>
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.FindDocumentsQueryTransformer

public class FindDocumentsQueryTransformer extends AbstractFindDocumentsQueryTransformer<FindDocumentsQuery>
Transforms between a FindDocumentsQuery and EbXMLAdhocQueryRequest.
Author:
Jens Riemschneider
  • Method Details

    • getInstance

      public static FindDocumentsQueryTransformer getInstance()
    • toEbXML

      public void toEbXML(FindDocumentsQuery 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 be null.
      ebXML - the ebXML representation. Can be null.
    • fromEbXML

      public void fromEbXML(FindDocumentsQuery 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 be null.
      ebXML - the ebXML representation. Can be null.