| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package scheduler.configuration.impl; |
| 8 | |
| 9 | import de.uka.ipd.sdq.identifier.IdentifierPackage; |
| 10 | |
| 11 | import org.eclipse.emf.ecore.EAttribute; |
| 12 | import org.eclipse.emf.ecore.EClass; |
| 13 | import org.eclipse.emf.ecore.EEnum; |
| 14 | import org.eclipse.emf.ecore.EPackage; |
| 15 | import org.eclipse.emf.ecore.EReference; |
| 16 | |
| 17 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
| 18 | |
| 19 | import scheduler.SchedulerPackage; |
| 20 | |
| 21 | import scheduler.configuration.ActiveResourceConfiguration; |
| 22 | import scheduler.configuration.ConfigurationFactory; |
| 23 | import scheduler.configuration.ConfigurationPackage; |
| 24 | import scheduler.configuration.DynamicPriorityBoostConfiguratioin; |
| 25 | import scheduler.configuration.InstanceToBalance; |
| 26 | import scheduler.configuration.LoadBalancing; |
| 27 | import scheduler.configuration.LoadBalancingType; |
| 28 | import scheduler.configuration.MultipleQueueConfiguration; |
| 29 | import scheduler.configuration.PassiveResourceConfiguration; |
| 30 | import scheduler.configuration.PassiveResourceType; |
| 31 | import scheduler.configuration.PreemptionConfiguration; |
| 32 | import scheduler.configuration.PreferredPriority; |
| 33 | import scheduler.configuration.PreferredWaitingTime; |
| 34 | import scheduler.configuration.PriorityBoostConfiguration; |
| 35 | import scheduler.configuration.PriorityClass; |
| 36 | import scheduler.configuration.PriorityConfiguration; |
| 37 | import scheduler.configuration.PriorityDegradation; |
| 38 | import scheduler.configuration.PriorityDependentTimeSliceConfiguration; |
| 39 | import scheduler.configuration.PriorityRange; |
| 40 | import scheduler.configuration.ProcessConfiguration; |
| 41 | import scheduler.configuration.ProcessSelection; |
| 42 | import scheduler.configuration.QuantumTimeSliceConfiguration; |
| 43 | import scheduler.configuration.QueueingConfiguration; |
| 44 | import scheduler.configuration.ResourceInstanceSelection; |
| 45 | import scheduler.configuration.RunQueueType; |
| 46 | import scheduler.configuration.SchedulerConfiguration; |
| 47 | import scheduler.configuration.SingleQueueConfiguration; |
| 48 | import scheduler.configuration.StarvationBoost; |
| 49 | import scheduler.configuration.StaticPriorityBoost; |
| 50 | import scheduler.configuration.StaticPriorityBoostConfiguration; |
| 51 | import scheduler.configuration.TimeSliceConfiguration; |
| 52 | |
| 53 | import scheduler.impl.SchedulerPackageImpl; |
| 54 | |
| 55 | /** |
| 56 | * <!-- begin-user-doc --> |
| 57 | * An implementation of the model <b>Package</b>. |
| 58 | * <!-- end-user-doc --> |
| 59 | * @generated |
| 60 | */ |
| 61 | public class ConfigurationPackageImpl extends EPackageImpl implements ConfigurationPackage { |
| 62 | /** |
| 63 | * <!-- begin-user-doc --> |
| 64 | * <!-- end-user-doc --> |
| 65 | * @generated |
| 66 | */ |
| 67 | private EClass dynamicPriorityBoostConfiguratioinEClass = null; |
| 68 | |
| 69 | /** |
| 70 | * <!-- begin-user-doc --> |
| 71 | * <!-- end-user-doc --> |
| 72 | * @generated |
| 73 | */ |
| 74 | private EClass priorityBoostConfigurationEClass = null; |
| 75 | |
| 76 | /** |
| 77 | * <!-- begin-user-doc --> |
| 78 | * <!-- end-user-doc --> |
| 79 | * @generated |
| 80 | */ |
| 81 | private EClass loadBalancingEClass = null; |
| 82 | |
| 83 | /** |
| 84 | * <!-- begin-user-doc --> |
| 85 | * <!-- end-user-doc --> |
| 86 | * @generated |
| 87 | */ |
| 88 | private EClass multipleQueueConfigurationEClass = null; |
| 89 | |
| 90 | /** |
| 91 | * <!-- begin-user-doc --> |
| 92 | * <!-- end-user-doc --> |
| 93 | * @generated |
| 94 | */ |
| 95 | private EClass queueingConfigurationEClass = null; |
| 96 | |
| 97 | /** |
| 98 | * <!-- begin-user-doc --> |
| 99 | * <!-- end-user-doc --> |
| 100 | * @generated |
| 101 | */ |
| 102 | private EClass quantumTimeSliceConfigurationEClass = null; |
| 103 | |
| 104 | /** |
| 105 | * <!-- begin-user-doc --> |
| 106 | * <!-- end-user-doc --> |
| 107 | * @generated |
| 108 | */ |
| 109 | private EClass timeSliceConfigurationEClass = null; |
| 110 | |
| 111 | /** |
| 112 | * <!-- begin-user-doc --> |
| 113 | * <!-- end-user-doc --> |
| 114 | * @generated |
| 115 | */ |
| 116 | private EClass preemptionConfigurationEClass = null; |
| 117 | |
| 118 | /** |
| 119 | * <!-- begin-user-doc --> |
| 120 | * <!-- end-user-doc --> |
| 121 | * @generated |
| 122 | */ |
| 123 | private EClass priorityConfigurationEClass = null; |
| 124 | |
| 125 | /** |
| 126 | * <!-- begin-user-doc --> |
| 127 | * <!-- end-user-doc --> |
| 128 | * @generated |
| 129 | */ |
| 130 | private EClass priorityRangeEClass = null; |
| 131 | |
| 132 | /** |
| 133 | * <!-- begin-user-doc --> |
| 134 | * <!-- end-user-doc --> |
| 135 | * @generated |
| 136 | */ |
| 137 | private EClass priorityDependentTimeSliceConfigurationEClass = null; |
| 138 | |
| 139 | /** |
| 140 | * <!-- begin-user-doc --> |
| 141 | * <!-- end-user-doc --> |
| 142 | * @generated |
| 143 | */ |
| 144 | private EClass activeResourceConfigurationEClass = null; |
| 145 | |
| 146 | /** |
| 147 | * <!-- begin-user-doc --> |
| 148 | * <!-- end-user-doc --> |
| 149 | * @generated |
| 150 | */ |
| 151 | private EClass passiveResourceConfigurationEClass = null; |
| 152 | |
| 153 | /** |
| 154 | * <!-- begin-user-doc --> |
| 155 | * <!-- end-user-doc --> |
| 156 | * @generated |
| 157 | */ |
| 158 | private EClass staticPriorityBoostEClass = null; |
| 159 | |
| 160 | /** |
| 161 | * <!-- begin-user-doc --> |
| 162 | * <!-- end-user-doc --> |
| 163 | * @generated |
| 164 | */ |
| 165 | private EClass processConfigurationEClass = null; |
| 166 | |
| 167 | /** |
| 168 | * <!-- begin-user-doc --> |
| 169 | * <!-- end-user-doc --> |
| 170 | * @generated |
| 171 | */ |
| 172 | private EClass singleQueueConfigurationEClass = null; |
| 173 | |
| 174 | /** |
| 175 | * <!-- begin-user-doc --> |
| 176 | * <!-- end-user-doc --> |
| 177 | * @generated |
| 178 | */ |
| 179 | private EClass staticPriorityBoostConfigurationEClass = null; |
| 180 | |
| 181 | /** |
| 182 | * <!-- begin-user-doc --> |
| 183 | * <!-- end-user-doc --> |
| 184 | * @generated |
| 185 | */ |
| 186 | private EClass schedulerConfigurationEClass = null; |
| 187 | |
| 188 | /** |
| 189 | * <!-- begin-user-doc --> |
| 190 | * <!-- end-user-doc --> |
| 191 | * @generated |
| 192 | */ |
| 193 | private EClass starvationBoostEClass = null; |
| 194 | |
| 195 | /** |
| 196 | * <!-- begin-user-doc --> |
| 197 | * <!-- end-user-doc --> |
| 198 | * @generated |
| 199 | */ |
| 200 | private EEnum instanceToBalanceEEnum = null; |
| 201 | |
| 202 | /** |
| 203 | * <!-- begin-user-doc --> |
| 204 | * <!-- end-user-doc --> |
| 205 | * @generated |
| 206 | */ |
| 207 | private EEnum loadBalancingTypeEEnum = null; |
| 208 | |
| 209 | /** |
| 210 | * <!-- begin-user-doc --> |
| 211 | * <!-- end-user-doc --> |
| 212 | * @generated |
| 213 | */ |
| 214 | private EEnum preferredWaitingTimeEEnum = null; |
| 215 | |
| 216 | /** |
| 217 | * <!-- begin-user-doc --> |
| 218 | * <!-- end-user-doc --> |
| 219 | * @generated |
| 220 | */ |
| 221 | private EEnum preferredPriorityEEnum = null; |
| 222 | |
| 223 | /** |
| 224 | * <!-- begin-user-doc --> |
| 225 | * <!-- end-user-doc --> |
| 226 | * @generated |
| 227 | */ |
| 228 | private EEnum resourceInstanceSelectionEEnum = null; |
| 229 | |
| 230 | /** |
| 231 | * <!-- begin-user-doc --> |
| 232 | * <!-- end-user-doc --> |
| 233 | * @generated |
| 234 | */ |
| 235 | private EEnum runQueueTypeEEnum = null; |
| 236 | |
| 237 | /** |
| 238 | * <!-- begin-user-doc --> |
| 239 | * <!-- end-user-doc --> |
| 240 | * @generated |
| 241 | */ |
| 242 | private EEnum priorityClassEEnum = null; |
| 243 | |
| 244 | /** |
| 245 | * <!-- begin-user-doc --> |
| 246 | * <!-- end-user-doc --> |
| 247 | * @generated |
| 248 | */ |
| 249 | private EEnum priorityDegradationEEnum = null; |
| 250 | |
| 251 | /** |
| 252 | * <!-- begin-user-doc --> |
| 253 | * <!-- end-user-doc --> |
| 254 | * @generated |
| 255 | */ |
| 256 | private EEnum processSelectionEEnum = null; |
| 257 | |
| 258 | /** |
| 259 | * <!-- begin-user-doc --> |
| 260 | * <!-- end-user-doc --> |
| 261 | * @generated |
| 262 | */ |
| 263 | private EEnum passiveResourceTypeEEnum = null; |
| 264 | |
| 265 | /** |
| 266 | * Creates an instance of the model <b>Package</b>, registered with |
| 267 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| 268 | * package URI value. |
| 269 | * <p>Note: the correct way to create the package is via the static |
| 270 | * factory method {@link #init init()}, which also performs |
| 271 | * initialization of the package, or returns the registered package, |
| 272 | * if one already exists. |
| 273 | * <!-- begin-user-doc --> |
| 274 | * <!-- end-user-doc --> |
| 275 | * @see org.eclipse.emf.ecore.EPackage.Registry |
| 276 | * @see scheduler.configuration.ConfigurationPackage#eNS_URI |
| 277 | * @see #init() |
| 278 | * @generated |
| 279 | */ |
| 280 | private ConfigurationPackageImpl() { |
| 281 | super(eNS_URI, ConfigurationFactory.eINSTANCE); |
| 282 | } |
| 283 | |
| 284 | /** |
| 285 | * <!-- begin-user-doc --> |
| 286 | * <!-- end-user-doc --> |
| 287 | * @generated |
| 288 | */ |
| 289 | private static boolean isInited = false; |
| 290 | |
| 291 | /** |
| 292 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| 293 | * |
| 294 | * <p>This method is used to initialize {@link ConfigurationPackage#eINSTANCE} when that field is accessed. |
| 295 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| 296 | * <!-- begin-user-doc --> |
| 297 | * <!-- end-user-doc --> |
| 298 | * @see #eNS_URI |
| 299 | * @see #createPackageContents() |
| 300 | * @see #initializePackageContents() |
| 301 | * @generated |
| 302 | */ |
| 303 | public static ConfigurationPackage init() { |
| 304 | if (isInited) return (ConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ConfigurationPackage.eNS_URI); |
| 305 | |
| 306 | // Obtain or create and register package |
| 307 | ConfigurationPackageImpl theConfigurationPackage = (ConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConfigurationPackageImpl()); |
| 308 | |
| 309 | isInited = true; |
| 310 | |
| 311 | // Initialize simple dependencies |
| 312 | IdentifierPackage.eINSTANCE.eClass(); |
| 313 | |
| 314 | // Obtain or create and register interdependencies |
| 315 | SchedulerPackageImpl theSchedulerPackage = (SchedulerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SchedulerPackage.eNS_URI) instanceof SchedulerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SchedulerPackage.eNS_URI) : SchedulerPackage.eINSTANCE); |
| 316 | |
| 317 | // Create package meta-data objects |
| 318 | theConfigurationPackage.createPackageContents(); |
| 319 | theSchedulerPackage.createPackageContents(); |
| 320 | |
| 321 | // Initialize created meta-data |
| 322 | theConfigurationPackage.initializePackageContents(); |
| 323 | theSchedulerPackage.initializePackageContents(); |
| 324 | |
| 325 | // Mark meta-data to indicate it can't be changed |
| 326 | theConfigurationPackage.freeze(); |
| 327 | |
| 328 | |
| 329 | // Update the registry and return the package |
| 330 | EPackage.Registry.INSTANCE.put(ConfigurationPackage.eNS_URI, theConfigurationPackage); |
| 331 | return theConfigurationPackage; |
| 332 | } |
| 333 | |
| 334 | /** |
| 335 | * <!-- begin-user-doc --> |
| 336 | * <!-- end-user-doc --> |
| 337 | * @generated |
| 338 | */ |
| 339 | public EClass getDynamicPriorityBoostConfiguratioin() { |
| 340 | return dynamicPriorityBoostConfiguratioinEClass; |
| 341 | } |
| 342 | |
| 343 | /** |
| 344 | * <!-- begin-user-doc --> |
| 345 | * <!-- end-user-doc --> |
| 346 | * @generated |
| 347 | */ |
| 348 | public EAttribute getDynamicPriorityBoostConfiguratioin_MaxBonus() { |
| 349 | return (EAttribute)dynamicPriorityBoostConfiguratioinEClass.getEStructuralFeatures().get(0); |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * <!-- begin-user-doc --> |
| 354 | * <!-- end-user-doc --> |
| 355 | * @generated |
| 356 | */ |
| 357 | public EAttribute getDynamicPriorityBoostConfiguratioin_Threshold() { |
| 358 | return (EAttribute)dynamicPriorityBoostConfiguratioinEClass.getEStructuralFeatures().get(1); |
| 359 | } |
| 360 | |
| 361 | /** |
| 362 | * <!-- begin-user-doc --> |
| 363 | * <!-- end-user-doc --> |
| 364 | * @generated |
| 365 | */ |
| 366 | public EAttribute getDynamicPriorityBoostConfiguratioin_MaxSleepAverage() { |
| 367 | return (EAttribute)dynamicPriorityBoostConfiguratioinEClass.getEStructuralFeatures().get(2); |
| 368 | } |
| 369 | |
| 370 | /** |
| 371 | * <!-- begin-user-doc --> |
| 372 | * <!-- end-user-doc --> |
| 373 | * @generated |
| 374 | */ |
| 375 | public EClass getPriorityBoostConfiguration() { |
| 376 | return priorityBoostConfigurationEClass; |
| 377 | } |
| 378 | |
| 379 | /** |
| 380 | * <!-- begin-user-doc --> |
| 381 | * <!-- end-user-doc --> |
| 382 | * @generated |
| 383 | */ |
| 384 | public EClass getLoadBalancing() { |
| 385 | return loadBalancingEClass; |
| 386 | } |
| 387 | |
| 388 | /** |
| 389 | * <!-- begin-user-doc --> |
| 390 | * <!-- end-user-doc --> |
| 391 | * @generated |
| 392 | */ |
| 393 | public EAttribute getLoadBalancing_BalancingType() { |
| 394 | return (EAttribute)loadBalancingEClass.getEStructuralFeatures().get(0); |
| 395 | } |
| 396 | |
| 397 | /** |
| 398 | * <!-- begin-user-doc --> |
| 399 | * <!-- end-user-doc --> |
| 400 | * @generated |
| 401 | */ |
| 402 | public EAttribute getLoadBalancing_PreferredWaitingTime() { |
| 403 | return (EAttribute)loadBalancingEClass.getEStructuralFeatures().get(1); |
| 404 | } |
| 405 | |
| 406 | /** |
| 407 | * <!-- begin-user-doc --> |
| 408 | * <!-- end-user-doc --> |
| 409 | * @generated |
| 410 | */ |
| 411 | public EAttribute getLoadBalancing_PreferredPriority() { |
| 412 | return (EAttribute)loadBalancingEClass.getEStructuralFeatures().get(2); |
| 413 | } |
| 414 | |
| 415 | /** |
| 416 | * <!-- begin-user-doc --> |
| 417 | * <!-- end-user-doc --> |
| 418 | * @generated |
| 419 | */ |
| 420 | public EAttribute getLoadBalancing_Instances() { |
| 421 | return (EAttribute)loadBalancingEClass.getEStructuralFeatures().get(3); |
| 422 | } |
| 423 | |
| 424 | /** |
| 425 | * <!-- begin-user-doc --> |
| 426 | * <!-- end-user-doc --> |
| 427 | * @generated |
| 428 | */ |
| 429 | public EAttribute getLoadBalancing_Threshold() { |
| 430 | return (EAttribute)loadBalancingEClass.getEStructuralFeatures().get(4); |
| 431 | } |
| 432 | |
| 433 | /** |
| 434 | * <!-- begin-user-doc --> |
| 435 | * <!-- end-user-doc --> |
| 436 | * @generated |
| 437 | */ |
| 438 | public EAttribute getLoadBalancing_MaxIterations() { |
| 439 | return (EAttribute)loadBalancingEClass.getEStructuralFeatures().get(5); |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * <!-- begin-user-doc --> |
| 444 | * <!-- end-user-doc --> |
| 445 | * @generated |
| 446 | */ |
| 447 | public EAttribute getLoadBalancing_BalancingInterval() { |
| 448 | return (EAttribute)loadBalancingEClass.getEStructuralFeatures().get(6); |
| 449 | } |
| 450 | |
| 451 | /** |
| 452 | * <!-- begin-user-doc --> |
| 453 | * <!-- end-user-doc --> |
| 454 | * @generated |
| 455 | */ |
| 456 | public EClass getMultipleQueueConfiguration() { |
| 457 | return multipleQueueConfigurationEClass; |
| 458 | } |
| 459 | |
| 460 | /** |
| 461 | * <!-- begin-user-doc --> |
| 462 | * <!-- end-user-doc --> |
| 463 | * @generated |
| 464 | */ |
| 465 | public EReference getMultipleQueueConfiguration_LoadBalancing() { |
| 466 | return (EReference)multipleQueueConfigurationEClass.getEStructuralFeatures().get(0); |
| 467 | } |
| 468 | |
| 469 | /** |
| 470 | * <!-- begin-user-doc --> |
| 471 | * <!-- end-user-doc --> |
| 472 | * @generated |
| 473 | */ |
| 474 | public EAttribute getMultipleQueueConfiguration_InFrontWhenBalancing() { |
| 475 | return (EAttribute)multipleQueueConfigurationEClass.getEStructuralFeatures().get(1); |
| 476 | } |
| 477 | |
| 478 | /** |
| 479 | * <!-- begin-user-doc --> |
| 480 | * <!-- end-user-doc --> |
| 481 | * @generated |
| 482 | */ |
| 483 | public EClass getQueueingConfiguration() { |
| 484 | return queueingConfigurationEClass; |
| 485 | } |
| 486 | |
| 487 | /** |
| 488 | * <!-- begin-user-doc --> |
| 489 | * <!-- end-user-doc --> |
| 490 | * @generated |
| 491 | */ |
| 492 | public EAttribute getQueueingConfiguration_InitialInstanceSelection() { |
| 493 | return (EAttribute)queueingConfigurationEClass.getEStructuralFeatures().get(0); |
| 494 | } |
| 495 | |
| 496 | /** |
| 497 | * <!-- begin-user-doc --> |
| 498 | * <!-- end-user-doc --> |
| 499 | * @generated |
| 500 | */ |
| 501 | public EAttribute getQueueingConfiguration_RunqueueType() { |
| 502 | return (EAttribute)queueingConfigurationEClass.getEStructuralFeatures().get(1); |
| 503 | } |
| 504 | |
| 505 | /** |
| 506 | * <!-- begin-user-doc --> |
| 507 | * <!-- end-user-doc --> |
| 508 | * @generated |
| 509 | */ |
| 510 | public EClass getQuantumTimeSliceConfiguration() { |
| 511 | return quantumTimeSliceConfigurationEClass; |
| 512 | } |
| 513 | |
| 514 | /** |
| 515 | * <!-- begin-user-doc --> |
| 516 | * <!-- end-user-doc --> |
| 517 | * @generated |
| 518 | */ |
| 519 | public EAttribute getQuantumTimeSliceConfiguration_Quanta() { |
| 520 | return (EAttribute)quantumTimeSliceConfigurationEClass.getEStructuralFeatures().get(0); |
| 521 | } |
| 522 | |
| 523 | /** |
| 524 | * <!-- begin-user-doc --> |
| 525 | * <!-- end-user-doc --> |
| 526 | * @generated |
| 527 | */ |
| 528 | public EAttribute getQuantumTimeSliceConfiguration_MinQuanta() { |
| 529 | return (EAttribute)quantumTimeSliceConfigurationEClass.getEStructuralFeatures().get(1); |
| 530 | } |
| 531 | |
| 532 | /** |
| 533 | * <!-- begin-user-doc --> |
| 534 | * <!-- end-user-doc --> |
| 535 | * @generated |
| 536 | */ |
| 537 | public EClass getTimeSliceConfiguration() { |
| 538 | return timeSliceConfigurationEClass; |
| 539 | } |
| 540 | |
| 541 | /** |
| 542 | * <!-- begin-user-doc --> |
| 543 | * <!-- end-user-doc --> |
| 544 | * @generated |
| 545 | */ |
| 546 | public EAttribute getTimeSliceConfiguration_Timeslice() { |
| 547 | return (EAttribute)timeSliceConfigurationEClass.getEStructuralFeatures().get(0); |
| 548 | } |
| 549 | |
| 550 | /** |
| 551 | * <!-- begin-user-doc --> |
| 552 | * <!-- end-user-doc --> |
| 553 | * @generated |
| 554 | */ |
| 555 | public EClass getPreemptionConfiguration() { |
| 556 | return preemptionConfigurationEClass; |
| 557 | } |
| 558 | |
| 559 | /** |
| 560 | * <!-- begin-user-doc --> |
| 561 | * <!-- end-user-doc --> |
| 562 | * @generated |
| 563 | */ |
| 564 | public EReference getPreemptionConfiguration_TimesliceConfiguration() { |
| 565 | return (EReference)preemptionConfigurationEClass.getEStructuralFeatures().get(0); |
| 566 | } |
| 567 | |
| 568 | /** |
| 569 | * <!-- begin-user-doc --> |
| 570 | * <!-- end-user-doc --> |
| 571 | * @generated |
| 572 | */ |
| 573 | public EClass getPriorityConfiguration() { |
| 574 | return priorityConfigurationEClass; |
| 575 | } |
| 576 | |
| 577 | /** |
| 578 | * <!-- begin-user-doc --> |
| 579 | * <!-- end-user-doc --> |
| 580 | * @generated |
| 581 | */ |
| 582 | public EReference getPriorityConfiguration_Range() { |
| 583 | return (EReference)priorityConfigurationEClass.getEStructuralFeatures().get(0); |
| 584 | } |
| 585 | |
| 586 | /** |
| 587 | * <!-- begin-user-doc --> |
| 588 | * <!-- end-user-doc --> |
| 589 | * @generated |
| 590 | */ |
| 591 | public EReference getPriorityConfiguration_BoostConfiguration() { |
| 592 | return (EReference)priorityConfigurationEClass.getEStructuralFeatures().get(1); |
| 593 | } |
| 594 | |
| 595 | /** |
| 596 | * <!-- begin-user-doc --> |
| 597 | * <!-- end-user-doc --> |
| 598 | * @generated |
| 599 | */ |
| 600 | public EClass getPriorityRange() { |
| 601 | return priorityRangeEClass; |
| 602 | } |
| 603 | |
| 604 | /** |
| 605 | * <!-- begin-user-doc --> |
| 606 | * <!-- end-user-doc --> |
| 607 | * @generated |
| 608 | */ |
| 609 | public EAttribute getPriorityRange_Highest() { |
| 610 | return (EAttribute)priorityRangeEClass.getEStructuralFeatures().get(0); |
| 611 | } |
| 612 | |
| 613 | /** |
| 614 | * <!-- begin-user-doc --> |
| 615 | * <!-- end-user-doc --> |
| 616 | * @generated |
| 617 | */ |
| 618 | public EAttribute getPriorityRange_High() { |
| 619 | return (EAttribute)priorityRangeEClass.getEStructuralFeatures().get(1); |
| 620 | } |
| 621 | |
| 622 | /** |
| 623 | * <!-- begin-user-doc --> |
| 624 | * <!-- end-user-doc --> |
| 625 | * @generated |
| 626 | */ |
| 627 | public EAttribute getPriorityRange_Average() { |
| 628 | return (EAttribute)priorityRangeEClass.getEStructuralFeatures().get(2); |
| 629 | } |
| 630 | |
| 631 | /** |
| 632 | * <!-- begin-user-doc --> |
| 633 | * <!-- end-user-doc --> |
| 634 | * @generated |
| 635 | */ |
| 636 | public EAttribute getPriorityRange_Low() { |
| 637 | return (EAttribute)priorityRangeEClass.getEStructuralFeatures().get(3); |
| 638 | } |
| 639 | |
| 640 | /** |
| 641 | * <!-- begin-user-doc --> |
| 642 | * <!-- end-user-doc --> |
| 643 | * @generated |
| 644 | */ |
| 645 | public EAttribute getPriorityRange_Lowest() { |
| 646 | return (EAttribute)priorityRangeEClass.getEStructuralFeatures().get(4); |
| 647 | } |
| 648 | |
| 649 | /** |
| 650 | * <!-- begin-user-doc --> |
| 651 | * <!-- end-user-doc --> |
| 652 | * @generated |
| 653 | */ |
| 654 | public EAttribute getPriorityRange_Default() { |
| 655 | return (EAttribute)priorityRangeEClass.getEStructuralFeatures().get(5); |
| 656 | } |
| 657 | |
| 658 | /** |
| 659 | * <!-- begin-user-doc --> |
| 660 | * <!-- end-user-doc --> |
| 661 | * @generated |
| 662 | */ |
| 663 | public EClass getPriorityDependentTimeSliceConfiguration() { |
| 664 | return priorityDependentTimeSliceConfigurationEClass; |
| 665 | } |
| 666 | |
| 667 | /** |
| 668 | * <!-- begin-user-doc --> |
| 669 | * <!-- end-user-doc --> |
| 670 | * @generated |
| 671 | */ |
| 672 | public EAttribute getPriorityDependentTimeSliceConfiguration_MinTimeslice() { |
| 673 | return (EAttribute)priorityDependentTimeSliceConfigurationEClass.getEStructuralFeatures().get(0); |
| 674 | } |
| 675 | |
| 676 | /** |
| 677 | * <!-- begin-user-doc --> |
| 678 | * <!-- end-user-doc --> |
| 679 | * @generated |
| 680 | */ |
| 681 | public EAttribute getPriorityDependentTimeSliceConfiguration_MinTimeToBeScheduled() { |
| 682 | return (EAttribute)priorityDependentTimeSliceConfigurationEClass.getEStructuralFeatures().get(1); |
| 683 | } |
| 684 | |
| 685 | /** |
| 686 | * <!-- begin-user-doc --> |
| 687 | * <!-- end-user-doc --> |
| 688 | * @generated |
| 689 | */ |
| 690 | public EClass getActiveResourceConfiguration() { |
| 691 | return activeResourceConfigurationEClass; |
| 692 | } |
| 693 | |
| 694 | /** |
| 695 | * <!-- begin-user-doc --> |
| 696 | * <!-- end-user-doc --> |
| 697 | * @generated |
| 698 | */ |
| 699 | public EReference getActiveResourceConfiguration_SchedulerConfiguration() { |
| 700 | return (EReference)activeResourceConfigurationEClass.getEStructuralFeatures().get(0); |
| 701 | } |
| 702 | |
| 703 | /** |
| 704 | * <!-- begin-user-doc --> |
| 705 | * <!-- end-user-doc --> |
| 706 | * @generated |
| 707 | */ |
| 708 | public EAttribute getActiveResourceConfiguration_Replicas() { |
| 709 | return (EAttribute)activeResourceConfigurationEClass.getEStructuralFeatures().get(1); |
| 710 | } |
| 711 | |
| 712 | /** |
| 713 | * <!-- begin-user-doc --> |
| 714 | * <!-- end-user-doc --> |
| 715 | * @generated |
| 716 | */ |
| 717 | public EAttribute getActiveResourceConfiguration_Name() { |
| 718 | return (EAttribute)activeResourceConfigurationEClass.getEStructuralFeatures().get(2); |
| 719 | } |
| 720 | |
| 721 | /** |
| 722 | * <!-- begin-user-doc --> |
| 723 | * <!-- end-user-doc --> |
| 724 | * @generated |
| 725 | */ |
| 726 | public EClass getPassiveResourceConfiguration() { |
| 727 | return passiveResourceConfigurationEClass; |
| 728 | } |
| 729 | |
| 730 | /** |
| 731 | * <!-- begin-user-doc --> |
| 732 | * <!-- end-user-doc --> |
| 733 | * @generated |
| 734 | */ |
| 735 | public EReference getPassiveResourceConfiguration_StaticPriorityBoostConfiguration() { |
| 736 | return (EReference)passiveResourceConfigurationEClass.getEStructuralFeatures().get(0); |
| 737 | } |
| 738 | |
| 739 | /** |
| 740 | * <!-- begin-user-doc --> |
| 741 | * <!-- end-user-doc --> |
| 742 | * @generated |
| 743 | */ |
| 744 | public EAttribute getPassiveResourceConfiguration_Capacity() { |
| 745 | return (EAttribute)passiveResourceConfigurationEClass.getEStructuralFeatures().get(1); |
| 746 | } |
| 747 | |
| 748 | /** |
| 749 | * <!-- begin-user-doc --> |
| 750 | * <!-- end-user-doc --> |
| 751 | * @generated |
| 752 | */ |
| 753 | public EAttribute getPassiveResourceConfiguration_Type() { |
| 754 | return (EAttribute)passiveResourceConfigurationEClass.getEStructuralFeatures().get(2); |
| 755 | } |
| 756 | |
| 757 | /** |
| 758 | * <!-- begin-user-doc --> |
| 759 | * <!-- end-user-doc --> |
| 760 | * @generated |
| 761 | */ |
| 762 | public EAttribute getPassiveResourceConfiguration_Name() { |
| 763 | return (EAttribute)passiveResourceConfigurationEClass.getEStructuralFeatures().get(3); |
| 764 | } |
| 765 | |
| 766 | /** |
| 767 | * <!-- begin-user-doc --> |
| 768 | * <!-- end-user-doc --> |
| 769 | * @generated |
| 770 | */ |
| 771 | public EReference getPassiveResourceConfiguration_ManagingResource() { |
| 772 | return (EReference)passiveResourceConfigurationEClass.getEStructuralFeatures().get(4); |
| 773 | } |
| 774 | |
| 775 | /** |
| 776 | * <!-- begin-user-doc --> |
| 777 | * <!-- end-user-doc --> |
| 778 | * @generated |
| 779 | */ |
| 780 | public EAttribute getPassiveResourceConfiguration_AcquisitionDemand() { |
| 781 | return (EAttribute)passiveResourceConfigurationEClass.getEStructuralFeatures().get(5); |
| 782 | } |
| 783 | |
| 784 | /** |
| 785 | * <!-- begin-user-doc --> |
| 786 | * <!-- end-user-doc --> |
| 787 | * @generated |
| 788 | */ |
| 789 | public EClass getStaticPriorityBoost() { |
| 790 | return staticPriorityBoostEClass; |
| 791 | } |
| 792 | |
| 793 | /** |
| 794 | * <!-- begin-user-doc --> |
| 795 | * <!-- end-user-doc --> |
| 796 | * @generated |
| 797 | */ |
| 798 | public EAttribute getStaticPriorityBoost_ResetTimeslice() { |
| 799 | return (EAttribute)staticPriorityBoostEClass.getEStructuralFeatures().get(0); |
| 800 | } |
| 801 | |
| 802 | /** |
| 803 | * <!-- begin-user-doc --> |
| 804 | * <!-- end-user-doc --> |
| 805 | * @generated |
| 806 | */ |
| 807 | public EAttribute getStaticPriorityBoost_Bonus() { |
| 808 | return (EAttribute)staticPriorityBoostEClass.getEStructuralFeatures().get(1); |
| 809 | } |
| 810 | |
| 811 | /** |
| 812 | * <!-- begin-user-doc --> |
| 813 | * <!-- end-user-doc --> |
| 814 | * @generated |
| 815 | */ |
| 816 | public EAttribute getStaticPriorityBoost_Degradation() { |
| 817 | return (EAttribute)staticPriorityBoostEClass.getEStructuralFeatures().get(2); |
| 818 | } |
| 819 | |
| 820 | /** |
| 821 | * <!-- begin-user-doc --> |
| 822 | * <!-- end-user-doc --> |
| 823 | * @generated |
| 824 | */ |
| 825 | public EAttribute getStaticPriorityBoost_TimePenalty() { |
| 826 | return (EAttribute)staticPriorityBoostEClass.getEStructuralFeatures().get(3); |
| 827 | } |
| 828 | |
| 829 | /** |
| 830 | * <!-- begin-user-doc --> |
| 831 | * <!-- end-user-doc --> |
| 832 | * @generated |
| 833 | */ |
| 834 | public EClass getProcessConfiguration() { |
| 835 | return processConfigurationEClass; |
| 836 | } |
| 837 | |
| 838 | /** |
| 839 | * <!-- begin-user-doc --> |
| 840 | * <!-- end-user-doc --> |
| 841 | * @generated |
| 842 | */ |
| 843 | public EAttribute getProcessConfiguration_Priority() { |
| 844 | return (EAttribute)processConfigurationEClass.getEStructuralFeatures().get(0); |
| 845 | } |
| 846 | |
| 847 | /** |
| 848 | * <!-- begin-user-doc --> |
| 849 | * <!-- end-user-doc --> |
| 850 | * @generated |
| 851 | */ |
| 852 | public EAttribute getProcessConfiguration_Replicas() { |
| 853 | return (EAttribute)processConfigurationEClass.getEStructuralFeatures().get(1); |
| 854 | } |
| 855 | |
| 856 | /** |
| 857 | * <!-- begin-user-doc --> |
| 858 | * <!-- end-user-doc --> |
| 859 | * @generated |
| 860 | */ |
| 861 | public EAttribute getProcessConfiguration_Name() { |
| 862 | return (EAttribute)processConfigurationEClass.getEStructuralFeatures().get(2); |
| 863 | } |
| 864 | |
| 865 | /** |
| 866 | * <!-- begin-user-doc --> |
| 867 | * <!-- end-user-doc --> |
| 868 | * @generated |
| 869 | */ |
| 870 | public EAttribute getProcessConfiguration_AffinityList() { |
| 871 | return (EAttribute)processConfigurationEClass.getEStructuralFeatures().get(3); |
| 872 | } |
| 873 | |
| 874 | /** |
| 875 | * <!-- begin-user-doc --> |
| 876 | * <!-- end-user-doc --> |
| 877 | * @generated |
| 878 | */ |
| 879 | public EClass getSingleQueueConfiguration() { |
| 880 | return singleQueueConfigurationEClass; |
| 881 | } |
| 882 | |
| 883 | /** |
| 884 | * <!-- begin-user-doc --> |
| 885 | * <!-- end-user-doc --> |
| 886 | * @generated |
| 887 | */ |
| 888 | public EAttribute getSingleQueueConfiguration_ProcessSelection() { |
| 889 | return (EAttribute)singleQueueConfigurationEClass.getEStructuralFeatures().get(0); |
| 890 | } |
| 891 | |
| 892 | /** |
| 893 | * <!-- begin-user-doc --> |
| 894 | * <!-- end-user-doc --> |
| 895 | * @generated |
| 896 | */ |
| 897 | public EClass getStaticPriorityBoostConfiguration() { |
| 898 | return staticPriorityBoostConfigurationEClass; |
| 899 | } |
| 900 | |
| 901 | /** |
| 902 | * <!-- begin-user-doc --> |
| 903 | * <!-- end-user-doc --> |
| 904 | * @generated |
| 905 | */ |
| 906 | public EReference getStaticPriorityBoostConfiguration_StarvationBoost() { |
| 907 | return (EReference)staticPriorityBoostConfigurationEClass.getEStructuralFeatures().get(0); |
| 908 | } |
| 909 | |
| 910 | /** |
| 911 | * <!-- begin-user-doc --> |
| 912 | * <!-- end-user-doc --> |
| 913 | * @generated |
| 914 | */ |
| 915 | public EClass getSchedulerConfiguration() { |
| 916 | return schedulerConfigurationEClass; |
| 917 | } |
| 918 | |
| 919 | /** |
| 920 | * <!-- begin-user-doc --> |
| 921 | * <!-- end-user-doc --> |
| 922 | * @generated |
| 923 | */ |
| 924 | public EReference getSchedulerConfiguration_PriorityConfiguration() { |
| 925 | return (EReference)schedulerConfigurationEClass.getEStructuralFeatures().get(0); |
| 926 | } |
| 927 | |
| 928 | /** |
| 929 | * <!-- begin-user-doc --> |
| 930 | * <!-- end-user-doc --> |
| 931 | * @generated |
| 932 | */ |
| 933 | public EReference getSchedulerConfiguration_PreemptionConfiguration() { |
| 934 | return (EReference)schedulerConfigurationEClass.getEStructuralFeatures().get(1); |
| 935 | } |
| 936 | |
| 937 | /** |
| 938 | * <!-- begin-user-doc --> |
| 939 | * <!-- end-user-doc --> |
| 940 | * @generated |
| 941 | */ |
| 942 | public EAttribute getSchedulerConfiguration_Name() { |
| 943 | return (EAttribute)schedulerConfigurationEClass.getEStructuralFeatures().get(2); |
| 944 | } |
| 945 | |
| 946 | /** |
| 947 | * <!-- begin-user-doc --> |
| 948 | * <!-- end-user-doc --> |
| 949 | * @generated |
| 950 | */ |
| 951 | public EReference getSchedulerConfiguration_QueueingConfiguration() { |
| 952 | return (EReference)schedulerConfigurationEClass.getEStructuralFeatures().get(3); |
| 953 | } |
| 954 | |
| 955 | /** |
| 956 | * <!-- begin-user-doc --> |
| 957 | * <!-- end-user-doc --> |
| 958 | * @generated |
| 959 | */ |
| 960 | public EAttribute getSchedulerConfiguration_InFrontAfterWaiting() { |
| 961 | return (EAttribute)schedulerConfigurationEClass.getEStructuralFeatures().get(4); |
| 962 | } |
| 963 | |
| 964 | /** |
| 965 | * <!-- begin-user-doc --> |
| 966 | * <!-- end-user-doc --> |
| 967 | * @generated |
| 968 | */ |
| 969 | public EAttribute getSchedulerConfiguration_Windows() { |
| 970 | return (EAttribute)schedulerConfigurationEClass.getEStructuralFeatures().get(5); |
| 971 | } |
| 972 | |
| 973 | /** |
| 974 | * <!-- begin-user-doc --> |
| 975 | * <!-- end-user-doc --> |
| 976 | * @generated |
| 977 | */ |
| 978 | public EAttribute getSchedulerConfiguration_Interval() { |
| 979 | return (EAttribute)schedulerConfigurationEClass.getEStructuralFeatures().get(6); |
| 980 | } |
| 981 | |
| 982 | /** |
| 983 | * <!-- begin-user-doc --> |
| 984 | * <!-- end-user-doc --> |
| 985 | * @generated |
| 986 | */ |
| 987 | public EReference getSchedulerConfiguration_StarvationBoost() { |
| 988 | return (EReference)schedulerConfigurationEClass.getEStructuralFeatures().get(7); |
| 989 | } |
| 990 | |
| 991 | /** |
| 992 | * <!-- begin-user-doc --> |
| 993 | * <!-- end-user-doc --> |
| 994 | * @generated |
| 995 | */ |
| 996 | public EClass getStarvationBoost() { |
| 997 | return starvationBoostEClass; |
| 998 | } |
| 999 | |
| 1000 | /** |
| 1001 | * <!-- begin-user-doc --> |
| 1002 | * <!-- end-user-doc --> |
| 1003 | * @generated |
| 1004 | */ |
| 1005 | public EAttribute getStarvationBoost_StarvationLimit() { |
| 1006 | return (EAttribute)starvationBoostEClass.getEStructuralFeatures().get(0); |
| 1007 | } |
| 1008 | |
| 1009 | /** |
| 1010 | * <!-- begin-user-doc --> |
| 1011 | * <!-- end-user-doc --> |
| 1012 | * @generated |
| 1013 | */ |
| 1014 | public EAttribute getStarvationBoost_Boost() { |
| 1015 | return (EAttribute)starvationBoostEClass.getEStructuralFeatures().get(1); |
| 1016 | } |
| 1017 | |
| 1018 | /** |
| 1019 | * <!-- begin-user-doc --> |
| 1020 | * <!-- end-user-doc --> |
| 1021 | * @generated |
| 1022 | */ |
| 1023 | public EAttribute getStarvationBoost_DurationInTimeslices() { |
| 1024 | return (EAttribute)starvationBoostEClass.getEStructuralFeatures().get(2); |
| 1025 | } |
| 1026 | |
| 1027 | /** |
| 1028 | * <!-- begin-user-doc --> |
| 1029 | * <!-- end-user-doc --> |
| 1030 | * @generated |
| 1031 | */ |
| 1032 | public EEnum getInstanceToBalance() { |
| 1033 | return instanceToBalanceEEnum; |
| 1034 | } |
| 1035 | |
| 1036 | /** |
| 1037 | * <!-- begin-user-doc --> |
| 1038 | * <!-- end-user-doc --> |
| 1039 | * @generated |
| 1040 | */ |
| 1041 | public EEnum getLoadBalancingType() { |
| 1042 | return loadBalancingTypeEEnum; |
| 1043 | } |
| 1044 | |
| 1045 | /** |
| 1046 | * <!-- begin-user-doc --> |
| 1047 | * <!-- end-user-doc --> |
| 1048 | * @generated |
| 1049 | */ |
| 1050 | public EEnum getPreferredWaitingTime() { |
| 1051 | return preferredWaitingTimeEEnum; |
| 1052 | } |
| 1053 | |
| 1054 | /** |
| 1055 | * <!-- begin-user-doc --> |
| 1056 | * <!-- end-user-doc --> |
| 1057 | * @generated |
| 1058 | */ |
| 1059 | public EEnum getPreferredPriority() { |
| 1060 | return preferredPriorityEEnum; |
| 1061 | } |
| 1062 | |
| 1063 | /** |
| 1064 | * <!-- begin-user-doc --> |
| 1065 | * <!-- end-user-doc --> |
| 1066 | * @generated |
| 1067 | */ |
| 1068 | public EEnum getResourceInstanceSelection() { |
| 1069 | return resourceInstanceSelectionEEnum; |
| 1070 | } |
| 1071 | |
| 1072 | /** |
| 1073 | * <!-- begin-user-doc --> |
| 1074 | * <!-- end-user-doc --> |
| 1075 | * @generated |
| 1076 | */ |
| 1077 | public EEnum getRunQueueType() { |
| 1078 | return runQueueTypeEEnum; |
| 1079 | } |
| 1080 | |
| 1081 | /** |
| 1082 | * <!-- begin-user-doc --> |
| 1083 | * <!-- end-user-doc --> |
| 1084 | * @generated |
| 1085 | */ |
| 1086 | public EEnum getPriorityClass() { |
| 1087 | return priorityClassEEnum; |
| 1088 | } |
| 1089 | |
| 1090 | /** |
| 1091 | * <!-- begin-user-doc --> |
| 1092 | * <!-- end-user-doc --> |
| 1093 | * @generated |
| 1094 | */ |
| 1095 | public EEnum getPriorityDegradation() { |
| 1096 | return priorityDegradationEEnum; |
| 1097 | } |
| 1098 | |
| 1099 | /** |
| 1100 | * <!-- begin-user-doc --> |
| 1101 | * <!-- end-user-doc --> |
| 1102 | * @generated |
| 1103 | */ |
| 1104 | public EEnum getProcessSelection() { |
| 1105 | return processSelectionEEnum; |
| 1106 | } |
| 1107 | |
| 1108 | /** |
| 1109 | * <!-- begin-user-doc --> |
| 1110 | * <!-- end-user-doc --> |
| 1111 | * @generated |
| 1112 | */ |
| 1113 | public EEnum getPassiveResourceType() { |
| 1114 | return passiveResourceTypeEEnum; |
| 1115 | } |
| 1116 | |
| 1117 | /** |
| 1118 | * <!-- begin-user-doc --> |
| 1119 | * <!-- end-user-doc --> |
| 1120 | * @generated |
| 1121 | */ |
| 1122 | public ConfigurationFactory getConfigurationFactory() { |
| 1123 | return (ConfigurationFactory)getEFactoryInstance(); |
| 1124 | } |
| 1125 | |
| 1126 | /** |
| 1127 | * <!-- begin-user-doc --> |
| 1128 | * <!-- end-user-doc --> |
| 1129 | * @generated |
| 1130 | */ |
| 1131 | private boolean isCreated = false; |
| 1132 | |
| 1133 | /** |
| 1134 | * Creates the meta-model objects for the package. This method is |
| 1135 | * guarded to have no affect on any invocation but its first. |
| 1136 | * <!-- begin-user-doc --> |
| 1137 | * <!-- end-user-doc --> |
| 1138 | * @generated |
| 1139 | */ |
| 1140 | public void createPackageContents() { |
| 1141 | if (isCreated) return; |
| 1142 | isCreated = true; |
| 1143 | |
| 1144 | // Create classes and their features |
| 1145 | dynamicPriorityBoostConfiguratioinEClass = createEClass(DYNAMIC_PRIORITY_BOOST_CONFIGURATIOIN); |
| 1146 | createEAttribute(dynamicPriorityBoostConfiguratioinEClass, DYNAMIC_PRIORITY_BOOST_CONFIGURATIOIN__MAX_BONUS); |
| 1147 | createEAttribute(dynamicPriorityBoostConfiguratioinEClass, DYNAMIC_PRIORITY_BOOST_CONFIGURATIOIN__THRESHOLD); |
| 1148 | createEAttribute(dynamicPriorityBoostConfiguratioinEClass, DYNAMIC_PRIORITY_BOOST_CONFIGURATIOIN__MAX_SLEEP_AVERAGE); |
| 1149 | |
| 1150 | priorityBoostConfigurationEClass = createEClass(PRIORITY_BOOST_CONFIGURATION); |
| 1151 | |
| 1152 | loadBalancingEClass = createEClass(LOAD_BALANCING); |
| 1153 | createEAttribute(loadBalancingEClass, LOAD_BALANCING__BALANCING_TYPE); |
| 1154 | createEAttribute(loadBalancingEClass, LOAD_BALANCING__PREFERRED_WAITING_TIME); |
| 1155 | createEAttribute(loadBalancingEClass, LOAD_BALANCING__PREFERRED_PRIORITY); |
| 1156 | createEAttribute(loadBalancingEClass, LOAD_BALANCING__INSTANCES); |
| 1157 | createEAttribute(loadBalancingEClass, LOAD_BALANCING__THRESHOLD); |
| 1158 | createEAttribute(loadBalancingEClass, LOAD_BALANCING__MAX_ITERATIONS); |
| 1159 | createEAttribute(loadBalancingEClass, LOAD_BALANCING__BALANCING_INTERVAL); |
| 1160 | |
| 1161 | multipleQueueConfigurationEClass = createEClass(MULTIPLE_QUEUE_CONFIGURATION); |
| 1162 | createEReference(multipleQueueConfigurationEClass, MULTIPLE_QUEUE_CONFIGURATION__LOAD_BALANCING); |
| 1163 | createEAttribute(multipleQueueConfigurationEClass, MULTIPLE_QUEUE_CONFIGURATION__IN_FRONT_WHEN_BALANCING); |
| 1164 | |
| 1165 | queueingConfigurationEClass = createEClass(QUEUEING_CONFIGURATION); |
| 1166 | createEAttribute(queueingConfigurationEClass, QUEUEING_CONFIGURATION__INITIAL_INSTANCE_SELECTION); |
| 1167 | createEAttribute(queueingConfigurationEClass, QUEUEING_CONFIGURATION__RUNQUEUE_TYPE); |
| 1168 | |
| 1169 | quantumTimeSliceConfigurationEClass = createEClass(QUANTUM_TIME_SLICE_CONFIGURATION); |
| 1170 | createEAttribute(quantumTimeSliceConfigurationEClass, QUANTUM_TIME_SLICE_CONFIGURATION__QUANTA); |
| 1171 | createEAttribute(quantumTimeSliceConfigurationEClass, QUANTUM_TIME_SLICE_CONFIGURATION__MIN_QUANTA); |
| 1172 | |
| 1173 | timeSliceConfigurationEClass = createEClass(TIME_SLICE_CONFIGURATION); |
| 1174 | createEAttribute(timeSliceConfigurationEClass, TIME_SLICE_CONFIGURATION__TIMESLICE); |
| 1175 | |
| 1176 | preemptionConfigurationEClass = createEClass(PREEMPTION_CONFIGURATION); |
| 1177 | createEReference(preemptionConfigurationEClass, PREEMPTION_CONFIGURATION__TIMESLICE_CONFIGURATION); |
| 1178 | |
| 1179 | priorityConfigurationEClass = createEClass(PRIORITY_CONFIGURATION); |
| 1180 | createEReference(priorityConfigurationEClass, PRIORITY_CONFIGURATION__RANGE); |
| 1181 | createEReference(priorityConfigurationEClass, PRIORITY_CONFIGURATION__BOOST_CONFIGURATION); |
| 1182 | |
| 1183 | priorityRangeEClass = createEClass(PRIORITY_RANGE); |
| 1184 | createEAttribute(priorityRangeEClass, PRIORITY_RANGE__HIGHEST); |
| 1185 | createEAttribute(priorityRangeEClass, PRIORITY_RANGE__HIGH); |
| 1186 | createEAttribute(priorityRangeEClass, PRIORITY_RANGE__AVERAGE); |
| 1187 | createEAttribute(priorityRangeEClass, PRIORITY_RANGE__LOW); |
| 1188 | createEAttribute(priorityRangeEClass, PRIORITY_RANGE__LOWEST); |
| 1189 | createEAttribute(priorityRangeEClass, PRIORITY_RANGE__DEFAULT); |
| 1190 | |
| 1191 | priorityDependentTimeSliceConfigurationEClass = createEClass(PRIORITY_DEPENDENT_TIME_SLICE_CONFIGURATION); |
| 1192 | createEAttribute(priorityDependentTimeSliceConfigurationEClass, PRIORITY_DEPENDENT_TIME_SLICE_CONFIGURATION__MIN_TIMESLICE); |
| 1193 | createEAttribute(priorityDependentTimeSliceConfigurationEClass, PRIORITY_DEPENDENT_TIME_SLICE_CONFIGURATION__MIN_TIME_TO_BE_SCHEDULED); |
| 1194 | |
| 1195 | activeResourceConfigurationEClass = createEClass(ACTIVE_RESOURCE_CONFIGURATION); |
| 1196 | createEReference(activeResourceConfigurationEClass, ACTIVE_RESOURCE_CONFIGURATION__SCHEDULER_CONFIGURATION); |
| 1197 | createEAttribute(activeResourceConfigurationEClass, ACTIVE_RESOURCE_CONFIGURATION__REPLICAS); |
| 1198 | createEAttribute(activeResourceConfigurationEClass, ACTIVE_RESOURCE_CONFIGURATION__NAME); |
| 1199 | |
| 1200 | passiveResourceConfigurationEClass = createEClass(PASSIVE_RESOURCE_CONFIGURATION); |
| 1201 | createEReference(passiveResourceConfigurationEClass, PASSIVE_RESOURCE_CONFIGURATION__STATIC_PRIORITY_BOOST_CONFIGURATION); |
| 1202 | createEAttribute(passiveResourceConfigurationEClass, PASSIVE_RESOURCE_CONFIGURATION__CAPACITY); |
| 1203 | createEAttribute(passiveResourceConfigurationEClass, PASSIVE_RESOURCE_CONFIGURATION__TYPE); |
| 1204 | createEAttribute(passiveResourceConfigurationEClass, PASSIVE_RESOURCE_CONFIGURATION__NAME); |
| 1205 | createEReference(passiveResourceConfigurationEClass, PASSIVE_RESOURCE_CONFIGURATION__MANAGING_RESOURCE); |
| 1206 | createEAttribute(passiveResourceConfigurationEClass, PASSIVE_RESOURCE_CONFIGURATION__ACQUISITION_DEMAND); |
| 1207 | |
| 1208 | staticPriorityBoostEClass = createEClass(STATIC_PRIORITY_BOOST); |
| 1209 | createEAttribute(staticPriorityBoostEClass, STATIC_PRIORITY_BOOST__RESET_TIMESLICE); |
| 1210 | createEAttribute(staticPriorityBoostEClass, STATIC_PRIORITY_BOOST__BONUS); |
| 1211 | createEAttribute(staticPriorityBoostEClass, STATIC_PRIORITY_BOOST__DEGRADATION); |
| 1212 | createEAttribute(staticPriorityBoostEClass, STATIC_PRIORITY_BOOST__TIME_PENALTY); |
| 1213 | |
| 1214 | processConfigurationEClass = createEClass(PROCESS_CONFIGURATION); |
| 1215 | createEAttribute(processConfigurationEClass, PROCESS_CONFIGURATION__PRIORITY); |
| 1216 | createEAttribute(processConfigurationEClass, PROCESS_CONFIGURATION__REPLICAS); |
| 1217 | createEAttribute(processConfigurationEClass, PROCESS_CONFIGURATION__NAME); |
| 1218 | createEAttribute(processConfigurationEClass, PROCESS_CONFIGURATION__AFFINITY_LIST); |
| 1219 | |
| 1220 | singleQueueConfigurationEClass = createEClass(SINGLE_QUEUE_CONFIGURATION); |
| 1221 | createEAttribute(singleQueueConfigurationEClass, SINGLE_QUEUE_CONFIGURATION__PROCESS_SELECTION); |
| 1222 | |
| 1223 | staticPriorityBoostConfigurationEClass = createEClass(STATIC_PRIORITY_BOOST_CONFIGURATION); |
| 1224 | createEReference(staticPriorityBoostConfigurationEClass, STATIC_PRIORITY_BOOST_CONFIGURATION__STARVATION_BOOST); |
| 1225 | |
| 1226 | schedulerConfigurationEClass = createEClass(SCHEDULER_CONFIGURATION); |
| 1227 | createEReference(schedulerConfigurationEClass, SCHEDULER_CONFIGURATION__PRIORITY_CONFIGURATION); |
| 1228 | createEReference(schedulerConfigurationEClass, SCHEDULER_CONFIGURATION__PREEMPTION_CONFIGURATION); |
| 1229 | createEAttribute(schedulerConfigurationEClass, SCHEDULER_CONFIGURATION__NAME); |
| 1230 | createEReference(schedulerConfigurationEClass, SCHEDULER_CONFIGURATION__QUEUEING_CONFIGURATION); |
| 1231 | createEAttribute(schedulerConfigurationEClass, SCHEDULER_CONFIGURATION__IN_FRONT_AFTER_WAITING); |
| 1232 | createEAttribute(schedulerConfigurationEClass, SCHEDULER_CONFIGURATION__WINDOWS); |
| 1233 | createEAttribute(schedulerConfigurationEClass, SCHEDULER_CONFIGURATION__INTERVAL); |
| 1234 | createEReference(schedulerConfigurationEClass, SCHEDULER_CONFIGURATION__STARVATION_BOOST); |
| 1235 | |
| 1236 | starvationBoostEClass = createEClass(STARVATION_BOOST); |
| 1237 | createEAttribute(starvationBoostEClass, STARVATION_BOOST__STARVATION_LIMIT); |
| 1238 | createEAttribute(starvationBoostEClass, STARVATION_BOOST__BOOST); |
| 1239 | createEAttribute(starvationBoostEClass, STARVATION_BOOST__DURATION_IN_TIMESLICES); |
| 1240 | |
| 1241 | // Create enums |
| 1242 | instanceToBalanceEEnum = createEEnum(INSTANCE_TO_BALANCE); |
| 1243 | loadBalancingTypeEEnum = createEEnum(LOAD_BALANCING_TYPE); |
| 1244 | preferredWaitingTimeEEnum = createEEnum(PREFERRED_WAITING_TIME); |
| 1245 | preferredPriorityEEnum = createEEnum(PREFERRED_PRIORITY); |
| 1246 | resourceInstanceSelectionEEnum = createEEnum(RESOURCE_INSTANCE_SELECTION); |
| 1247 | runQueueTypeEEnum = createEEnum(RUN_QUEUE_TYPE); |
| 1248 | priorityClassEEnum = createEEnum(PRIORITY_CLASS); |
| 1249 | priorityDegradationEEnum = createEEnum(PRIORITY_DEGRADATION); |
| 1250 | processSelectionEEnum = createEEnum(PROCESS_SELECTION); |
| 1251 | passiveResourceTypeEEnum = createEEnum(PASSIVE_RESOURCE_TYPE); |
| 1252 | } |
| 1253 | |
| 1254 | /** |
| 1255 | * <!-- begin-user-doc --> |
| 1256 | * <!-- end-user-doc --> |
| 1257 | * @generated |
| 1258 | */ |
| 1259 | private boolean isInitialized = false; |
| 1260 | |
| 1261 | /** |
| 1262 | * Complete the initialization of the package and its meta-model. This |
| 1263 | * method is guarded to have no affect on any invocation but its first. |
| 1264 | * <!-- begin-user-doc --> |
| 1265 | * <!-- end-user-doc --> |
| 1266 | * @generated |
| 1267 | */ |
| 1268 | public void initializePackageContents() { |
| 1269 | if (isInitialized) return; |
| 1270 | isInitialized = true; |
| 1271 | |
| 1272 | // Initialize package |
| 1273 | setName(eNAME); |
| 1274 | setNsPrefix(eNS_PREFIX); |
| 1275 | setNsURI(eNS_URI); |
| 1276 | |
| 1277 | // Obtain other dependent packages |
| 1278 | IdentifierPackage theIdentifierPackage = (IdentifierPackage)EPackage.Registry.INSTANCE.getEPackage(IdentifierPackage.eNS_URI); |
| 1279 | |
| 1280 | // Create type parameters |
| 1281 | |
| 1282 | // Set bounds for type parameters |
| 1283 | |
| 1284 | // Add supertypes to classes |
| 1285 | dynamicPriorityBoostConfiguratioinEClass.getESuperTypes().add(this.getPriorityBoostConfiguration()); |
| 1286 | multipleQueueConfigurationEClass.getESuperTypes().add(this.getQueueingConfiguration()); |
| 1287 | quantumTimeSliceConfigurationEClass.getESuperTypes().add(this.getTimeSliceConfiguration()); |
| 1288 | priorityDependentTimeSliceConfigurationEClass.getESuperTypes().add(this.getTimeSliceConfiguration()); |
| 1289 | activeResourceConfigurationEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1290 | passiveResourceConfigurationEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1291 | processConfigurationEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1292 | singleQueueConfigurationEClass.getESuperTypes().add(this.getQueueingConfiguration()); |
| 1293 | staticPriorityBoostConfigurationEClass.getESuperTypes().add(this.getPriorityBoostConfiguration()); |
| 1294 | schedulerConfigurationEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1295 | |
| 1296 | // Initialize classes and features; add operations and parameters |
| 1297 | initEClass(dynamicPriorityBoostConfiguratioinEClass, DynamicPriorityBoostConfiguratioin.class, "DynamicPriorityBoostConfiguratioin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1298 | initEAttribute(getDynamicPriorityBoostConfiguratioin_MaxBonus(), ecorePackage.getEInt(), "maxBonus", null, 1, 1, DynamicPriorityBoostConfiguratioin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1299 | initEAttribute(getDynamicPriorityBoostConfiguratioin_Threshold(), ecorePackage.getEInt(), "threshold", null, 1, 1, DynamicPriorityBoostConfiguratioin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1300 | initEAttribute(getDynamicPriorityBoostConfiguratioin_MaxSleepAverage(), ecorePackage.getEDouble(), "maxSleepAverage", null, 0, 1, DynamicPriorityBoostConfiguratioin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1301 | |
| 1302 | initEClass(priorityBoostConfigurationEClass, PriorityBoostConfiguration.class, "PriorityBoostConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1303 | |
| 1304 | initEClass(loadBalancingEClass, LoadBalancing.class, "LoadBalancing", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1305 | initEAttribute(getLoadBalancing_BalancingType(), this.getLoadBalancingType(), "balancingType", null, 1, 1, LoadBalancing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1306 | initEAttribute(getLoadBalancing_PreferredWaitingTime(), this.getPreferredWaitingTime(), "preferredWaitingTime", null, 1, 1, LoadBalancing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1307 | initEAttribute(getLoadBalancing_PreferredPriority(), this.getPreferredPriority(), "preferredPriority", null, 1, 1, LoadBalancing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1308 | initEAttribute(getLoadBalancing_Instances(), this.getInstanceToBalance(), "instances", null, 1, 1, LoadBalancing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1309 | initEAttribute(getLoadBalancing_Threshold(), ecorePackage.getEDouble(), "threshold", null, 1, 1, LoadBalancing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1310 | initEAttribute(getLoadBalancing_MaxIterations(), ecorePackage.getEInt(), "maxIterations", null, 1, 1, LoadBalancing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1311 | initEAttribute(getLoadBalancing_BalancingInterval(), ecorePackage.getEDouble(), "balancingInterval", null, 0, 1, LoadBalancing.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1312 | |
| 1313 | initEClass(multipleQueueConfigurationEClass, MultipleQueueConfiguration.class, "MultipleQueueConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1314 | initEReference(getMultipleQueueConfiguration_LoadBalancing(), this.getLoadBalancing(), null, "loadBalancing", null, 1, 1, MultipleQueueConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1315 | initEAttribute(getMultipleQueueConfiguration_InFrontWhenBalancing(), ecorePackage.getEBoolean(), "InFrontWhenBalancing", "true", 1, 1, MultipleQueueConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1316 | |
| 1317 | initEClass(queueingConfigurationEClass, QueueingConfiguration.class, "QueueingConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1318 | initEAttribute(getQueueingConfiguration_InitialInstanceSelection(), this.getResourceInstanceSelection(), "initialInstanceSelection", null, 1, 1, QueueingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1319 | initEAttribute(getQueueingConfiguration_RunqueueType(), this.getRunQueueType(), "runqueueType", null, 1, 1, QueueingConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1320 | |
| 1321 | initEClass(quantumTimeSliceConfigurationEClass, QuantumTimeSliceConfiguration.class, "QuantumTimeSliceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1322 | initEAttribute(getQuantumTimeSliceConfiguration_Quanta(), ecorePackage.getEInt(), "quanta", null, 0, 1, QuantumTimeSliceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1323 | initEAttribute(getQuantumTimeSliceConfiguration_MinQuanta(), ecorePackage.getEInt(), "minQuanta", null, 0, 1, QuantumTimeSliceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1324 | |
| 1325 | initEClass(timeSliceConfigurationEClass, TimeSliceConfiguration.class, "TimeSliceConfiguration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1326 | initEAttribute(getTimeSliceConfiguration_Timeslice(), ecorePackage.getEDouble(), "timeslice", null, 0, 1, TimeSliceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1327 | |
| 1328 | initEClass(preemptionConfigurationEClass, PreemptionConfiguration.class, "PreemptionConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1329 | initEReference(getPreemptionConfiguration_TimesliceConfiguration(), this.getTimeSliceConfiguration(), null, "timesliceConfiguration", null, 1, 1, PreemptionConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1330 | |
| 1331 | initEClass(priorityConfigurationEClass, PriorityConfiguration.class, "PriorityConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1332 | initEReference(getPriorityConfiguration_Range(), this.getPriorityRange(), null, "range", null, 1, 1, PriorityConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1333 | initEReference(getPriorityConfiguration_BoostConfiguration(), this.getPriorityBoostConfiguration(), null, "boostConfiguration", null, 1, 1, PriorityConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1334 | |
| 1335 | initEClass(priorityRangeEClass, PriorityRange.class, "PriorityRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1336 | initEAttribute(getPriorityRange_Highest(), ecorePackage.getEInt(), "highest", null, 1, 1, PriorityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1337 | initEAttribute(getPriorityRange_High(), ecorePackage.getEInt(), "high", null, 1, 1, PriorityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1338 | initEAttribute(getPriorityRange_Average(), ecorePackage.getEInt(), "average", null, 1, 1, PriorityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1339 | initEAttribute(getPriorityRange_Low(), ecorePackage.getEInt(), "low", null, 1, 1, PriorityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1340 | initEAttribute(getPriorityRange_Lowest(), ecorePackage.getEInt(), "lowest", null, 1, 1, PriorityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1341 | initEAttribute(getPriorityRange_Default(), ecorePackage.getEInt(), "default", null, 1, 1, PriorityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1342 | |
| 1343 | initEClass(priorityDependentTimeSliceConfigurationEClass, PriorityDependentTimeSliceConfiguration.class, "PriorityDependentTimeSliceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1344 | initEAttribute(getPriorityDependentTimeSliceConfiguration_MinTimeslice(), ecorePackage.getEDouble(), "minTimeslice", null, 0, 1, PriorityDependentTimeSliceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1345 | initEAttribute(getPriorityDependentTimeSliceConfiguration_MinTimeToBeScheduled(), ecorePackage.getEDouble(), "minTimeToBeScheduled", null, 0, 1, PriorityDependentTimeSliceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1346 | |
| 1347 | initEClass(activeResourceConfigurationEClass, ActiveResourceConfiguration.class, "ActiveResourceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1348 | initEReference(getActiveResourceConfiguration_SchedulerConfiguration(), this.getSchedulerConfiguration(), null, "schedulerConfiguration", null, 1, 1, ActiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1349 | initEAttribute(getActiveResourceConfiguration_Replicas(), ecorePackage.getEInt(), "replicas", "1", 1, 1, ActiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1350 | initEAttribute(getActiveResourceConfiguration_Name(), ecorePackage.getEString(), "name", null, 1, 1, ActiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1351 | |
| 1352 | initEClass(passiveResourceConfigurationEClass, PassiveResourceConfiguration.class, "PassiveResourceConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1353 | initEReference(getPassiveResourceConfiguration_StaticPriorityBoostConfiguration(), this.getStaticPriorityBoost(), null, "staticPriorityBoostConfiguration", null, 0, 1, PassiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1354 | initEAttribute(getPassiveResourceConfiguration_Capacity(), ecorePackage.getEInt(), "capacity", "1", 1, 1, PassiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1355 | initEAttribute(getPassiveResourceConfiguration_Type(), this.getPassiveResourceType(), "type", null, 1, 1, PassiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1356 | initEAttribute(getPassiveResourceConfiguration_Name(), ecorePackage.getEString(), "name", null, 1, 1, PassiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1357 | initEReference(getPassiveResourceConfiguration_ManagingResource(), this.getActiveResourceConfiguration(), null, "managingResource", null, 0, 1, PassiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1358 | initEAttribute(getPassiveResourceConfiguration_AcquisitionDemand(), ecorePackage.getEDouble(), "acquisitionDemand", null, 0, 1, PassiveResourceConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1359 | |
| 1360 | initEClass(staticPriorityBoostEClass, StaticPriorityBoost.class, "StaticPriorityBoost", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1361 | initEAttribute(getStaticPriorityBoost_ResetTimeslice(), ecorePackage.getEBoolean(), "resetTimeslice", null, 1, 1, StaticPriorityBoost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1362 | initEAttribute(getStaticPriorityBoost_Bonus(), ecorePackage.getEInt(), "bonus", null, 1, 1, StaticPriorityBoost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1363 | initEAttribute(getStaticPriorityBoost_Degradation(), this.getPriorityDegradation(), "degradation", null, 1, 1, StaticPriorityBoost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1364 | initEAttribute(getStaticPriorityBoost_TimePenalty(), ecorePackage.getEDouble(), "timePenalty", null, 0, 1, StaticPriorityBoost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1365 | |
| 1366 | initEClass(processConfigurationEClass, ProcessConfiguration.class, "ProcessConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1367 | initEAttribute(getProcessConfiguration_Priority(), this.getPriorityClass(), "priority", null, 1, 1, ProcessConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1368 | initEAttribute(getProcessConfiguration_Replicas(), ecorePackage.getEInt(), "replicas", "1", 1, 1, ProcessConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1369 | initEAttribute(getProcessConfiguration_Name(), ecorePackage.getEString(), "name", null, 1, 1, ProcessConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1370 | initEAttribute(getProcessConfiguration_AffinityList(), ecorePackage.getEInt(), "affinityList", null, 0, -1, ProcessConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1371 | |
| 1372 | initEClass(singleQueueConfigurationEClass, SingleQueueConfiguration.class, "SingleQueueConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1373 | initEAttribute(getSingleQueueConfiguration_ProcessSelection(), this.getProcessSelection(), "processSelection", null, 1, 1, SingleQueueConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1374 | |
| 1375 | initEClass(staticPriorityBoostConfigurationEClass, StaticPriorityBoostConfiguration.class, "StaticPriorityBoostConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1376 | initEReference(getStaticPriorityBoostConfiguration_StarvationBoost(), this.getStaticPriorityBoost(), null, "starvationBoost", null, 0, 1, StaticPriorityBoostConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1377 | |
| 1378 | initEClass(schedulerConfigurationEClass, SchedulerConfiguration.class, "SchedulerConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1379 | initEReference(getSchedulerConfiguration_PriorityConfiguration(), this.getPriorityConfiguration(), null, "priorityConfiguration", null, 0, 1, SchedulerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1380 | initEReference(getSchedulerConfiguration_PreemptionConfiguration(), this.getPreemptionConfiguration(), null, "preemptionConfiguration", null, 0, 1, SchedulerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1381 | initEAttribute(getSchedulerConfiguration_Name(), ecorePackage.getEString(), "name", null, 1, 1, SchedulerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1382 | initEReference(getSchedulerConfiguration_QueueingConfiguration(), this.getQueueingConfiguration(), null, "queueingConfiguration", null, 0, 1, SchedulerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1383 | initEAttribute(getSchedulerConfiguration_InFrontAfterWaiting(), ecorePackage.getEBoolean(), "inFrontAfterWaiting", null, 1, 1, SchedulerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1384 | initEAttribute(getSchedulerConfiguration_Windows(), ecorePackage.getEBoolean(), "Windows", "true", 1, 1, SchedulerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1385 | initEAttribute(getSchedulerConfiguration_Interval(), ecorePackage.getEDouble(), "interval", null, 0, 1, SchedulerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1386 | initEReference(getSchedulerConfiguration_StarvationBoost(), this.getStarvationBoost(), null, "starvationBoost", null, 0, 1, SchedulerConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1387 | |
| 1388 | initEClass(starvationBoostEClass, StarvationBoost.class, "StarvationBoost", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1389 | initEAttribute(getStarvationBoost_StarvationLimit(), ecorePackage.getEDouble(), "starvationLimit", null, 0, 1, StarvationBoost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1390 | initEAttribute(getStarvationBoost_Boost(), ecorePackage.getEInt(), "boost", null, 0, 1, StarvationBoost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1391 | initEAttribute(getStarvationBoost_DurationInTimeslices(), ecorePackage.getEInt(), "durationInTimeslices", null, 0, 1, StarvationBoost.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1392 | |
| 1393 | // Initialize enums and add enum literals |
| 1394 | initEEnum(instanceToBalanceEEnum, InstanceToBalance.class, "InstanceToBalance"); |
| 1395 | addEEnumLiteral(instanceToBalanceEEnum, InstanceToBalance.CURRENT); |
| 1396 | addEEnumLiteral(instanceToBalanceEEnum, InstanceToBalance.ALL); |
| 1397 | |
| 1398 | initEEnum(loadBalancingTypeEEnum, LoadBalancingType.class, "LoadBalancingType"); |
| 1399 | addEEnumLiteral(loadBalancingTypeEEnum, LoadBalancingType.IDLE_TO_ONE); |
| 1400 | addEEnumLiteral(loadBalancingTypeEEnum, LoadBalancingType.IDLE_TO_THRESHOLD); |
| 1401 | addEEnumLiteral(loadBalancingTypeEEnum, LoadBalancingType.ANY_TO_THRESHOLD); |
| 1402 | |
| 1403 | initEEnum(preferredWaitingTimeEEnum, PreferredWaitingTime.class, "PreferredWaitingTime"); |
| 1404 | addEEnumLiteral(preferredWaitingTimeEEnum, PreferredWaitingTime.LONG); |
| 1405 | addEEnumLiteral(preferredWaitingTimeEEnum, PreferredWaitingTime.SHORT); |
| 1406 | |
| 1407 | initEEnum(preferredPriorityEEnum, PreferredPriority.class, "PreferredPriority"); |
| 1408 | addEEnumLiteral(preferredPriorityEEnum, PreferredPriority.HIGHER); |
| 1409 | addEEnumLiteral(preferredPriorityEEnum, PreferredPriority.LOWER); |
| 1410 | |
| 1411 | initEEnum(resourceInstanceSelectionEEnum, ResourceInstanceSelection.class, "ResourceInstanceSelection"); |
| 1412 | addEEnumLiteral(resourceInstanceSelectionEEnum, ResourceInstanceSelection.ROUND_ROBIN); |
| 1413 | addEEnumLiteral(resourceInstanceSelectionEEnum, ResourceInstanceSelection.PREFER_IDLE); |
| 1414 | |
| 1415 | initEEnum(runQueueTypeEEnum, RunQueueType.class, "RunQueueType"); |
| 1416 | addEEnumLiteral(runQueueTypeEEnum, RunQueueType.ACTIVE_AND_EXPIRED); |
| 1417 | addEEnumLiteral(runQueueTypeEEnum, RunQueueType.SINGLE); |
| 1418 | |
| 1419 | initEEnum(priorityClassEEnum, PriorityClass.class, "PriorityClass"); |
| 1420 | addEEnumLiteral(priorityClassEEnum, PriorityClass.LOWEST); |
| 1421 | addEEnumLiteral(priorityClassEEnum, PriorityClass.LOW); |
| 1422 | addEEnumLiteral(priorityClassEEnum, PriorityClass.AVERAGE); |
| 1423 | addEEnumLiteral(priorityClassEEnum, PriorityClass.HIGH); |
| 1424 | addEEnumLiteral(priorityClassEEnum, PriorityClass.HIGHEST); |
| 1425 | addEEnumLiteral(priorityClassEEnum, PriorityClass.DEFAULT); |
| 1426 | |
| 1427 | initEEnum(priorityDegradationEEnum, PriorityDegradation.class, "PriorityDegradation"); |
| 1428 | addEEnumLiteral(priorityDegradationEEnum, PriorityDegradation.RESET); |
| 1429 | addEEnumLiteral(priorityDegradationEEnum, PriorityDegradation.SLOW_DECAY); |
| 1430 | |
| 1431 | initEEnum(processSelectionEEnum, ProcessSelection.class, "ProcessSelection"); |
| 1432 | addEEnumLiteral(processSelectionEEnum, ProcessSelection.PREFER_IDEAL_AND_LAST); |
| 1433 | addEEnumLiteral(processSelectionEEnum, ProcessSelection.NEXT_RUNNABLE); |
| 1434 | |
| 1435 | initEEnum(passiveResourceTypeEEnum, PassiveResourceType.class, "PassiveResourceType"); |
| 1436 | addEEnumLiteral(passiveResourceTypeEEnum, PassiveResourceType.FAIR); |
| 1437 | addEEnumLiteral(passiveResourceTypeEEnum, PassiveResourceType.UNFAIR); |
| 1438 | } |
| 1439 | |
| 1440 | } //ConfigurationPackageImpl |