| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.uka.ipd.sdq.sensitivity.impl; |
| 8 | |
| 9 | import de.uka.ipd.sdq.pcm.PcmPackage; |
| 10 | |
| 11 | import de.uka.ipd.sdq.pcm.core.entity.EntityPackage; |
| 12 | |
| 13 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
| 14 | |
| 15 | import de.uka.ipd.sdq.pcm.reliability.ReliabilityPackage; |
| 16 | |
| 17 | import de.uka.ipd.sdq.pcm.repository.RepositoryPackage; |
| 18 | |
| 19 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage; |
| 20 | |
| 21 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
| 22 | |
| 23 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
| 24 | |
| 25 | import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage; |
| 26 | |
| 27 | import de.uka.ipd.sdq.sensitivity.CombinedSensitivityParameter; |
| 28 | import de.uka.ipd.sdq.sensitivity.CommunicationLinkReliabilityParameter; |
| 29 | import de.uka.ipd.sdq.sensitivity.ComponentReliabilityParameter; |
| 30 | import de.uka.ipd.sdq.sensitivity.DoubleOffsetSequence; |
| 31 | import de.uka.ipd.sdq.sensitivity.DoubleOffsetType; |
| 32 | import de.uka.ipd.sdq.sensitivity.DoubleParameterFunction; |
| 33 | import de.uka.ipd.sdq.sensitivity.DoubleParameterRange; |
| 34 | import de.uka.ipd.sdq.sensitivity.DoubleParameterSequence; |
| 35 | import de.uka.ipd.sdq.sensitivity.DoubleParameterVariation; |
| 36 | import de.uka.ipd.sdq.sensitivity.FailureDimension; |
| 37 | import de.uka.ipd.sdq.sensitivity.FailureDimensionResultSpecification; |
| 38 | import de.uka.ipd.sdq.sensitivity.FailureTypeResultSpecification; |
| 39 | import de.uka.ipd.sdq.sensitivity.HardwareMTTFParameter; |
| 40 | import de.uka.ipd.sdq.sensitivity.HardwareMTTRParameter; |
| 41 | import de.uka.ipd.sdq.sensitivity.InternalActionReliabilityParameter; |
| 42 | import de.uka.ipd.sdq.sensitivity.NetworkReliabilityParameter; |
| 43 | import de.uka.ipd.sdq.sensitivity.ProbabilisticBranchParameter; |
| 44 | import de.uka.ipd.sdq.sensitivity.ResourceMTTFParameter; |
| 45 | import de.uka.ipd.sdq.sensitivity.ResourceMTTRParameter; |
| 46 | import de.uka.ipd.sdq.sensitivity.SensitivityConfiguration; |
| 47 | import de.uka.ipd.sdq.sensitivity.SensitivityFactory; |
| 48 | import de.uka.ipd.sdq.sensitivity.SensitivityPackage; |
| 49 | import de.uka.ipd.sdq.sensitivity.SensitivityParameter; |
| 50 | import de.uka.ipd.sdq.sensitivity.SensitivityParameterVariation; |
| 51 | import de.uka.ipd.sdq.sensitivity.SensitivityResultSpecification; |
| 52 | import de.uka.ipd.sdq.sensitivity.SingleSensitivityParameter; |
| 53 | import de.uka.ipd.sdq.sensitivity.SoftwareFailureTypesParameter; |
| 54 | import de.uka.ipd.sdq.sensitivity.SoftwareReliabilityParameter; |
| 55 | import de.uka.ipd.sdq.sensitivity.StringParameterSequence; |
| 56 | import de.uka.ipd.sdq.sensitivity.UsageBranchParameter; |
| 57 | import de.uka.ipd.sdq.sensitivity.VariableUsageParameter; |
| 58 | import de.uka.ipd.sdq.sensitivity.VariableUsageType; |
| 59 | |
| 60 | import de.uka.ipd.sdq.sensitivity.util.SensitivityValidator; |
| 61 | |
| 62 | import org.eclipse.emf.ecore.EAttribute; |
| 63 | import org.eclipse.emf.ecore.EClass; |
| 64 | import org.eclipse.emf.ecore.EEnum; |
| 65 | import org.eclipse.emf.ecore.EGenericType; |
| 66 | import org.eclipse.emf.ecore.EOperation; |
| 67 | import org.eclipse.emf.ecore.EPackage; |
| 68 | import org.eclipse.emf.ecore.EReference; |
| 69 | import org.eclipse.emf.ecore.EValidator; |
| 70 | |
| 71 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
| 72 | |
| 73 | /** |
| 74 | * <!-- begin-user-doc --> |
| 75 | * An implementation of the model <b>Package</b>. |
| 76 | * <!-- end-user-doc --> |
| 77 | * @generated |
| 78 | */ |
| 79 | public class SensitivityPackageImpl extends EPackageImpl implements SensitivityPackage { |
| 80 | /** |
| 81 | * <!-- begin-user-doc --> |
| 82 | * <!-- end-user-doc --> |
| 83 | * @generated |
| 84 | */ |
| 85 | private EClass sensitivityConfigurationEClass = null; |
| 86 | |
| 87 | /** |
| 88 | * <!-- begin-user-doc --> |
| 89 | * <!-- end-user-doc --> |
| 90 | * @generated |
| 91 | */ |
| 92 | private EClass sensitivityParameterEClass = null; |
| 93 | |
| 94 | /** |
| 95 | * <!-- begin-user-doc --> |
| 96 | * <!-- end-user-doc --> |
| 97 | * @generated |
| 98 | */ |
| 99 | private EClass combinedSensitivityParameterEClass = null; |
| 100 | |
| 101 | /** |
| 102 | * <!-- begin-user-doc --> |
| 103 | * <!-- end-user-doc --> |
| 104 | * @generated |
| 105 | */ |
| 106 | private EClass sensitivityResultSpecificationEClass = null; |
| 107 | |
| 108 | /** |
| 109 | * <!-- begin-user-doc --> |
| 110 | * <!-- end-user-doc --> |
| 111 | * @generated |
| 112 | */ |
| 113 | private EClass singleSensitivityParameterEClass = null; |
| 114 | |
| 115 | /** |
| 116 | * <!-- begin-user-doc --> |
| 117 | * <!-- end-user-doc --> |
| 118 | * @generated |
| 119 | */ |
| 120 | private EClass sensitivityParameterVariationEClass = null; |
| 121 | |
| 122 | /** |
| 123 | * <!-- begin-user-doc --> |
| 124 | * <!-- end-user-doc --> |
| 125 | * @generated |
| 126 | */ |
| 127 | private EClass componentReliabilityParameterEClass = null; |
| 128 | |
| 129 | /** |
| 130 | * <!-- begin-user-doc --> |
| 131 | * <!-- end-user-doc --> |
| 132 | * @generated |
| 133 | */ |
| 134 | private EClass doubleParameterVariationEClass = null; |
| 135 | |
| 136 | /** |
| 137 | * <!-- begin-user-doc --> |
| 138 | * <!-- end-user-doc --> |
| 139 | * @generated |
| 140 | */ |
| 141 | private EClass stringParameterSequenceEClass = null; |
| 142 | |
| 143 | /** |
| 144 | * <!-- begin-user-doc --> |
| 145 | * <!-- end-user-doc --> |
| 146 | * @generated |
| 147 | */ |
| 148 | private EClass doubleParameterRangeEClass = null; |
| 149 | |
| 150 | /** |
| 151 | * <!-- begin-user-doc --> |
| 152 | * <!-- end-user-doc --> |
| 153 | * @generated |
| 154 | */ |
| 155 | private EClass doubleParameterSequenceEClass = null; |
| 156 | |
| 157 | /** |
| 158 | * <!-- begin-user-doc --> |
| 159 | * <!-- end-user-doc --> |
| 160 | * @generated |
| 161 | */ |
| 162 | private EClass doubleParameterFunctionEClass = null; |
| 163 | |
| 164 | /** |
| 165 | * <!-- begin-user-doc --> |
| 166 | * <!-- end-user-doc --> |
| 167 | * @generated |
| 168 | */ |
| 169 | private EClass internalActionReliabilityParameterEClass = null; |
| 170 | |
| 171 | /** |
| 172 | * <!-- begin-user-doc --> |
| 173 | * <!-- end-user-doc --> |
| 174 | * @generated |
| 175 | */ |
| 176 | private EClass probabilisticBranchParameterEClass = null; |
| 177 | |
| 178 | /** |
| 179 | * <!-- begin-user-doc --> |
| 180 | * <!-- end-user-doc --> |
| 181 | * @generated |
| 182 | */ |
| 183 | private EClass hardwareMTTFParameterEClass = null; |
| 184 | |
| 185 | /** |
| 186 | * <!-- begin-user-doc --> |
| 187 | * <!-- end-user-doc --> |
| 188 | * @generated |
| 189 | */ |
| 190 | private EClass hardwareMTTRParameterEClass = null; |
| 191 | |
| 192 | /** |
| 193 | * <!-- begin-user-doc --> |
| 194 | * <!-- end-user-doc --> |
| 195 | * @generated |
| 196 | */ |
| 197 | private EClass resourceMTTFParameterEClass = null; |
| 198 | |
| 199 | /** |
| 200 | * <!-- begin-user-doc --> |
| 201 | * <!-- end-user-doc --> |
| 202 | * @generated |
| 203 | */ |
| 204 | private EClass resourceMTTRParameterEClass = null; |
| 205 | |
| 206 | /** |
| 207 | * <!-- begin-user-doc --> |
| 208 | * <!-- end-user-doc --> |
| 209 | * @generated |
| 210 | */ |
| 211 | private EClass networkReliabilityParameterEClass = null; |
| 212 | |
| 213 | /** |
| 214 | * <!-- begin-user-doc --> |
| 215 | * <!-- end-user-doc --> |
| 216 | * @generated |
| 217 | */ |
| 218 | private EClass communicationLinkReliabilityParameterEClass = null; |
| 219 | |
| 220 | /** |
| 221 | * <!-- begin-user-doc --> |
| 222 | * <!-- end-user-doc --> |
| 223 | * @generated |
| 224 | */ |
| 225 | private EClass softwareReliabilityParameterEClass = null; |
| 226 | |
| 227 | /** |
| 228 | * <!-- begin-user-doc --> |
| 229 | * <!-- end-user-doc --> |
| 230 | * @generated |
| 231 | */ |
| 232 | private EClass variableUsageParameterEClass = null; |
| 233 | |
| 234 | /** |
| 235 | * <!-- begin-user-doc --> |
| 236 | * <!-- end-user-doc --> |
| 237 | * @generated |
| 238 | */ |
| 239 | private EClass usageBranchParameterEClass = null; |
| 240 | |
| 241 | /** |
| 242 | * <!-- begin-user-doc --> |
| 243 | * <!-- end-user-doc --> |
| 244 | * @generated |
| 245 | */ |
| 246 | private EClass doubleOffsetSequenceEClass = null; |
| 247 | |
| 248 | /** |
| 249 | * <!-- begin-user-doc --> |
| 250 | * <!-- end-user-doc --> |
| 251 | * @generated |
| 252 | */ |
| 253 | private EClass softwareFailureTypesParameterEClass = null; |
| 254 | |
| 255 | /** |
| 256 | * <!-- begin-user-doc --> |
| 257 | * <!-- end-user-doc --> |
| 258 | * @generated |
| 259 | */ |
| 260 | private EClass failureTypeResultSpecificationEClass = null; |
| 261 | |
| 262 | /** |
| 263 | * <!-- begin-user-doc --> |
| 264 | * <!-- end-user-doc --> |
| 265 | * @generated |
| 266 | */ |
| 267 | private EClass failureDimensionResultSpecificationEClass = null; |
| 268 | |
| 269 | /** |
| 270 | * <!-- begin-user-doc --> |
| 271 | * <!-- end-user-doc --> |
| 272 | * @generated |
| 273 | */ |
| 274 | private EEnum variableUsageTypeEEnum = null; |
| 275 | |
| 276 | /** |
| 277 | * <!-- begin-user-doc --> |
| 278 | * <!-- end-user-doc --> |
| 279 | * @generated |
| 280 | */ |
| 281 | private EEnum doubleOffsetTypeEEnum = null; |
| 282 | |
| 283 | /** |
| 284 | * <!-- begin-user-doc --> |
| 285 | * <!-- end-user-doc --> |
| 286 | * @generated |
| 287 | */ |
| 288 | private EEnum failureDimensionEEnum = null; |
| 289 | |
| 290 | /** |
| 291 | * Creates an instance of the model <b>Package</b>, registered with |
| 292 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| 293 | * package URI value. |
| 294 | * <p>Note: the correct way to create the package is via the static |
| 295 | * factory method {@link #init init()}, which also performs |
| 296 | * initialization of the package, or returns the registered package, |
| 297 | * if one already exists. |
| 298 | * <!-- begin-user-doc --> |
| 299 | * <!-- end-user-doc --> |
| 300 | * @see org.eclipse.emf.ecore.EPackage.Registry |
| 301 | * @see de.uka.ipd.sdq.sensitivity.SensitivityPackage#eNS_URI |
| 302 | * @see #init() |
| 303 | * @generated |
| 304 | */ |
| 305 | private SensitivityPackageImpl() { |
| 306 | super(eNS_URI, SensitivityFactory.eINSTANCE); |
| 307 | } |
| 308 | |
| 309 | /** |
| 310 | * <!-- begin-user-doc --> |
| 311 | * <!-- end-user-doc --> |
| 312 | * @generated |
| 313 | */ |
| 314 | private static boolean isInited = false; |
| 315 | |
| 316 | /** |
| 317 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| 318 | * |
| 319 | * <p>This method is used to initialize {@link SensitivityPackage#eINSTANCE} when that field is accessed. |
| 320 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| 321 | * <!-- begin-user-doc --> |
| 322 | * <!-- end-user-doc --> |
| 323 | * @see #eNS_URI |
| 324 | * @see #createPackageContents() |
| 325 | * @see #initializePackageContents() |
| 326 | * @generated |
| 327 | */ |
| 328 | public static SensitivityPackage init() { |
| 329 | if (isInited) return (SensitivityPackage)EPackage.Registry.INSTANCE.getEPackage(SensitivityPackage.eNS_URI); |
| 330 | |
| 331 | // Obtain or create and register package |
| 332 | SensitivityPackageImpl theSensitivityPackage = (SensitivityPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SensitivityPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SensitivityPackageImpl()); |
| 333 | |
| 334 | isInited = true; |
| 335 | |
| 336 | // Initialize simple dependencies |
| 337 | PcmPackage.eINSTANCE.eClass(); |
| 338 | |
| 339 | // Create package meta-data objects |
| 340 | theSensitivityPackage.createPackageContents(); |
| 341 | |
| 342 | // Initialize created meta-data |
| 343 | theSensitivityPackage.initializePackageContents(); |
| 344 | |
| 345 | // Register package validator |
| 346 | EValidator.Registry.INSTANCE.put |
| 347 | (theSensitivityPackage, |
| 348 | new EValidator.Descriptor() { |
| 349 | public EValidator getEValidator() { |
| 350 | return SensitivityValidator.INSTANCE; |
| 351 | } |
| 352 | }); |
| 353 | |
| 354 | // Mark meta-data to indicate it can't be changed |
| 355 | theSensitivityPackage.freeze(); |
| 356 | |
| 357 | |
| 358 | // Update the registry and return the package |
| 359 | EPackage.Registry.INSTANCE.put(SensitivityPackage.eNS_URI, theSensitivityPackage); |
| 360 | return theSensitivityPackage; |
| 361 | } |
| 362 | |
| 363 | /** |
| 364 | * <!-- begin-user-doc --> |
| 365 | * <!-- end-user-doc --> |
| 366 | * @generated |
| 367 | */ |
| 368 | public EClass getSensitivityConfiguration() { |
| 369 | return sensitivityConfigurationEClass; |
| 370 | } |
| 371 | |
| 372 | /** |
| 373 | * <!-- begin-user-doc --> |
| 374 | * <!-- end-user-doc --> |
| 375 | * @generated |
| 376 | */ |
| 377 | public EReference getSensitivityConfiguration_SensitivityParameters__SensitivityConfiguration() { |
| 378 | return (EReference)sensitivityConfigurationEClass.getEStructuralFeatures().get(0); |
| 379 | } |
| 380 | |
| 381 | /** |
| 382 | * <!-- begin-user-doc --> |
| 383 | * <!-- end-user-doc --> |
| 384 | * @generated |
| 385 | */ |
| 386 | public EReference getSensitivityConfiguration_SensitivityResultSpecifications__SensitivityConfiguration() { |
| 387 | return (EReference)sensitivityConfigurationEClass.getEStructuralFeatures().get(1); |
| 388 | } |
| 389 | |
| 390 | /** |
| 391 | * <!-- begin-user-doc --> |
| 392 | * <!-- end-user-doc --> |
| 393 | * @generated |
| 394 | */ |
| 395 | public EClass getSensitivityParameter() { |
| 396 | return sensitivityParameterEClass; |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * <!-- begin-user-doc --> |
| 401 | * <!-- end-user-doc --> |
| 402 | * @generated |
| 403 | */ |
| 404 | public EReference getSensitivityParameter_ParentParameter__SensitivityParameter() { |
| 405 | return (EReference)sensitivityParameterEClass.getEStructuralFeatures().get(0); |
| 406 | } |
| 407 | |
| 408 | /** |
| 409 | * <!-- begin-user-doc --> |
| 410 | * <!-- end-user-doc --> |
| 411 | * @generated |
| 412 | */ |
| 413 | public EReference getSensitivityParameter_SensitivityConfiguration__SensitivityParameter() { |
| 414 | return (EReference)sensitivityParameterEClass.getEStructuralFeatures().get(1); |
| 415 | } |
| 416 | |
| 417 | /** |
| 418 | * <!-- begin-user-doc --> |
| 419 | * <!-- end-user-doc --> |
| 420 | * @generated |
| 421 | */ |
| 422 | public EClass getCombinedSensitivityParameter() { |
| 423 | return combinedSensitivityParameterEClass; |
| 424 | } |
| 425 | |
| 426 | /** |
| 427 | * <!-- begin-user-doc --> |
| 428 | * <!-- end-user-doc --> |
| 429 | * @generated |
| 430 | */ |
| 431 | public EAttribute getCombinedSensitivityParameter_IsCombinatory() { |
| 432 | return (EAttribute)combinedSensitivityParameterEClass.getEStructuralFeatures().get(0); |
| 433 | } |
| 434 | |
| 435 | /** |
| 436 | * <!-- begin-user-doc --> |
| 437 | * <!-- end-user-doc --> |
| 438 | * @generated |
| 439 | */ |
| 440 | public EReference getCombinedSensitivityParameter_ChildParameters__CombinedSensitivityParameter() { |
| 441 | return (EReference)combinedSensitivityParameterEClass.getEStructuralFeatures().get(1); |
| 442 | } |
| 443 | |
| 444 | /** |
| 445 | * <!-- begin-user-doc --> |
| 446 | * <!-- end-user-doc --> |
| 447 | * @generated |
| 448 | */ |
| 449 | public EClass getSensitivityResultSpecification() { |
| 450 | return sensitivityResultSpecificationEClass; |
| 451 | } |
| 452 | |
| 453 | /** |
| 454 | * <!-- begin-user-doc --> |
| 455 | * <!-- end-user-doc --> |
| 456 | * @generated |
| 457 | */ |
| 458 | public EClass getSingleSensitivityParameter() { |
| 459 | return singleSensitivityParameterEClass; |
| 460 | } |
| 461 | |
| 462 | /** |
| 463 | * <!-- begin-user-doc --> |
| 464 | * <!-- end-user-doc --> |
| 465 | * @generated |
| 466 | */ |
| 467 | public EReference getSingleSensitivityParameter_SensitivityParameterVariation__SingleSensitivityParameter() { |
| 468 | return (EReference)singleSensitivityParameterEClass.getEStructuralFeatures().get(0); |
| 469 | } |
| 470 | |
| 471 | /** |
| 472 | * <!-- begin-user-doc --> |
| 473 | * <!-- end-user-doc --> |
| 474 | * @generated |
| 475 | */ |
| 476 | public EClass getSensitivityParameterVariation() { |
| 477 | return sensitivityParameterVariationEClass; |
| 478 | } |
| 479 | |
| 480 | /** |
| 481 | * <!-- begin-user-doc --> |
| 482 | * <!-- end-user-doc --> |
| 483 | * @generated |
| 484 | */ |
| 485 | public EReference getSensitivityParameterVariation_SingleSensitivityParameter__SensitivityParameterVariation() { |
| 486 | return (EReference)sensitivityParameterVariationEClass.getEStructuralFeatures().get(0); |
| 487 | } |
| 488 | |
| 489 | /** |
| 490 | * <!-- begin-user-doc --> |
| 491 | * <!-- end-user-doc --> |
| 492 | * @generated |
| 493 | */ |
| 494 | public EClass getComponentReliabilityParameter() { |
| 495 | return componentReliabilityParameterEClass; |
| 496 | } |
| 497 | |
| 498 | /** |
| 499 | * <!-- begin-user-doc --> |
| 500 | * <!-- end-user-doc --> |
| 501 | * @generated |
| 502 | */ |
| 503 | public EReference getComponentReliabilityParameter_BasicComponent__ComponentReliabilityParameter() { |
| 504 | return (EReference)componentReliabilityParameterEClass.getEStructuralFeatures().get(0); |
| 505 | } |
| 506 | |
| 507 | /** |
| 508 | * <!-- begin-user-doc --> |
| 509 | * <!-- end-user-doc --> |
| 510 | * @generated |
| 511 | */ |
| 512 | public EClass getDoubleParameterVariation() { |
| 513 | return doubleParameterVariationEClass; |
| 514 | } |
| 515 | |
| 516 | /** |
| 517 | * <!-- begin-user-doc --> |
| 518 | * <!-- end-user-doc --> |
| 519 | * @generated |
| 520 | */ |
| 521 | public EClass getStringParameterSequence() { |
| 522 | return stringParameterSequenceEClass; |
| 523 | } |
| 524 | |
| 525 | /** |
| 526 | * <!-- begin-user-doc --> |
| 527 | * <!-- end-user-doc --> |
| 528 | * @generated |
| 529 | */ |
| 530 | public EAttribute getStringParameterSequence_StringValues() { |
| 531 | return (EAttribute)stringParameterSequenceEClass.getEStructuralFeatures().get(0); |
| 532 | } |
| 533 | |
| 534 | /** |
| 535 | * <!-- begin-user-doc --> |
| 536 | * <!-- end-user-doc --> |
| 537 | * @generated |
| 538 | */ |
| 539 | public EClass getDoubleParameterRange() { |
| 540 | return doubleParameterRangeEClass; |
| 541 | } |
| 542 | |
| 543 | /** |
| 544 | * <!-- begin-user-doc --> |
| 545 | * <!-- end-user-doc --> |
| 546 | * @generated |
| 547 | */ |
| 548 | public EAttribute getDoubleParameterRange_ConsiderStepSize() { |
| 549 | return (EAttribute)doubleParameterRangeEClass.getEStructuralFeatures().get(0); |
| 550 | } |
| 551 | |
| 552 | /** |
| 553 | * <!-- begin-user-doc --> |
| 554 | * <!-- end-user-doc --> |
| 555 | * @generated |
| 556 | */ |
| 557 | public EAttribute getDoubleParameterRange_FirstValue() { |
| 558 | return (EAttribute)doubleParameterRangeEClass.getEStructuralFeatures().get(1); |
| 559 | } |
| 560 | |
| 561 | /** |
| 562 | * <!-- begin-user-doc --> |
| 563 | * <!-- end-user-doc --> |
| 564 | * @generated |
| 565 | */ |
| 566 | public EAttribute getDoubleParameterRange_LastValue() { |
| 567 | return (EAttribute)doubleParameterRangeEClass.getEStructuralFeatures().get(2); |
| 568 | } |
| 569 | |
| 570 | /** |
| 571 | * <!-- begin-user-doc --> |
| 572 | * <!-- end-user-doc --> |
| 573 | * @generated |
| 574 | */ |
| 575 | public EAttribute getDoubleParameterRange_StepSize() { |
| 576 | return (EAttribute)doubleParameterRangeEClass.getEStructuralFeatures().get(3); |
| 577 | } |
| 578 | |
| 579 | /** |
| 580 | * <!-- begin-user-doc --> |
| 581 | * <!-- end-user-doc --> |
| 582 | * @generated |
| 583 | */ |
| 584 | public EAttribute getDoubleParameterRange_StepCount() { |
| 585 | return (EAttribute)doubleParameterRangeEClass.getEStructuralFeatures().get(4); |
| 586 | } |
| 587 | |
| 588 | /** |
| 589 | * <!-- begin-user-doc --> |
| 590 | * <!-- end-user-doc --> |
| 591 | * @generated |
| 592 | */ |
| 593 | public EClass getDoubleParameterSequence() { |
| 594 | return doubleParameterSequenceEClass; |
| 595 | } |
| 596 | |
| 597 | /** |
| 598 | * <!-- begin-user-doc --> |
| 599 | * <!-- end-user-doc --> |
| 600 | * @generated |
| 601 | */ |
| 602 | public EAttribute getDoubleParameterSequence_DoubleValues() { |
| 603 | return (EAttribute)doubleParameterSequenceEClass.getEStructuralFeatures().get(0); |
| 604 | } |
| 605 | |
| 606 | /** |
| 607 | * <!-- begin-user-doc --> |
| 608 | * <!-- end-user-doc --> |
| 609 | * @generated |
| 610 | */ |
| 611 | public EClass getDoubleParameterFunction() { |
| 612 | return doubleParameterFunctionEClass; |
| 613 | } |
| 614 | |
| 615 | /** |
| 616 | * <!-- begin-user-doc --> |
| 617 | * <!-- end-user-doc --> |
| 618 | * @generated |
| 619 | */ |
| 620 | public EClass getInternalActionReliabilityParameter() { |
| 621 | return internalActionReliabilityParameterEClass; |
| 622 | } |
| 623 | |
| 624 | /** |
| 625 | * <!-- begin-user-doc --> |
| 626 | * <!-- end-user-doc --> |
| 627 | * @generated |
| 628 | */ |
| 629 | public EReference getInternalActionReliabilityParameter_SoftwareInducedFailureType__InternalActionReliabilityParameter() { |
| 630 | return (EReference)internalActionReliabilityParameterEClass.getEStructuralFeatures().get(0); |
| 631 | } |
| 632 | |
| 633 | /** |
| 634 | * <!-- begin-user-doc --> |
| 635 | * <!-- end-user-doc --> |
| 636 | * @generated |
| 637 | */ |
| 638 | public EReference getInternalActionReliabilityParameter_InternalAction__InternalActionReliabilityParameter() { |
| 639 | return (EReference)internalActionReliabilityParameterEClass.getEStructuralFeatures().get(1); |
| 640 | } |
| 641 | |
| 642 | /** |
| 643 | * <!-- begin-user-doc --> |
| 644 | * <!-- end-user-doc --> |
| 645 | * @generated |
| 646 | */ |
| 647 | public EClass getProbabilisticBranchParameter() { |
| 648 | return probabilisticBranchParameterEClass; |
| 649 | } |
| 650 | |
| 651 | /** |
| 652 | * <!-- begin-user-doc --> |
| 653 | * <!-- end-user-doc --> |
| 654 | * @generated |
| 655 | */ |
| 656 | public EReference getProbabilisticBranchParameter_ProbabilisticBranchTransition__ProbabilisticBranchParameter() { |
| 657 | return (EReference)probabilisticBranchParameterEClass.getEStructuralFeatures().get(0); |
| 658 | } |
| 659 | |
| 660 | /** |
| 661 | * <!-- begin-user-doc --> |
| 662 | * <!-- end-user-doc --> |
| 663 | * @generated |
| 664 | */ |
| 665 | public EClass getHardwareMTTFParameter() { |
| 666 | return hardwareMTTFParameterEClass; |
| 667 | } |
| 668 | |
| 669 | /** |
| 670 | * <!-- begin-user-doc --> |
| 671 | * <!-- end-user-doc --> |
| 672 | * @generated |
| 673 | */ |
| 674 | public EClass getHardwareMTTRParameter() { |
| 675 | return hardwareMTTRParameterEClass; |
| 676 | } |
| 677 | |
| 678 | /** |
| 679 | * <!-- begin-user-doc --> |
| 680 | * <!-- end-user-doc --> |
| 681 | * @generated |
| 682 | */ |
| 683 | public EClass getResourceMTTFParameter() { |
| 684 | return resourceMTTFParameterEClass; |
| 685 | } |
| 686 | |
| 687 | /** |
| 688 | * <!-- begin-user-doc --> |
| 689 | * <!-- end-user-doc --> |
| 690 | * @generated |
| 691 | */ |
| 692 | public EReference getResourceMTTFParameter_ProcessingResourceType__ResourceMTTFParameter() { |
| 693 | return (EReference)resourceMTTFParameterEClass.getEStructuralFeatures().get(0); |
| 694 | } |
| 695 | |
| 696 | /** |
| 697 | * <!-- begin-user-doc --> |
| 698 | * <!-- end-user-doc --> |
| 699 | * @generated |
| 700 | */ |
| 701 | public EReference getResourceMTTFParameter_ResourceContainer__ResourceMTTFParameter() { |
| 702 | return (EReference)resourceMTTFParameterEClass.getEStructuralFeatures().get(1); |
| 703 | } |
| 704 | |
| 705 | /** |
| 706 | * <!-- begin-user-doc --> |
| 707 | * <!-- end-user-doc --> |
| 708 | * @generated |
| 709 | */ |
| 710 | public EClass getResourceMTTRParameter() { |
| 711 | return resourceMTTRParameterEClass; |
| 712 | } |
| 713 | |
| 714 | /** |
| 715 | * <!-- begin-user-doc --> |
| 716 | * <!-- end-user-doc --> |
| 717 | * @generated |
| 718 | */ |
| 719 | public EReference getResourceMTTRParameter_ResourceContainer__ResourceMTTRParameter() { |
| 720 | return (EReference)resourceMTTRParameterEClass.getEStructuralFeatures().get(0); |
| 721 | } |
| 722 | |
| 723 | /** |
| 724 | * <!-- begin-user-doc --> |
| 725 | * <!-- end-user-doc --> |
| 726 | * @generated |
| 727 | */ |
| 728 | public EReference getResourceMTTRParameter_ProcessingResourceType__ResourceMTTRParameter() { |
| 729 | return (EReference)resourceMTTRParameterEClass.getEStructuralFeatures().get(1); |
| 730 | } |
| 731 | |
| 732 | /** |
| 733 | * <!-- begin-user-doc --> |
| 734 | * <!-- end-user-doc --> |
| 735 | * @generated |
| 736 | */ |
| 737 | public EClass getNetworkReliabilityParameter() { |
| 738 | return networkReliabilityParameterEClass; |
| 739 | } |
| 740 | |
| 741 | /** |
| 742 | * <!-- begin-user-doc --> |
| 743 | * <!-- end-user-doc --> |
| 744 | * @generated |
| 745 | */ |
| 746 | public EClass getCommunicationLinkReliabilityParameter() { |
| 747 | return communicationLinkReliabilityParameterEClass; |
| 748 | } |
| 749 | |
| 750 | /** |
| 751 | * <!-- begin-user-doc --> |
| 752 | * <!-- end-user-doc --> |
| 753 | * @generated |
| 754 | */ |
| 755 | public EReference getCommunicationLinkReliabilityParameter_CommunicationLinkResourceSpecification__CommunicationLinkReliabilityParameter() { |
| 756 | return (EReference)communicationLinkReliabilityParameterEClass.getEStructuralFeatures().get(0); |
| 757 | } |
| 758 | |
| 759 | /** |
| 760 | * <!-- begin-user-doc --> |
| 761 | * <!-- end-user-doc --> |
| 762 | * @generated |
| 763 | */ |
| 764 | public EClass getSoftwareReliabilityParameter() { |
| 765 | return softwareReliabilityParameterEClass; |
| 766 | } |
| 767 | |
| 768 | /** |
| 769 | * <!-- begin-user-doc --> |
| 770 | * <!-- end-user-doc --> |
| 771 | * @generated |
| 772 | */ |
| 773 | public EClass getVariableUsageParameter() { |
| 774 | return variableUsageParameterEClass; |
| 775 | } |
| 776 | |
| 777 | /** |
| 778 | * <!-- begin-user-doc --> |
| 779 | * <!-- end-user-doc --> |
| 780 | * @generated |
| 781 | */ |
| 782 | public EAttribute getVariableUsageParameter_VariableName() { |
| 783 | return (EAttribute)variableUsageParameterEClass.getEStructuralFeatures().get(0); |
| 784 | } |
| 785 | |
| 786 | /** |
| 787 | * <!-- begin-user-doc --> |
| 788 | * <!-- end-user-doc --> |
| 789 | * @generated |
| 790 | */ |
| 791 | public EReference getVariableUsageParameter_EntryLevelSystemCall__VariableUsageParameter() { |
| 792 | return (EReference)variableUsageParameterEClass.getEStructuralFeatures().get(1); |
| 793 | } |
| 794 | |
| 795 | /** |
| 796 | * <!-- begin-user-doc --> |
| 797 | * <!-- end-user-doc --> |
| 798 | * @generated |
| 799 | */ |
| 800 | public EAttribute getVariableUsageParameter_VariableCharacterisationType__VariableUsageParameter() { |
| 801 | return (EAttribute)variableUsageParameterEClass.getEStructuralFeatures().get(2); |
| 802 | } |
| 803 | |
| 804 | /** |
| 805 | * <!-- begin-user-doc --> |
| 806 | * <!-- end-user-doc --> |
| 807 | * @generated |
| 808 | */ |
| 809 | public EAttribute getVariableUsageParameter_VariableUsageType__VariableUsageParameter() { |
| 810 | return (EAttribute)variableUsageParameterEClass.getEStructuralFeatures().get(3); |
| 811 | } |
| 812 | |
| 813 | /** |
| 814 | * <!-- begin-user-doc --> |
| 815 | * <!-- end-user-doc --> |
| 816 | * @generated |
| 817 | */ |
| 818 | public EReference getVariableUsageParameter_BasicComponent__VariableUsageParameter() { |
| 819 | return (EReference)variableUsageParameterEClass.getEStructuralFeatures().get(4); |
| 820 | } |
| 821 | |
| 822 | /** |
| 823 | * <!-- begin-user-doc --> |
| 824 | * <!-- end-user-doc --> |
| 825 | * @generated |
| 826 | */ |
| 827 | public EClass getUsageBranchParameter() { |
| 828 | return usageBranchParameterEClass; |
| 829 | } |
| 830 | |
| 831 | /** |
| 832 | * <!-- begin-user-doc --> |
| 833 | * <!-- end-user-doc --> |
| 834 | * @generated |
| 835 | */ |
| 836 | public EReference getUsageBranchParameter_Branch__UsageBranchParameter() { |
| 837 | return (EReference)usageBranchParameterEClass.getEStructuralFeatures().get(0); |
| 838 | } |
| 839 | |
| 840 | /** |
| 841 | * <!-- begin-user-doc --> |
| 842 | * <!-- end-user-doc --> |
| 843 | * @generated |
| 844 | */ |
| 845 | public EReference getUsageBranchParameter_ScenarioBehaviour__UsageBranchParameter() { |
| 846 | return (EReference)usageBranchParameterEClass.getEStructuralFeatures().get(1); |
| 847 | } |
| 848 | |
| 849 | /** |
| 850 | * <!-- begin-user-doc --> |
| 851 | * <!-- end-user-doc --> |
| 852 | * @generated |
| 853 | */ |
| 854 | public EClass getDoubleOffsetSequence() { |
| 855 | return doubleOffsetSequenceEClass; |
| 856 | } |
| 857 | |
| 858 | /** |
| 859 | * <!-- begin-user-doc --> |
| 860 | * <!-- end-user-doc --> |
| 861 | * @generated |
| 862 | */ |
| 863 | public EAttribute getDoubleOffsetSequence_OffsetValues() { |
| 864 | return (EAttribute)doubleOffsetSequenceEClass.getEStructuralFeatures().get(0); |
| 865 | } |
| 866 | |
| 867 | /** |
| 868 | * <!-- begin-user-doc --> |
| 869 | * <!-- end-user-doc --> |
| 870 | * @generated |
| 871 | */ |
| 872 | public EAttribute getDoubleOffsetSequence_DoubleOffsetType__DoubleOffsetSequence() { |
| 873 | return (EAttribute)doubleOffsetSequenceEClass.getEStructuralFeatures().get(1); |
| 874 | } |
| 875 | |
| 876 | /** |
| 877 | * <!-- begin-user-doc --> |
| 878 | * <!-- end-user-doc --> |
| 879 | * @generated |
| 880 | */ |
| 881 | public EClass getSoftwareFailureTypesParameter() { |
| 882 | return softwareFailureTypesParameterEClass; |
| 883 | } |
| 884 | |
| 885 | /** |
| 886 | * <!-- begin-user-doc --> |
| 887 | * <!-- end-user-doc --> |
| 888 | * @generated |
| 889 | */ |
| 890 | public EReference getSoftwareFailureTypesParameter_SoftwareInducedFailureTypes__SoftwareFailureTypeReliabilityParameter() { |
| 891 | return (EReference)softwareFailureTypesParameterEClass.getEStructuralFeatures().get(0); |
| 892 | } |
| 893 | |
| 894 | /** |
| 895 | * <!-- begin-user-doc --> |
| 896 | * <!-- end-user-doc --> |
| 897 | * @generated |
| 898 | */ |
| 899 | public EClass getFailureTypeResultSpecification() { |
| 900 | return failureTypeResultSpecificationEClass; |
| 901 | } |
| 902 | |
| 903 | /** |
| 904 | * <!-- begin-user-doc --> |
| 905 | * <!-- end-user-doc --> |
| 906 | * @generated |
| 907 | */ |
| 908 | public EReference getFailureTypeResultSpecification_FailureTypes__FailureTypeResultSpecification() { |
| 909 | return (EReference)failureTypeResultSpecificationEClass.getEStructuralFeatures().get(0); |
| 910 | } |
| 911 | |
| 912 | /** |
| 913 | * <!-- begin-user-doc --> |
| 914 | * <!-- end-user-doc --> |
| 915 | * @generated |
| 916 | */ |
| 917 | public EClass getFailureDimensionResultSpecification() { |
| 918 | return failureDimensionResultSpecificationEClass; |
| 919 | } |
| 920 | |
| 921 | /** |
| 922 | * <!-- begin-user-doc --> |
| 923 | * <!-- end-user-doc --> |
| 924 | * @generated |
| 925 | */ |
| 926 | public EAttribute getFailureDimensionResultSpecification_FailureDimension__FailureDimensionResultSpecification() { |
| 927 | return (EAttribute)failureDimensionResultSpecificationEClass.getEStructuralFeatures().get(0); |
| 928 | } |
| 929 | |
| 930 | /** |
| 931 | * <!-- begin-user-doc --> |
| 932 | * <!-- end-user-doc --> |
| 933 | * @generated |
| 934 | */ |
| 935 | public EEnum getVariableUsageType() { |
| 936 | return variableUsageTypeEEnum; |
| 937 | } |
| 938 | |
| 939 | /** |
| 940 | * <!-- begin-user-doc --> |
| 941 | * <!-- end-user-doc --> |
| 942 | * @generated |
| 943 | */ |
| 944 | public EEnum getDoubleOffsetType() { |
| 945 | return doubleOffsetTypeEEnum; |
| 946 | } |
| 947 | |
| 948 | /** |
| 949 | * <!-- begin-user-doc --> |
| 950 | * <!-- end-user-doc --> |
| 951 | * @generated |
| 952 | */ |
| 953 | public EEnum getFailureDimension() { |
| 954 | return failureDimensionEEnum; |
| 955 | } |
| 956 | |
| 957 | /** |
| 958 | * <!-- begin-user-doc --> |
| 959 | * <!-- end-user-doc --> |
| 960 | * @generated |
| 961 | */ |
| 962 | public SensitivityFactory getSensitivityFactory() { |
| 963 | return (SensitivityFactory)getEFactoryInstance(); |
| 964 | } |
| 965 | |
| 966 | /** |
| 967 | * <!-- begin-user-doc --> |
| 968 | * <!-- end-user-doc --> |
| 969 | * @generated |
| 970 | */ |
| 971 | private boolean isCreated = false; |
| 972 | |
| 973 | /** |
| 974 | * Creates the meta-model objects for the package. This method is |
| 975 | * guarded to have no affect on any invocation but its first. |
| 976 | * <!-- begin-user-doc --> |
| 977 | * <!-- end-user-doc --> |
| 978 | * @generated |
| 979 | */ |
| 980 | public void createPackageContents() { |
| 981 | if (isCreated) return; |
| 982 | isCreated = true; |
| 983 | |
| 984 | // Create classes and their features |
| 985 | sensitivityConfigurationEClass = createEClass(SENSITIVITY_CONFIGURATION); |
| 986 | createEReference(sensitivityConfigurationEClass, SENSITIVITY_CONFIGURATION__SENSITIVITY_PARAMETERS_SENSITIVITY_CONFIGURATION); |
| 987 | createEReference(sensitivityConfigurationEClass, SENSITIVITY_CONFIGURATION__SENSITIVITY_RESULT_SPECIFICATIONS_SENSITIVITY_CONFIGURATION); |
| 988 | |
| 989 | sensitivityParameterEClass = createEClass(SENSITIVITY_PARAMETER); |
| 990 | createEReference(sensitivityParameterEClass, SENSITIVITY_PARAMETER__PARENT_PARAMETER_SENSITIVITY_PARAMETER); |
| 991 | createEReference(sensitivityParameterEClass, SENSITIVITY_PARAMETER__SENSITIVITY_CONFIGURATION_SENSITIVITY_PARAMETER); |
| 992 | |
| 993 | combinedSensitivityParameterEClass = createEClass(COMBINED_SENSITIVITY_PARAMETER); |
| 994 | createEAttribute(combinedSensitivityParameterEClass, COMBINED_SENSITIVITY_PARAMETER__IS_COMBINATORY); |
| 995 | createEReference(combinedSensitivityParameterEClass, COMBINED_SENSITIVITY_PARAMETER__CHILD_PARAMETERS_COMBINED_SENSITIVITY_PARAMETER); |
| 996 | |
| 997 | sensitivityResultSpecificationEClass = createEClass(SENSITIVITY_RESULT_SPECIFICATION); |
| 998 | |
| 999 | singleSensitivityParameterEClass = createEClass(SINGLE_SENSITIVITY_PARAMETER); |
| 1000 | createEReference(singleSensitivityParameterEClass, SINGLE_SENSITIVITY_PARAMETER__SENSITIVITY_PARAMETER_VARIATION_SINGLE_SENSITIVITY_PARAMETER); |
| 1001 | |
| 1002 | sensitivityParameterVariationEClass = createEClass(SENSITIVITY_PARAMETER_VARIATION); |
| 1003 | createEReference(sensitivityParameterVariationEClass, SENSITIVITY_PARAMETER_VARIATION__SINGLE_SENSITIVITY_PARAMETER_SENSITIVITY_PARAMETER_VARIATION); |
| 1004 | |
| 1005 | componentReliabilityParameterEClass = createEClass(COMPONENT_RELIABILITY_PARAMETER); |
| 1006 | createEReference(componentReliabilityParameterEClass, COMPONENT_RELIABILITY_PARAMETER__BASIC_COMPONENT_COMPONENT_RELIABILITY_PARAMETER); |
| 1007 | |
| 1008 | doubleParameterVariationEClass = createEClass(DOUBLE_PARAMETER_VARIATION); |
| 1009 | |
| 1010 | stringParameterSequenceEClass = createEClass(STRING_PARAMETER_SEQUENCE); |
| 1011 | createEAttribute(stringParameterSequenceEClass, STRING_PARAMETER_SEQUENCE__STRING_VALUES); |
| 1012 | |
| 1013 | doubleParameterRangeEClass = createEClass(DOUBLE_PARAMETER_RANGE); |
| 1014 | createEAttribute(doubleParameterRangeEClass, DOUBLE_PARAMETER_RANGE__CONSIDER_STEP_SIZE); |
| 1015 | createEAttribute(doubleParameterRangeEClass, DOUBLE_PARAMETER_RANGE__FIRST_VALUE); |
| 1016 | createEAttribute(doubleParameterRangeEClass, DOUBLE_PARAMETER_RANGE__LAST_VALUE); |
| 1017 | createEAttribute(doubleParameterRangeEClass, DOUBLE_PARAMETER_RANGE__STEP_SIZE); |
| 1018 | createEAttribute(doubleParameterRangeEClass, DOUBLE_PARAMETER_RANGE__STEP_COUNT); |
| 1019 | |
| 1020 | doubleParameterSequenceEClass = createEClass(DOUBLE_PARAMETER_SEQUENCE); |
| 1021 | createEAttribute(doubleParameterSequenceEClass, DOUBLE_PARAMETER_SEQUENCE__DOUBLE_VALUES); |
| 1022 | |
| 1023 | doubleParameterFunctionEClass = createEClass(DOUBLE_PARAMETER_FUNCTION); |
| 1024 | |
| 1025 | internalActionReliabilityParameterEClass = createEClass(INTERNAL_ACTION_RELIABILITY_PARAMETER); |
| 1026 | createEReference(internalActionReliabilityParameterEClass, INTERNAL_ACTION_RELIABILITY_PARAMETER__SOFTWARE_INDUCED_FAILURE_TYPE_INTERNAL_ACTION_RELIABILITY_PARAMETER); |
| 1027 | createEReference(internalActionReliabilityParameterEClass, INTERNAL_ACTION_RELIABILITY_PARAMETER__INTERNAL_ACTION_INTERNAL_ACTION_RELIABILITY_PARAMETER); |
| 1028 | |
| 1029 | probabilisticBranchParameterEClass = createEClass(PROBABILISTIC_BRANCH_PARAMETER); |
| 1030 | createEReference(probabilisticBranchParameterEClass, PROBABILISTIC_BRANCH_PARAMETER__PROBABILISTIC_BRANCH_TRANSITION_PROBABILISTIC_BRANCH_PARAMETER); |
| 1031 | |
| 1032 | hardwareMTTFParameterEClass = createEClass(HARDWARE_MTTF_PARAMETER); |
| 1033 | |
| 1034 | hardwareMTTRParameterEClass = createEClass(HARDWARE_MTTR_PARAMETER); |
| 1035 | |
| 1036 | resourceMTTFParameterEClass = createEClass(RESOURCE_MTTF_PARAMETER); |
| 1037 | createEReference(resourceMTTFParameterEClass, RESOURCE_MTTF_PARAMETER__PROCESSING_RESOURCE_TYPE_RESOURCE_MTTF_PARAMETER); |
| 1038 | createEReference(resourceMTTFParameterEClass, RESOURCE_MTTF_PARAMETER__RESOURCE_CONTAINER_RESOURCE_MTTF_PARAMETER); |
| 1039 | |
| 1040 | resourceMTTRParameterEClass = createEClass(RESOURCE_MTTR_PARAMETER); |
| 1041 | createEReference(resourceMTTRParameterEClass, RESOURCE_MTTR_PARAMETER__RESOURCE_CONTAINER_RESOURCE_MTTR_PARAMETER); |
| 1042 | createEReference(resourceMTTRParameterEClass, RESOURCE_MTTR_PARAMETER__PROCESSING_RESOURCE_TYPE_RESOURCE_MTTR_PARAMETER); |
| 1043 | |
| 1044 | networkReliabilityParameterEClass = createEClass(NETWORK_RELIABILITY_PARAMETER); |
| 1045 | |
| 1046 | communicationLinkReliabilityParameterEClass = createEClass(COMMUNICATION_LINK_RELIABILITY_PARAMETER); |
| 1047 | createEReference(communicationLinkReliabilityParameterEClass, COMMUNICATION_LINK_RELIABILITY_PARAMETER__COMMUNICATION_LINK_RESOURCE_SPECIFICATION_COMMUNICATION_LINK_RELIABILITY_PARAMETER); |
| 1048 | |
| 1049 | softwareReliabilityParameterEClass = createEClass(SOFTWARE_RELIABILITY_PARAMETER); |
| 1050 | |
| 1051 | variableUsageParameterEClass = createEClass(VARIABLE_USAGE_PARAMETER); |
| 1052 | createEAttribute(variableUsageParameterEClass, VARIABLE_USAGE_PARAMETER__VARIABLE_NAME); |
| 1053 | createEReference(variableUsageParameterEClass, VARIABLE_USAGE_PARAMETER__ENTRY_LEVEL_SYSTEM_CALL_VARIABLE_USAGE_PARAMETER); |
| 1054 | createEAttribute(variableUsageParameterEClass, VARIABLE_USAGE_PARAMETER__VARIABLE_CHARACTERISATION_TYPE_VARIABLE_USAGE_PARAMETER); |
| 1055 | createEAttribute(variableUsageParameterEClass, VARIABLE_USAGE_PARAMETER__VARIABLE_USAGE_TYPE_VARIABLE_USAGE_PARAMETER); |
| 1056 | createEReference(variableUsageParameterEClass, VARIABLE_USAGE_PARAMETER__BASIC_COMPONENT_VARIABLE_USAGE_PARAMETER); |
| 1057 | |
| 1058 | usageBranchParameterEClass = createEClass(USAGE_BRANCH_PARAMETER); |
| 1059 | createEReference(usageBranchParameterEClass, USAGE_BRANCH_PARAMETER__BRANCH_USAGE_BRANCH_PARAMETER); |
| 1060 | createEReference(usageBranchParameterEClass, USAGE_BRANCH_PARAMETER__SCENARIO_BEHAVIOUR_USAGE_BRANCH_PARAMETER); |
| 1061 | |
| 1062 | doubleOffsetSequenceEClass = createEClass(DOUBLE_OFFSET_SEQUENCE); |
| 1063 | createEAttribute(doubleOffsetSequenceEClass, DOUBLE_OFFSET_SEQUENCE__OFFSET_VALUES); |
| 1064 | createEAttribute(doubleOffsetSequenceEClass, DOUBLE_OFFSET_SEQUENCE__DOUBLE_OFFSET_TYPE_DOUBLE_OFFSET_SEQUENCE); |
| 1065 | |
| 1066 | softwareFailureTypesParameterEClass = createEClass(SOFTWARE_FAILURE_TYPES_PARAMETER); |
| 1067 | createEReference(softwareFailureTypesParameterEClass, SOFTWARE_FAILURE_TYPES_PARAMETER__SOFTWARE_INDUCED_FAILURE_TYPES_SOFTWARE_FAILURE_TYPE_RELIABILITY_PARAMETER); |
| 1068 | |
| 1069 | failureTypeResultSpecificationEClass = createEClass(FAILURE_TYPE_RESULT_SPECIFICATION); |
| 1070 | createEReference(failureTypeResultSpecificationEClass, FAILURE_TYPE_RESULT_SPECIFICATION__FAILURE_TYPES_FAILURE_TYPE_RESULT_SPECIFICATION); |
| 1071 | |
| 1072 | failureDimensionResultSpecificationEClass = createEClass(FAILURE_DIMENSION_RESULT_SPECIFICATION); |
| 1073 | createEAttribute(failureDimensionResultSpecificationEClass, FAILURE_DIMENSION_RESULT_SPECIFICATION__FAILURE_DIMENSION_FAILURE_DIMENSION_RESULT_SPECIFICATION); |
| 1074 | |
| 1075 | // Create enums |
| 1076 | variableUsageTypeEEnum = createEEnum(VARIABLE_USAGE_TYPE); |
| 1077 | doubleOffsetTypeEEnum = createEEnum(DOUBLE_OFFSET_TYPE); |
| 1078 | failureDimensionEEnum = createEEnum(FAILURE_DIMENSION); |
| 1079 | } |
| 1080 | |
| 1081 | /** |
| 1082 | * <!-- begin-user-doc --> |
| 1083 | * <!-- end-user-doc --> |
| 1084 | * @generated |
| 1085 | */ |
| 1086 | private boolean isInitialized = false; |
| 1087 | |
| 1088 | /** |
| 1089 | * Complete the initialization of the package and its meta-model. This |
| 1090 | * method is guarded to have no affect on any invocation but its first. |
| 1091 | * <!-- begin-user-doc --> |
| 1092 | * <!-- end-user-doc --> |
| 1093 | * @generated |
| 1094 | */ |
| 1095 | public void initializePackageContents() { |
| 1096 | if (isInitialized) return; |
| 1097 | isInitialized = true; |
| 1098 | |
| 1099 | // Initialize package |
| 1100 | setName(eNAME); |
| 1101 | setNsPrefix(eNS_PREFIX); |
| 1102 | setNsURI(eNS_URI); |
| 1103 | |
| 1104 | // Obtain other dependent packages |
| 1105 | EntityPackage theEntityPackage = (EntityPackage)EPackage.Registry.INSTANCE.getEPackage(EntityPackage.eNS_URI); |
| 1106 | RepositoryPackage theRepositoryPackage = (RepositoryPackage)EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI); |
| 1107 | ReliabilityPackage theReliabilityPackage = (ReliabilityPackage)EPackage.Registry.INSTANCE.getEPackage(ReliabilityPackage.eNS_URI); |
| 1108 | SeffPackage theSeffPackage = (SeffPackage)EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI); |
| 1109 | ResourcetypePackage theResourcetypePackage = (ResourcetypePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI); |
| 1110 | ResourceenvironmentPackage theResourceenvironmentPackage = (ResourceenvironmentPackage)EPackage.Registry.INSTANCE.getEPackage(ResourceenvironmentPackage.eNS_URI); |
| 1111 | UsagemodelPackage theUsagemodelPackage = (UsagemodelPackage)EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI); |
| 1112 | ParameterPackage theParameterPackage = (ParameterPackage)EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI); |
| 1113 | |
| 1114 | // Create type parameters |
| 1115 | |
| 1116 | // Set bounds for type parameters |
| 1117 | |
| 1118 | // Add supertypes to classes |
| 1119 | sensitivityConfigurationEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1120 | sensitivityParameterEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1121 | combinedSensitivityParameterEClass.getESuperTypes().add(this.getSensitivityParameter()); |
| 1122 | sensitivityResultSpecificationEClass.getESuperTypes().add(theEntityPackage.getEntity()); |
| 1123 | singleSensitivityParameterEClass.getESuperTypes().add(this.getSensitivityParameter()); |
| 1124 | componentReliabilityParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1125 | doubleParameterVariationEClass.getESuperTypes().add(this.getSensitivityParameterVariation()); |
| 1126 | stringParameterSequenceEClass.getESuperTypes().add(this.getSensitivityParameterVariation()); |
| 1127 | doubleParameterRangeEClass.getESuperTypes().add(this.getDoubleParameterVariation()); |
| 1128 | doubleParameterSequenceEClass.getESuperTypes().add(this.getDoubleParameterVariation()); |
| 1129 | doubleParameterFunctionEClass.getESuperTypes().add(this.getDoubleParameterVariation()); |
| 1130 | internalActionReliabilityParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1131 | probabilisticBranchParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1132 | hardwareMTTFParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1133 | hardwareMTTRParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1134 | resourceMTTFParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1135 | resourceMTTRParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1136 | networkReliabilityParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1137 | communicationLinkReliabilityParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1138 | softwareReliabilityParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1139 | variableUsageParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1140 | usageBranchParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1141 | doubleOffsetSequenceEClass.getESuperTypes().add(this.getDoubleParameterVariation()); |
| 1142 | softwareFailureTypesParameterEClass.getESuperTypes().add(this.getSingleSensitivityParameter()); |
| 1143 | failureTypeResultSpecificationEClass.getESuperTypes().add(this.getSensitivityResultSpecification()); |
| 1144 | failureDimensionResultSpecificationEClass.getESuperTypes().add(this.getSensitivityResultSpecification()); |
| 1145 | |
| 1146 | // Initialize classes and features; add operations and parameters |
| 1147 | initEClass(sensitivityConfigurationEClass, SensitivityConfiguration.class, "SensitivityConfiguration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1148 | initEReference(getSensitivityConfiguration_SensitivityParameters__SensitivityConfiguration(), this.getSensitivityParameter(), this.getSensitivityParameter_SensitivityConfiguration__SensitivityParameter(), "sensitivityParameters__SensitivityConfiguration", null, 1, 1, SensitivityConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1149 | initEReference(getSensitivityConfiguration_SensitivityResultSpecifications__SensitivityConfiguration(), this.getSensitivityResultSpecification(), null, "sensitivityResultSpecifications__SensitivityConfiguration", null, 0, -1, SensitivityConfiguration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1150 | |
| 1151 | initEClass(sensitivityParameterEClass, SensitivityParameter.class, "SensitivityParameter", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1152 | initEReference(getSensitivityParameter_ParentParameter__SensitivityParameter(), this.getCombinedSensitivityParameter(), this.getCombinedSensitivityParameter_ChildParameters__CombinedSensitivityParameter(), "parentParameter__SensitivityParameter", null, 0, 1, SensitivityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1153 | initEReference(getSensitivityParameter_SensitivityConfiguration__SensitivityParameter(), this.getSensitivityConfiguration(), this.getSensitivityConfiguration_SensitivityParameters__SensitivityConfiguration(), "sensitivityConfiguration__SensitivityParameter", null, 0, 1, SensitivityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1154 | |
| 1155 | initEClass(combinedSensitivityParameterEClass, CombinedSensitivityParameter.class, "CombinedSensitivityParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1156 | initEAttribute(getCombinedSensitivityParameter_IsCombinatory(), ecorePackage.getEBoolean(), "isCombinatory", null, 1, 1, CombinedSensitivityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1157 | initEReference(getCombinedSensitivityParameter_ChildParameters__CombinedSensitivityParameter(), this.getSensitivityParameter(), this.getSensitivityParameter_ParentParameter__SensitivityParameter(), "childParameters__CombinedSensitivityParameter", null, 1, -1, CombinedSensitivityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1158 | |
| 1159 | initEClass(sensitivityResultSpecificationEClass, SensitivityResultSpecification.class, "SensitivityResultSpecification", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1160 | |
| 1161 | initEClass(singleSensitivityParameterEClass, SingleSensitivityParameter.class, "SingleSensitivityParameter", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1162 | initEReference(getSingleSensitivityParameter_SensitivityParameterVariation__SingleSensitivityParameter(), this.getSensitivityParameterVariation(), this.getSensitivityParameterVariation_SingleSensitivityParameter__SensitivityParameterVariation(), "sensitivityParameterVariation__SingleSensitivityParameter", null, 1, 1, SingleSensitivityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1163 | |
| 1164 | initEClass(sensitivityParameterVariationEClass, SensitivityParameterVariation.class, "SensitivityParameterVariation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1165 | initEReference(getSensitivityParameterVariation_SingleSensitivityParameter__SensitivityParameterVariation(), this.getSingleSensitivityParameter(), this.getSingleSensitivityParameter_SensitivityParameterVariation__SingleSensitivityParameter(), "singleSensitivityParameter__SensitivityParameterVariation", null, 1, 1, SensitivityParameterVariation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1166 | |
| 1167 | initEClass(componentReliabilityParameterEClass, ComponentReliabilityParameter.class, "ComponentReliabilityParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1168 | initEReference(getComponentReliabilityParameter_BasicComponent__ComponentReliabilityParameter(), theRepositoryPackage.getBasicComponent(), null, "basicComponent__ComponentReliabilityParameter", null, 1, 1, ComponentReliabilityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1169 | |
| 1170 | EOperation op = addEOperation(componentReliabilityParameterEClass, ecorePackage.getEBoolean(), "ComponentReliabilityParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1171 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1172 | EGenericType g1 = createEGenericType(ecorePackage.getEMap()); |
| 1173 | EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1174 | g1.getETypeArguments().add(g2); |
| 1175 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1176 | g1.getETypeArguments().add(g2); |
| 1177 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1178 | |
| 1179 | initEClass(doubleParameterVariationEClass, DoubleParameterVariation.class, "DoubleParameterVariation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1180 | |
| 1181 | initEClass(stringParameterSequenceEClass, StringParameterSequence.class, "StringParameterSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1182 | initEAttribute(getStringParameterSequence_StringValues(), ecorePackage.getEString(), "stringValues", null, 1, -1, StringParameterSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1183 | |
| 1184 | initEClass(doubleParameterRangeEClass, DoubleParameterRange.class, "DoubleParameterRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1185 | initEAttribute(getDoubleParameterRange_ConsiderStepSize(), ecorePackage.getEBoolean(), "considerStepSize", null, 1, 1, DoubleParameterRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1186 | initEAttribute(getDoubleParameterRange_FirstValue(), ecorePackage.getEDouble(), "firstValue", null, 1, 1, DoubleParameterRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1187 | initEAttribute(getDoubleParameterRange_LastValue(), ecorePackage.getEDouble(), "lastValue", null, 1, 1, DoubleParameterRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1188 | initEAttribute(getDoubleParameterRange_StepSize(), ecorePackage.getEDouble(), "stepSize", null, 1, 1, DoubleParameterRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1189 | initEAttribute(getDoubleParameterRange_StepCount(), ecorePackage.getEInt(), "stepCount", null, 1, 1, DoubleParameterRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1190 | |
| 1191 | initEClass(doubleParameterSequenceEClass, DoubleParameterSequence.class, "DoubleParameterSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1192 | initEAttribute(getDoubleParameterSequence_DoubleValues(), ecorePackage.getEDouble(), "doubleValues", null, 1, -1, DoubleParameterSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1193 | |
| 1194 | initEClass(doubleParameterFunctionEClass, DoubleParameterFunction.class, "DoubleParameterFunction", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1195 | |
| 1196 | initEClass(internalActionReliabilityParameterEClass, InternalActionReliabilityParameter.class, "InternalActionReliabilityParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1197 | initEReference(getInternalActionReliabilityParameter_SoftwareInducedFailureType__InternalActionReliabilityParameter(), theReliabilityPackage.getSoftwareInducedFailureType(), null, "softwareInducedFailureType__InternalActionReliabilityParameter", null, 1, 1, InternalActionReliabilityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1198 | initEReference(getInternalActionReliabilityParameter_InternalAction__InternalActionReliabilityParameter(), theSeffPackage.getInternalAction(), null, "internalAction__InternalActionReliabilityParameter", null, 1, 1, InternalActionReliabilityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1199 | |
| 1200 | op = addEOperation(internalActionReliabilityParameterEClass, ecorePackage.getEBoolean(), "InternalActionReliabilityParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1201 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1202 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1203 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1204 | g1.getETypeArguments().add(g2); |
| 1205 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1206 | g1.getETypeArguments().add(g2); |
| 1207 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1208 | |
| 1209 | initEClass(probabilisticBranchParameterEClass, ProbabilisticBranchParameter.class, "ProbabilisticBranchParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1210 | initEReference(getProbabilisticBranchParameter_ProbabilisticBranchTransition__ProbabilisticBranchParameter(), theSeffPackage.getProbabilisticBranchTransition(), null, "probabilisticBranchTransition__ProbabilisticBranchParameter", null, 1, 1, ProbabilisticBranchParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1211 | |
| 1212 | op = addEOperation(probabilisticBranchParameterEClass, ecorePackage.getEBoolean(), "ProbabilisticBranchParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1213 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1214 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1215 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1216 | g1.getETypeArguments().add(g2); |
| 1217 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1218 | g1.getETypeArguments().add(g2); |
| 1219 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1220 | |
| 1221 | initEClass(hardwareMTTFParameterEClass, HardwareMTTFParameter.class, "HardwareMTTFParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1222 | |
| 1223 | op = addEOperation(hardwareMTTFParameterEClass, ecorePackage.getEBoolean(), "HardwareMTTFParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1224 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1225 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1226 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1227 | g1.getETypeArguments().add(g2); |
| 1228 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1229 | g1.getETypeArguments().add(g2); |
| 1230 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1231 | |
| 1232 | initEClass(hardwareMTTRParameterEClass, HardwareMTTRParameter.class, "HardwareMTTRParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1233 | |
| 1234 | op = addEOperation(hardwareMTTRParameterEClass, ecorePackage.getEBoolean(), "HardwareMTTRParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1235 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1236 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1237 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1238 | g1.getETypeArguments().add(g2); |
| 1239 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1240 | g1.getETypeArguments().add(g2); |
| 1241 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1242 | |
| 1243 | initEClass(resourceMTTFParameterEClass, ResourceMTTFParameter.class, "ResourceMTTFParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1244 | initEReference(getResourceMTTFParameter_ProcessingResourceType__ResourceMTTFParameter(), theResourcetypePackage.getProcessingResourceType(), null, "processingResourceType__ResourceMTTFParameter", null, 1, 1, ResourceMTTFParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1245 | initEReference(getResourceMTTFParameter_ResourceContainer__ResourceMTTFParameter(), theResourceenvironmentPackage.getResourceContainer(), null, "resourceContainer__ResourceMTTFParameter", null, 1, 1, ResourceMTTFParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1246 | |
| 1247 | op = addEOperation(resourceMTTFParameterEClass, ecorePackage.getEBoolean(), "ResourceMTTFParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1248 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1249 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1250 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1251 | g1.getETypeArguments().add(g2); |
| 1252 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1253 | g1.getETypeArguments().add(g2); |
| 1254 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1255 | |
| 1256 | initEClass(resourceMTTRParameterEClass, ResourceMTTRParameter.class, "ResourceMTTRParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1257 | initEReference(getResourceMTTRParameter_ResourceContainer__ResourceMTTRParameter(), theResourceenvironmentPackage.getResourceContainer(), null, "resourceContainer__ResourceMTTRParameter", null, 1, 1, ResourceMTTRParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1258 | initEReference(getResourceMTTRParameter_ProcessingResourceType__ResourceMTTRParameter(), theResourcetypePackage.getProcessingResourceType(), null, "processingResourceType__ResourceMTTRParameter", null, 1, 1, ResourceMTTRParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1259 | |
| 1260 | op = addEOperation(resourceMTTRParameterEClass, ecorePackage.getEBoolean(), "ResourceMTTRParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1261 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1262 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1263 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1264 | g1.getETypeArguments().add(g2); |
| 1265 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1266 | g1.getETypeArguments().add(g2); |
| 1267 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1268 | |
| 1269 | initEClass(networkReliabilityParameterEClass, NetworkReliabilityParameter.class, "NetworkReliabilityParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1270 | |
| 1271 | op = addEOperation(networkReliabilityParameterEClass, ecorePackage.getEBoolean(), "NetworkReliabilityParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1272 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1273 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1274 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1275 | g1.getETypeArguments().add(g2); |
| 1276 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1277 | g1.getETypeArguments().add(g2); |
| 1278 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1279 | |
| 1280 | initEClass(communicationLinkReliabilityParameterEClass, CommunicationLinkReliabilityParameter.class, "CommunicationLinkReliabilityParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1281 | initEReference(getCommunicationLinkReliabilityParameter_CommunicationLinkResourceSpecification__CommunicationLinkReliabilityParameter(), theResourceenvironmentPackage.getCommunicationLinkResourceSpecification(), null, "communicationLinkResourceSpecification__CommunicationLinkReliabilityParameter", null, 1, 1, CommunicationLinkReliabilityParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1282 | |
| 1283 | op = addEOperation(communicationLinkReliabilityParameterEClass, ecorePackage.getEBoolean(), "CommunicationLinkParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1284 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1285 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1286 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1287 | g1.getETypeArguments().add(g2); |
| 1288 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1289 | g1.getETypeArguments().add(g2); |
| 1290 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1291 | |
| 1292 | initEClass(softwareReliabilityParameterEClass, SoftwareReliabilityParameter.class, "SoftwareReliabilityParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1293 | |
| 1294 | op = addEOperation(softwareReliabilityParameterEClass, ecorePackage.getEBoolean(), "SoftwareReliabilityParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1295 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1296 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1297 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1298 | g1.getETypeArguments().add(g2); |
| 1299 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1300 | g1.getETypeArguments().add(g2); |
| 1301 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1302 | |
| 1303 | initEClass(variableUsageParameterEClass, VariableUsageParameter.class, "VariableUsageParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1304 | initEAttribute(getVariableUsageParameter_VariableName(), ecorePackage.getEString(), "VariableName", null, 1, 1, VariableUsageParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1305 | initEReference(getVariableUsageParameter_EntryLevelSystemCall__VariableUsageParameter(), theUsagemodelPackage.getEntryLevelSystemCall(), null, "entryLevelSystemCall__VariableUsageParameter", null, 0, 1, VariableUsageParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1306 | initEAttribute(getVariableUsageParameter_VariableCharacterisationType__VariableUsageParameter(), theParameterPackage.getVariableCharacterisationType(), "variableCharacterisationType__VariableUsageParameter", null, 1, 1, VariableUsageParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1307 | initEAttribute(getVariableUsageParameter_VariableUsageType__VariableUsageParameter(), this.getVariableUsageType(), "variableUsageType__VariableUsageParameter", null, 1, 1, VariableUsageParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1308 | initEReference(getVariableUsageParameter_BasicComponent__VariableUsageParameter(), theRepositoryPackage.getBasicComponent(), null, "basicComponent__VariableUsageParameter", null, 0, 1, VariableUsageParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1309 | |
| 1310 | op = addEOperation(variableUsageParameterEClass, ecorePackage.getEBoolean(), "SystemCallParameterMustHaveStringSequence", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1311 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1312 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1313 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1314 | g1.getETypeArguments().add(g2); |
| 1315 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1316 | g1.getETypeArguments().add(g2); |
| 1317 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1318 | |
| 1319 | initEClass(usageBranchParameterEClass, UsageBranchParameter.class, "UsageBranchParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1320 | initEReference(getUsageBranchParameter_Branch__UsageBranchParameter(), theUsagemodelPackage.getBranch(), null, "branch__UsageBranchParameter", null, 1, 1, UsageBranchParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1321 | initEReference(getUsageBranchParameter_ScenarioBehaviour__UsageBranchParameter(), theUsagemodelPackage.getScenarioBehaviour(), null, "scenarioBehaviour__UsageBranchParameter", null, 1, 1, UsageBranchParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1322 | |
| 1323 | op = addEOperation(usageBranchParameterEClass, ecorePackage.getEBoolean(), "UsageBranchParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1324 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1325 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1326 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1327 | g1.getETypeArguments().add(g2); |
| 1328 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1329 | g1.getETypeArguments().add(g2); |
| 1330 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1331 | |
| 1332 | initEClass(doubleOffsetSequenceEClass, DoubleOffsetSequence.class, "DoubleOffsetSequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1333 | initEAttribute(getDoubleOffsetSequence_OffsetValues(), ecorePackage.getEDouble(), "offsetValues", null, 1, -1, DoubleOffsetSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1334 | initEAttribute(getDoubleOffsetSequence_DoubleOffsetType__DoubleOffsetSequence(), this.getDoubleOffsetType(), "doubleOffsetType__DoubleOffsetSequence", null, 1, 1, DoubleOffsetSequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1335 | |
| 1336 | initEClass(softwareFailureTypesParameterEClass, SoftwareFailureTypesParameter.class, "SoftwareFailureTypesParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1337 | initEReference(getSoftwareFailureTypesParameter_SoftwareInducedFailureTypes__SoftwareFailureTypeReliabilityParameter(), theReliabilityPackage.getSoftwareInducedFailureType(), null, "softwareInducedFailureTypes__SoftwareFailureTypeReliabilityParameter", null, 1, -1, SoftwareFailureTypesParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1338 | |
| 1339 | op = addEOperation(softwareFailureTypesParameterEClass, ecorePackage.getEBoolean(), "SoftwareFailureTypeReliabilityParameterMustHaveDoubleVariation", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1340 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1341 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1342 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1343 | g1.getETypeArguments().add(g2); |
| 1344 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1345 | g1.getETypeArguments().add(g2); |
| 1346 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1347 | |
| 1348 | initEClass(failureTypeResultSpecificationEClass, FailureTypeResultSpecification.class, "FailureTypeResultSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1349 | initEReference(getFailureTypeResultSpecification_FailureTypes__FailureTypeResultSpecification(), theReliabilityPackage.getFailureType(), null, "failureTypes__FailureTypeResultSpecification", null, 1, -1, FailureTypeResultSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1350 | |
| 1351 | initEClass(failureDimensionResultSpecificationEClass, FailureDimensionResultSpecification.class, "FailureDimensionResultSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1352 | initEAttribute(getFailureDimensionResultSpecification_FailureDimension__FailureDimensionResultSpecification(), this.getFailureDimension(), "failureDimension__FailureDimensionResultSpecification", null, 1, 1, FailureDimensionResultSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1353 | |
| 1354 | // Initialize enums and add enum literals |
| 1355 | initEEnum(variableUsageTypeEEnum, VariableUsageType.class, "VariableUsageType"); |
| 1356 | addEEnumLiteral(variableUsageTypeEEnum, VariableUsageType.SYSTEM_CALL_INPUT); |
| 1357 | addEEnumLiteral(variableUsageTypeEEnum, VariableUsageType.COMPONENT_CONFIGURATION); |
| 1358 | |
| 1359 | initEEnum(doubleOffsetTypeEEnum, DoubleOffsetType.class, "DoubleOffsetType"); |
| 1360 | addEEnumLiteral(doubleOffsetTypeEEnum, DoubleOffsetType.ADD); |
| 1361 | addEEnumLiteral(doubleOffsetTypeEEnum, DoubleOffsetType.SUBTRACT); |
| 1362 | addEEnumLiteral(doubleOffsetTypeEEnum, DoubleOffsetType.MULTIPLY); |
| 1363 | addEEnumLiteral(doubleOffsetTypeEEnum, DoubleOffsetType.DIVIDE); |
| 1364 | |
| 1365 | initEEnum(failureDimensionEEnum, FailureDimension.class, "FailureDimension"); |
| 1366 | addEEnumLiteral(failureDimensionEEnum, FailureDimension.SOFTWARE); |
| 1367 | addEEnumLiteral(failureDimensionEEnum, FailureDimension.HARDWARE); |
| 1368 | addEEnumLiteral(failureDimensionEEnum, FailureDimension.NETWORK); |
| 1369 | |
| 1370 | // Create resource |
| 1371 | createResource(eNS_URI); |
| 1372 | } |
| 1373 | |
| 1374 | } //SensitivityPackageImpl |