1
2
3
4
5
6
7
8
9 package bexee.model.activity.impl;
10
11 import javax.xml.namespace.QName;
12
13 import bexee.core.ProcessController;
14 import bexee.core.ProcessInstance;
15 import bexee.model.BPELElementVisitor;
16 import bexee.model.StandardAttributes;
17 import bexee.model.activity.Reply;
18 import bexee.model.elements.Correlations;
19 import bexee.model.elements.PartnerLink;
20 import bexee.model.elements.Variable;
21
22 /***
23 * Default implementation of the <code>Reply</code> activity.
24 *
25 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
26 * @author Patric Fornasier
27 * @author Pawel Kowalski
28 */
29 public class ReplyImpl extends AbstractActivity implements Reply {
30
31 private PartnerLink partnerLink = null;
32
33 private QName portType = null;
34
35 private String operation = null;
36
37 private Variable variable = null;
38
39 private QName faultName = null;
40
41 private Correlations correlations = null;
42
43 //***************************************************/
44
45 //***************************************************/
46
47 public ReplyImpl() {
48 this(null);
49 }
50
51 public ReplyImpl(StandardAttributes standardAttributes) {
52 super(standardAttributes);
53 }
54
55 //***************************************************/
56
57 //***************************************************/
58
59 public void setPartnerLink(PartnerLink partnerLink) {
60 this.partnerLink = partnerLink;
61 }
62
63 public PartnerLink getPartnerLink() {
64 return partnerLink;
65 }
66
67 public void setPortType(QName portType) {
68 this.portType = portType;
69 }
70
71 public QName getPortType() {
72 return portType;
73 }
74
75 public void setOperation(String operation) {
76 this.operation = operation;
77 }
78
79 public String getOperation() {
80 return operation;
81 }
82
83 public void setVariable(Variable variable) {
84 this.variable = variable;
85 }
86
87 public Variable getVariable() {
88 return variable;
89 }
90
91 public void setFaultName(QName faultName) {
92 this.faultName = faultName;
93 }
94
95 public QName getFaultName() {
96 return faultName;
97 }
98
99 public void setCorrelations(Correlations correlations) {
100 this.correlations = correlations;
101 }
102
103 public Correlations getCorrelations() {
104 return correlations;
105 }
106
107 //***************************************************/
108
109 //***************************************************/
110
111 public void accept(ProcessController controller, ProcessInstance instance)
112 throws Exception {
113 controller.process(this, instance);
114 }
115
116 public void accept(BPELElementVisitor elementVisitor) {
117 elementVisitor.visit(this);
118 }
119
120 }