Class GetByUUIDQueryTransformer<T extends GetByUuidQuery>

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.GetByUUIDQueryTransformer<T>
Type Parameters:
T - type of the query.
Direct Known Subclasses:
GetAssociationsQueryTransformer, GetDocumentsAndAssociationsQueryTransformer, GetDocumentsQueryTransformer, GetFoldersQueryTransformer, GetSubmissionSetsQueryTransformer, SubscriptionForFolderQueryTransformer

public abstract class GetByUUIDQueryTransformer<T extends GetByUuidQuery> extends Object
Base class of transformers for GetByUuidQuery.
Author:
Jens Riemschneider
  • Constructor Details

    • GetByUUIDQueryTransformer

      protected GetByUUIDQueryTransformer(QueryParameter uuidParam)
      Constructs the transformer.
      Parameters:
      uuidParam - the parameter name of the UUID parameter.
  • Method Details

    • toEbXML

      protected void toEbXML(T query, QuerySlotHelper slots)
      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(T query, QuerySlotHelper slots)
      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.
    • toEbXML

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