//----------------------------BEGIN LICENSE----------------------------
/* 
 * Willow : the Open Source WorkFlow Project
 * Distributable under GNU LGPL license by gun.org
 *
 * Copyright (C) 2004-2010 huihoo.org 
 * Copyright (C) 2004-2010  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.workflow.xpdl;

import org.huihoo.workflow.WorkflowComponent;
import org.huihoo.workflow.WorkflowXPDLComponent;
import org.huihoo.workflow.xpdl.condition.ConditionType;


public abstract class WorkflowCondition  implements  WorkflowComponent, WorkflowXPDLComponent
{
	
	public abstract ConditionType    getType();
	
	//as CONDITION_SCRIPT, return script file name
	//as CONDITION_XCDATA, return embedded script string
	public abstract String  getContent();
	public abstract void    setContent(String condition);
}
