}
public ActivityExtInfoListDocument getExtensibilityElements(QName pid, Integer[] aids) {
ActivityExtInfoListDocument aeild = ActivityExtInfoListDocument.Factory.newInstance();
TActivitytExtInfoList taeil = aeild.addNewActivityExtInfoList();
OProcess oprocess = _server._engine.getOProcess(pid);
if (oprocess == null)
throw new ProcessNotFoundException("The process \"" + pid + "\" does not exist.");
for (int aid : aids) {
OBase obase = oprocess.getChild(aid);
if (obase != null && obase.debugInfo != null && obase.debugInfo.extensibilityElements != null) {
for (Map.Entry<QName, Object> entry : obase.debugInfo.extensibilityElements.entrySet()) {
TActivityExtInfo taei = taeil.addNewActivityExtInfo();
taei.setAiid("" + aid);
Object extValue = entry.getValue();