Class ChQueryRegistryTransformer
java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.ChQueryRegistryTransformer
Transforms between a
ChQueryRegistry
and an EbXMLAdhocQueryRequest
.- Author:
- Jens Riemschneider, Quentin Ligier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ChQueryRegistry
fromEbXML
(@Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the ebXML representation into a request.@Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest
toEbXML
(@Nullable ChQueryRegistry request) Transforms the request into its ebXML representation.
-
Constructor Details
-
ChQueryRegistryTransformer
public ChQueryRegistryTransformer()
-
-
Method Details
-
toEbXML
public @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest toEbXML(@Nullable ChQueryRegistry request) Transforms the request into its ebXML representation.- Parameters:
request
- the request. Can benull
.- Returns:
- the ebXML representation.
null
if the input wasnull
.
-
fromEbXML
public @Nullable ChQueryRegistry fromEbXML(@Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the ebXML representation into a request.- Parameters:
ebXML
- the ebXML representation. Can benull
.- Returns:
- the request.
null
if the input wasnull
.
-