1
2
3
4
5
6
7
8
9 package bexee.model.activity;
10
11 import bexee.model.elements.CorrelationSets;
12 import bexee.model.elements.EventHandlers;
13 import bexee.model.elements.FaultHandlers;
14 import bexee.model.elements.Variables;
15
16 /***
17 * A scope structured activity. This activity can be compared to a process, it
18 * has its own correlation sets, fault handlers, compensation handlers, event
19 * handlers and a root activity. The handlers specified by this scope activity
20 * are prioritary to the contained activities as compared to the handlers of the
21 * process, or other scopes containing this scope.
22 *
23 * @author Patric Fornasier
24 * @author Pawel Kowalski
25 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:11 $
26 */
27 public interface Scope extends Activity {
28
29 //***************************************************/
30
31 //***************************************************/
32
33 /***
34 * Set whether the access to variables is serializable.
35 *
36 * @param varAccessSerializable
37 * a <code>boolean</code> value
38 */
39 public void setVariableAccessSerializable(boolean varAccessSerializable);
40
41 /***
42 * Get whether the access to variables is serializable.
43 *
44 * @return a <code>boolean</code> value
45 */
46 public boolean isVariableAccessSerializable();
47
48 //***************************************************/
49
50 //***************************************************/
51
52
53
54 /***
55 * Set <code>Variables</code> of this <code>Scope</code>.
56 *
57 * @param variables
58 * a <code>Variables</code> value
59 */
60 public void setVariables(Variables variables);
61
62 /***
63 * Get <code>Variables</code> of this <code>Scope</code>.
64 *
65 * @return a <code>Variables</code> value
66 */
67 public Variables getVariables();
68
69
70
71 /***
72 *
73 *
74 * @param correlationSets
75 * a <code>CorrelationSets</code> value
76 */
77 public void setCorrelationSets(CorrelationSets correlationSets);
78
79 /***
80 *
81 *
82 * @return a <code>CorrelationSets</code> value
83 */
84 public CorrelationSets getCorrelationSets();
85
86
87
88 /***
89 *
90 *
91 * @param faultHandlers
92 * a <code>FaultHandlers</code> value
93 */
94 public void setFaultHandlers(FaultHandlers faultHandlers);
95
96 /***
97 *
98 *
99 * @return a <code>FaultHandlers</code> value
100 */
101 public FaultHandlers getFaultHandlers();
102
103
104
105 /***
106 *
107 *
108 * @param compensationHandler
109 * a <code>CompensationHandler</code> value
110 */
111 public void setCompensationHanlder(CompensationHandler compensationHandler);
112
113 /***
114 *
115 *
116 * @return a <code>CompensationHandler</code> value
117 */
118 public CompensationHandler getCompensationHandler();
119
120
121
122 /***
123 *
124 *
125 * @param eventHandlers
126 * an <code>EventHandlers</code> value
127 */
128 public void setEventHandlers(EventHandlers eventHandlers);
129
130 /***
131 *
132 *
133 * @return an <code>EventHandlers</code> value
134 */
135 public EventHandlers getEventHandlers();
136
137
138
139 /***
140 *
141 *
142 * @param activity
143 * an <code>Activity</code> value
144 */
145 public void setActivity(Activity activity);
146
147 /***
148 *
149 *
150 * @return an <code>Activity</code> value
151 */
152 public Activity getActivity();
153
154 }