/*
 * Created on 2004-2-11
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package workflow.wfmc.xpdl.activity;

import java.util.HashMap;
import java.util.Map;

import workflow.WorkflowException;
import workflow.wfmc.rtm.WorkflowWork;
import workflow.wfmc.xpdl.ext.ExtendedAttribute;

/**
 * @author zosatapo
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class SubFlowImplementation implements Implementation
{ 
  private String processId;
 // private String packageId;
  
  private Map attributes = new HashMap();
  
	public void execute(WorkflowWork workItem) throws WorkflowException
	{
	}
  
  public Map getExtendedAttributes()
  {
    return (this.attributes);
  }
  public void addExtendedAttribute(ExtendedAttribute attribute)
  {
    this.attributes.put(attribute.getName(), attribute);
  }
  
	public String getProcessID()
	{
		return processId;
	}

	public void setProcessID(String processId)
	{
    this.processId=processId;
	}
  
//  public String getPackageID()
//  {
//    return this.packageId;
//  }
//  
//  public void setPackageID(String packageId)
//  {
//    this.packageId=packageId;
//  }
  
}
