| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package scheduler.configuration.util; |
| 8 | |
| 9 | import de.uka.ipd.sdq.identifier.Identifier; |
| 10 | |
| 11 | import java.util.List; |
| 12 | |
| 13 | import org.eclipse.emf.ecore.EClass; |
| 14 | import org.eclipse.emf.ecore.EObject; |
| 15 | |
| 16 | import scheduler.configuration.*; |
| 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 scheduler.configuration.ConfigurationPackage |
| 29 | * @generated |
| 30 | */ |
| 31 | public class ConfigurationSwitch<T> { |
| 32 | /** |
| 33 | * The cached model package |
| 34 | * <!-- begin-user-doc --> |
| 35 | * <!-- end-user-doc --> |
| 36 | * @generated |
| 37 | */ |
| 38 | protected static ConfigurationPackage modelPackage; |
| 39 | |
| 40 | /** |
| 41 | * Creates an instance of the switch. |
| 42 | * <!-- begin-user-doc --> |
| 43 | * <!-- end-user-doc --> |
| 44 | * @generated |
| 45 | */ |
| 46 | public ConfigurationSwitch() { |
| 47 | if (modelPackage == null) { |
| 48 | modelPackage = ConfigurationPackage.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 ConfigurationPackage.DYNAMIC_PRIORITY_BOOST_CONFIGURATIOIN: { |
| 93 | DynamicPriorityBoostConfiguratioin dynamicPriorityBoostConfiguratioin = (DynamicPriorityBoostConfiguratioin)theEObject; |
| 94 | T result = caseDynamicPriorityBoostConfiguratioin(dynamicPriorityBoostConfiguratioin); |
| 95 | if (result == null) result = casePriorityBoostConfiguration(dynamicPriorityBoostConfiguratioin); |
| 96 | if (result == null) result = defaultCase(theEObject); |
| 97 | return result; |
| 98 | } |
| 99 | case ConfigurationPackage.PRIORITY_BOOST_CONFIGURATION: { |
| 100 | PriorityBoostConfiguration priorityBoostConfiguration = (PriorityBoostConfiguration)theEObject; |
| 101 | T result = casePriorityBoostConfiguration(priorityBoostConfiguration); |
| 102 | if (result == null) result = defaultCase(theEObject); |
| 103 | return result; |
| 104 | } |
| 105 | case ConfigurationPackage.LOAD_BALANCING: { |
| 106 | LoadBalancing loadBalancing = (LoadBalancing)theEObject; |
| 107 | T result = caseLoadBalancing(loadBalancing); |
| 108 | if (result == null) result = defaultCase(theEObject); |
| 109 | return result; |
| 110 | } |
| 111 | case ConfigurationPackage.MULTIPLE_QUEUE_CONFIGURATION: { |
| 112 | MultipleQueueConfiguration multipleQueueConfiguration = (MultipleQueueConfiguration)theEObject; |
| 113 | T result = caseMultipleQueueConfiguration(multipleQueueConfiguration); |
| 114 | if (result == null) result = caseQueueingConfiguration(multipleQueueConfiguration); |
| 115 | if (result == null) result = defaultCase(theEObject); |
| 116 | return result; |
| 117 | } |
| 118 | case ConfigurationPackage.QUEUEING_CONFIGURATION: { |
| 119 | QueueingConfiguration queueingConfiguration = (QueueingConfiguration)theEObject; |
| 120 | T result = caseQueueingConfiguration(queueingConfiguration); |
| 121 | if (result == null) result = defaultCase(theEObject); |
| 122 | return result; |
| 123 | } |
| 124 | case ConfigurationPackage.QUANTUM_TIME_SLICE_CONFIGURATION: { |
| 125 | QuantumTimeSliceConfiguration quantumTimeSliceConfiguration = (QuantumTimeSliceConfiguration)theEObject; |
| 126 | T result = caseQuantumTimeSliceConfiguration(quantumTimeSliceConfiguration); |
| 127 | if (result == null) result = caseTimeSliceConfiguration(quantumTimeSliceConfiguration); |
| 128 | if (result == null) result = defaultCase(theEObject); |
| 129 | return result; |
| 130 | } |
| 131 | case ConfigurationPackage.TIME_SLICE_CONFIGURATION: { |
| 132 | TimeSliceConfiguration timeSliceConfiguration = (TimeSliceConfiguration)theEObject; |
| 133 | T result = caseTimeSliceConfiguration(timeSliceConfiguration); |
| 134 | if (result == null) result = defaultCase(theEObject); |
| 135 | return result; |
| 136 | } |
| 137 | case ConfigurationPackage.PREEMPTION_CONFIGURATION: { |
| 138 | PreemptionConfiguration preemptionConfiguration = (PreemptionConfiguration)theEObject; |
| 139 | T result = casePreemptionConfiguration(preemptionConfiguration); |
| 140 | if (result == null) result = defaultCase(theEObject); |
| 141 | return result; |
| 142 | } |
| 143 | case ConfigurationPackage.PRIORITY_CONFIGURATION: { |
| 144 | PriorityConfiguration priorityConfiguration = (PriorityConfiguration)theEObject; |
| 145 | T result = casePriorityConfiguration(priorityConfiguration); |
| 146 | if (result == null) result = defaultCase(theEObject); |
| 147 | return result; |
| 148 | } |
| 149 | case ConfigurationPackage.PRIORITY_RANGE: { |
| 150 | PriorityRange priorityRange = (PriorityRange)theEObject; |
| 151 | T result = casePriorityRange(priorityRange); |
| 152 | if (result == null) result = defaultCase(theEObject); |
| 153 | return result; |
| 154 | } |
| 155 | case ConfigurationPackage.PRIORITY_DEPENDENT_TIME_SLICE_CONFIGURATION: { |
| 156 | PriorityDependentTimeSliceConfiguration priorityDependentTimeSliceConfiguration = (PriorityDependentTimeSliceConfiguration)theEObject; |
| 157 | T result = casePriorityDependentTimeSliceConfiguration(priorityDependentTimeSliceConfiguration); |
| 158 | if (result == null) result = caseTimeSliceConfiguration(priorityDependentTimeSliceConfiguration); |
| 159 | if (result == null) result = defaultCase(theEObject); |
| 160 | return result; |
| 161 | } |
| 162 | case ConfigurationPackage.ACTIVE_RESOURCE_CONFIGURATION: { |
| 163 | ActiveResourceConfiguration activeResourceConfiguration = (ActiveResourceConfiguration)theEObject; |
| 164 | T result = caseActiveResourceConfiguration(activeResourceConfiguration); |
| 165 | if (result == null) result = caseIdentifier(activeResourceConfiguration); |
| 166 | if (result == null) result = defaultCase(theEObject); |
| 167 | return result; |
| 168 | } |
| 169 | case ConfigurationPackage.PASSIVE_RESOURCE_CONFIGURATION: { |
| 170 | PassiveResourceConfiguration passiveResourceConfiguration = (PassiveResourceConfiguration)theEObject; |
| 171 | T result = casePassiveResourceConfiguration(passiveResourceConfiguration); |
| 172 | if (result == null) result = caseIdentifier(passiveResourceConfiguration); |
| 173 | if (result == null) result = defaultCase(theEObject); |
| 174 | return result; |
| 175 | } |
| 176 | case ConfigurationPackage.STATIC_PRIORITY_BOOST: { |
| 177 | StaticPriorityBoost staticPriorityBoost = (StaticPriorityBoost)theEObject; |
| 178 | T result = caseStaticPriorityBoost(staticPriorityBoost); |
| 179 | if (result == null) result = defaultCase(theEObject); |
| 180 | return result; |
| 181 | } |
| 182 | case ConfigurationPackage.PROCESS_CONFIGURATION: { |
| 183 | ProcessConfiguration processConfiguration = (ProcessConfiguration)theEObject; |
| 184 | T result = caseProcessConfiguration(processConfiguration); |
| 185 | if (result == null) result = caseIdentifier(processConfiguration); |
| 186 | if (result == null) result = defaultCase(theEObject); |
| 187 | return result; |
| 188 | } |
| 189 | case ConfigurationPackage.SINGLE_QUEUE_CONFIGURATION: { |
| 190 | SingleQueueConfiguration singleQueueConfiguration = (SingleQueueConfiguration)theEObject; |
| 191 | T result = caseSingleQueueConfiguration(singleQueueConfiguration); |
| 192 | if (result == null) result = caseQueueingConfiguration(singleQueueConfiguration); |
| 193 | if (result == null) result = defaultCase(theEObject); |
| 194 | return result; |
| 195 | } |
| 196 | case ConfigurationPackage.STATIC_PRIORITY_BOOST_CONFIGURATION: { |
| 197 | StaticPriorityBoostConfiguration staticPriorityBoostConfiguration = (StaticPriorityBoostConfiguration)theEObject; |
| 198 | T result = caseStaticPriorityBoostConfiguration(staticPriorityBoostConfiguration); |
| 199 | if (result == null) result = casePriorityBoostConfiguration(staticPriorityBoostConfiguration); |
| 200 | if (result == null) result = defaultCase(theEObject); |
| 201 | return result; |
| 202 | } |
| 203 | case ConfigurationPackage.SCHEDULER_CONFIGURATION: { |
| 204 | SchedulerConfiguration schedulerConfiguration = (SchedulerConfiguration)theEObject; |
| 205 | T result = caseSchedulerConfiguration(schedulerConfiguration); |
| 206 | if (result == null) result = caseIdentifier(schedulerConfiguration); |
| 207 | if (result == null) result = defaultCase(theEObject); |
| 208 | return result; |
| 209 | } |
| 210 | case ConfigurationPackage.STARVATION_BOOST: { |
| 211 | StarvationBoost starvationBoost = (StarvationBoost)theEObject; |
| 212 | T result = caseStarvationBoost(starvationBoost); |
| 213 | if (result == null) result = defaultCase(theEObject); |
| 214 | return result; |
| 215 | } |
| 216 | default: return defaultCase(theEObject); |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * Returns the result of interpreting the object as an instance of '<em>Dynamic Priority Boost Configuratioin</em>'. |
| 222 | * <!-- begin-user-doc --> |
| 223 | * This implementation returns null; |
| 224 | * returning a non-null result will terminate the switch. |
| 225 | * <!-- end-user-doc --> |
| 226 | * @param object the target of the switch. |
| 227 | * @return the result of interpreting the object as an instance of '<em>Dynamic Priority Boost Configuratioin</em>'. |
| 228 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 229 | * @generated |
| 230 | */ |
| 231 | public T caseDynamicPriorityBoostConfiguratioin(DynamicPriorityBoostConfiguratioin object) { |
| 232 | return null; |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * Returns the result of interpreting the object as an instance of '<em>Priority Boost Configuration</em>'. |
| 237 | * <!-- begin-user-doc --> |
| 238 | * This implementation returns null; |
| 239 | * returning a non-null result will terminate the switch. |
| 240 | * <!-- end-user-doc --> |
| 241 | * @param object the target of the switch. |
| 242 | * @return the result of interpreting the object as an instance of '<em>Priority Boost Configuration</em>'. |
| 243 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 244 | * @generated |
| 245 | */ |
| 246 | public T casePriorityBoostConfiguration(PriorityBoostConfiguration object) { |
| 247 | return null; |
| 248 | } |
| 249 | |
| 250 | /** |
| 251 | * Returns the result of interpreting the object as an instance of '<em>Load Balancing</em>'. |
| 252 | * <!-- begin-user-doc --> |
| 253 | * This implementation returns null; |
| 254 | * returning a non-null result will terminate the switch. |
| 255 | * <!-- end-user-doc --> |
| 256 | * @param object the target of the switch. |
| 257 | * @return the result of interpreting the object as an instance of '<em>Load Balancing</em>'. |
| 258 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 259 | * @generated |
| 260 | */ |
| 261 | public T caseLoadBalancing(LoadBalancing object) { |
| 262 | return null; |
| 263 | } |
| 264 | |
| 265 | /** |
| 266 | * Returns the result of interpreting the object as an instance of '<em>Multiple Queue Configuration</em>'. |
| 267 | * <!-- begin-user-doc --> |
| 268 | * This implementation returns null; |
| 269 | * returning a non-null result will terminate the switch. |
| 270 | * <!-- end-user-doc --> |
| 271 | * @param object the target of the switch. |
| 272 | * @return the result of interpreting the object as an instance of '<em>Multiple Queue Configuration</em>'. |
| 273 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 274 | * @generated |
| 275 | */ |
| 276 | public T caseMultipleQueueConfiguration(MultipleQueueConfiguration object) { |
| 277 | return null; |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * Returns the result of interpreting the object as an instance of '<em>Queueing Configuration</em>'. |
| 282 | * <!-- begin-user-doc --> |
| 283 | * This implementation returns null; |
| 284 | * returning a non-null result will terminate the switch. |
| 285 | * <!-- end-user-doc --> |
| 286 | * @param object the target of the switch. |
| 287 | * @return the result of interpreting the object as an instance of '<em>Queueing Configuration</em>'. |
| 288 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 289 | * @generated |
| 290 | */ |
| 291 | public T caseQueueingConfiguration(QueueingConfiguration object) { |
| 292 | return null; |
| 293 | } |
| 294 | |
| 295 | /** |
| 296 | * Returns the result of interpreting the object as an instance of '<em>Quantum Time Slice Configuration</em>'. |
| 297 | * <!-- begin-user-doc --> |
| 298 | * This implementation returns null; |
| 299 | * returning a non-null result will terminate the switch. |
| 300 | * <!-- end-user-doc --> |
| 301 | * @param object the target of the switch. |
| 302 | * @return the result of interpreting the object as an instance of '<em>Quantum Time Slice Configuration</em>'. |
| 303 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 304 | * @generated |
| 305 | */ |
| 306 | public T caseQuantumTimeSliceConfiguration(QuantumTimeSliceConfiguration object) { |
| 307 | return null; |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * Returns the result of interpreting the object as an instance of '<em>Time Slice Configuration</em>'. |
| 312 | * <!-- begin-user-doc --> |
| 313 | * This implementation returns null; |
| 314 | * returning a non-null result will terminate the switch. |
| 315 | * <!-- end-user-doc --> |
| 316 | * @param object the target of the switch. |
| 317 | * @return the result of interpreting the object as an instance of '<em>Time Slice Configuration</em>'. |
| 318 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 319 | * @generated |
| 320 | */ |
| 321 | public T caseTimeSliceConfiguration(TimeSliceConfiguration object) { |
| 322 | return null; |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * Returns the result of interpreting the object as an instance of '<em>Preemption Configuration</em>'. |
| 327 | * <!-- begin-user-doc --> |
| 328 | * This implementation returns null; |
| 329 | * returning a non-null result will terminate the switch. |
| 330 | * <!-- end-user-doc --> |
| 331 | * @param object the target of the switch. |
| 332 | * @return the result of interpreting the object as an instance of '<em>Preemption Configuration</em>'. |
| 333 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 334 | * @generated |
| 335 | */ |
| 336 | public T casePreemptionConfiguration(PreemptionConfiguration object) { |
| 337 | return null; |
| 338 | } |
| 339 | |
| 340 | /** |
| 341 | * Returns the result of interpreting the object as an instance of '<em>Priority Configuration</em>'. |
| 342 | * <!-- begin-user-doc --> |
| 343 | * This implementation returns null; |
| 344 | * returning a non-null result will terminate the switch. |
| 345 | * <!-- end-user-doc --> |
| 346 | * @param object the target of the switch. |
| 347 | * @return the result of interpreting the object as an instance of '<em>Priority Configuration</em>'. |
| 348 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 349 | * @generated |
| 350 | */ |
| 351 | public T casePriorityConfiguration(PriorityConfiguration object) { |
| 352 | return null; |
| 353 | } |
| 354 | |
| 355 | /** |
| 356 | * Returns the result of interpreting the object as an instance of '<em>Priority Range</em>'. |
| 357 | * <!-- begin-user-doc --> |
| 358 | * This implementation returns null; |
| 359 | * returning a non-null result will terminate the switch. |
| 360 | * <!-- end-user-doc --> |
| 361 | * @param object the target of the switch. |
| 362 | * @return the result of interpreting the object as an instance of '<em>Priority Range</em>'. |
| 363 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 364 | * @generated |
| 365 | */ |
| 366 | public T casePriorityRange(PriorityRange object) { |
| 367 | return null; |
| 368 | } |
| 369 | |
| 370 | /** |
| 371 | * Returns the result of interpreting the object as an instance of '<em>Priority Dependent Time Slice Configuration</em>'. |
| 372 | * <!-- begin-user-doc --> |
| 373 | * This implementation returns null; |
| 374 | * returning a non-null result will terminate the switch. |
| 375 | * <!-- end-user-doc --> |
| 376 | * @param object the target of the switch. |
| 377 | * @return the result of interpreting the object as an instance of '<em>Priority Dependent Time Slice Configuration</em>'. |
| 378 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 379 | * @generated |
| 380 | */ |
| 381 | public T casePriorityDependentTimeSliceConfiguration(PriorityDependentTimeSliceConfiguration object) { |
| 382 | return null; |
| 383 | } |
| 384 | |
| 385 | /** |
| 386 | * Returns the result of interpreting the object as an instance of '<em>Active Resource Configuration</em>'. |
| 387 | * <!-- begin-user-doc --> |
| 388 | * This implementation returns null; |
| 389 | * returning a non-null result will terminate the switch. |
| 390 | * <!-- end-user-doc --> |
| 391 | * @param object the target of the switch. |
| 392 | * @return the result of interpreting the object as an instance of '<em>Active Resource Configuration</em>'. |
| 393 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 394 | * @generated |
| 395 | */ |
| 396 | public T caseActiveResourceConfiguration(ActiveResourceConfiguration object) { |
| 397 | return null; |
| 398 | } |
| 399 | |
| 400 | /** |
| 401 | * Returns the result of interpreting the object as an instance of '<em>Passive Resource Configuration</em>'. |
| 402 | * <!-- begin-user-doc --> |
| 403 | * This implementation returns null; |
| 404 | * returning a non-null result will terminate the switch. |
| 405 | * <!-- end-user-doc --> |
| 406 | * @param object the target of the switch. |
| 407 | * @return the result of interpreting the object as an instance of '<em>Passive Resource Configuration</em>'. |
| 408 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 409 | * @generated |
| 410 | */ |
| 411 | public T casePassiveResourceConfiguration(PassiveResourceConfiguration object) { |
| 412 | return null; |
| 413 | } |
| 414 | |
| 415 | /** |
| 416 | * Returns the result of interpreting the object as an instance of '<em>Static Priority Boost</em>'. |
| 417 | * <!-- begin-user-doc --> |
| 418 | * This implementation returns null; |
| 419 | * returning a non-null result will terminate the switch. |
| 420 | * <!-- end-user-doc --> |
| 421 | * @param object the target of the switch. |
| 422 | * @return the result of interpreting the object as an instance of '<em>Static Priority Boost</em>'. |
| 423 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 424 | * @generated |
| 425 | */ |
| 426 | public T caseStaticPriorityBoost(StaticPriorityBoost object) { |
| 427 | return null; |
| 428 | } |
| 429 | |
| 430 | /** |
| 431 | * Returns the result of interpreting the object as an instance of '<em>Process Configuration</em>'. |
| 432 | * <!-- begin-user-doc --> |
| 433 | * This implementation returns null; |
| 434 | * returning a non-null result will terminate the switch. |
| 435 | * <!-- end-user-doc --> |
| 436 | * @param object the target of the switch. |
| 437 | * @return the result of interpreting the object as an instance of '<em>Process Configuration</em>'. |
| 438 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 439 | * @generated |
| 440 | */ |
| 441 | public T caseProcessConfiguration(ProcessConfiguration object) { |
| 442 | return null; |
| 443 | } |
| 444 | |
| 445 | /** |
| 446 | * Returns the result of interpreting the object as an instance of '<em>Single Queue Configuration</em>'. |
| 447 | * <!-- begin-user-doc --> |
| 448 | * This implementation returns null; |
| 449 | * returning a non-null result will terminate the switch. |
| 450 | * <!-- end-user-doc --> |
| 451 | * @param object the target of the switch. |
| 452 | * @return the result of interpreting the object as an instance of '<em>Single Queue Configuration</em>'. |
| 453 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 454 | * @generated |
| 455 | */ |
| 456 | public T caseSingleQueueConfiguration(SingleQueueConfiguration object) { |
| 457 | return null; |
| 458 | } |
| 459 | |
| 460 | /** |
| 461 | * Returns the result of interpreting the object as an instance of '<em>Static Priority Boost Configuration</em>'. |
| 462 | * <!-- begin-user-doc --> |
| 463 | * This implementation returns null; |
| 464 | * returning a non-null result will terminate the switch. |
| 465 | * <!-- end-user-doc --> |
| 466 | * @param object the target of the switch. |
| 467 | * @return the result of interpreting the object as an instance of '<em>Static Priority Boost Configuration</em>'. |
| 468 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 469 | * @generated |
| 470 | */ |
| 471 | public T caseStaticPriorityBoostConfiguration(StaticPriorityBoostConfiguration object) { |
| 472 | return null; |
| 473 | } |
| 474 | |
| 475 | /** |
| 476 | * Returns the result of interpreting the object as an instance of '<em>Scheduler Configuration</em>'. |
| 477 | * <!-- begin-user-doc --> |
| 478 | * This implementation returns null; |
| 479 | * returning a non-null result will terminate the switch. |
| 480 | * <!-- end-user-doc --> |
| 481 | * @param object the target of the switch. |
| 482 | * @return the result of interpreting the object as an instance of '<em>Scheduler Configuration</em>'. |
| 483 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 484 | * @generated |
| 485 | */ |
| 486 | public T caseSchedulerConfiguration(SchedulerConfiguration object) { |
| 487 | return null; |
| 488 | } |
| 489 | |
| 490 | /** |
| 491 | * Returns the result of interpreting the object as an instance of '<em>Starvation Boost</em>'. |
| 492 | * <!-- begin-user-doc --> |
| 493 | * This implementation returns null; |
| 494 | * returning a non-null result will terminate the switch. |
| 495 | * <!-- end-user-doc --> |
| 496 | * @param object the target of the switch. |
| 497 | * @return the result of interpreting the object as an instance of '<em>Starvation Boost</em>'. |
| 498 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 499 | * @generated |
| 500 | */ |
| 501 | public T caseStarvationBoost(StarvationBoost object) { |
| 502 | return null; |
| 503 | } |
| 504 | |
| 505 | /** |
| 506 | * Returns the result of interpreting the object as an instance of '<em>Identifier</em>'. |
| 507 | * <!-- begin-user-doc --> |
| 508 | * This implementation returns null; |
| 509 | * returning a non-null result will terminate the switch. |
| 510 | * <!-- end-user-doc --> |
| 511 | * @param object the target of the switch. |
| 512 | * @return the result of interpreting the object as an instance of '<em>Identifier</em>'. |
| 513 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) |
| 514 | * @generated |
| 515 | */ |
| 516 | public T caseIdentifier(Identifier object) { |
| 517 | return null; |
| 518 | } |
| 519 | |
| 520 | /** |
| 521 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. |
| 522 | * <!-- begin-user-doc --> |
| 523 | * This implementation returns null; |
| 524 | * returning a non-null result will terminate the switch, but this is the last case anyway. |
| 525 | * <!-- end-user-doc --> |
| 526 | * @param object the target of the switch. |
| 527 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. |
| 528 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) |
| 529 | * @generated |
| 530 | */ |
| 531 | public T defaultCase(EObject object) { |
| 532 | return null; |
| 533 | } |
| 534 | |
| 535 | } //ConfigurationSwitch |