//----------------------------BEGIN LICENSE----------------------------
/* 
 * Willow : the Open Source WorkFlow Project
 * Distributable under GNU LGPL license by gun.org
 *
 * Copyright (C) 2004 huihoo.org 
 * Copyright (C) 2004,2005  ZosaTapo <dertyang@hotmail.com> 
 * 
 * ====================================================================
 * Project Homepage : http://www.huihoo.org/willow
 * Source Forge     : http://sourceforge.net/projects/huihoo
 * Mailing list     : willow@lists.sourceforge.net 
 */
//----------------------------END  LICENSE----------------------------
package org.huihoo.god4j.jgraph;

import org.huihoo.workflow.WorkflowComplexComponent;
import org.jgraph.graph.DefaultEdge;

/**
 * @author Administrator
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class XPDLDefaultEdge extends DefaultEdge implements  XPDLJGraphCell
{
	public XPDLDefaultEdge(WorkflowComplexComponent comp)
	{
		super(comp);
	}

	public WorkflowComplexComponent getWorkflowComponent()
	{
		return (WorkflowComplexComponent)getUserObject();
	}
	
	public void                     setWorkflowComponent(WorkflowComplexComponent comp)
	{
		setUserObject(comp);
	}

}
