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




/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface WorkflowTransition extends XPDLElement
{
  public final static int DIRECTION_FORWARD   = 1;

  public final static int DIRECTION_BACKWARD  = DIRECTION_FORWARD+1; 

  public int  getDirection();
  public void setDirection(int direction);
  
  public WorkflowProcess  getWorkflowProcess();
  public void             setWorkflowProcess(WorkflowProcess workflowProcess);
  
  public WorkflowActivity getFromWorkflowActivity();
  public void             setFromWorkflowActivity(WorkflowActivity fromActivity);
  
  public WorkflowActivity getToWorkflowActivity();
  public void             setToWorkflowActivity(WorkflowActivity toActivity);
  
  public String           getScriptFileName();
  public void             setScriptFileName(String scriptFile); 
  
}
