//----------------------------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.event;

import org.huihoo.workflow.server.WorkflowCase;

public class CaseEvent extends WorkflowEvent
{
	/**
	 * The first number in the range of ids used for case events.
	 */
	public static final int CASE_FIRST		= 200;

	/**
	 * The last number in the range of ids used for case events.
	 */
	public static final int CASE_LAST		        = 206;
	
	public static final int CASE_CREATED = CASE_FIRST;

	public static final int SUSPENDED = 1 + CASE_FIRST;

	public static final int RESUMED = 2 + CASE_FIRST;

	public static final int COMPLETED = 3 + CASE_FIRST;

	public static final int ARCHIVED = 4 + CASE_FIRST;

	public static final int CANCELED = 5 + CASE_FIRST;

	public static final int DELETED = 6 + CASE_FIRST;
	
	
	public CaseEvent(WorkflowCase source, int id)
	{
		super(source, id);
	}
}
