1
2
3
4
5
6
7
8
9 package bexee.model.elements.impl;
10
11 import bexee.model.activity.Activity;
12 import bexee.model.elements.BpelCase;
13 import bexee.model.expression.BooleanExpression;
14
15 /***
16 * Default implementation of the <code>BpelCase</code> BPEL element.
17 *
18 * @author Patric Fornasier
19 * @author Pawel Kowalski
20 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
21 */
22 public class BpelCaseImpl implements BpelCase {
23 private BooleanExpression booleanExpression;
24
25 private Activity activity;
26
27 public BpelCaseImpl() {
28 super();
29 }
30
31 public void setBooleanExpression(BooleanExpression booleanExpression) {
32 this.booleanExpression = booleanExpression;
33 }
34
35 public BooleanExpression getBooleanExpression() {
36 return booleanExpression;
37 }
38
39 public void activity(Activity activity) {
40 setCaseActivity(activity);
41 }
42
43 public void setCaseActivity(Activity activity) {
44 this.activity = activity;
45 }
46
47 public Activity getCaseActivity() {
48 return activity;
49 }
50 }