01: /*
02: * $Id: Flow.java,v 1.7 2004/12/08 12:55:17 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.Links;
14:
15: /**
16: * Representation of a BPEL Flow activity.
17: *
18: * @version $Revision: 1.7 $, $Date: 2004/12/08 12:55:17 $
19: * @author Patric Fornasier
20: * @author Pawel Kowalski
21: */
22: public interface Flow extends Activity {
23:
24: //**************************************************/
25: // xml attributes
26: //**************************************************/
27:
28: /**
29: * Set the Links of this Flow.
30: *
31: * @param links
32: */
33: public void setLinks(Links links);
34:
35: /**
36: * Get a list of Links owned by this flow activity.
37: *
38: * @return
39: */
40: public Links getLinks();
41:
42: //**************************************************/
43: // xml elements
44: //**************************************************/
45:
46: /**
47: * Add a BPEL activity to this Flow.
48: *
49: * @param activity
50: */
51: public void addActivity(Activity activity);
52:
53: /**
54: * Set activities of this Flow.
55: *
56: * @param activities
57: */
58: public void setActivities(List activities);
59:
60: /**
61: * Get a list of all activities associated with this Flow.
62: *
63: * @return
64: */
65: public List getActivities();
66:
67: }
|