/*
 * Created on 2004-8-7
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package workflow.live.rtm;

import workflow.wfmc.rtm.WorkflowPath;

/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class LivePath
{
	private String fromWorkID;
	private String toWorkID;
	
	private String batchNo;
	
	private int eventType;
	
	public LivePath(WorkflowPath workflowPath)
	{
		fromWorkID=workflowPath.getFromWorkflowWork().getUUID();
		toWorkID=workflowPath.getToWorkflowWork().getUUID();
	
		batchNo=workflowPath.getBacthNo();
	
		eventType=workflowPath.getEventType();		
	}
	public String getFromForkID()
	{
		return this.fromWorkID;
	}

	public String getToWorkID()
	{
		return this.toWorkID;
	}

	public String       getBacthNo()
	{
		return this.batchNo;
	}
	public void         setBacthNo(String batchNo)
	{
		this.batchNo=batchNo;
	}
  
	public int          getEventType()
	{
		return this.eventType;
	}
	
	public void         setEventType(int eventType)
	{
		this.eventType=eventType;
	}
}
