1
2
3
4
5
6
7
8
9
10 package bexee.model.activity;
11
12 import javax.xml.namespace.QName;
13
14 import bexee.model.elements.Correlations;
15 import bexee.model.elements.PartnerLink;
16 import bexee.model.elements.Variable;
17
18 /***
19 * Representation of a BPEL Receive activity.
20 *
21 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:11 $
22 * @author Patric Fornasier
23 * @author Pawel Kowalski
24 */
25 public interface Receive extends Activity {
26
27 /***
28 * Default createInstance property value.
29 */
30 public static final boolean DEFAULT_CREATE_ACTIVITY = false;
31
32 //***************************************************/
33
34 //***************************************************/
35
36 /***
37 * Set the PartnerLink of this Receive.
38 *
39 * @param partnerLink
40 */
41 public void setPartnerLink(PartnerLink partnerLink);
42
43 /***
44 * Get the PartnerLink of this Receive.
45 *
46 * @return
47 */
48 public PartnerLink getPartnerLink();
49
50 /***
51 * Set the PortType QName of this Receive.
52 *
53 * @param portType
54 */
55 public void setPortType(QName portType);
56
57 /***
58 * Get the PortType QName of this Receive.
59 *
60 * @return
61 */
62 public QName getPortType();
63
64 /***
65 * Set the operation name of this Receive.
66 *
67 * @param operation
68 */
69 public void setOperation(String operation);
70
71 /***
72 * Get the operation name of this Receive.
73 *
74 * @return
75 */
76 public String getOperation();
77
78 /***
79 * Set the Variable of this Receive.
80 *
81 * @param variable
82 */
83 public void setVariable(Variable variable);
84
85 /***
86 * Get the Variable of this Receive.
87 *
88 * @return
89 */
90 public Variable getVariable();
91
92 /***
93 * Set the create instance property of this Receive.
94 *
95 * @param createInstance
96 */
97 public void setCreateInstance(boolean createInstance);
98
99 /***
100 * Get the create instance property of this Receive. This property
101 * signalized whether this Receive might cause a new instance of a business
102 * process to be created.
103 *
104 * @return
105 */
106 public boolean isCreateInstance();
107
108 //***************************************************/
109
110 //***************************************************/
111
112 /***
113 * Set the Correlations of this Receive.
114 *
115 * @param correlations
116 */
117 public void setCorrelations(Correlations correlations);
118
119 /***
120 * Get the Correlations of this Receive.
121 *
122 * @return
123 */
124 public Correlations getCorrelations();
125
126 }