1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package de.uka.ipd.sdq.probespec.util; |
8 | |
9 | import de.uka.ipd.sdq.identifier.Identifier; |
10 | |
11 | import de.uka.ipd.sdq.probespec.*; |
12 | |
13 | import java.util.List; |
14 | |
15 | import org.eclipse.emf.ecore.EClass; |
16 | import org.eclipse.emf.ecore.EObject; |
17 | |
18 | /** |
19 | * <!-- begin-user-doc --> |
20 | * The <b>Switch</b> for the model's inheritance hierarchy. |
21 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} |
22 | * to invoke the <code>caseXXX</code> method for each class of the model, |
23 | * starting with the actual class of the object |
24 | * and proceeding up the inheritance hierarchy |
25 | * until a non-null result is returned, |
26 | * which is the result of the switch. |
27 | * <!-- end-user-doc --> |
28 | * @see de.uka.ipd.sdq.probespec.probespecPackage |
29 | * @generated |
30 | */ |
31 | public class probespecSwitch<T> { |
32 | /** |
33 | * The cached model package |
34 | * <!-- begin-user-doc --> |
35 | * <!-- end-user-doc --> |
36 | * @generated |
37 | */ |
38 | protected static probespecPackage modelPackage; |
39 | |
40 | /** |
41 | * Creates an instance of the switch. |
42 | * <!-- begin-user-doc --> |
43 | * <!-- end-user-doc --> |
44 | * @generated |
45 | */ |
46 | public probespecSwitch() { |
47 | if (modelPackage == null) { |
48 | modelPackage = probespecPackage.eINSTANCE; |
49 | } |
50 | } |
51 | |
52 | /** |
53 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
54 | * <!-- begin-user-doc --> |
55 | * <!-- end-user-doc --> |
56 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
57 | * @generated |
58 | */ |
59 | public T doSwitch(EObject theEObject) { |
60 | return doSwitch(theEObject.eClass(), theEObject); |
61 | } |
62 | |
63 | /** |
64 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
65 | * <!-- begin-user-doc --> |
66 | * <!-- end-user-doc --> |
67 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
68 | * @generated |
69 | */ |
70 | protected T doSwitch(EClass theEClass, EObject theEObject) { |
71 | if (theEClass.eContainer() == modelPackage) { |
72 | return doSwitch(theEClass.getClassifierID(), theEObject); |
73 | } |
74 | else { |
75 | List<EClass> eSuperTypes = theEClass.getESuperTypes(); |
76 | return |
77 | eSuperTypes.isEmpty() ? |
78 | defaultCase(theEObject) : |
79 | doSwitch(eSuperTypes.get(0), theEObject); |
80 | } |
81 | } |
82 | |
83 | /** |
84 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. |
85 | * <!-- begin-user-doc --> |
86 | * <!-- end-user-doc --> |
87 | * @return the first non-null result returned by a <code>caseXXX</code> call. |
88 | * @generated |
89 | */ |
90 | protected T doSwitch(int classifierID, EObject theEObject) { |
91 | switch (classifierID) { |
92 | case probespecPackage.CALCULATOR: { |
93 | Calculator calculator = (Calculator)theEObject; |
94 | T result = caseCalculator(calculator); |
95 | if (result == null) result = caseIdentifier(calculator); |
96 | if (result == null) result = defaultCase(theEObject); |
97 | return result; |
98 | } |
99 | case probespecPackage.PASSIVE_RESOURCE_CALCULATOR: { |
100 | PassiveResourceCalculator passiveResourceCalculator = (PassiveResourceCalculator)theEObject; |
101 | T result = casePassiveResourceCalculator(passiveResourceCalculator); |
102 | if (result == null) result = caseUnaryCalculator(passiveResourceCalculator); |
103 | if (result == null) result = caseCalculator(passiveResourceCalculator); |
104 | if (result == null) result = caseIdentifier(passiveResourceCalculator); |
105 | if (result == null) result = defaultCase(theEObject); |
106 | return result; |
107 | } |
108 | case probespecPackage.UNARY_CALCULATOR: { |
109 | UnaryCalculator unaryCalculator = (UnaryCalculator)theEObject; |
110 | T result = caseUnaryCalculator(unaryCalculator); |
111 | if (result == null) result = caseCalculator(unaryCalculator); |
112 | if (result == null) result = caseIdentifier(unaryCalculator); |
113 | if (result == null) result = defaultCase(theEObject); |
114 | return result; |
115 | } |
116 | case probespecPackage.PROBE_SET: { |
117 | ProbeSet probeSet = (ProbeSet)theEObject; |
118 | T result = caseProbeSet(probeSet); |
119 | if (result == null) result = caseIdentifier(probeSet); |
120 | if (result == null) result = defaultCase(theEObject); |
121 | return result; |
122 | } |
123 | case probespecPackage.PROBE: { |
124 | Probe probe = (Probe)theEObject; |
125 | T result = caseProbe(probe); |
126 | if (result == null) result = caseIdentifier(probe); |
127 | if (result == null) result = defaultCase(theEObject); |
128 | return result; |
129 | } |
130 | case probespecPackage.PASSIVE_RESOURCE_STATE_PROBE: { |
131 | PassiveResourceStateProbe passiveResourceStateProbe = (PassiveResourceStateProbe)theEObject; |
132 | T result = casePassiveResourceStateProbe(passiveResourceStateProbe); |
133 | if (result == null) result = caseProbe(passiveResourceStateProbe); |
134 | if (result == null) result = caseIdentifier(passiveResourceStateProbe); |
135 | if (result == null) result = defaultCase(theEObject); |
136 | return result; |
137 | } |
138 | case probespecPackage.STO_EX_PROBE: { |
139 | StoExProbe stoExProbe = (StoExProbe)theEObject; |
140 | T result = caseStoExProbe(stoExProbe); |
141 | if (result == null) result = caseProbe(stoExProbe); |
142 | if (result == null) result = caseIdentifier(stoExProbe); |
143 | if (result == null) result = defaultCase(theEObject); |
144 | return result; |
145 | } |
146 | case probespecPackage.SEFF_PARAMETER_PROBE: { |
147 | SEFFParameterProbe seffParameterProbe = (SEFFParameterProbe)theEObject; |
148 | T result = caseSEFFParameterProbe(seffParameterProbe); |
149 | if (result == null) result = caseProbe(seffParameterProbe); |
150 | if (result == null) result = caseIdentifier(seffParameterProbe); |
151 | if (result == null) result = defaultCase(theEObject); |
152 | return result; |
153 | } |
154 | case probespecPackage.CURRENT_TIME_PROBE: { |
155 | CurrentTimeProbe currentTimeProbe = (CurrentTimeProbe)theEObject; |
156 | T result = caseCurrentTimeProbe(currentTimeProbe); |
157 | if (result == null) result = caseProbe(currentTimeProbe); |
158 | if (result == null) result = caseIdentifier(currentTimeProbe); |
159 | if (result == null) result = defaultCase(theEObject); |
160 | return result; |
161 | } |
162 | case probespecPackage.STO_EX_CALCULATOR: { |
163 | StoExCalculator stoExCalculator = (StoExCalculator)theEObject; |
164 | T result = caseStoExCalculator(stoExCalculator); |
165 | if (result == null) result = caseUnaryCalculator(stoExCalculator); |
166 | if (result == null) result = caseCalculator(stoExCalculator); |
167 | if (result == null) result = caseIdentifier(stoExCalculator); |
168 | if (result == null) result = defaultCase(theEObject); |
169 | return result; |
170 | } |
171 | case probespecPackage.SEFF_PARAMETER_CALCULATOR: { |
172 | SEFFParameterCalculator seffParameterCalculator = (SEFFParameterCalculator)theEObject; |
173 | T result = caseSEFFParameterCalculator(seffParameterCalculator); |
174 | if (result == null) result = caseUnaryCalculator(seffParameterCalculator); |
175 | if (result == null) result = caseCalculator(seffParameterCalculator); |
176 | if (result == null) result = caseIdentifier(seffParameterCalculator); |
177 | if (result == null) result = defaultCase(theEObject); |
178 | return result; |
179 | } |
180 | case probespecPackage.RESPONSE_TIME_CALCULATOR: { |
181 | ResponseTimeCalculator responseTimeCalculator = (ResponseTimeCalculator)theEObject; |
182 | T result = caseResponseTimeCalculator(responseTimeCalculator); |
183 | if (result == null) result = caseBinaryCalculator(responseTimeCalculator); |
184 | if (result == null) result = caseCalculator(responseTimeCalculator); |
185 | if (result == null) result = caseIdentifier(responseTimeCalculator); |
186 | if (result == null) result = defaultCase(theEObject); |
187 | return result; |
188 | } |
189 | case probespecPackage.BINARY_CALCULATOR: { |
190 | BinaryCalculator binaryCalculator = (BinaryCalculator)theEObject; |
191 | T result = caseBinaryCalculator(binaryCalculator); |
192 | if (result == null) result = caseCalculator(binaryCalculator); |
193 | if (result == null) result = caseIdentifier(binaryCalculator); |
194 | if (result == null) result = defaultCase(theEObject); |
195 | return result; |
196 | } |
197 | case probespecPackage.WAITING_TIME_CALCULATOR: { |
198 | WaitingTimeCalculator waitingTimeCalculator = (WaitingTimeCalculator)theEObject; |
199 | T result = caseWaitingTimeCalculator(waitingTimeCalculator); |
200 | if (result == null) result = caseBinaryCalculator(waitingTimeCalculator); |
201 | if (result == null) result = caseCalculator(waitingTimeCalculator); |
202 | if (result == null) result = caseIdentifier(waitingTimeCalculator); |
203 | if (result == null) result = defaultCase(theEObject); |
204 | return result; |
205 | } |
206 | case probespecPackage.PROBE_SPEC_REPOSITORY: { |
207 | ProbeSpecRepository probeSpecRepository = (ProbeSpecRepository)theEObject; |
208 | T result = caseProbeSpecRepository(probeSpecRepository); |
209 | if (result == null) result = defaultCase(theEObject); |
210 | return result; |
211 | } |
212 | case probespecPackage.CPU_STATE_PROBE: { |
213 | CPUStateProbe cpuStateProbe = (CPUStateProbe)theEObject; |
214 | T result = caseCPUStateProbe(cpuStateProbe); |
215 | if (result == null) result = caseProbe(cpuStateProbe); |
216 | if (result == null) result = caseIdentifier(cpuStateProbe); |
217 | if (result == null) result = defaultCase(theEObject); |
218 | return result; |
219 | } |
220 | case probespecPackage.HDD_STATE_PROBE: { |
221 | HDDStateProbe hddStateProbe = (HDDStateProbe)theEObject; |
222 | T result = caseHDDStateProbe(hddStateProbe); |
223 | if (result == null) result = caseProbe(hddStateProbe); |
224 | if (result == null) result = caseIdentifier(hddStateProbe); |
225 | if (result == null) result = defaultCase(theEObject); |
226 | return result; |
227 | } |
228 | case probespecPackage.CPU_DEMAND_PROBE: { |
229 | CPUDemandProbe cpuDemandProbe = (CPUDemandProbe)theEObject; |
230 | T result = caseCPUDemandProbe(cpuDemandProbe); |
231 | if (result == null) result = caseProbe(cpuDemandProbe); |
232 | if (result == null) result = caseIdentifier(cpuDemandProbe); |
233 | if (result == null) result = defaultCase(theEObject); |
234 | return result; |
235 | } |
236 | case probespecPackage.HDD_DEMAND_PROBE: { |
237 | HDDDemandProbe hddDemandProbe = (HDDDemandProbe)theEObject; |
238 | T result = caseHDDDemandProbe(hddDemandProbe); |
239 | if (result == null) result = caseProbe(hddDemandProbe); |
240 | if (result == null) result = caseIdentifier(hddDemandProbe); |
241 | if (result == null) result = defaultCase(theEObject); |
242 | return result; |
243 | } |
244 | case probespecPackage.HDD_STATE_CALCULATOR: { |
245 | HDDStateCalculator hddStateCalculator = (HDDStateCalculator)theEObject; |
246 | T result = caseHDDStateCalculator(hddStateCalculator); |
247 | if (result == null) result = caseUnaryCalculator(hddStateCalculator); |
248 | if (result == null) result = caseCalculator(hddStateCalculator); |
249 | if (result == null) result = caseIdentifier(hddStateCalculator); |
250 | if (result == null) result = defaultCase(theEObject); |
251 | return result; |
252 | } |
253 | case probespecPackage.CPU_STATE_CALCULATOR: { |
254 | CPUStateCalculator cpuStateCalculator = (CPUStateCalculator)theEObject; |
255 | T result = caseCPUStateCalculator(cpuStateCalculator); |
256 | if (result == null) result = caseUnaryCalculator(cpuStateCalculator); |
257 | if (result == null) result = caseCalculator(cpuStateCalculator); |
258 | if (result == null) result = caseIdentifier(cpuStateCalculator); |
259 | if (result == null) result = defaultCase(theEObject); |
260 | return result; |
261 | } |
262 | case probespecPackage.CPU_DEMAND_CALCULATOR: { |
263 | CPUDemandCalculator cpuDemandCalculator = (CPUDemandCalculator)theEObject; |
264 | T result = caseCPUDemandCalculator(cpuDemandCalculator); |
265 | if (result == null) result = caseUnaryCalculator(cpuDemandCalculator); |
266 | if (result == null) result = caseCalculator(cpuDemandCalculator); |
267 | if (result == null) result = caseIdentifier(cpuDemandCalculator); |
268 | if (result == null) result = defaultCase(theEObject); |
269 | return result; |
270 | } |
271 | case probespecPackage.HDD_DEMAND_CALCULATOR: { |
272 | HDDDemandCalculator hddDemandCalculator = (HDDDemandCalculator)theEObject; |
273 | T result = caseHDDDemandCalculator(hddDemandCalculator); |
274 | if (result == null) result = caseUnaryCalculator(hddDemandCalculator); |
275 | if (result == null) result = caseCalculator(hddDemandCalculator); |
276 | if (result == null) result = caseIdentifier(hddDemandCalculator); |
277 | if (result == null) result = defaultCase(theEObject); |
278 | return result; |
279 | } |
280 | default: return defaultCase(theEObject); |
281 | } |
282 | } |
283 | |
284 | /** |
285 | * Returns the result of interpreting the object as an instance of '<em>Calculator</em>'. |
286 | * <!-- begin-user-doc --> |
287 | * This implementation returns null; |
288 | * returning a non-null result will terminate the switch. |
289 | * <!-- end-user-doc --> |
290 | * @param object the target of the switch. |
291 | * @return the result of interpreting the object as an instance of '<em>Calculator</em>'. |
292 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
293 | * @generated |
294 | */ |
295 | public T caseCalculator(Calculator object) { |
296 | return null; |
297 | } |
298 | |
299 | /** |
300 | * Returns the result of interpreting the object as an instance of '<em>Passive Resource Calculator</em>'. |
301 | * <!-- begin-user-doc --> |
302 | * This implementation returns null; |
303 | * returning a non-null result will terminate the switch. |
304 | * <!-- end-user-doc --> |
305 | * @param object the target of the switch. |
306 | * @return the result of interpreting the object as an instance of '<em>Passive Resource Calculator</em>'. |
307 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
308 | * @generated |
309 | */ |
310 | public T casePassiveResourceCalculator(PassiveResourceCalculator object) { |
311 | return null; |
312 | } |
313 | |
314 | /** |
315 | * Returns the result of interpreting the object as an instance of '<em>Unary Calculator</em>'. |
316 | * <!-- begin-user-doc --> |
317 | * This implementation returns null; |
318 | * returning a non-null result will terminate the switch. |
319 | * <!-- end-user-doc --> |
320 | * @param object the target of the switch. |
321 | * @return the result of interpreting the object as an instance of '<em>Unary Calculator</em>'. |
322 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
323 | * @generated |
324 | */ |
325 | public T caseUnaryCalculator(UnaryCalculator object) { |
326 | return null; |
327 | } |
328 | |
329 | /** |
330 | * Returns the result of interpreting the object as an instance of '<em>Probe Set</em>'. |
331 | * <!-- begin-user-doc --> |
332 | * This implementation returns null; |
333 | * returning a non-null result will terminate the switch. |
334 | * <!-- end-user-doc --> |
335 | * @param object the target of the switch. |
336 | * @return the result of interpreting the object as an instance of '<em>Probe Set</em>'. |
337 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
338 | * @generated |
339 | */ |
340 | public T caseProbeSet(ProbeSet object) { |
341 | return null; |
342 | } |
343 | |
344 | /** |
345 | * Returns the result of interpreting the object as an instance of '<em>Probe</em>'. |
346 | * <!-- begin-user-doc --> |
347 | * This implementation returns null; |
348 | * returning a non-null result will terminate the switch. |
349 | * <!-- end-user-doc --> |
350 | * @param object the target of the switch. |
351 | * @return the result of interpreting the object as an instance of '<em>Probe</em>'. |
352 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
353 | * @generated |
354 | */ |
355 | public T caseProbe(Probe object) { |
356 | return null; |
357 | } |
358 | |
359 | /** |
360 | * Returns the result of interpreting the object as an instance of '<em>Passive Resource State Probe</em>'. |
361 | * <!-- begin-user-doc --> |
362 | * This implementation returns null; |
363 | * returning a non-null result will terminate the switch. |
364 | * <!-- end-user-doc --> |
365 | * @param object the target of the switch. |
366 | * @return the result of interpreting the object as an instance of '<em>Passive Resource State Probe</em>'. |
367 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
368 | * @generated |
369 | */ |
370 | public T casePassiveResourceStateProbe(PassiveResourceStateProbe object) { |
371 | return null; |
372 | } |
373 | |
374 | /** |
375 | * Returns the result of interpreting the object as an instance of '<em>Sto Ex Probe</em>'. |
376 | * <!-- begin-user-doc --> |
377 | * This implementation returns null; |
378 | * returning a non-null result will terminate the switch. |
379 | * <!-- end-user-doc --> |
380 | * @param object the target of the switch. |
381 | * @return the result of interpreting the object as an instance of '<em>Sto Ex Probe</em>'. |
382 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
383 | * @generated |
384 | */ |
385 | public T caseStoExProbe(StoExProbe object) { |
386 | return null; |
387 | } |
388 | |
389 | /** |
390 | * Returns the result of interpreting the object as an instance of '<em>SEFF Parameter Probe</em>'. |
391 | * <!-- begin-user-doc --> |
392 | * This implementation returns null; |
393 | * returning a non-null result will terminate the switch. |
394 | * <!-- end-user-doc --> |
395 | * @param object the target of the switch. |
396 | * @return the result of interpreting the object as an instance of '<em>SEFF Parameter Probe</em>'. |
397 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
398 | * @generated |
399 | */ |
400 | public T caseSEFFParameterProbe(SEFFParameterProbe object) { |
401 | return null; |
402 | } |
403 | |
404 | /** |
405 | * Returns the result of interpreting the object as an instance of '<em>Current Time Probe</em>'. |
406 | * <!-- begin-user-doc --> |
407 | * This implementation returns null; |
408 | * returning a non-null result will terminate the switch. |
409 | * <!-- end-user-doc --> |
410 | * @param object the target of the switch. |
411 | * @return the result of interpreting the object as an instance of '<em>Current Time Probe</em>'. |
412 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
413 | * @generated |
414 | */ |
415 | public T caseCurrentTimeProbe(CurrentTimeProbe object) { |
416 | return null; |
417 | } |
418 | |
419 | /** |
420 | * Returns the result of interpreting the object as an instance of '<em>Sto Ex Calculator</em>'. |
421 | * <!-- begin-user-doc --> |
422 | * This implementation returns null; |
423 | * returning a non-null result will terminate the switch. |
424 | * <!-- end-user-doc --> |
425 | * @param object the target of the switch. |
426 | * @return the result of interpreting the object as an instance of '<em>Sto Ex Calculator</em>'. |
427 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
428 | * @generated |
429 | */ |
430 | public T caseStoExCalculator(StoExCalculator object) { |
431 | return null; |
432 | } |
433 | |
434 | /** |
435 | * Returns the result of interpreting the object as an instance of '<em>SEFF Parameter Calculator</em>'. |
436 | * <!-- begin-user-doc --> |
437 | * This implementation returns null; |
438 | * returning a non-null result will terminate the switch. |
439 | * <!-- end-user-doc --> |
440 | * @param object the target of the switch. |
441 | * @return the result of interpreting the object as an instance of '<em>SEFF Parameter Calculator</em>'. |
442 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
443 | * @generated |
444 | */ |
445 | public T caseSEFFParameterCalculator(SEFFParameterCalculator object) { |
446 | return null; |
447 | } |
448 | |
449 | /** |
450 | * Returns the result of interpreting the object as an instance of '<em>Response Time Calculator</em>'. |
451 | * <!-- begin-user-doc --> |
452 | * This implementation returns null; |
453 | * returning a non-null result will terminate the switch. |
454 | * <!-- end-user-doc --> |
455 | * @param object the target of the switch. |
456 | * @return the result of interpreting the object as an instance of '<em>Response Time Calculator</em>'. |
457 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
458 | * @generated |
459 | */ |
460 | public T caseResponseTimeCalculator(ResponseTimeCalculator object) { |
461 | return null; |
462 | } |
463 | |
464 | /** |
465 | * Returns the result of interpreting the object as an instance of '<em>Binary Calculator</em>'. |
466 | * <!-- begin-user-doc --> |
467 | * This implementation returns null; |
468 | * returning a non-null result will terminate the switch. |
469 | * <!-- end-user-doc --> |
470 | * @param object the target of the switch. |
471 | * @return the result of interpreting the object as an instance of '<em>Binary Calculator</em>'. |
472 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
473 | * @generated |
474 | */ |
475 | public T caseBinaryCalculator(BinaryCalculator object) { |
476 | return null; |
477 | } |
478 | |
479 | /** |
480 | * Returns the result of interpreting the object as an instance of '<em>Waiting Time Calculator</em>'. |
481 | * <!-- begin-user-doc --> |
482 | * This implementation returns null; |
483 | * returning a non-null result will terminate the switch. |
484 | * <!-- end-user-doc --> |
485 | * @param object the target of the switch. |
486 | * @return the result of interpreting the object as an instance of '<em>Waiting Time Calculator</em>'. |
487 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
488 | * @generated |
489 | */ |
490 | public T caseWaitingTimeCalculator(WaitingTimeCalculator object) { |
491 | return null; |
492 | } |
493 | |
494 | /** |
495 | * Returns the result of interpreting the object as an instance of '<em>Probe Spec Repository</em>'. |
496 | * <!-- begin-user-doc --> |
497 | * This implementation returns null; |
498 | * returning a non-null result will terminate the switch. |
499 | * <!-- end-user-doc --> |
500 | * @param object the target of the switch. |
501 | * @return the result of interpreting the object as an instance of '<em>Probe Spec Repository</em>'. |
502 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
503 | * @generated |
504 | */ |
505 | public T caseProbeSpecRepository(ProbeSpecRepository object) { |
506 | return null; |
507 | } |
508 | |
509 | /** |
510 | * Returns the result of interpreting the object as an instance of '<em>CPU State Probe</em>'. |
511 | * <!-- begin-user-doc --> |
512 | * This implementation returns null; |
513 | * returning a non-null result will terminate the switch. |
514 | * <!-- end-user-doc --> |
515 | * @param object the target of the switch. |
516 | * @return the result of interpreting the object as an instance of '<em>CPU State Probe</em>'. |
517 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
518 | * @generated |
519 | */ |
520 | public T caseCPUStateProbe(CPUStateProbe object) { |
521 | return null; |
522 | } |
523 | |
524 | /** |
525 | * Returns the result of interpreting the object as an instance of '<em>HDD State Probe</em>'. |
526 | * <!-- begin-user-doc --> |
527 | * This implementation returns null; |
528 | * returning a non-null result will terminate the switch. |
529 | * <!-- end-user-doc --> |
530 | * @param object the target of the switch. |
531 | * @return the result of interpreting the object as an instance of '<em>HDD State Probe</em>'. |
532 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
533 | * @generated |
534 | */ |
535 | public T caseHDDStateProbe(HDDStateProbe object) { |
536 | return null; |
537 | } |
538 | |
539 | /** |
540 | * Returns the result of interpreting the object as an instance of '<em>CPU Demand Probe</em>'. |
541 | * <!-- begin-user-doc --> |
542 | * This implementation returns null; |
543 | * returning a non-null result will terminate the switch. |
544 | * <!-- end-user-doc --> |
545 | * @param object the target of the switch. |
546 | * @return the result of interpreting the object as an instance of '<em>CPU Demand Probe</em>'. |
547 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
548 | * @generated |
549 | */ |
550 | public T caseCPUDemandProbe(CPUDemandProbe object) { |
551 | return null; |
552 | } |
553 | |
554 | /** |
555 | * Returns the result of interpreting the object as an instance of '<em>HDD Demand Probe</em>'. |
556 | * <!-- begin-user-doc --> |
557 | * This implementation returns null; |
558 | * returning a non-null result will terminate the switch. |
559 | * <!-- end-user-doc --> |
560 | * @param object the target of the switch. |
561 | * @return the result of interpreting the object as an instance of '<em>HDD Demand Probe</em>'. |
562 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
563 | * @generated |
564 | */ |
565 | public T caseHDDDemandProbe(HDDDemandProbe object) { |
566 | return null; |
567 | } |
568 | |
569 | /** |
570 | * Returns the result of interpreting the object as an instance of '<em>HDD State Calculator</em>'. |
571 | * <!-- begin-user-doc --> |
572 | * This implementation returns null; |
573 | * returning a non-null result will terminate the switch. |
574 | * <!-- end-user-doc --> |
575 | * @param object the target of the switch. |
576 | * @return the result of interpreting the object as an instance of '<em>HDD State Calculator</em>'. |
577 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
578 | * @generated |
579 | */ |
580 | public T caseHDDStateCalculator(HDDStateCalculator object) { |
581 | return null; |
582 | } |
583 | |
584 | /** |
585 | * Returns the result of interpreting the object as an instance of '<em>CPU State Calculator</em>'. |
586 | * <!-- begin-user-doc --> |
587 | * This implementation returns null; |
588 | * returning a non-null result will terminate the switch. |
589 | * <!-- end-user-doc --> |
590 | * @param object the target of the switch. |
591 | * @return the result of interpreting the object as an instance of '<em>CPU State Calculator</em>'. |
592 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
593 | * @generated |
594 | */ |
595 | public T caseCPUStateCalculator(CPUStateCalculator object) { |
596 | return null; |
597 | } |
598 | |
599 | /** |
600 | * Returns the result of interpreting the object as an instance of '<em>CPU Demand Calculator</em>'. |
601 | * <!-- begin-user-doc --> |
602 | * This implementation returns null; |
603 | * returning a non-null result will terminate the switch. |
604 | * <!-- end-user-doc --> |
605 | * @param object the target of the switch. |
606 | * @return the result of interpreting the object as an instance of '<em>CPU Demand Calculator</em>'. |
607 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
608 | * @generated |
609 | */ |
610 | public T caseCPUDemandCalculator(CPUDemandCalculator object) { |
611 | return null; |
612 | } |
613 | |
614 | /** |
615 | * Returns the result of interpreting the object as an instance of '<em>HDD Demand Calculator</em>'. |
616 | * <!-- begin-user-doc --> |
617 | * This implementation returns null; |
618 | * returning a non-null result will terminate the switch. |
619 | * <!-- end-user-doc --> |
620 | * @param object the target of the switch. |
621 | * @return the result of interpreting the object as an instance of '<em>HDD Demand Calculator</em>'. |
622 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
623 | * @generated |
624 | */ |
625 | public T caseHDDDemandCalculator(HDDDemandCalculator object) { |
626 | return null; |
627 | } |
628 | |
629 | /** |
630 | * Returns the result of interpreting the object as an instance of '<em>Identifier</em>'. |
631 | * <!-- begin-user-doc --> |
632 | * This implementation returns null; |
633 | * returning a non-null result will terminate the switch. |
634 | * <!-- end-user-doc --> |
635 | * @param object the target of the switch. |
636 | * @return the result of interpreting the object as an instance of '<em>Identifier</em>'. |
637 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
638 | * @generated |
639 | */ |
640 | public T caseIdentifier(Identifier object) { |
641 | return null; |
642 | } |
643 | |
644 | /** |
645 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
646 | * <!-- begin-user-doc --> |
647 | * This implementation returns null; |
648 | * returning a non-null result will terminate the switch, but this is the last case anyway. |
649 | * <!-- end-user-doc --> |
650 | * @param object the target of the switch. |
651 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. |
652 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) |
653 | * @generated |
654 | */ |
655 | public T defaultCase(EObject object) { |
656 | return null; |
657 | } |
658 | |
659 | } //probespecSwitch |