1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package de.fzi.se.quality.qualityannotation.util; |
8 | |
9 | import de.fzi.se.quality.QualityStatement; |
10 | |
11 | import de.fzi.se.quality.parameters.ParameterPartition; |
12 | |
13 | import de.fzi.se.quality.qualityannotation.*; |
14 | |
15 | import de.uka.ipd.sdq.identifier.Identifier; |
16 | |
17 | import java.util.List; |
18 | |
19 | import org.eclipse.emf.ecore.EClass; |
20 | import org.eclipse.emf.ecore.EObject; |
21 | |
22 | /** |
23 | * <!-- begin-user-doc --> |
24 | * The <b>Switch</b> for the model's inheritance hierarchy. |
25 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} |
26 | * to invoke the <code>caseXXX</code> method for each class of the model, |
27 | * starting with the actual class of the object |
28 | * and proceeding up the inheritance hierarchy |
29 | * until a non-null result is returned, |
30 | * which is the result of the switch. |
31 | * <!-- end-user-doc --> |
32 | * @see de.fzi.se.quality.qualityannotation.QualityAnnotationPackage |
33 | * @generated |
34 | */ |
35 | public class QualityAnnotationSwitch<T> { |
36 | /** |
37 | * The cached model package |
38 | * <!-- begin-user-doc --> |
39 | * <!-- end-user-doc --> |
40 | * @generated |
41 | */ |
42 | protected static QualityAnnotationPackage modelPackage; |
43 | |
44 | /** |
45 | * Creates an instance of the switch. |
46 | * <!-- begin-user-doc --> |
47 | * <!-- end-user-doc --> |
48 | * @generated |
49 | */ |
50 | public QualityAnnotationSwitch() { |
51 | if (modelPackage == null) { |
52 | modelPackage = QualityAnnotationPackage.eINSTANCE; |
53 | } |
54 | } |
55 | |
56 | /** |
57 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
58 | * <!-- begin-user-doc --> |
59 | * <!-- end-user-doc --> |
60 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
61 | * @generated |
62 | */ |
63 | public T doSwitch(EObject theEObject) { |
64 | return doSwitch(theEObject.eClass(), theEObject); |
65 | } |
66 | |
67 | /** |
68 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
69 | * <!-- begin-user-doc --> |
70 | * <!-- end-user-doc --> |
71 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
72 | * @generated |
73 | */ |
74 | protected T doSwitch(EClass theEClass, EObject theEObject) { |
75 | if (theEClass.eContainer() == modelPackage) { |
76 | return doSwitch(theEClass.getClassifierID(), theEObject); |
77 | } |
78 | else { |
79 | List<EClass> eSuperTypes = theEClass.getESuperTypes(); |
80 | return |
81 | eSuperTypes.isEmpty() ? |
82 | defaultCase(theEObject) : |
83 | doSwitch(eSuperTypes.get(0), theEObject); |
84 | } |
85 | } |
86 | |
87 | /** |
88 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
89 | * <!-- begin-user-doc --> |
90 | * <!-- end-user-doc --> |
91 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
92 | * @generated |
93 | */ |
94 | protected T doSwitch(int classifierID, EObject theEObject) { |
95 | switch (classifierID) { |
96 | case QualityAnnotationPackage.CALL_PARAMETER_DEVIATION: { |
97 | CallParameterDeviation callParameterDeviation = (CallParameterDeviation)theEObject; |
98 | T result = caseCallParameterDeviation(callParameterDeviation); |
99 | if (result == null) result = defaultCase(theEObject); |
100 | return result; |
101 | } |
102 | case QualityAnnotationPackage.QUALITY_ANNOTATION: { |
103 | QualityAnnotation qualityAnnotation = (QualityAnnotation)theEObject; |
104 | T result = caseQualityAnnotation(qualityAnnotation); |
105 | if (result == null) result = caseQualityStatement(qualityAnnotation); |
106 | if (result == null) result = caseIdentifier(qualityAnnotation); |
107 | if (result == null) result = defaultCase(theEObject); |
108 | return result; |
109 | } |
110 | case QualityAnnotationPackage.SERVICE_SPECIFICATION: { |
111 | ServiceSpecification serviceSpecification = (ServiceSpecification)theEObject; |
112 | T result = caseServiceSpecification(serviceSpecification); |
113 | if (result == null) result = caseIdentifier(serviceSpecification); |
114 | if (result == null) result = defaultCase(theEObject); |
115 | return result; |
116 | } |
117 | case QualityAnnotationPackage.REQUIRED_ELEMENT: { |
118 | RequiredElement requiredElement = (RequiredElement)theEObject; |
119 | T result = caseRequiredElement(requiredElement); |
120 | if (result == null) result = caseIdentifier(requiredElement); |
121 | if (result == null) result = defaultCase(theEObject); |
122 | return result; |
123 | } |
124 | case QualityAnnotationPackage.NUMBER_OF_CALLS_DEVIATION: { |
125 | NumberOfCallsDeviation numberOfCallsDeviation = (NumberOfCallsDeviation)theEObject; |
126 | T result = caseNumberOfCallsDeviation(numberOfCallsDeviation); |
127 | if (result == null) result = defaultCase(theEObject); |
128 | return result; |
129 | } |
130 | case QualityAnnotationPackage.INTERNAL_STATE_INFLUENCE_ANALYSIS_AGGREGATION: { |
131 | InternalStateInfluenceAnalysisAggregation internalStateInfluenceAnalysisAggregation = (InternalStateInfluenceAnalysisAggregation)theEObject; |
132 | T result = caseInternalStateInfluenceAnalysisAggregation(internalStateInfluenceAnalysisAggregation); |
133 | if (result == null) result = caseIdentifier(internalStateInfluenceAnalysisAggregation); |
134 | if (result == null) result = defaultCase(theEObject); |
135 | return result; |
136 | } |
137 | case QualityAnnotationPackage.RE_PRECISION: { |
138 | REPrecision rePrecision = (REPrecision)theEObject; |
139 | T result = caseREPrecision(rePrecision); |
140 | if (result == null) result = defaultCase(theEObject); |
141 | return result; |
142 | } |
143 | case QualityAnnotationPackage.PRECISION: { |
144 | Precision precision = (Precision)theEObject; |
145 | T result = casePrecision(precision); |
146 | if (result == null) result = caseIdentifier(precision); |
147 | if (result == null) result = defaultCase(theEObject); |
148 | return result; |
149 | } |
150 | case QualityAnnotationPackage.PCM_PARAMETER_PARTITION: { |
151 | PCMParameterPartition pcmParameterPartition = (PCMParameterPartition)theEObject; |
152 | T result = casePCMParameterPartition(pcmParameterPartition); |
153 | if (result == null) result = caseParameterPartition(pcmParameterPartition); |
154 | if (result == null) result = caseIdentifier(pcmParameterPartition); |
155 | if (result == null) result = defaultCase(theEObject); |
156 | return result; |
157 | } |
158 | case QualityAnnotationPackage.CHARACTERISED_PCM_PARAMETER_PARTITION: { |
159 | CharacterisedPCMParameterPartition characterisedPCMParameterPartition = (CharacterisedPCMParameterPartition)theEObject; |
160 | T result = caseCharacterisedPCMParameterPartition(characterisedPCMParameterPartition); |
161 | if (result == null) result = caseIdentifier(characterisedPCMParameterPartition); |
162 | if (result == null) result = defaultCase(theEObject); |
163 | return result; |
164 | } |
165 | case QualityAnnotationPackage.CHARACTERISED_PCM_PARAMETER_PARTITION_INTERVAL: { |
166 | CharacterisedPCMParameterPartitionInterval characterisedPCMParameterPartitionInterval = (CharacterisedPCMParameterPartitionInterval)theEObject; |
167 | T result = caseCharacterisedPCMParameterPartitionInterval(characterisedPCMParameterPartitionInterval); |
168 | if (result == null) result = caseCharacterisedPCMParameterPartition(characterisedPCMParameterPartitionInterval); |
169 | if (result == null) result = caseIdentifier(characterisedPCMParameterPartitionInterval); |
170 | if (result == null) result = defaultCase(theEObject); |
171 | return result; |
172 | } |
173 | case QualityAnnotationPackage.CHARACTERISED_PCM_PARAMETER_PARTITION_RANGE: { |
174 | CharacterisedPCMParameterPartitionRange characterisedPCMParameterPartitionRange = (CharacterisedPCMParameterPartitionRange)theEObject; |
175 | T result = caseCharacterisedPCMParameterPartitionRange(characterisedPCMParameterPartitionRange); |
176 | if (result == null) result = caseCharacterisedPCMParameterPartition(characterisedPCMParameterPartitionRange); |
177 | if (result == null) result = caseIdentifier(characterisedPCMParameterPartitionRange); |
178 | if (result == null) result = defaultCase(theEObject); |
179 | return result; |
180 | } |
181 | case QualityAnnotationPackage.EXACTLY_AS_SPECIFIED_PRECISION: { |
182 | ExactlyAsSpecifiedPrecision exactlyAsSpecifiedPrecision = (ExactlyAsSpecifiedPrecision)theEObject; |
183 | T result = caseExactlyAsSpecifiedPrecision(exactlyAsSpecifiedPrecision); |
184 | if (result == null) result = casePrecision(exactlyAsSpecifiedPrecision); |
185 | if (result == null) result = caseIdentifier(exactlyAsSpecifiedPrecision); |
186 | if (result == null) result = defaultCase(theEObject); |
187 | return result; |
188 | } |
189 | case QualityAnnotationPackage.LIMITED_DEVIATION_PRECISION: { |
190 | LimitedDeviationPrecision limitedDeviationPrecision = (LimitedDeviationPrecision)theEObject; |
191 | T result = caseLimitedDeviationPrecision(limitedDeviationPrecision); |
192 | if (result == null) result = casePrecision(limitedDeviationPrecision); |
193 | if (result == null) result = caseIdentifier(limitedDeviationPrecision); |
194 | if (result == null) result = defaultCase(theEObject); |
195 | return result; |
196 | } |
197 | case QualityAnnotationPackage.NO_PRECISION: { |
198 | NoPrecision noPrecision = (NoPrecision)theEObject; |
199 | T result = caseNoPrecision(noPrecision); |
200 | if (result == null) result = casePrecision(noPrecision); |
201 | if (result == null) result = caseIdentifier(noPrecision); |
202 | if (result == null) result = defaultCase(theEObject); |
203 | return result; |
204 | } |
205 | case QualityAnnotationPackage.PCMRE_CATEGORY: { |
206 | PCMRECategory pcmreCategory = (PCMRECategory)theEObject; |
207 | T result = casePCMRECategory(pcmreCategory); |
208 | if (result == null) result = casePCMRE(pcmreCategory); |
209 | if (result == null) result = caseRequiredElement(pcmreCategory); |
210 | if (result == null) result = caseIdentifier(pcmreCategory); |
211 | if (result == null) result = defaultCase(theEObject); |
212 | return result; |
213 | } |
214 | case QualityAnnotationPackage.PCMRE: { |
215 | PCMRE pcmre = (PCMRE)theEObject; |
216 | T result = casePCMRE(pcmre); |
217 | if (result == null) result = caseRequiredElement(pcmre); |
218 | if (result == null) result = caseIdentifier(pcmre); |
219 | if (result == null) result = defaultCase(theEObject); |
220 | return result; |
221 | } |
222 | case QualityAnnotationPackage.PCMRE_INTERFACE: { |
223 | PCMREInterface pcmreInterface = (PCMREInterface)theEObject; |
224 | T result = casePCMREInterface(pcmreInterface); |
225 | if (result == null) result = casePCMRE(pcmreInterface); |
226 | if (result == null) result = caseRequiredElement(pcmreInterface); |
227 | if (result == null) result = caseIdentifier(pcmreInterface); |
228 | if (result == null) result = defaultCase(theEObject); |
229 | return result; |
230 | } |
231 | case QualityAnnotationPackage.PCMRE_ROLE: { |
232 | PCMRERole pcmreRole = (PCMRERole)theEObject; |
233 | T result = casePCMRERole(pcmreRole); |
234 | if (result == null) result = casePCMRE(pcmreRole); |
235 | if (result == null) result = caseRequiredElement(pcmreRole); |
236 | if (result == null) result = caseIdentifier(pcmreRole); |
237 | if (result == null) result = defaultCase(theEObject); |
238 | return result; |
239 | } |
240 | case QualityAnnotationPackage.PCMRE_SIGNATURE: { |
241 | PCMRESignature pcmreSignature = (PCMRESignature)theEObject; |
242 | T result = casePCMRESignature(pcmreSignature); |
243 | if (result == null) result = casePCMRE(pcmreSignature); |
244 | if (result == null) result = caseRequiredElement(pcmreSignature); |
245 | if (result == null) result = caseIdentifier(pcmreSignature); |
246 | if (result == null) result = defaultCase(theEObject); |
247 | return result; |
248 | } |
249 | case QualityAnnotationPackage.PCM_SERVICE_SPECIFICATION: { |
250 | PCMServiceSpecification pcmServiceSpecification = (PCMServiceSpecification)theEObject; |
251 | T result = casePCMServiceSpecification(pcmServiceSpecification); |
252 | if (result == null) result = caseServiceSpecification(pcmServiceSpecification); |
253 | if (result == null) result = caseIdentifier(pcmServiceSpecification); |
254 | if (result == null) result = defaultCase(theEObject); |
255 | return result; |
256 | } |
257 | case QualityAnnotationPackage.PCMRE_RESOURCE_INTERFACE: { |
258 | PCMREResourceInterface pcmreResourceInterface = (PCMREResourceInterface)theEObject; |
259 | T result = casePCMREResourceInterface(pcmreResourceInterface); |
260 | if (result == null) result = casePCMRE(pcmreResourceInterface); |
261 | if (result == null) result = caseRequiredElement(pcmreResourceInterface); |
262 | if (result == null) result = caseIdentifier(pcmreResourceInterface); |
263 | if (result == null) result = defaultCase(theEObject); |
264 | return result; |
265 | } |
266 | case QualityAnnotationPackage.PCMRE_RESOURCE_SIGNATURE: { |
267 | PCMREResourceSignature pcmreResourceSignature = (PCMREResourceSignature)theEObject; |
268 | T result = casePCMREResourceSignature(pcmreResourceSignature); |
269 | if (result == null) result = casePCMRE(pcmreResourceSignature); |
270 | if (result == null) result = caseRequiredElement(pcmreResourceSignature); |
271 | if (result == null) result = caseIdentifier(pcmreResourceSignature); |
272 | if (result == null) result = defaultCase(theEObject); |
273 | return result; |
274 | } |
275 | default: return defaultCase(theEObject); |
276 | } |
277 | } |
278 | |
279 | /** |
280 | * Returns the result of interpreting the object as an instance of '<em>Call Parameter Deviation</em>'. |
281 | * <!-- begin-user-doc --> |
282 | * This implementation returns null; |
283 | * returning a non-null result will terminate the switch. |
284 | * <!-- end-user-doc --> |
285 | * @param object the target of the switch. |
286 | * @return the result of interpreting the object as an instance of '<em>Call Parameter Deviation</em>'. |
287 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
288 | * @generated |
289 | */ |
290 | public T caseCallParameterDeviation(CallParameterDeviation object) { |
291 | return null; |
292 | } |
293 | |
294 | /** |
295 | * Returns the result of interpreting the object as an instance of '<em>Quality Annotation</em>'. |
296 | * <!-- begin-user-doc --> |
297 | * This implementation returns null; |
298 | * returning a non-null result will terminate the switch. |
299 | * <!-- end-user-doc --> |
300 | * @param object the target of the switch. |
301 | * @return the result of interpreting the object as an instance of '<em>Quality Annotation</em>'. |
302 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
303 | * @generated |
304 | */ |
305 | public T caseQualityAnnotation(QualityAnnotation object) { |
306 | return null; |
307 | } |
308 | |
309 | /** |
310 | * Returns the result of interpreting the object as an instance of '<em>Service Specification</em>'. |
311 | * <!-- begin-user-doc --> |
312 | * This implementation returns null; |
313 | * returning a non-null result will terminate the switch. |
314 | * <!-- end-user-doc --> |
315 | * @param object the target of the switch. |
316 | * @return the result of interpreting the object as an instance of '<em>Service Specification</em>'. |
317 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
318 | * @generated |
319 | */ |
320 | public T caseServiceSpecification(ServiceSpecification object) { |
321 | return null; |
322 | } |
323 | |
324 | /** |
325 | * Returns the result of interpreting the object as an instance of '<em>Required Element</em>'. |
326 | * <!-- begin-user-doc --> |
327 | * This implementation returns null; |
328 | * returning a non-null result will terminate the switch. |
329 | * <!-- end-user-doc --> |
330 | * @param object the target of the switch. |
331 | * @return the result of interpreting the object as an instance of '<em>Required Element</em>'. |
332 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
333 | * @generated |
334 | */ |
335 | public T caseRequiredElement(RequiredElement object) { |
336 | return null; |
337 | } |
338 | |
339 | /** |
340 | * Returns the result of interpreting the object as an instance of '<em>Number Of Calls Deviation</em>'. |
341 | * <!-- begin-user-doc --> |
342 | * This implementation returns null; |
343 | * returning a non-null result will terminate the switch. |
344 | * <!-- end-user-doc --> |
345 | * @param object the target of the switch. |
346 | * @return the result of interpreting the object as an instance of '<em>Number Of Calls Deviation</em>'. |
347 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
348 | * @generated |
349 | */ |
350 | public T caseNumberOfCallsDeviation(NumberOfCallsDeviation object) { |
351 | return null; |
352 | } |
353 | |
354 | /** |
355 | * Returns the result of interpreting the object as an instance of '<em>Internal State Influence Analysis Aggregation</em>'. |
356 | * <!-- begin-user-doc --> |
357 | * This implementation returns null; |
358 | * returning a non-null result will terminate the switch. |
359 | * <!-- end-user-doc --> |
360 | * @param object the target of the switch. |
361 | * @return the result of interpreting the object as an instance of '<em>Internal State Influence Analysis Aggregation</em>'. |
362 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
363 | * @generated |
364 | */ |
365 | public T caseInternalStateInfluenceAnalysisAggregation(InternalStateInfluenceAnalysisAggregation object) { |
366 | return null; |
367 | } |
368 | |
369 | /** |
370 | * Returns the result of interpreting the object as an instance of '<em>RE Precision</em>'. |
371 | * <!-- begin-user-doc --> |
372 | * This implementation returns null; |
373 | * returning a non-null result will terminate the switch. |
374 | * <!-- end-user-doc --> |
375 | * @param object the target of the switch. |
376 | * @return the result of interpreting the object as an instance of '<em>RE Precision</em>'. |
377 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
378 | * @generated |
379 | */ |
380 | public T caseREPrecision(REPrecision object) { |
381 | return null; |
382 | } |
383 | |
384 | /** |
385 | * Returns the result of interpreting the object as an instance of '<em>Precision</em>'. |
386 | * <!-- begin-user-doc --> |
387 | * This implementation returns null; |
388 | * returning a non-null result will terminate the switch. |
389 | * <!-- end-user-doc --> |
390 | * @param object the target of the switch. |
391 | * @return the result of interpreting the object as an instance of '<em>Precision</em>'. |
392 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
393 | * @generated |
394 | */ |
395 | public T casePrecision(Precision object) { |
396 | return null; |
397 | } |
398 | |
399 | /** |
400 | * Returns the result of interpreting the object as an instance of '<em>PCM Parameter Partition</em>'. |
401 | * <!-- begin-user-doc --> |
402 | * This implementation returns null; |
403 | * returning a non-null result will terminate the switch. |
404 | * <!-- end-user-doc --> |
405 | * @param object the target of the switch. |
406 | * @return the result of interpreting the object as an instance of '<em>PCM Parameter Partition</em>'. |
407 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
408 | * @generated |
409 | */ |
410 | public T casePCMParameterPartition(PCMParameterPartition object) { |
411 | return null; |
412 | } |
413 | |
414 | /** |
415 | * Returns the result of interpreting the object as an instance of '<em>Characterised PCM Parameter Partition</em>'. |
416 | * <!-- begin-user-doc --> |
417 | * This implementation returns null; |
418 | * returning a non-null result will terminate the switch. |
419 | * <!-- end-user-doc --> |
420 | * @param object the target of the switch. |
421 | * @return the result of interpreting the object as an instance of '<em>Characterised PCM Parameter Partition</em>'. |
422 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
423 | * @generated |
424 | */ |
425 | public T caseCharacterisedPCMParameterPartition(CharacterisedPCMParameterPartition object) { |
426 | return null; |
427 | } |
428 | |
429 | /** |
430 | * Returns the result of interpreting the object as an instance of '<em>Characterised PCM Parameter Partition Interval</em>'. |
431 | * <!-- begin-user-doc --> |
432 | * This implementation returns null; |
433 | * returning a non-null result will terminate the switch. |
434 | * <!-- end-user-doc --> |
435 | * @param object the target of the switch. |
436 | * @return the result of interpreting the object as an instance of '<em>Characterised PCM Parameter Partition Interval</em>'. |
437 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
438 | * @generated |
439 | */ |
440 | public T caseCharacterisedPCMParameterPartitionInterval(CharacterisedPCMParameterPartitionInterval object) { |
441 | return null; |
442 | } |
443 | |
444 | /** |
445 | * Returns the result of interpreting the object as an instance of '<em>Characterised PCM Parameter Partition Range</em>'. |
446 | * <!-- begin-user-doc --> |
447 | * This implementation returns null; |
448 | * returning a non-null result will terminate the switch. |
449 | * <!-- end-user-doc --> |
450 | * @param object the target of the switch. |
451 | * @return the result of interpreting the object as an instance of '<em>Characterised PCM Parameter Partition Range</em>'. |
452 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
453 | * @generated |
454 | */ |
455 | public T caseCharacterisedPCMParameterPartitionRange(CharacterisedPCMParameterPartitionRange object) { |
456 | return null; |
457 | } |
458 | |
459 | /** |
460 | * Returns the result of interpreting the object as an instance of '<em>Exactly As Specified Precision</em>'. |
461 | * <!-- begin-user-doc --> |
462 | * This implementation returns null; |
463 | * returning a non-null result will terminate the switch. |
464 | * <!-- end-user-doc --> |
465 | * @param object the target of the switch. |
466 | * @return the result of interpreting the object as an instance of '<em>Exactly As Specified Precision</em>'. |
467 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
468 | * @generated |
469 | */ |
470 | public T caseExactlyAsSpecifiedPrecision(ExactlyAsSpecifiedPrecision object) { |
471 | return null; |
472 | } |
473 | |
474 | /** |
475 | * Returns the result of interpreting the object as an instance of '<em>Limited Deviation Precision</em>'. |
476 | * <!-- begin-user-doc --> |
477 | * This implementation returns null; |
478 | * returning a non-null result will terminate the switch. |
479 | * <!-- end-user-doc --> |
480 | * @param object the target of the switch. |
481 | * @return the result of interpreting the object as an instance of '<em>Limited Deviation Precision</em>'. |
482 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
483 | * @generated |
484 | */ |
485 | public T caseLimitedDeviationPrecision(LimitedDeviationPrecision object) { |
486 | return null; |
487 | } |
488 | |
489 | /** |
490 | * Returns the result of interpreting the object as an instance of '<em>No Precision</em>'. |
491 | * <!-- begin-user-doc --> |
492 | * This implementation returns null; |
493 | * returning a non-null result will terminate the switch. |
494 | * <!-- end-user-doc --> |
495 | * @param object the target of the switch. |
496 | * @return the result of interpreting the object as an instance of '<em>No Precision</em>'. |
497 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
498 | * @generated |
499 | */ |
500 | public T caseNoPrecision(NoPrecision object) { |
501 | return null; |
502 | } |
503 | |
504 | /** |
505 | * Returns the result of interpreting the object as an instance of '<em>PCMRE Category</em>'. |
506 | * <!-- begin-user-doc --> |
507 | * This implementation returns null; |
508 | * returning a non-null result will terminate the switch. |
509 | * <!-- end-user-doc --> |
510 | * @param object the target of the switch. |
511 | * @return the result of interpreting the object as an instance of '<em>PCMRE Category</em>'. |
512 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
513 | * @generated |
514 | */ |
515 | public T casePCMRECategory(PCMRECategory object) { |
516 | return null; |
517 | } |
518 | |
519 | /** |
520 | * Returns the result of interpreting the object as an instance of '<em>PCMRE</em>'. |
521 | * <!-- begin-user-doc --> |
522 | * This implementation returns null; |
523 | * returning a non-null result will terminate the switch. |
524 | * <!-- end-user-doc --> |
525 | * @param object the target of the switch. |
526 | * @return the result of interpreting the object as an instance of '<em>PCMRE</em>'. |
527 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
528 | * @generated |
529 | */ |
530 | public T casePCMRE(PCMRE object) { |
531 | return null; |
532 | } |
533 | |
534 | /** |
535 | * Returns the result of interpreting the object as an instance of '<em>PCMRE Interface</em>'. |
536 | * <!-- begin-user-doc --> |
537 | * This implementation returns null; |
538 | * returning a non-null result will terminate the switch. |
539 | * <!-- end-user-doc --> |
540 | * @param object the target of the switch. |
541 | * @return the result of interpreting the object as an instance of '<em>PCMRE Interface</em>'. |
542 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
543 | * @generated |
544 | */ |
545 | public T casePCMREInterface(PCMREInterface object) { |
546 | return null; |
547 | } |
548 | |
549 | /** |
550 | * Returns the result of interpreting the object as an instance of '<em>PCMRE Role</em>'. |
551 | * <!-- begin-user-doc --> |
552 | * This implementation returns null; |
553 | * returning a non-null result will terminate the switch. |
554 | * <!-- end-user-doc --> |
555 | * @param object the target of the switch. |
556 | * @return the result of interpreting the object as an instance of '<em>PCMRE Role</em>'. |
557 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
558 | * @generated |
559 | */ |
560 | public T casePCMRERole(PCMRERole object) { |
561 | return null; |
562 | } |
563 | |
564 | /** |
565 | * Returns the result of interpreting the object as an instance of '<em>PCMRE Signature</em>'. |
566 | * <!-- begin-user-doc --> |
567 | * This implementation returns null; |
568 | * returning a non-null result will terminate the switch. |
569 | * <!-- end-user-doc --> |
570 | * @param object the target of the switch. |
571 | * @return the result of interpreting the object as an instance of '<em>PCMRE Signature</em>'. |
572 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
573 | * @generated |
574 | */ |
575 | public T casePCMRESignature(PCMRESignature object) { |
576 | return null; |
577 | } |
578 | |
579 | /** |
580 | * Returns the result of interpreting the object as an instance of '<em>PCM Service Specification</em>'. |
581 | * <!-- begin-user-doc --> |
582 | * This implementation returns null; |
583 | * returning a non-null result will terminate the switch. |
584 | * <!-- end-user-doc --> |
585 | * @param object the target of the switch. |
586 | * @return the result of interpreting the object as an instance of '<em>PCM Service Specification</em>'. |
587 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
588 | * @generated |
589 | */ |
590 | public T casePCMServiceSpecification(PCMServiceSpecification object) { |
591 | return null; |
592 | } |
593 | |
594 | /** |
595 | * Returns the result of interpreting the object as an instance of '<em>PCMRE Resource Interface</em>'. |
596 | * <!-- begin-user-doc --> |
597 | * This implementation returns null; |
598 | * returning a non-null result will terminate the switch. |
599 | * <!-- end-user-doc --> |
600 | * @param object the target of the switch. |
601 | * @return the result of interpreting the object as an instance of '<em>PCMRE Resource Interface</em>'. |
602 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
603 | * @generated |
604 | */ |
605 | public T casePCMREResourceInterface(PCMREResourceInterface object) { |
606 | return null; |
607 | } |
608 | |
609 | /** |
610 | * Returns the result of interpreting the object as an instance of '<em>PCMRE Resource Signature</em>'. |
611 | * <!-- begin-user-doc --> |
612 | * This implementation returns null; |
613 | * returning a non-null result will terminate the switch. |
614 | * <!-- end-user-doc --> |
615 | * @param object the target of the switch. |
616 | * @return the result of interpreting the object as an instance of '<em>PCMRE Resource Signature</em>'. |
617 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
618 | * @generated |
619 | */ |
620 | public T casePCMREResourceSignature(PCMREResourceSignature object) { |
621 | return null; |
622 | } |
623 | |
624 | /** |
625 | * Returns the result of interpreting the object as an instance of '<em>Identifier</em>'. |
626 | * <!-- begin-user-doc --> |
627 | * This implementation returns null; |
628 | * returning a non-null result will terminate the switch. |
629 | * <!-- end-user-doc --> |
630 | * @param object the target of the switch. |
631 | * @return the result of interpreting the object as an instance of '<em>Identifier</em>'. |
632 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
633 | * @generated |
634 | */ |
635 | public T caseIdentifier(Identifier object) { |
636 | return null; |
637 | } |
638 | |
639 | /** |
640 | * Returns the result of interpreting the object as an instance of '<em>Statement</em>'. |
641 | * <!-- begin-user-doc --> |
642 | * This implementation returns null; |
643 | * returning a non-null result will terminate the switch. |
644 | * <!-- end-user-doc --> |
645 | * @param object the target of the switch. |
646 | * @return the result of interpreting the object as an instance of '<em>Statement</em>'. |
647 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
648 | * @generated |
649 | */ |
650 | public T caseQualityStatement(QualityStatement object) { |
651 | return null; |
652 | } |
653 | |
654 | /** |
655 | * Returns the result of interpreting the object as an instance of '<em>Parameter Partition</em>'. |
656 | * <!-- begin-user-doc --> |
657 | * This implementation returns null; |
658 | * returning a non-null result will terminate the switch. |
659 | * <!-- end-user-doc --> |
660 | * @param object the target of the switch. |
661 | * @return the result of interpreting the object as an instance of '<em>Parameter Partition</em>'. |
662 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
663 | * @generated |
664 | */ |
665 | public T caseParameterPartition(ParameterPartition object) { |
666 | return null; |
667 | } |
668 | |
669 | /** |
670 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
671 | * <!-- begin-user-doc --> |
672 | * This implementation returns null; |
673 | * returning a non-null result will terminate the switch, but this is the last case anyway. |
674 | * <!-- end-user-doc --> |
675 | * @param object the target of the switch. |
676 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. |
677 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) |
678 | * @generated |
679 | */ |
680 | public T defaultCase(EObject object) { |
681 | return null; |
682 | } |
683 | |
684 | } //QualityAnnotationSwitch |