View Javadoc

1   /*
2    * $Id: Switch.java,v 1.1 2004/12/15 14:18:11 patforna Exp $
3    *
4    * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
5    * Berne University of Applied Sciences
6    * School of Engineering and Information Technology
7    * All rights reserved.
8    */
9   package bexee.model.activity;
10  
11  import java.util.List;
12  
13  import bexee.model.elements.BpelCase;
14  
15  /***
16   * This is a structured switch activity. One of the contained activities will de
17   * executed depending on the switch condition.
18   * 
19   * @author Patric Fornasier
20   * @author Pawel Kowalski
21   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:11 $
22   */
23  public interface Switch extends Activity {
24  
25      public void addCase(BpelCase bpelCase);
26  
27      public List getCases();
28  
29      public void setOtherwise(Activity activity);
30  
31      public Activity getOtherwise();
32  
33  }