1
2
3
4
5
6
7
8
9 package bexee.model.activity.impl;
10
11 import bexee.core.ProcessController;
12 import bexee.core.ProcessInstance;
13 import bexee.model.BPELElementVisitor;
14 import bexee.model.StandardAttributes;
15 import bexee.model.activity.Assign;
16 import bexee.model.elements.Copy;
17
18 /***
19 * This is a default implementation of the <code>Assign</code> activity.
20 *
21 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
22 * @author Patric Fornasier
23 * @author Pawel Kowalski
24 */
25 public class AssignImpl extends AbstractActivity implements Assign {
26
27 private Copy copy = null;
28
29 //***************************************************/
30
31 //***************************************************/
32
33 public AssignImpl() {
34 this(null);
35 }
36
37 /***
38 * @param standardAttributes
39 */
40 public AssignImpl(StandardAttributes standardAttributes) {
41 super(standardAttributes);
42 }
43
44 //***************************************************/
45
46 //***************************************************/
47
48
49
50 public void setCopy(Copy copy) {
51 this.copy = copy;
52 }
53
54 public Copy getCopy() {
55 return copy;
56 }
57
58 //***************************************************/
59
60 //***************************************************/
61
62 public void accept(ProcessController controller, ProcessInstance instance)
63 throws Exception {
64 controller.process(this, instance);
65 }
66
67 public void accept(BPELElementVisitor elementVisitor) {
68 elementVisitor.visit(this);
69 }
70
71 }