-
Notifications
You must be signed in to change notification settings - Fork 85
/
AbstractAction.java
224 lines (154 loc) · 9.81 KB
/
AbstractAction.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
/*******************************************************************************
* Copyright (c) 2006, 2020 THALES GLOBAL SERVICES.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Thales - initial API and implementation
*******************************************************************************/
package org.polarsys.capella.common.data.activity;
import org.eclipse.emf.common.util.EList;
import org.polarsys.capella.common.data.modellingcore.AbstractConstraint;
import org.polarsys.capella.common.data.modellingcore.AbstractNamedElement;
import org.polarsys.capella.common.data.modellingcore.AbstractType;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Abstract Action</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.polarsys.capella.common.data.activity.AbstractAction#getLocalPrecondition <em>Local Precondition</em>}</li>
* <li>{@link org.polarsys.capella.common.data.activity.AbstractAction#getLocalPostcondition <em>Local Postcondition</em>}</li>
* <li>{@link org.polarsys.capella.common.data.activity.AbstractAction#getContext <em>Context</em>}</li>
* <li>{@link org.polarsys.capella.common.data.activity.AbstractAction#getInputs <em>Inputs</em>}</li>
* <li>{@link org.polarsys.capella.common.data.activity.AbstractAction#getOutputs <em>Outputs</em>}</li>
* </ul>
*
* @see org.polarsys.capella.common.data.activity.ActivityPackage#getAbstractAction()
* @model abstract="true"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='An Action is a named element that is the fundamental unit of executable functionality. The execution of an action\r\nrepresents some transformation or processing in the modeled system, be it a computer system or otherwise\r\n[source: UML superstructure v2.2]' usage\040guideline='n/a (abstract)' used\040in\040levels='n/a' usage\040examples='n/a' constraints='none' comment/notes='not used/implemented as of Capella' reference\040documentation='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='' base\040metaclass\040in\040UML/SysML\040profile\040='' explanation='uml::Activity' constraints='none'"
* @generated
*/
public interface AbstractAction extends ExecutableNode, AbstractNamedElement {
/**
* Returns the value of the '<em><b>Local Precondition</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Local Precondition</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Local Precondition</em>' containment reference.
* @see #setLocalPrecondition(AbstractConstraint)
* @see org.polarsys.capella.common.data.activity.ActivityPackage#getAbstractAction_LocalPrecondition()
* @model containment="true" resolveProxies="true"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='The preconditions for an action define conditions that must be true when the action is invoked.\r\n[source: Capella study]' constraints='none' comment/notes='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='uml::Behavior::precondition' explanation='none' constraints='none'"
* @generated
*/
AbstractConstraint getLocalPrecondition();
/**
* Sets the value of the '{@link org.polarsys.capella.common.data.activity.AbstractAction#getLocalPrecondition <em>Local Precondition</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Local Precondition</em>' containment reference.
* @see #getLocalPrecondition()
* @generated
*/
void setLocalPrecondition(AbstractConstraint value);
/**
* Returns the value of the '<em><b>Local Postcondition</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Local Postcondition</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Local Postcondition</em>' containment reference.
* @see #setLocalPostcondition(AbstractConstraint)
* @see org.polarsys.capella.common.data.activity.ActivityPackage#getAbstractAction_LocalPostcondition()
* @model containment="true" resolveProxies="true"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='The postconditions for an action define conditions that will be true when the invocation of the action completes\r\nsuccessfully, assuming the preconditions were satisfied\r\n[source: Capella study]' constraints='none' comment/notes='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='uml::Behavior::postcondition' explanation='none' constraints='none'"
* @generated
*/
AbstractConstraint getLocalPostcondition();
/**
* Sets the value of the '{@link org.polarsys.capella.common.data.activity.AbstractAction#getLocalPostcondition <em>Local Postcondition</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Local Postcondition</em>' containment reference.
* @see #getLocalPostcondition()
* @generated
*/
void setLocalPostcondition(AbstractConstraint value);
/**
* Returns the value of the '<em><b>Context</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Context</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Context</em>' reference.
* @see #setContext(AbstractType)
* @see org.polarsys.capella.common.data.activity.ActivityPackage#getAbstractAction_Context()
* @model annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='The classifier that owns the behavior of which this action is a part.\r\n[source: UML superstructure v2.2]' constraints='none' comment/notes='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='uml::Behavior::context#keyword::none' explanation='' constraints='none'"
* @generated
*/
AbstractType getContext();
/**
* Sets the value of the '{@link org.polarsys.capella.common.data.activity.AbstractAction#getContext <em>Context</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Context</em>' reference.
* @see #getContext()
* @generated
*/
void setContext(AbstractType value);
/**
* Returns the value of the '<em><b>Inputs</b></em>' containment reference list.
* The list contents are of type {@link org.polarsys.capella.common.data.activity.InputPin}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Inputs</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Inputs</em>' containment reference list.
* @see org.polarsys.capella.common.data.activity.ActivityPackage#getAbstractAction_Inputs()
* @model containment="true" resolveProxies="true"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='The ordered set of input pins connected to the Action. These are among the total set of inputs\r\n[source: UML superstructure v2.2]' constraints='none' comment/notes='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='uml::Activity::node' explanation='mapped to either InputPin or ActivityParameterNode, depending on whether the associated function is an Activity, or a callBehaviorAction to an Activity' constraints='uml::Activity::node elements on which activity::InputPin stereotype or any stereotype that inherits from it is applied'"
* annotation="http://www.polarsys.org/capella/semantic"
* @generated
*/
EList<InputPin> getInputs();
/**
* Returns the value of the '<em><b>Outputs</b></em>' containment reference list.
* The list contents are of type {@link org.polarsys.capella.common.data.activity.OutputPin}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Outputs</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Outputs</em>' containment reference list.
* @see org.polarsys.capella.common.data.activity.ActivityPackage#getAbstractAction_Outputs()
* @model containment="true" resolveProxies="true"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='The ordered set of output pins connected to the Action. The action places its results onto pins in this set\r\n[source: UML superstructure v2.2]' constraints='none' comment/notes='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='uml::Activity::node' explanation='mapped to either OutputPin or ActivityParameterNode, depending on whether the associated function is an Activity, or a callBehaviorAction to an Activity' constraints='uml::Activity::node elements on which activity::OutputPin stereotype or any stereotype that inherits from it is applied'"
* annotation="http://www.polarsys.org/capella/semantic"
* @generated
*/
EList<OutputPin> getOutputs();
} // AbstractAction