Class ChPharmacyStableDocumentsQueryTransformer<T extends ChPharmacyStableDocumentsQuery>

java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChPharmacyDocumentsQueryTransformer<T>
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChPharmacyStableDocumentsQueryTransformer<T>
Direct Known Subclasses:
ChFindDispensesQueryTransformer, ChFindMedicationAdministrationsQueryTransformer, ChFindMedicationTreatmentPlansQueryTransformer, ChFindPrescriptionsForDispenseQueryTransformer, ChFindPrescriptionsForValidationQueryTransformer, ChFindPrescriptionsQueryTransformer

public class ChPharmacyStableDocumentsQueryTransformer<T extends ChPharmacyStableDocumentsQuery> extends ChPharmacyDocumentsQueryTransformer<T>
Base transformations for all stable-documents CH:PHARM-1 queries.
Author:
Quentin Ligier
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fromEbXML(@Nullable T query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML)
    Transforms the ebXML representation of a query into a query object.
    void
    toEbXML(@Nullable T query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML)
    Transforms the query into its ebXML representation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChPharmacyStableDocumentsQueryTransformer

      public ChPharmacyStableDocumentsQueryTransformer()
  • Method Details

    • toEbXML

      public void toEbXML(@Nullable T query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML)
      Transforms the query into its ebXML representation.

      Does not perform any transformation if one of the parameters is null.

      Overrides:
      toEbXML in class ChPharmacyDocumentsQueryTransformer<T extends ChPharmacyStableDocumentsQuery>
      Parameters:
      query - the query. Can be null.
      ebXML - the ebXML representation. Can be null.
    • fromEbXML

      public void fromEbXML(@Nullable T query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML)
      Transforms the ebXML representation of a query into a query object.

      Does not perform any transformation if one of the parameters is null.

      Overrides:
      fromEbXML in class ChPharmacyDocumentsQueryTransformer<T extends ChPharmacyStableDocumentsQuery>
      Parameters:
      query - the query. Can be null.
      ebXML - the ebXML representation. Can be null.