Class BatchRequest
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.BatchRequest
-
public class BatchRequest extends Object
Java class for BatchRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BatchRequest"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="authRequest" type="{urn:oasis:names:tc:DSML:2:0:core}AuthRequest" minOccurs="0"/> <group ref="{urn:oasis:names:tc:DSML:2:0:core}BatchRequests" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="requestID" type="{urn:oasis:names:tc:DSML:2:0:core}RequestID" /> <attribute name="processing" default="sequential"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="sequential"/> <enumeration value="parallel"/> </restriction> </simpleType> </attribute> <attribute name="responseOrder" default="sequential"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="sequential"/> <enumeration value="unordered"/> </restriction> </simpleType> </attribute> <attribute name="onError" default="exit"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="resume"/> <enumeration value="exit"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatchRequest.RequestErrorHandlingTypeJava class for null.static classBatchRequest.RequestProcessingTypeJava class for null.static classBatchRequest.RequestResponseOrderJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected AuthRequestauthRequestprotected List<DsmlMessage>batchRequestsprotected BatchRequest.RequestErrorHandlingTypeonErrorprotected BatchRequest.RequestProcessingTypeprocessingprotected StringrequestIDprotected BatchRequest.RequestResponseOrderresponseOrder
-
Constructor Summary
Constructors Constructor Description BatchRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthRequestgetAuthRequest()Gets the value of the authRequest property.List<DsmlMessage>getBatchRequests()Gets the value of the batchRequests property.BatchRequest.RequestErrorHandlingTypegetOnError()Gets the value of the onError property.BatchRequest.RequestProcessingTypegetProcessing()Gets the value of the processing property.StringgetRequestID()Gets the value of the requestID property.BatchRequest.RequestResponseOrdergetResponseOrder()Gets the value of the responseOrder property.voidsetAuthRequest(AuthRequest value)Sets the value of the authRequest property.voidsetOnError(BatchRequest.RequestErrorHandlingType value)Sets the value of the onError property.voidsetProcessing(BatchRequest.RequestProcessingType value)Sets the value of the processing property.voidsetRequestID(String value)Sets the value of the requestID property.voidsetResponseOrder(BatchRequest.RequestResponseOrder value)Sets the value of the responseOrder property.
-
-
-
Field Detail
-
authRequest
protected AuthRequest authRequest
-
batchRequests
protected List<DsmlMessage> batchRequests
-
requestID
protected String requestID
-
processing
protected BatchRequest.RequestProcessingType processing
-
responseOrder
protected BatchRequest.RequestResponseOrder responseOrder
-
onError
protected BatchRequest.RequestErrorHandlingType onError
-
-
Method Detail
-
getAuthRequest
public AuthRequest getAuthRequest()
Gets the value of the authRequest property.- Returns:
- possible object is
AuthRequest
-
setAuthRequest
public void setAuthRequest(AuthRequest value)
Sets the value of the authRequest property.- Parameters:
value- allowed object isAuthRequest
-
getBatchRequests
public List<DsmlMessage> getBatchRequests()
Gets the value of the batchRequests property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the batchRequests property.For example, to add a new item, do as follows:
getBatchRequests().add(newItem);Objects of the following type(s) are allowed in the list
SearchRequestModifyRequestAddRequestDelRequestModifyDNRequestCompareRequestAbandonRequestExtendedRequest
-
getRequestID
public String getRequestID()
Gets the value of the requestID property.- Returns:
- possible object is
String
-
setRequestID
public void setRequestID(String value)
Sets the value of the requestID property.- Parameters:
value- allowed object isString
-
getProcessing
public BatchRequest.RequestProcessingType getProcessing()
Gets the value of the processing property.- Returns:
- possible object is
BatchRequest.RequestProcessingType
-
setProcessing
public void setProcessing(BatchRequest.RequestProcessingType value)
Sets the value of the processing property.- Parameters:
value- allowed object isBatchRequest.RequestProcessingType
-
getResponseOrder
public BatchRequest.RequestResponseOrder getResponseOrder()
Gets the value of the responseOrder property.- Returns:
- possible object is
BatchRequest.RequestResponseOrder
-
setResponseOrder
public void setResponseOrder(BatchRequest.RequestResponseOrder value)
Sets the value of the responseOrder property.- Parameters:
value- allowed object isBatchRequest.RequestResponseOrder
-
getOnError
public BatchRequest.RequestErrorHandlingType getOnError()
Gets the value of the onError property.- Returns:
- possible object is
BatchRequest.RequestErrorHandlingType
-
setOnError
public void setOnError(BatchRequest.RequestErrorHandlingType value)
Sets the value of the onError property.- Parameters:
value- allowed object isBatchRequest.RequestErrorHandlingType
-
-