Class BatchResponseIntermediary
java.lang.Object
org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.BatchResponseIntermediary
Intermediary representation of an HPD
BatchResponse
required because the JSON deserializer cannot handle lists of JAXBElements.
Usage:
ObjectMapper mapper = new ObjectMapper(); BatchResponseIntermediary intermediary = mapper.readValue(json1, BatchResponseIntermediary.class); BatchResponse batchResponse = batchResponseIntermediary.toBatchResponse();
- Author:
- Dmytro Rud
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setBatchResponses
(List<BatchResponseElement> batchResponses) void
setRequestID
(String requestID) Transforms this intermediary representation into a proper JAXB POJO.
-
Constructor Details
-
BatchResponseIntermediary
public BatchResponseIntermediary()
-
-
Method Details
-
toBatchResponse
Transforms this intermediary representation into a proper JAXB POJO. -
getBatchResponses
-
setBatchResponses
-
getRequestID
-
setRequestID
-