public class

BatchRequest

extends DataObject
java.lang.Object
   ↳ org.mule.modules.oracle.model.AbstractDataObject
     ↳ com.oracle.xmlns.svc.DataObject
       ↳ com.oracle.xmlns.svc.BatchRequest

Class Overview

Represents a bundle of method invocation requests to be performed on a Service Service in one round-trip.

Example:

  
   DataObjectFactory fac = ...
   BatchRequest batch = fac.createDataObject(BatchRequest.QUALIFIED_NAME);
   
   //Add a method Request
   List processDataListParams = ArrayList(4);
   processDataListParams.add(dataSource);
   processDataListParams.add(operation);
   processDataListParams.add(processControl);
   processDataListParams.add(dataList);
   batch.addMethodRequest("MyRequest1", "processDataList", processDataListParams);
   
   //Add a method Request
   List myMethodParams = ArrayList(1);
   myMethodParams.add("Hello");
   batch.addMethodRequest("MyRequest2", "myMethod", myMethodParams);
   batch.setTransactionMode(transactionMode);
   svc.invokeServiceBatch(batch);
 

Summary

Fields
protected List<MethodRequest> methodRequest
protected String transactionMode
Public Constructors
BatchRequest()
Public Methods
List<MethodRequest> getMethodRequest()
Gets the value of the methodRequest property.
String getTransactionMode()
Gets the value of the transactionMode property.
void setMethodRequest(List<MethodRequest> methodRequest)
Sets the value of the methodRequest property.
void setTransactionMode(String value)
Sets the value of the transactionMode property.
[Expand]
Inherited Methods
From class org.mule.modules.oracle.model.AbstractDataObject
From class java.lang.Object

Fields

protected List<MethodRequest> methodRequest

protected String transactionMode

Public Constructors

public BatchRequest ()

Public Methods

public List<MethodRequest> getMethodRequest ()

Gets the value of the methodRequest 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 set method for the methodRequest property.

For example, to add a new item, do as follows:

    getMethodRequest().add(newItem);
 

Objects of the following type(s) are allowed in the list MethodRequest

public String getTransactionMode ()

Gets the value of the transactionMode property.

Returns
  • possible object is String

public void setMethodRequest (List<MethodRequest> methodRequest)

Sets the value of the methodRequest property.

Parameters
methodRequest Allowed object is MethodRequest

public void setTransactionMode (String value)

Sets the value of the transactionMode property.

Parameters
value Allowed object is String