Class GetDocumentsQueryTransformer

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.GetByUUIDQueryTransformer<T>
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.GetDocumentsQueryTransformer

public class GetDocumentsQueryTransformer extends GetByUUIDQueryTransformer<T>
Transforms between a GetDocumentsQuery and EbXMLAdhocQueryRequest.
Author:
Jens Riemschneider
  • Method Details

    • toEbXML

      protected void toEbXML(GetDocumentsQuery query, QuerySlotHelper slots)
      Description copied from class: GetByUUIDQueryTransformer
      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.
      slots - the ebXML representation. Can be null.
    • fromEbXML

      protected void fromEbXML(GetDocumentsQuery query, QuerySlotHelper slots)
      Description copied from class: GetByUUIDQueryTransformer
      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.
      slots - the ebXML representation. Can be null.
    • getInstance

      public static GetDocumentsQueryTransformer getInstance()
    • toEbXML

      public void toEbXML(GetDocumentsQuery 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(GetDocumentsQuery 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.