01: /*
02: * $Id: Switch.java,v 1.5 2004/11/22 08:47:56 kowap Exp $
03: *
04: * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
05: * Berne University of Applied Sciences
06: * School of Engineering and Information Technology
07: * All rights reserved.
08: */
09: 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.5 $, $Date: 2004/11/22 08:47:56 $
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: }
|