T
- the actual query type that is transformed by an extending subclass.public abstract class GetByIDAndCodesQueryTransformer<T extends GetByIdAndCodesQuery> extends Object
GetByIdAndCodesQuery
.Constructor and Description |
---|
GetByIDAndCodesQueryTransformer(QueryParameter uuidParam,
QueryParameter uniqueIdParam,
QueryParameter formatCodeParam,
QueryParameter formatCodeSchemeParam,
QueryParameter confCodeParam,
QueryParameter confCodeSchemeParam)
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.
|
void |
toEbXML(T query,
EbXMLAdhocQueryRequest ebXML)
Transforms the query into its ebXML representation.
|
public GetByIDAndCodesQueryTransformer(QueryParameter uuidParam, QueryParameter uniqueIdParam, QueryParameter formatCodeParam, QueryParameter formatCodeSchemeParam, QueryParameter confCodeParam, QueryParameter confCodeSchemeParam)
uuidParam
- the parameter name of the UUID parameter.uniqueIdParam
- the parameter name of the unique ID parameter.formatCodeParam
- the parameter name of the format code.formatCodeSchemeParam
- the parameter name of the format code scheme.confCodeParam
- the parameter name of the confidentiality code.confCodeSchemeParam
- the parameter name of the confidentiality code scheme.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
.Copyright © 2018 Open eHealth Foundation. All rights reserved.