T
- the actual query type that is transformed by an extending subclass.public abstract class GetByIDQueryTransformer<T extends GetByIdQuery> extends GetByUUIDQueryTransformer<T>
GetByIdQuery
.Modifier | Constructor and Description |
---|---|
protected |
GetByIDQueryTransformer(QueryParameter uuidParam,
QueryParameter uniqueIdParam)
Constructs the transformer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
fromEbXML(T query,
QuerySlotHelper slots)
Called by
GetByUUIDQueryTransformer.fromEbXML(GetByUuidQuery, EbXMLAdhocQueryRequest) to
transform slots. |
protected void |
toEbXML(T query,
QuerySlotHelper slots)
Called by
GetByUUIDQueryTransformer.toEbXML(GetByUuidQuery, EbXMLAdhocQueryRequest) to
transform slots. |
fromEbXML, toEbXML
protected GetByIDQueryTransformer(QueryParameter uuidParam, QueryParameter uniqueIdParam)
uuidParam
- the parameter name of the UUID parameter.uniqueIdParam
- the parameter name of the unique ID parameter.protected void toEbXML(T query, QuerySlotHelper slots)
GetByUUIDQueryTransformer
GetByUUIDQueryTransformer.toEbXML(GetByUuidQuery, EbXMLAdhocQueryRequest)
to
transform slots.toEbXML
in class GetByUUIDQueryTransformer<T extends GetByIdQuery>
query
- the query to transform.slots
- the slots to be filled.protected void fromEbXML(T query, QuerySlotHelper slots)
GetByUUIDQueryTransformer
GetByUUIDQueryTransformer.fromEbXML(GetByUuidQuery, EbXMLAdhocQueryRequest)
to
transform slots.fromEbXML
in class GetByUUIDQueryTransformer<T extends GetByIdQuery>
query
- the target query.slots
- the slots to transform.Copyright © 2018 Open eHealth Foundation. All rights reserved.