Package org.huihoo.workflow.xpdl.parameter

Examples of org.huihoo.workflow.xpdl.parameter.ParameterMode


    FormalParameter formalParameter = null;
    WorkflowParameter initParameter = null;
    ActualParameter actualParameter = null;

    ParameterMode paramMode = null;
    Class srcClass = null;
    Class dstClass = null;

    int sizeParams = app.getFormalParameters().size();

    params = new WorkflowParameter[sizeParams];

    for (int i = 0; i < sizeParams; ++i)
    {
      formalParameter = app.findFormalParameter(i);
      actualParameter = (ActualParameter) parameters.get(i);
      initParameter = workflowCase.getCaseContext().getParameterByName(actualParameter.getUUID());

      srcClass = formalParameter.getType();
      dstClass = initParameter.getType();
      paramMode = formalParameter.getMode();

      if (dstClass.equals(srcClass))
      {
        if (paramMode.equals(ParameterMode.MODE_IN))
        {
          params[i] = initParameter.copy();
        }
        else
        {
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.xpdl.parameter.ParameterMode

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.