T
- type of the query.public abstract class GetByUUIDQueryTransformer<T extends GetByUuidQuery> extends Object
GetByUuidQuery
.Modifier | Constructor and Description |
---|---|
protected |
GetByUUIDQueryTransformer(QueryParameter uuidParam)
Constructs the transformer.
|
Modifier and Type | Method and Description |
---|---|
void |
fromEbXML(T query,
EbXMLAdhocQueryRequest ebXML)
Transforms the ebXML representation of a query into a query object.
|
protected void |
fromEbXML(T query,
QuerySlotHelper slots)
Called by
fromEbXML(GetByUuidQuery, EbXMLAdhocQueryRequest) to
transform slots. |
void |
toEbXML(T query,
EbXMLAdhocQueryRequest ebXML)
Transforms the query into its ebXML representation.
|
protected void |
toEbXML(T query,
QuerySlotHelper slots)
Called by
toEbXML(GetByUuidQuery, EbXMLAdhocQueryRequest) to
transform slots. |
protected GetByUUIDQueryTransformer(QueryParameter uuidParam)
uuidParam
- the parameter name of the UUID parameter.public void toEbXML(T query, EbXMLAdhocQueryRequest ebXML)
Does not perform any transformation if one of the parameters is null
.
query
- the query. Can be null
.ebXML
- the ebXML representation. Can be null
.public void fromEbXML(T query, EbXMLAdhocQueryRequest ebXML)
Does not perform any transformation if one of the parameters is null
.
query
- the query. Can be null
.ebXML
- the ebXML representation. Can be null
.protected void toEbXML(T query, QuerySlotHelper slots)
toEbXML(GetByUuidQuery, EbXMLAdhocQueryRequest)
to
transform slots.query
- the query to transform.slots
- the slots to be filled.protected void fromEbXML(T query, QuerySlotHelper slots)
fromEbXML(GetByUuidQuery, EbXMLAdhocQueryRequest)
to
transform slots.query
- the target query.slots
- the slots to transform.Copyright © 2018 Open eHealth Foundation. All rights reserved.