/** * Sets ith "restoreInstance" element */ public void setRestoreInstanceArray(int i, org.apache.ode.bpel.pmapi.CommunicationType restoreInstance) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.CommunicationType target = null; target = (org.apache.ode.bpel.pmapi.CommunicationType)get_store().find_element_user(RESTOREINSTANCE$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(restoreInstance); } }
/** * Sets ith "restoreInstance" element */ public void setRestoreInstanceArray(int i, org.apache.ode.bpel.pmapi.CommunicationType restoreInstance) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.CommunicationType target = null; target = (org.apache.ode.bpel.pmapi.CommunicationType)get_store().find_element_user(RESTOREINSTANCE$4, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(restoreInstance); } }
public GetCommunicationResponse getCommunication(GetCommunication request, BpelDAOConnection conn) throws Exception { GetCommunicationResponse response = GetCommunicationResponse.Factory.newInstance(); for (Long iid : request.getIidList()) { response.addNewRestoreInstance().set(getCommunication(iid, conn)); } return response; }