01: /*
02: * $Id: BpelCaseImpl.java,v 1.4 2004/12/09 09:01:02 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.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.4 $, $Date: 2004/12/09 09:01:02 $
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: }
|