1 | /** |
---|
2 | * <copyright> |
---|
3 | * </copyright> |
---|
4 | * |
---|
5 | * $Id$ |
---|
6 | */ |
---|
7 | package org.modelica.uml.sysml; |
---|
8 | |
---|
9 | import org.eclipse.emf.common.util.EList; |
---|
10 | |
---|
11 | import org.eclipse.uml2.uml.NamedElement; |
---|
12 | |
---|
13 | /** |
---|
14 | * <!-- begin-user-doc --> |
---|
15 | * A representation of the model object '<em><b>Requirement</b></em>'. |
---|
16 | * <!-- end-user-doc --> |
---|
17 | * |
---|
18 | * <p> |
---|
19 | * The following features are supported: |
---|
20 | * <ul> |
---|
21 | * <li>{@link org.modelica.uml.sysml.Requirement#getLevel <em>Level</em>}</li> |
---|
22 | * <li>{@link org.modelica.uml.sysml.Requirement#getId <em>Id</em>}</li> |
---|
23 | * <li>{@link org.modelica.uml.sysml.Requirement#getPriority <em>Priority</em>}</li> |
---|
24 | * <li>{@link org.modelica.uml.sysml.Requirement#getDerivedFrom <em>Derived From</em>}</li> |
---|
25 | * <li>{@link org.modelica.uml.sysml.Requirement#getDerived <em>Derived</em>}</li> |
---|
26 | * <li>{@link org.modelica.uml.sysml.Requirement#getStatus <em>Status</em>}</li> |
---|
27 | * <li>{@link org.modelica.uml.sysml.Requirement#getSatisfiedBy <em>Satisfied By</em>}</li> |
---|
28 | * <li>{@link org.modelica.uml.sysml.Requirement#getVerifiedBy <em>Verified By</em>}</li> |
---|
29 | * <li>{@link org.modelica.uml.sysml.Requirement#getTracedTo <em>Traced To</em>}</li> |
---|
30 | * <li>{@link org.modelica.uml.sysml.Requirement#getRefinedBy <em>Refined By</em>}</li> |
---|
31 | * <li>{@link org.modelica.uml.sysml.Requirement#getMaster <em>Master</em>}</li> |
---|
32 | * <li>{@link org.modelica.uml.sysml.Requirement#getDescription <em>Description</em>}</li> |
---|
33 | * </ul> |
---|
34 | * </p> |
---|
35 | * |
---|
36 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement() |
---|
37 | * @model |
---|
38 | * @generated |
---|
39 | */ |
---|
40 | public interface Requirement extends Block { |
---|
41 | /** |
---|
42 | * Returns the value of the '<em><b>Level</b></em>' attribute. |
---|
43 | * <!-- begin-user-doc --> |
---|
44 | * <p> |
---|
45 | * If the meaning of the '<em>Level</em>' attribute isn't clear, |
---|
46 | * there really should be more of a description here... |
---|
47 | * </p> |
---|
48 | * <!-- end-user-doc --> |
---|
49 | * @return the value of the '<em>Level</em>' attribute. |
---|
50 | * @see #setLevel(int) |
---|
51 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_Level() |
---|
52 | * @model dataType="org.eclipse.uml2.uml.Integer" |
---|
53 | * @generated |
---|
54 | */ |
---|
55 | int getLevel(); |
---|
56 | |
---|
57 | /** |
---|
58 | * Sets the value of the '{@link org.modelica.uml.sysml.Requirement#getLevel <em>Level</em>}' attribute. |
---|
59 | * <!-- begin-user-doc --> |
---|
60 | * <!-- end-user-doc --> |
---|
61 | * @param value the new value of the '<em>Level</em>' attribute. |
---|
62 | * @see #getLevel() |
---|
63 | * @generated |
---|
64 | */ |
---|
65 | void setLevel(int value); |
---|
66 | |
---|
67 | /** |
---|
68 | * Returns the value of the '<em><b>Id</b></em>' attribute. |
---|
69 | * <!-- begin-user-doc --> |
---|
70 | * <p> |
---|
71 | * If the meaning of the '<em>Id</em>' attribute isn't clear, |
---|
72 | * there really should be more of a description here... |
---|
73 | * </p> |
---|
74 | * <!-- end-user-doc --> |
---|
75 | * @return the value of the '<em>Id</em>' attribute. |
---|
76 | * @see #setId(String) |
---|
77 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_Id() |
---|
78 | * @model dataType="org.eclipse.uml2.uml.String" |
---|
79 | * @generated |
---|
80 | */ |
---|
81 | String getId(); |
---|
82 | |
---|
83 | /** |
---|
84 | * Sets the value of the '{@link org.modelica.uml.sysml.Requirement#getId <em>Id</em>}' attribute. |
---|
85 | * <!-- begin-user-doc --> |
---|
86 | * <!-- end-user-doc --> |
---|
87 | * @param value the new value of the '<em>Id</em>' attribute. |
---|
88 | * @see #getId() |
---|
89 | * @generated |
---|
90 | */ |
---|
91 | void setId(String value); |
---|
92 | |
---|
93 | /** |
---|
94 | * Returns the value of the '<em><b>Priority</b></em>' attribute. |
---|
95 | * <!-- begin-user-doc --> |
---|
96 | * <p> |
---|
97 | * If the meaning of the '<em>Priority</em>' attribute isn't clear, |
---|
98 | * there really should be more of a description here... |
---|
99 | * </p> |
---|
100 | * <!-- end-user-doc --> |
---|
101 | * @return the value of the '<em>Priority</em>' attribute. |
---|
102 | * @see #setPriority(int) |
---|
103 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_Priority() |
---|
104 | * @model dataType="org.eclipse.uml2.uml.Integer" |
---|
105 | * @generated |
---|
106 | */ |
---|
107 | int getPriority(); |
---|
108 | |
---|
109 | /** |
---|
110 | * Sets the value of the '{@link org.modelica.uml.sysml.Requirement#getPriority <em>Priority</em>}' attribute. |
---|
111 | * <!-- begin-user-doc --> |
---|
112 | * <!-- end-user-doc --> |
---|
113 | * @param value the new value of the '<em>Priority</em>' attribute. |
---|
114 | * @see #getPriority() |
---|
115 | * @generated |
---|
116 | */ |
---|
117 | void setPriority(int value); |
---|
118 | |
---|
119 | /** |
---|
120 | * Returns the value of the '<em><b>Derived From</b></em>' reference. |
---|
121 | * <!-- begin-user-doc --> |
---|
122 | * <p> |
---|
123 | * If the meaning of the '<em>Derived From</em>' containment reference isn't clear, |
---|
124 | * there really should be more of a description here... |
---|
125 | * </p> |
---|
126 | * <!-- end-user-doc --> |
---|
127 | * @return the value of the '<em>Derived From</em>' reference. |
---|
128 | * @see #setDerivedFrom(Requirement) |
---|
129 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_DerivedFrom() |
---|
130 | * @model |
---|
131 | * @generated |
---|
132 | */ |
---|
133 | Requirement getDerivedFrom(); |
---|
134 | |
---|
135 | /** |
---|
136 | * Sets the value of the '{@link org.modelica.uml.sysml.Requirement#getDerivedFrom <em>Derived From</em>}' reference. |
---|
137 | * <!-- begin-user-doc --> |
---|
138 | * <!-- end-user-doc --> |
---|
139 | * @param value the new value of the '<em>Derived From</em>' reference. |
---|
140 | * @see #getDerivedFrom() |
---|
141 | * @generated |
---|
142 | */ |
---|
143 | void setDerivedFrom(Requirement value); |
---|
144 | |
---|
145 | /** |
---|
146 | * Returns the value of the '<em><b>Derived</b></em>' reference list. |
---|
147 | * The list contents are of type {@link org.modelica.uml.sysml.Requirement}. |
---|
148 | * <!-- begin-user-doc --> |
---|
149 | * <p> |
---|
150 | * If the meaning of the '<em>Derived</em>' containment reference list isn't clear, |
---|
151 | * there really should be more of a description here... |
---|
152 | * </p> |
---|
153 | * <!-- end-user-doc --> |
---|
154 | * @return the value of the '<em>Derived</em>' reference list. |
---|
155 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_Derived() |
---|
156 | * @model type="org.modelica.uml.sysml.Requirement" |
---|
157 | * @generated |
---|
158 | */ |
---|
159 | EList getDerived(); |
---|
160 | |
---|
161 | /** |
---|
162 | * Returns the value of the '<em><b>Status</b></em>' attribute. |
---|
163 | * The literals are from the enumeration {@link org.modelica.uml.sysml.StatusKind}. |
---|
164 | * <!-- begin-user-doc --> |
---|
165 | * <p> |
---|
166 | * If the meaning of the '<em>Status</em>' attribute isn't clear, |
---|
167 | * there really should be more of a description here... |
---|
168 | * </p> |
---|
169 | * <!-- end-user-doc --> |
---|
170 | * @return the value of the '<em>Status</em>' attribute. |
---|
171 | * @see org.modelica.uml.sysml.StatusKind |
---|
172 | * @see #setStatus(StatusKind) |
---|
173 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_Status() |
---|
174 | * @model |
---|
175 | * @generated |
---|
176 | */ |
---|
177 | StatusKind getStatus(); |
---|
178 | |
---|
179 | /** |
---|
180 | * Sets the value of the '{@link org.modelica.uml.sysml.Requirement#getStatus <em>Status</em>}' attribute. |
---|
181 | * <!-- begin-user-doc --> |
---|
182 | * <!-- end-user-doc --> |
---|
183 | * @param value the new value of the '<em>Status</em>' attribute. |
---|
184 | * @see org.modelica.uml.sysml.StatusKind |
---|
185 | * @see #getStatus() |
---|
186 | * @generated |
---|
187 | */ |
---|
188 | void setStatus(StatusKind value); |
---|
189 | |
---|
190 | /** |
---|
191 | * Returns the value of the '<em><b>Satisfied By</b></em>' reference list. |
---|
192 | * The list contents are of type {@link org.modelica.uml.sysml.ModelicaClass}. |
---|
193 | * <!-- begin-user-doc --> |
---|
194 | * <p> |
---|
195 | * If the meaning of the '<em>Satisfied By</em>' containment reference list isn't clear, |
---|
196 | * there really should be more of a description here... |
---|
197 | * </p> |
---|
198 | * <!-- end-user-doc --> |
---|
199 | * @return the value of the '<em>Satisfied By</em>' reference list. |
---|
200 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_SatisfiedBy() |
---|
201 | * @model type="org.modelica.uml.sysml.ModelicaClass" |
---|
202 | * @generated |
---|
203 | */ |
---|
204 | EList getSatisfiedBy(); |
---|
205 | |
---|
206 | /** |
---|
207 | * Returns the value of the '<em><b>Verified By</b></em>' reference list. |
---|
208 | * The list contents are of type {@link org.modelica.uml.sysml.ModelicaClass}. |
---|
209 | * <!-- begin-user-doc --> |
---|
210 | * <p> |
---|
211 | * If the meaning of the '<em>Verified By</em>' containment reference list isn't clear, |
---|
212 | * there really should be more of a description here... |
---|
213 | * </p> |
---|
214 | * <!-- end-user-doc --> |
---|
215 | * @return the value of the '<em>Verified By</em>' reference list. |
---|
216 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_VerifiedBy() |
---|
217 | * @model type="org.modelica.uml.sysml.ModelicaClass" |
---|
218 | * @generated |
---|
219 | */ |
---|
220 | EList getVerifiedBy(); |
---|
221 | |
---|
222 | /** |
---|
223 | * Returns the value of the '<em><b>Traced To</b></em>' reference list. |
---|
224 | * The list contents are of type {@link org.modelica.uml.sysml.ModelicaClass}. |
---|
225 | * <!-- begin-user-doc --> |
---|
226 | * <p> |
---|
227 | * If the meaning of the '<em>Traced To</em>' containment reference list isn't clear, |
---|
228 | * there really should be more of a description here... |
---|
229 | * </p> |
---|
230 | * <!-- end-user-doc --> |
---|
231 | * @return the value of the '<em>Traced To</em>' reference list. |
---|
232 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_TracedTo() |
---|
233 | * @model type="org.modelica.uml.sysml.ModelicaClass" |
---|
234 | * @generated |
---|
235 | */ |
---|
236 | EList getTracedTo(); |
---|
237 | |
---|
238 | /** |
---|
239 | * Returns the value of the '<em><b>Refined By</b></em>' reference list. |
---|
240 | * The list contents are of type {@link org.modelica.uml.sysml.ModelicaClass}. |
---|
241 | * <!-- begin-user-doc --> |
---|
242 | * <p> |
---|
243 | * If the meaning of the '<em>Refined By</em>' containment reference list isn't clear, |
---|
244 | * there really should be more of a description here... |
---|
245 | * </p> |
---|
246 | * <!-- end-user-doc --> |
---|
247 | * @return the value of the '<em>Refined By</em>' reference list. |
---|
248 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_RefinedBy() |
---|
249 | * @model type="org.modelica.uml.sysml.ModelicaClass" |
---|
250 | * @generated |
---|
251 | */ |
---|
252 | EList getRefinedBy(); |
---|
253 | |
---|
254 | /** |
---|
255 | * Returns the value of the '<em><b>Master</b></em>' reference. |
---|
256 | * <!-- begin-user-doc --> |
---|
257 | * <p> |
---|
258 | * If the meaning of the '<em>Master</em>' containment reference isn't clear, |
---|
259 | * there really should be more of a description here... |
---|
260 | * </p> |
---|
261 | * <!-- end-user-doc --> |
---|
262 | * @return the value of the '<em>Master</em>' reference. |
---|
263 | * @see #setMaster(Requirement) |
---|
264 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_Master() |
---|
265 | * @model |
---|
266 | * @generated |
---|
267 | */ |
---|
268 | Requirement getMaster(); |
---|
269 | |
---|
270 | /** |
---|
271 | * Sets the value of the '{@link org.modelica.uml.sysml.Requirement#getMaster <em>Master</em>}' reference. |
---|
272 | * <!-- begin-user-doc --> |
---|
273 | * <!-- end-user-doc --> |
---|
274 | * @param value the new value of the '<em>Master</em>' reference. |
---|
275 | * @see #getMaster() |
---|
276 | * @generated |
---|
277 | */ |
---|
278 | void setMaster(Requirement value); |
---|
279 | |
---|
280 | /** |
---|
281 | * Returns the value of the '<em><b>Description</b></em>' attribute. |
---|
282 | * <!-- begin-user-doc --> |
---|
283 | * <p> |
---|
284 | * If the meaning of the '<em>Description</em>' attribute isn't clear, |
---|
285 | * there really should be more of a description here... |
---|
286 | * </p> |
---|
287 | * <!-- end-user-doc --> |
---|
288 | * @return the value of the '<em>Description</em>' attribute. |
---|
289 | * @see #setDescription(String) |
---|
290 | * @see org.modelica.uml.sysml.SysmlPackage#getRequirement_Description() |
---|
291 | * @model dataType="org.eclipse.uml2.uml.String" |
---|
292 | * @generated |
---|
293 | */ |
---|
294 | String getDescription(); |
---|
295 | |
---|
296 | /** |
---|
297 | * Sets the value of the '{@link org.modelica.uml.sysml.Requirement#getDescription <em>Description</em>}' attribute. |
---|
298 | * <!-- begin-user-doc --> |
---|
299 | * <!-- end-user-doc --> |
---|
300 | * @param value the new value of the '<em>Description</em>' attribute. |
---|
301 | * @see #getDescription() |
---|
302 | * @generated |
---|
303 | */ |
---|
304 | void setDescription(String value); |
---|
305 | |
---|
306 | } // Requirement |
---|