View Javadoc

1   /*
2    * $Id: Flow.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.Links;
14  
15  /***
16   * Representation of a BPEL Flow activity.
17   * 
18   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:11 $
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  }