Package org.openbp.core.model.item.activity

Examples of org.openbp.core.model.item.activity.ActivityParamImpl


   *    false  The parmeter is required.
   * @return The new parameter
   */
  public static ActivityParam makeParam(String name, String displayName, String description, DataTypeItem type, boolean optional)
  {
    ActivityParam param = new ActivityParamImpl();

    param.setName(name);
    param.setDisplayName(displayName);
    param.setDescription(description);

    param.setDataType(type);

    param.setOptional(optional);

    return param;
  }
View Full Code Here


   *    false  The parmeter is required.
   * @return The new parameter
   */
  public static ActivityParam makeParam(DisplayObject dob, DataTypeItem type, boolean optional)
  {
    ActivityParam param = new ActivityParamImpl();

    param.setName(dob.getName());
    param.setDisplayName(dob.getDisplayName());
    param.setDescription(dob.getDescription());

    param.setDataType(type);

    param.setOptional(optional);

    return param;
  }
View Full Code Here

    activitySocket.clearParams();
    for (Iterator it = getParams(); it.hasNext();)
    {
      NodeParam nodeParam = (NodeParam) it.next();

      ActivityParam activityParam = new ActivityParamImpl();
      nodeParam.copyToActivityParam(activityParam);
      activitySocket.addParam(activityParam);
    }
  }
View Full Code Here

TOP

Related Classes of org.openbp.core.model.item.activity.ActivityParamImpl

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.