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>
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchRequest.RequestErrorHandlingType
Java class for null.
|
static class |
BatchRequest.RequestProcessingType
Java class for null.
|
static class |
BatchRequest.RequestResponseOrder
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected AuthRequest |
authRequest |
protected List<DsmlMessage> |
batchRequests |
protected BatchRequest.RequestErrorHandlingType |
onError |
protected BatchRequest.RequestProcessingType |
processing |
protected String |
requestID |
protected BatchRequest.RequestResponseOrder |
responseOrder |
| Constructor and Description |
|---|
BatchRequest() |
| Modifier and Type | Method and Description |
|---|---|
AuthRequest |
getAuthRequest()
Gets the value of the authRequest property.
|
List<DsmlMessage> |
getBatchRequests()
Gets the value of the batchRequests property.
|
BatchRequest.RequestErrorHandlingType |
getOnError()
Gets the value of the onError property.
|
BatchRequest.RequestProcessingType |
getProcessing()
Gets the value of the processing property.
|
String |
getRequestID()
Gets the value of the requestID property.
|
BatchRequest.RequestResponseOrder |
getResponseOrder()
Gets the value of the responseOrder property.
|
void |
setAuthRequest(AuthRequest value)
Sets the value of the authRequest property.
|
void |
setOnError(BatchRequest.RequestErrorHandlingType value)
Sets the value of the onError property.
|
void |
setProcessing(BatchRequest.RequestProcessingType value)
Sets the value of the processing property.
|
void |
setRequestID(String value)
Sets the value of the requestID property.
|
void |
setResponseOrder(BatchRequest.RequestResponseOrder value)
Sets the value of the responseOrder property.
|
protected AuthRequest authRequest
protected List<DsmlMessage> batchRequests
protected String requestID
protected BatchRequest.RequestProcessingType processing
protected BatchRequest.RequestResponseOrder responseOrder
protected BatchRequest.RequestErrorHandlingType onError
public AuthRequest getAuthRequest()
AuthRequestpublic void setAuthRequest(AuthRequest value)
value - allowed object is
AuthRequestpublic List<DsmlMessage> getBatchRequests()
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 set method 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
SearchRequest
ModifyRequest
AddRequest
DelRequest
ModifyDNRequest
CompareRequest
AbandonRequest
ExtendedRequest
public String getRequestID()
Stringpublic void setRequestID(String value)
value - allowed object is
Stringpublic BatchRequest.RequestProcessingType getProcessing()
BatchRequest.RequestProcessingTypepublic void setProcessing(BatchRequest.RequestProcessingType value)
value - allowed object is
BatchRequest.RequestProcessingTypepublic BatchRequest.RequestResponseOrder getResponseOrder()
BatchRequest.RequestResponseOrderpublic void setResponseOrder(BatchRequest.RequestResponseOrder value)
value - allowed object is
BatchRequest.RequestResponseOrderpublic BatchRequest.RequestErrorHandlingType getOnError()
BatchRequest.RequestErrorHandlingTypepublic void setOnError(BatchRequest.RequestErrorHandlingType value)
value - allowed object is
BatchRequest.RequestErrorHandlingTypeCopyright © 2018 Open eHealth Foundation. All rights reserved.