1
2
3
4
5
6
7
8
9 package bexee.model.elements.impl;
10
11 import bexee.core.ProcessController;
12 import bexee.core.ProcessInstance;
13 import bexee.model.BPELElementVisitor;
14 import bexee.model.elements.Link;
15
16 /***
17 * Default implementation of the <code>Link</code> BPEL element.
18 *
19 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
20 * @author Patric Fornasier
21 * @author Pawel Kowalski
22 */
23 public class LinkImpl implements Link {
24
25 private String name = null;
26
27 //***************************************************/
28
29 //***************************************************/
30
31 public LinkImpl() {
32 super();
33 }
34
35 //***************************************************/
36
37 //***************************************************/
38
39 public void setName(String name) {
40 this.name = name;
41 }
42
43 public String getName() {
44 return name;
45 }
46
47 //***************************************************/
48
49 //***************************************************/
50
51 public void accept(ProcessController controller, ProcessInstance instance)
52 throws Exception {
53 controller.process(this, instance);
54 }
55
56 public void accept(BPELElementVisitor elementVisitor) {
57 elementVisitor.visit(this);
58 }
59 }