Class PixV3QueryRequestTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v3.core.transform.requests.PixV3QueryRequestTransformer
Transformer between objects
PixV3QueryRequest
and PRPAIN201309UV02Type
.- Since:
- 4.1
- Author:
- Quentin Ligier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromPrpa
(PRPAIN201309UV02Type query) Transforms a full PRPA query into the simplified model.fromReceiver
(MCCIMT000100UV01Receiver receiver) fromSender
(MCCIMT000100UV01Sender sender) toPrpa
(PixV3QueryRequest simpleQuery) Transforms a simplified query into the full PRPA model.
-
Constructor Details
-
PixV3QueryRequestTransformer
public PixV3QueryRequestTransformer()
-
-
Method Details
-
toPrpa
Transforms a simplified query into the full PRPA model.- Parameters:
simpleQuery
- The simplified query to transform.- Returns:
- the PRPA model query or
null
if the input wasnull
.
-
fromPrpa
Transforms a full PRPA query into the simplified model. Data loss can occur, as the simplified model is not complete.- Parameters:
query
- The full PRPA query to transform.- Returns:
- the simplified query or
null
if the input wasnull
.
-
fromReceiver
-
fromSender
-