Package de.danet.an.workflow.api

Examples of de.danet.an.workflow.api.FormalParameter


  throws InvalidDataException {
  try {
      ProcessData pd = new DefaultProcessData ();
      Set items = new HashSet (result.keySet());
      for (int i = 0; i < fps.length; i++) {
    FormalParameter fp = fps[i];
    if (fp.mode() == FormalParameter.Mode.IN) {
        continue;
    }
    Object actParam = actualParameters()[i];
    if (!result.containsKey(fp.id())) {
        throw new InvalidDataException
      ("Result does not include out parameter \""
       + fp.id() + "\".");
    }
    pd.put (actParam, result.get(fp.id()));
    items.remove (fp.id());
      }
      if (items.size() > 0) {
    Iterator itr = items.iterator();
    throw new InvalidDataException
        ("Result includes excessive parameter \""
View Full Code Here


      if (loc.equals ("Description")) {
    description = text();
      } else if (loc.equals ("FormalParameter")) {
    Object dtc = removeContextData ("DataType");
    String index = (new Integer(fpIndex++)).toString();
    fpList.add (new FormalParameter(fpId, index, fpMode, dtc));
      } else if (loc.equals ("FormalParameters")) {
    formalParameters = (FormalParameter[])fpList
        .toArray(new FormalParameter[fpList.size()]);
    fpList = null;
      } else if (XPDLUtil.isXpdlExtNs(uri)
View Full Code Here

        ProcessData res = processContext();
        FormalParameter[] fps
      = processDefinition().formalParameters();
        ProcessData pd = new ProcessDataWithParams (fps);
        for (int i = 0; i < fps.length; i++) {
      FormalParameter fp = fps[i];
      if (fp.mode() == FormalParameter.Mode.IN) {
          continue;
      }
      String fpn = fps[i].id();
      pd.put (fpn, res.get (fpn));
        }
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.api.FormalParameter

Copyright © 2018 www.massapicom. 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.