/** * Sets ith "child-ref" element */ public void setChildRefArray(int i, org.apache.ode.bpel.pmapi.TScopeRef childRef) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.TScopeRef target = null; target = (org.apache.ode.bpel.pmapi.TScopeRef)get_store().find_element_user(CHILDREF$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(childRef); } }
private void fillScopeRef(TScopeRef tref, ScopeDAO scope) { tref.setSiid(scope.getScopeInstanceId().toString()); tref.setStatus(__psc.cvtScopeStatus(scope.getState())); tref.setName(scope.getName()); tref.setModelId("" + scope.getModelId()); }
/** * Fill the common activity info from an event. * @param info * @param event */ private void fill(TActivityInfo info, ActivityEvent event) { info.setName(event.getActivityName()); info.setType(event.getActivityType()); info.setAiid(""+event.getActivityId()); info.setScope(TScopeRef.Factory.newInstance()); info.getScope().setModelId("" + event.getScopeDeclarationId()); info.getScope().setName(event.getScopeName()); info.getScope().setSiid("" + event.getScopeId()); }
/** * Sets the "scope" element */ public void setScope(org.apache.ode.bpel.pmapi.TScopeRef scope) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.TScopeRef target = null; target = (org.apache.ode.bpel.pmapi.TScopeRef)get_store().find_element_user(SCOPE$8, 0); if (target == null) { target = (org.apache.ode.bpel.pmapi.TScopeRef)get_store().add_element_user(SCOPE$8); } target.set(scope); } }
/** * Sets the "parent-scope-ref" element */ public void setParentScopeRef(org.apache.ode.bpel.pmapi.TScopeRef parentScopeRef) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.TScopeRef target = null; target = (org.apache.ode.bpel.pmapi.TScopeRef)get_store().find_element_user(PARENTSCOPEREF$6, 0); if (target == null) { target = (org.apache.ode.bpel.pmapi.TScopeRef)get_store().add_element_user(PARENTSCOPEREF$6); } target.set(parentScopeRef); } }
/** * Sets the "root-scope" element */ public void setRootScope(org.apache.ode.bpel.pmapi.TScopeRef rootScope) { synchronized (monitor()) { check_orphaned(); org.apache.ode.bpel.pmapi.TScopeRef target = null; target = (org.apache.ode.bpel.pmapi.TScopeRef)get_store().find_element_user(ROOTSCOPE$6, 0); if (target == null) { target = (org.apache.ode.bpel.pmapi.TScopeRef)get_store().add_element_user(ROOTSCOPE$6); } target.set(rootScope); } }