Package de.danet.an.workflow.omgcore

Examples of de.danet.an.workflow.omgcore.ProcessDataInfo.keySet()


      = pdd.lookupProcessDefinition("ut-procdef", "called1");
  assertTrue (pd != null);
  assertTrue (pd.processHeader().created().equals ("07.04.2003"));
  assertTrue (pd.processHeader().description().equals ("Was tun"));
  ProcessDataInfo pdi = pd.resultSignature();
  assertTrue (pdi.keySet().size () == 1);
  assertTrue (pdi.containsKey("status"));
  assertTrue (pdi.get("status") == String.class);
    }

    /**
 
View Full Code Here


            (Consts.RS_PREFIX, getResourceReference().getNamespace());
       
        ProcessData result;
        result = proc.result();
       
        Iterator iterator = resultSignature.keySet().iterator();
        while (iterator.hasNext()) {
            String name = (String) iterator.next();
            Object value = result.get(name);
            SOAPElement dataNode
                = resultData.addChildElement(name, Consts.RS_PREFIX);
View Full Code Here

    public ProcessData result ()
        throws ResultNotAvailableException {
        ProcessDataInfo resSig = processDefinition().resultSignature();
        ProcessData procCtx = getPaProcessData();
        ProcessData resData = new DefaultProcessData();
        for (Iterator i = resSig.keySet().iterator(); i.hasNext();) {
            String key = (String)i.next();
            resData.put(key, procCtx.get(key));
        }
  return resData;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.