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