| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.fzi.se.quality.qualityannotation.impl; |
| 8 | |
| 9 | import de.fzi.se.quality.QualityPackage; |
| 10 | |
| 11 | import de.fzi.se.quality.impl.QualityPackageImpl; |
| 12 | |
| 13 | import de.fzi.se.quality.parameters.ParametersPackage; |
| 14 | |
| 15 | import de.fzi.se.quality.parameters.impl.ParametersPackageImpl; |
| 16 | |
| 17 | import de.fzi.se.quality.parameters.pcm.PCMPackage; |
| 18 | |
| 19 | import de.fzi.se.quality.parameters.pcm.impl.PCMPackageImpl; |
| 20 | |
| 21 | import de.fzi.se.quality.qualityannotation.CallParameterDeviation; |
| 22 | import de.fzi.se.quality.qualityannotation.CharacterisedPCMParameterPartition; |
| 23 | import de.fzi.se.quality.qualityannotation.CharacterisedPCMParameterPartitionInterval; |
| 24 | import de.fzi.se.quality.qualityannotation.CharacterisedPCMParameterPartitionRange; |
| 25 | import de.fzi.se.quality.qualityannotation.ExactlyAsSpecifiedPrecision; |
| 26 | import de.fzi.se.quality.qualityannotation.InternalStateInfluenceAnalysisAggregation; |
| 27 | import de.fzi.se.quality.qualityannotation.LimitedDeviationPrecision; |
| 28 | import de.fzi.se.quality.qualityannotation.NoPrecision; |
| 29 | import de.fzi.se.quality.qualityannotation.NumberOfCallsDeviation; |
| 30 | import de.fzi.se.quality.qualityannotation.PCMParameterPartition; |
| 31 | import de.fzi.se.quality.qualityannotation.PCMRECategory; |
| 32 | import de.fzi.se.quality.qualityannotation.PCMREInterface; |
| 33 | import de.fzi.se.quality.qualityannotation.PCMRERequestCategory; |
| 34 | import de.fzi.se.quality.qualityannotation.PCMREResourceInterface; |
| 35 | import de.fzi.se.quality.qualityannotation.PCMREResourceSignature; |
| 36 | import de.fzi.se.quality.qualityannotation.PCMRERole; |
| 37 | import de.fzi.se.quality.qualityannotation.PCMRESignature; |
| 38 | import de.fzi.se.quality.qualityannotation.PCMServiceSpecification; |
| 39 | import de.fzi.se.quality.qualityannotation.Precision; |
| 40 | import de.fzi.se.quality.qualityannotation.QualityAnnotation; |
| 41 | import de.fzi.se.quality.qualityannotation.QualityAnnotationFactory; |
| 42 | import de.fzi.se.quality.qualityannotation.QualityAnnotationPackage; |
| 43 | import de.fzi.se.quality.qualityannotation.REPrecision; |
| 44 | import de.fzi.se.quality.qualityannotation.RequiredElement; |
| 45 | import de.fzi.se.quality.qualityannotation.ServiceSpecification; |
| 46 | |
| 47 | import de.fzi.se.quality.qualityannotation.util.QualityAnnotationValidator; |
| 48 | |
| 49 | import de.uka.ipd.sdq.identifier.IdentifierPackage; |
| 50 | |
| 51 | import de.uka.ipd.sdq.pcm.PcmPackage; |
| 52 | |
| 53 | import de.uka.ipd.sdq.pcm.core.CorePackage; |
| 54 | |
| 55 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
| 56 | |
| 57 | import de.uka.ipd.sdq.pcm.repository.RepositoryPackage; |
| 58 | |
| 59 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
| 60 | |
| 61 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
| 62 | |
| 63 | import org.eclipse.emf.ecore.EAttribute; |
| 64 | import org.eclipse.emf.ecore.EClass; |
| 65 | import org.eclipse.emf.ecore.EEnum; |
| 66 | import org.eclipse.emf.ecore.EGenericType; |
| 67 | import org.eclipse.emf.ecore.EOperation; |
| 68 | import org.eclipse.emf.ecore.EPackage; |
| 69 | import org.eclipse.emf.ecore.EReference; |
| 70 | import org.eclipse.emf.ecore.EValidator; |
| 71 | |
| 72 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
| 73 | |
| 74 | /** |
| 75 | * <!-- begin-user-doc --> |
| 76 | * An implementation of the model <b>Package</b>. |
| 77 | * <!-- end-user-doc --> |
| 78 | * @generated |
| 79 | */ |
| 80 | public class QualityAnnotationPackageImpl extends EPackageImpl implements QualityAnnotationPackage { |
| 81 | /** |
| 82 | * <!-- begin-user-doc --> |
| 83 | * <!-- end-user-doc --> |
| 84 | * @generated |
| 85 | */ |
| 86 | private EClass callParameterDeviationEClass = null; |
| 87 | |
| 88 | /** |
| 89 | * <!-- begin-user-doc --> |
| 90 | * <!-- end-user-doc --> |
| 91 | * @generated |
| 92 | */ |
| 93 | private EClass qualityAnnotationEClass = null; |
| 94 | |
| 95 | /** |
| 96 | * <!-- begin-user-doc --> |
| 97 | * <!-- end-user-doc --> |
| 98 | * @generated |
| 99 | */ |
| 100 | private EClass serviceSpecificationEClass = null; |
| 101 | |
| 102 | /** |
| 103 | * <!-- begin-user-doc --> |
| 104 | * <!-- end-user-doc --> |
| 105 | * @generated |
| 106 | */ |
| 107 | private EClass requiredElementEClass = null; |
| 108 | |
| 109 | /** |
| 110 | * <!-- begin-user-doc --> |
| 111 | * <!-- end-user-doc --> |
| 112 | * @generated |
| 113 | */ |
| 114 | private EClass numberOfCallsDeviationEClass = null; |
| 115 | |
| 116 | /** |
| 117 | * <!-- begin-user-doc --> |
| 118 | * <!-- end-user-doc --> |
| 119 | * @generated |
| 120 | */ |
| 121 | private EClass internalStateInfluenceAnalysisAggregationEClass = null; |
| 122 | |
| 123 | /** |
| 124 | * <!-- begin-user-doc --> |
| 125 | * <!-- end-user-doc --> |
| 126 | * @generated |
| 127 | */ |
| 128 | private EClass rePrecisionEClass = null; |
| 129 | |
| 130 | /** |
| 131 | * <!-- begin-user-doc --> |
| 132 | * <!-- end-user-doc --> |
| 133 | * @generated |
| 134 | */ |
| 135 | private EClass precisionEClass = null; |
| 136 | |
| 137 | /** |
| 138 | * <!-- begin-user-doc --> |
| 139 | * <!-- end-user-doc --> |
| 140 | * @generated |
| 141 | */ |
| 142 | private EClass pcmParameterPartitionEClass = null; |
| 143 | |
| 144 | /** |
| 145 | * <!-- begin-user-doc --> |
| 146 | * <!-- end-user-doc --> |
| 147 | * @generated |
| 148 | */ |
| 149 | private EClass characterisedPCMParameterPartitionEClass = null; |
| 150 | |
| 151 | /** |
| 152 | * <!-- begin-user-doc --> |
| 153 | * <!-- end-user-doc --> |
| 154 | * @generated |
| 155 | */ |
| 156 | private EClass characterisedPCMParameterPartitionIntervalEClass = null; |
| 157 | |
| 158 | /** |
| 159 | * <!-- begin-user-doc --> |
| 160 | * <!-- end-user-doc --> |
| 161 | * @generated |
| 162 | */ |
| 163 | private EClass characterisedPCMParameterPartitionRangeEClass = null; |
| 164 | |
| 165 | /** |
| 166 | * <!-- begin-user-doc --> |
| 167 | * <!-- end-user-doc --> |
| 168 | * @generated |
| 169 | */ |
| 170 | private EClass exactlyAsSpecifiedPrecisionEClass = null; |
| 171 | |
| 172 | /** |
| 173 | * <!-- begin-user-doc --> |
| 174 | * <!-- end-user-doc --> |
| 175 | * @generated |
| 176 | */ |
| 177 | private EClass limitedDeviationPrecisionEClass = null; |
| 178 | |
| 179 | /** |
| 180 | * <!-- begin-user-doc --> |
| 181 | * <!-- end-user-doc --> |
| 182 | * @generated |
| 183 | */ |
| 184 | private EClass noPrecisionEClass = null; |
| 185 | |
| 186 | /** |
| 187 | * <!-- begin-user-doc --> |
| 188 | * <!-- end-user-doc --> |
| 189 | * @generated |
| 190 | */ |
| 191 | private EClass pcmreCategoryEClass = null; |
| 192 | |
| 193 | /** |
| 194 | * <!-- begin-user-doc --> |
| 195 | * <!-- end-user-doc --> |
| 196 | * @generated |
| 197 | */ |
| 198 | private EClass pcmreEClass = null; |
| 199 | |
| 200 | /** |
| 201 | * <!-- begin-user-doc --> |
| 202 | * <!-- end-user-doc --> |
| 203 | * @generated |
| 204 | */ |
| 205 | private EClass pcmreInterfaceEClass = null; |
| 206 | |
| 207 | /** |
| 208 | * <!-- begin-user-doc --> |
| 209 | * <!-- end-user-doc --> |
| 210 | * @generated |
| 211 | */ |
| 212 | private EClass pcmreRoleEClass = null; |
| 213 | |
| 214 | /** |
| 215 | * <!-- begin-user-doc --> |
| 216 | * <!-- end-user-doc --> |
| 217 | * @generated |
| 218 | */ |
| 219 | private EClass pcmreSignatureEClass = null; |
| 220 | |
| 221 | /** |
| 222 | * <!-- begin-user-doc --> |
| 223 | * <!-- end-user-doc --> |
| 224 | * @generated |
| 225 | */ |
| 226 | private EClass pcmServiceSpecificationEClass = null; |
| 227 | |
| 228 | /** |
| 229 | * <!-- begin-user-doc --> |
| 230 | * <!-- end-user-doc --> |
| 231 | * @generated |
| 232 | */ |
| 233 | private EClass pcmreResourceInterfaceEClass = null; |
| 234 | |
| 235 | /** |
| 236 | * <!-- begin-user-doc --> |
| 237 | * <!-- end-user-doc --> |
| 238 | * @generated |
| 239 | */ |
| 240 | private EClass pcmreResourceSignatureEClass = null; |
| 241 | |
| 242 | /** |
| 243 | * <!-- begin-user-doc --> |
| 244 | * <!-- end-user-doc --> |
| 245 | * @generated |
| 246 | */ |
| 247 | private EEnum pcmreRequestCategoryEEnum = null; |
| 248 | |
| 249 | /** |
| 250 | * Creates an instance of the model <b>Package</b>, registered with |
| 251 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| 252 | * package URI value. |
| 253 | * <p>Note: the correct way to create the package is via the static |
| 254 | * factory method {@link #init init()}, which also performs |
| 255 | * initialization of the package, or returns the registered package, |
| 256 | * if one already exists. |
| 257 | * <!-- begin-user-doc --> |
| 258 | * <!-- end-user-doc --> |
| 259 | * @see org.eclipse.emf.ecore.EPackage.Registry |
| 260 | * @see de.fzi.se.quality.qualityannotation.QualityAnnotationPackage#eNS_URI |
| 261 | * @see #init() |
| 262 | * @generated |
| 263 | */ |
| 264 | private QualityAnnotationPackageImpl() { |
| 265 | super(eNS_URI, QualityAnnotationFactory.eINSTANCE); |
| 266 | } |
| 267 | |
| 268 | /** |
| 269 | * <!-- begin-user-doc --> |
| 270 | * <!-- end-user-doc --> |
| 271 | * @generated |
| 272 | */ |
| 273 | private static boolean isInited = false; |
| 274 | |
| 275 | /** |
| 276 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| 277 | * |
| 278 | * <p>This method is used to initialize {@link QualityAnnotationPackage#eINSTANCE} when that field is accessed. |
| 279 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| 280 | * <!-- begin-user-doc --> |
| 281 | * <!-- end-user-doc --> |
| 282 | * @see #eNS_URI |
| 283 | * @see #createPackageContents() |
| 284 | * @see #initializePackageContents() |
| 285 | * @generated |
| 286 | */ |
| 287 | public static QualityAnnotationPackage init() { |
| 288 | if (isInited) return (QualityAnnotationPackage)EPackage.Registry.INSTANCE.getEPackage(QualityAnnotationPackage.eNS_URI); |
| 289 | |
| 290 | // Obtain or create and register package |
| 291 | QualityAnnotationPackageImpl theQualityAnnotationPackage = (QualityAnnotationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof QualityAnnotationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new QualityAnnotationPackageImpl()); |
| 292 | |
| 293 | isInited = true; |
| 294 | |
| 295 | // Initialize simple dependencies |
| 296 | PcmPackage.eINSTANCE.eClass(); |
| 297 | |
| 298 | // Obtain or create and register interdependencies |
| 299 | QualityPackageImpl theQualityPackage = (QualityPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QualityPackage.eNS_URI) instanceof QualityPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QualityPackage.eNS_URI) : QualityPackage.eINSTANCE); |
| 300 | ParametersPackageImpl theParametersPackage = (ParametersPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI) instanceof ParametersPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI) : ParametersPackage.eINSTANCE); |
| 301 | PCMPackageImpl thePCMPackage = (PCMPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PCMPackage.eNS_URI) instanceof PCMPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PCMPackage.eNS_URI) : PCMPackage.eINSTANCE); |
| 302 | |
| 303 | // Create package meta-data objects |
| 304 | theQualityAnnotationPackage.createPackageContents(); |
| 305 | theQualityPackage.createPackageContents(); |
| 306 | theParametersPackage.createPackageContents(); |
| 307 | thePCMPackage.createPackageContents(); |
| 308 | |
| 309 | // Initialize created meta-data |
| 310 | theQualityAnnotationPackage.initializePackageContents(); |
| 311 | theQualityPackage.initializePackageContents(); |
| 312 | theParametersPackage.initializePackageContents(); |
| 313 | thePCMPackage.initializePackageContents(); |
| 314 | |
| 315 | // Register package validator |
| 316 | EValidator.Registry.INSTANCE.put |
| 317 | (theQualityAnnotationPackage, |
| 318 | new EValidator.Descriptor() { |
| 319 | public EValidator getEValidator() { |
| 320 | return QualityAnnotationValidator.INSTANCE; |
| 321 | } |
| 322 | }); |
| 323 | |
| 324 | // Mark meta-data to indicate it can't be changed |
| 325 | theQualityAnnotationPackage.freeze(); |
| 326 | |
| 327 | |
| 328 | // Update the registry and return the package |
| 329 | EPackage.Registry.INSTANCE.put(QualityAnnotationPackage.eNS_URI, theQualityAnnotationPackage); |
| 330 | return theQualityAnnotationPackage; |
| 331 | } |
| 332 | |
| 333 | /** |
| 334 | * <!-- begin-user-doc --> |
| 335 | * <!-- end-user-doc --> |
| 336 | * @generated |
| 337 | */ |
| 338 | public EClass getCallParameterDeviation() { |
| 339 | return callParameterDeviationEClass; |
| 340 | } |
| 341 | |
| 342 | /** |
| 343 | * <!-- begin-user-doc --> |
| 344 | * <!-- end-user-doc --> |
| 345 | * @generated |
| 346 | */ |
| 347 | public EReference getCallParameterDeviation_ParameterReference() { |
| 348 | return (EReference)callParameterDeviationEClass.getEStructuralFeatures().get(0); |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * <!-- begin-user-doc --> |
| 353 | * <!-- end-user-doc --> |
| 354 | * @generated |
| 355 | */ |
| 356 | public EReference getCallParameterDeviation_InternalStateInfluenceAnalysisAggregation() { |
| 357 | return (EReference)callParameterDeviationEClass.getEStructuralFeatures().get(1); |
| 358 | } |
| 359 | |
| 360 | /** |
| 361 | * <!-- begin-user-doc --> |
| 362 | * <!-- end-user-doc --> |
| 363 | * @generated |
| 364 | */ |
| 365 | public EAttribute getCallParameterDeviation_Maximum() { |
| 366 | return (EAttribute)callParameterDeviationEClass.getEStructuralFeatures().get(2); |
| 367 | } |
| 368 | |
| 369 | /** |
| 370 | * <!-- begin-user-doc --> |
| 371 | * <!-- end-user-doc --> |
| 372 | * @generated |
| 373 | */ |
| 374 | public EClass getQualityAnnotation() { |
| 375 | return qualityAnnotationEClass; |
| 376 | } |
| 377 | |
| 378 | /** |
| 379 | * <!-- begin-user-doc --> |
| 380 | * <!-- end-user-doc --> |
| 381 | * @generated |
| 382 | */ |
| 383 | public EAttribute getQualityAnnotation_IsValid() { |
| 384 | return (EAttribute)qualityAnnotationEClass.getEStructuralFeatures().get(0); |
| 385 | } |
| 386 | |
| 387 | /** |
| 388 | * <!-- begin-user-doc --> |
| 389 | * <!-- end-user-doc --> |
| 390 | * @generated |
| 391 | */ |
| 392 | public EReference getQualityAnnotation_ForServiceSpecification() { |
| 393 | return (EReference)qualityAnnotationEClass.getEStructuralFeatures().get(1); |
| 394 | } |
| 395 | |
| 396 | /** |
| 397 | * <!-- begin-user-doc --> |
| 398 | * <!-- end-user-doc --> |
| 399 | * @generated |
| 400 | */ |
| 401 | public EReference getQualityAnnotation_StipulatedREPrecisions() { |
| 402 | return (EReference)qualityAnnotationEClass.getEStructuralFeatures().get(2); |
| 403 | } |
| 404 | |
| 405 | /** |
| 406 | * <!-- begin-user-doc --> |
| 407 | * <!-- end-user-doc --> |
| 408 | * @generated |
| 409 | */ |
| 410 | public EReference getQualityAnnotation_InternalStateInfluenceAnalysisResult() { |
| 411 | return (EReference)qualityAnnotationEClass.getEStructuralFeatures().get(3); |
| 412 | } |
| 413 | |
| 414 | /** |
| 415 | * <!-- begin-user-doc --> |
| 416 | * <!-- end-user-doc --> |
| 417 | * @generated |
| 418 | */ |
| 419 | public EReference getQualityAnnotation_ValidForParameterPartitions() { |
| 420 | return (EReference)qualityAnnotationEClass.getEStructuralFeatures().get(4); |
| 421 | } |
| 422 | |
| 423 | /** |
| 424 | * <!-- begin-user-doc --> |
| 425 | * <!-- end-user-doc --> |
| 426 | * @generated |
| 427 | */ |
| 428 | public EClass getServiceSpecification() { |
| 429 | return serviceSpecificationEClass; |
| 430 | } |
| 431 | |
| 432 | /** |
| 433 | * <!-- begin-user-doc --> |
| 434 | * <!-- end-user-doc --> |
| 435 | * @generated |
| 436 | */ |
| 437 | public EAttribute getServiceSpecification_Checksum() { |
| 438 | return (EAttribute)serviceSpecificationEClass.getEStructuralFeatures().get(0); |
| 439 | } |
| 440 | |
| 441 | /** |
| 442 | * <!-- begin-user-doc --> |
| 443 | * <!-- end-user-doc --> |
| 444 | * @generated |
| 445 | */ |
| 446 | public EReference getServiceSpecification_QualityAnnotation() { |
| 447 | return (EReference)serviceSpecificationEClass.getEStructuralFeatures().get(1); |
| 448 | } |
| 449 | |
| 450 | /** |
| 451 | * <!-- begin-user-doc --> |
| 452 | * <!-- end-user-doc --> |
| 453 | * @generated |
| 454 | */ |
| 455 | public EClass getRequiredElement() { |
| 456 | return requiredElementEClass; |
| 457 | } |
| 458 | |
| 459 | /** |
| 460 | * <!-- begin-user-doc --> |
| 461 | * <!-- end-user-doc --> |
| 462 | * @generated |
| 463 | */ |
| 464 | public EReference getRequiredElement_NumberOfCallsDeviation() { |
| 465 | return (EReference)requiredElementEClass.getEStructuralFeatures().get(0); |
| 466 | } |
| 467 | |
| 468 | /** |
| 469 | * <!-- begin-user-doc --> |
| 470 | * <!-- end-user-doc --> |
| 471 | * @generated |
| 472 | */ |
| 473 | public EReference getRequiredElement_ChildREs() { |
| 474 | return (EReference)requiredElementEClass.getEStructuralFeatures().get(1); |
| 475 | } |
| 476 | |
| 477 | /** |
| 478 | * <!-- begin-user-doc --> |
| 479 | * <!-- end-user-doc --> |
| 480 | * @generated |
| 481 | */ |
| 482 | public EReference getRequiredElement_ParentRE() { |
| 483 | return (EReference)requiredElementEClass.getEStructuralFeatures().get(2); |
| 484 | } |
| 485 | |
| 486 | /** |
| 487 | * <!-- begin-user-doc --> |
| 488 | * <!-- end-user-doc --> |
| 489 | * @generated |
| 490 | */ |
| 491 | public EReference getRequiredElement_Precision() { |
| 492 | return (EReference)requiredElementEClass.getEStructuralFeatures().get(3); |
| 493 | } |
| 494 | |
| 495 | /** |
| 496 | * <!-- begin-user-doc --> |
| 497 | * <!-- end-user-doc --> |
| 498 | * @generated |
| 499 | */ |
| 500 | public EReference getRequiredElement_QualityAnnotation() { |
| 501 | return (EReference)requiredElementEClass.getEStructuralFeatures().get(4); |
| 502 | } |
| 503 | |
| 504 | /** |
| 505 | * <!-- begin-user-doc --> |
| 506 | * <!-- end-user-doc --> |
| 507 | * @generated |
| 508 | */ |
| 509 | public EClass getNumberOfCallsDeviation() { |
| 510 | return numberOfCallsDeviationEClass; |
| 511 | } |
| 512 | |
| 513 | /** |
| 514 | * <!-- begin-user-doc --> |
| 515 | * <!-- end-user-doc --> |
| 516 | * @generated |
| 517 | */ |
| 518 | public EReference getNumberOfCallsDeviation_InternalStateInfluenceAnalysisAggregation() { |
| 519 | return (EReference)numberOfCallsDeviationEClass.getEStructuralFeatures().get(0); |
| 520 | } |
| 521 | |
| 522 | /** |
| 523 | * <!-- begin-user-doc --> |
| 524 | * <!-- end-user-doc --> |
| 525 | * @generated |
| 526 | */ |
| 527 | public EAttribute getNumberOfCallsDeviation_Maximum() { |
| 528 | return (EAttribute)numberOfCallsDeviationEClass.getEStructuralFeatures().get(1); |
| 529 | } |
| 530 | |
| 531 | /** |
| 532 | * <!-- begin-user-doc --> |
| 533 | * <!-- end-user-doc --> |
| 534 | * @generated |
| 535 | */ |
| 536 | public EReference getNumberOfCallsDeviation_RequiredElement() { |
| 537 | return (EReference)numberOfCallsDeviationEClass.getEStructuralFeatures().get(2); |
| 538 | } |
| 539 | |
| 540 | /** |
| 541 | * <!-- begin-user-doc --> |
| 542 | * <!-- end-user-doc --> |
| 543 | * @generated |
| 544 | */ |
| 545 | public EClass getInternalStateInfluenceAnalysisAggregation() { |
| 546 | return internalStateInfluenceAnalysisAggregationEClass; |
| 547 | } |
| 548 | |
| 549 | /** |
| 550 | * <!-- begin-user-doc --> |
| 551 | * <!-- end-user-doc --> |
| 552 | * @generated |
| 553 | */ |
| 554 | public EReference getInternalStateInfluenceAnalysisAggregation_QualityAnnotation() { |
| 555 | return (EReference)internalStateInfluenceAnalysisAggregationEClass.getEStructuralFeatures().get(0); |
| 556 | } |
| 557 | |
| 558 | /** |
| 559 | * <!-- begin-user-doc --> |
| 560 | * <!-- end-user-doc --> |
| 561 | * @generated |
| 562 | */ |
| 563 | public EReference getInternalStateInfluenceAnalysisAggregation_CallParameterDeviation() { |
| 564 | return (EReference)internalStateInfluenceAnalysisAggregationEClass.getEStructuralFeatures().get(1); |
| 565 | } |
| 566 | |
| 567 | /** |
| 568 | * <!-- begin-user-doc --> |
| 569 | * <!-- end-user-doc --> |
| 570 | * @generated |
| 571 | */ |
| 572 | public EReference getInternalStateInfluenceAnalysisAggregation_NumberOfCallsDeviation() { |
| 573 | return (EReference)internalStateInfluenceAnalysisAggregationEClass.getEStructuralFeatures().get(2); |
| 574 | } |
| 575 | |
| 576 | /** |
| 577 | * <!-- begin-user-doc --> |
| 578 | * <!-- end-user-doc --> |
| 579 | * @generated |
| 580 | */ |
| 581 | public EClass getREPrecision() { |
| 582 | return rePrecisionEClass; |
| 583 | } |
| 584 | |
| 585 | /** |
| 586 | * <!-- begin-user-doc --> |
| 587 | * <!-- end-user-doc --> |
| 588 | * @generated |
| 589 | */ |
| 590 | public EReference getREPrecision_DefaultPrecisionNumberOfCalls() { |
| 591 | return (EReference)rePrecisionEClass.getEStructuralFeatures().get(0); |
| 592 | } |
| 593 | |
| 594 | /** |
| 595 | * <!-- begin-user-doc --> |
| 596 | * <!-- end-user-doc --> |
| 597 | * @generated |
| 598 | */ |
| 599 | public EReference getREPrecision_DefaultPrecisionCallParameter() { |
| 600 | return (EReference)rePrecisionEClass.getEStructuralFeatures().get(1); |
| 601 | } |
| 602 | |
| 603 | /** |
| 604 | * <!-- begin-user-doc --> |
| 605 | * <!-- end-user-doc --> |
| 606 | * @generated |
| 607 | */ |
| 608 | public EReference getREPrecision_RequiredElement() { |
| 609 | return (EReference)rePrecisionEClass.getEStructuralFeatures().get(2); |
| 610 | } |
| 611 | |
| 612 | /** |
| 613 | * <!-- begin-user-doc --> |
| 614 | * <!-- end-user-doc --> |
| 615 | * @generated |
| 616 | */ |
| 617 | public EClass getPrecision() { |
| 618 | return precisionEClass; |
| 619 | } |
| 620 | |
| 621 | /** |
| 622 | * <!-- begin-user-doc --> |
| 623 | * <!-- end-user-doc --> |
| 624 | * @generated |
| 625 | */ |
| 626 | public EClass getPCMParameterPartition() { |
| 627 | return pcmParameterPartitionEClass; |
| 628 | } |
| 629 | |
| 630 | /** |
| 631 | * <!-- begin-user-doc --> |
| 632 | * <!-- end-user-doc --> |
| 633 | * @generated |
| 634 | */ |
| 635 | public EReference getPCMParameterPartition_CharacerisedParameterPartitions() { |
| 636 | return (EReference)pcmParameterPartitionEClass.getEStructuralFeatures().get(0); |
| 637 | } |
| 638 | |
| 639 | /** |
| 640 | * <!-- begin-user-doc --> |
| 641 | * <!-- end-user-doc --> |
| 642 | * @generated |
| 643 | */ |
| 644 | public EReference getPCMParameterPartition_ParameterReference() { |
| 645 | return (EReference)pcmParameterPartitionEClass.getEStructuralFeatures().get(1); |
| 646 | } |
| 647 | |
| 648 | /** |
| 649 | * <!-- begin-user-doc --> |
| 650 | * <!-- end-user-doc --> |
| 651 | * @generated |
| 652 | */ |
| 653 | public EClass getCharacterisedPCMParameterPartition() { |
| 654 | return characterisedPCMParameterPartitionEClass; |
| 655 | } |
| 656 | |
| 657 | /** |
| 658 | * <!-- begin-user-doc --> |
| 659 | * <!-- end-user-doc --> |
| 660 | * @generated |
| 661 | */ |
| 662 | public EAttribute getCharacterisedPCMParameterPartition_ForCharacterisation() { |
| 663 | return (EAttribute)characterisedPCMParameterPartitionEClass.getEStructuralFeatures().get(0); |
| 664 | } |
| 665 | |
| 666 | /** |
| 667 | * <!-- begin-user-doc --> |
| 668 | * <!-- end-user-doc --> |
| 669 | * @generated |
| 670 | */ |
| 671 | public EReference getCharacterisedPCMParameterPartition_PcmParameterPartition() { |
| 672 | return (EReference)characterisedPCMParameterPartitionEClass.getEStructuralFeatures().get(1); |
| 673 | } |
| 674 | |
| 675 | /** |
| 676 | * <!-- begin-user-doc --> |
| 677 | * <!-- end-user-doc --> |
| 678 | * @generated |
| 679 | */ |
| 680 | public EClass getCharacterisedPCMParameterPartitionInterval() { |
| 681 | return characterisedPCMParameterPartitionIntervalEClass; |
| 682 | } |
| 683 | |
| 684 | /** |
| 685 | * <!-- begin-user-doc --> |
| 686 | * <!-- end-user-doc --> |
| 687 | * @generated |
| 688 | */ |
| 689 | public EReference getCharacterisedPCMParameterPartitionInterval_From() { |
| 690 | return (EReference)characterisedPCMParameterPartitionIntervalEClass.getEStructuralFeatures().get(0); |
| 691 | } |
| 692 | |
| 693 | /** |
| 694 | * <!-- begin-user-doc --> |
| 695 | * <!-- end-user-doc --> |
| 696 | * @generated |
| 697 | */ |
| 698 | public EReference getCharacterisedPCMParameterPartitionInterval_To() { |
| 699 | return (EReference)characterisedPCMParameterPartitionIntervalEClass.getEStructuralFeatures().get(1); |
| 700 | } |
| 701 | |
| 702 | /** |
| 703 | * <!-- begin-user-doc --> |
| 704 | * <!-- end-user-doc --> |
| 705 | * @generated |
| 706 | */ |
| 707 | public EClass getCharacterisedPCMParameterPartitionRange() { |
| 708 | return characterisedPCMParameterPartitionRangeEClass; |
| 709 | } |
| 710 | |
| 711 | /** |
| 712 | * <!-- begin-user-doc --> |
| 713 | * <!-- end-user-doc --> |
| 714 | * @generated |
| 715 | */ |
| 716 | public EReference getCharacterisedPCMParameterPartitionRange_Values() { |
| 717 | return (EReference)characterisedPCMParameterPartitionRangeEClass.getEStructuralFeatures().get(0); |
| 718 | } |
| 719 | |
| 720 | /** |
| 721 | * <!-- begin-user-doc --> |
| 722 | * <!-- end-user-doc --> |
| 723 | * @generated |
| 724 | */ |
| 725 | public EClass getExactlyAsSpecifiedPrecision() { |
| 726 | return exactlyAsSpecifiedPrecisionEClass; |
| 727 | } |
| 728 | |
| 729 | /** |
| 730 | * <!-- begin-user-doc --> |
| 731 | * <!-- end-user-doc --> |
| 732 | * @generated |
| 733 | */ |
| 734 | public EClass getLimitedDeviationPrecision() { |
| 735 | return limitedDeviationPrecisionEClass; |
| 736 | } |
| 737 | |
| 738 | /** |
| 739 | * <!-- begin-user-doc --> |
| 740 | * <!-- end-user-doc --> |
| 741 | * @generated |
| 742 | */ |
| 743 | public EAttribute getLimitedDeviationPrecision_Absolute() { |
| 744 | return (EAttribute)limitedDeviationPrecisionEClass.getEStructuralFeatures().get(0); |
| 745 | } |
| 746 | |
| 747 | /** |
| 748 | * <!-- begin-user-doc --> |
| 749 | * <!-- end-user-doc --> |
| 750 | * @generated |
| 751 | */ |
| 752 | public EAttribute getLimitedDeviationPrecision_Relative() { |
| 753 | return (EAttribute)limitedDeviationPrecisionEClass.getEStructuralFeatures().get(1); |
| 754 | } |
| 755 | |
| 756 | /** |
| 757 | * <!-- begin-user-doc --> |
| 758 | * <!-- end-user-doc --> |
| 759 | * @generated |
| 760 | */ |
| 761 | public EClass getNoPrecision() { |
| 762 | return noPrecisionEClass; |
| 763 | } |
| 764 | |
| 765 | /** |
| 766 | * <!-- begin-user-doc --> |
| 767 | * <!-- end-user-doc --> |
| 768 | * @generated |
| 769 | */ |
| 770 | public EClass getPCMRECategory() { |
| 771 | return pcmreCategoryEClass; |
| 772 | } |
| 773 | |
| 774 | /** |
| 775 | * <!-- begin-user-doc --> |
| 776 | * <!-- end-user-doc --> |
| 777 | * @generated |
| 778 | */ |
| 779 | public EAttribute getPCMRECategory_Category() { |
| 780 | return (EAttribute)pcmreCategoryEClass.getEStructuralFeatures().get(0); |
| 781 | } |
| 782 | |
| 783 | /** |
| 784 | * <!-- begin-user-doc --> |
| 785 | * <!-- end-user-doc --> |
| 786 | * @generated |
| 787 | */ |
| 788 | public EClass getPCMRE() { |
| 789 | return pcmreEClass; |
| 790 | } |
| 791 | |
| 792 | /** |
| 793 | * <!-- begin-user-doc --> |
| 794 | * <!-- end-user-doc --> |
| 795 | * @generated |
| 796 | */ |
| 797 | public EClass getPCMREInterface() { |
| 798 | return pcmreInterfaceEClass; |
| 799 | } |
| 800 | |
| 801 | /** |
| 802 | * <!-- begin-user-doc --> |
| 803 | * <!-- end-user-doc --> |
| 804 | * @generated |
| 805 | */ |
| 806 | public EReference getPCMREInterface_Interface() { |
| 807 | return (EReference)pcmreInterfaceEClass.getEStructuralFeatures().get(0); |
| 808 | } |
| 809 | |
| 810 | /** |
| 811 | * <!-- begin-user-doc --> |
| 812 | * <!-- end-user-doc --> |
| 813 | * @generated |
| 814 | */ |
| 815 | public EClass getPCMRERole() { |
| 816 | return pcmreRoleEClass; |
| 817 | } |
| 818 | |
| 819 | /** |
| 820 | * <!-- begin-user-doc --> |
| 821 | * <!-- end-user-doc --> |
| 822 | * @generated |
| 823 | */ |
| 824 | public EReference getPCMRERole_Role() { |
| 825 | return (EReference)pcmreRoleEClass.getEStructuralFeatures().get(0); |
| 826 | } |
| 827 | |
| 828 | /** |
| 829 | * <!-- begin-user-doc --> |
| 830 | * <!-- end-user-doc --> |
| 831 | * @generated |
| 832 | */ |
| 833 | public EClass getPCMRESignature() { |
| 834 | return pcmreSignatureEClass; |
| 835 | } |
| 836 | |
| 837 | /** |
| 838 | * <!-- begin-user-doc --> |
| 839 | * <!-- end-user-doc --> |
| 840 | * @generated |
| 841 | */ |
| 842 | public EReference getPCMRESignature_Signature() { |
| 843 | return (EReference)pcmreSignatureEClass.getEStructuralFeatures().get(0); |
| 844 | } |
| 845 | |
| 846 | /** |
| 847 | * <!-- begin-user-doc --> |
| 848 | * <!-- end-user-doc --> |
| 849 | * @generated |
| 850 | */ |
| 851 | public EClass getPCMServiceSpecification() { |
| 852 | return pcmServiceSpecificationEClass; |
| 853 | } |
| 854 | |
| 855 | /** |
| 856 | * <!-- begin-user-doc --> |
| 857 | * <!-- end-user-doc --> |
| 858 | * @generated |
| 859 | */ |
| 860 | public EReference getPCMServiceSpecification_ResourceDemandingSEFF() { |
| 861 | return (EReference)pcmServiceSpecificationEClass.getEStructuralFeatures().get(0); |
| 862 | } |
| 863 | |
| 864 | /** |
| 865 | * <!-- begin-user-doc --> |
| 866 | * <!-- end-user-doc --> |
| 867 | * @generated |
| 868 | */ |
| 869 | public EClass getPCMREResourceInterface() { |
| 870 | return pcmreResourceInterfaceEClass; |
| 871 | } |
| 872 | |
| 873 | /** |
| 874 | * <!-- begin-user-doc --> |
| 875 | * <!-- end-user-doc --> |
| 876 | * @generated |
| 877 | */ |
| 878 | public EReference getPCMREResourceInterface_ResourceInterface() { |
| 879 | return (EReference)pcmreResourceInterfaceEClass.getEStructuralFeatures().get(0); |
| 880 | } |
| 881 | |
| 882 | /** |
| 883 | * <!-- begin-user-doc --> |
| 884 | * <!-- end-user-doc --> |
| 885 | * @generated |
| 886 | */ |
| 887 | public EClass getPCMREResourceSignature() { |
| 888 | return pcmreResourceSignatureEClass; |
| 889 | } |
| 890 | |
| 891 | /** |
| 892 | * <!-- begin-user-doc --> |
| 893 | * <!-- end-user-doc --> |
| 894 | * @generated |
| 895 | */ |
| 896 | public EReference getPCMREResourceSignature_ResourceSignature() { |
| 897 | return (EReference)pcmreResourceSignatureEClass.getEStructuralFeatures().get(0); |
| 898 | } |
| 899 | |
| 900 | /** |
| 901 | * <!-- begin-user-doc --> |
| 902 | * <!-- end-user-doc --> |
| 903 | * @generated |
| 904 | */ |
| 905 | public EEnum getPCMRERequestCategory() { |
| 906 | return pcmreRequestCategoryEEnum; |
| 907 | } |
| 908 | |
| 909 | /** |
| 910 | * <!-- begin-user-doc --> |
| 911 | * <!-- end-user-doc --> |
| 912 | * @generated |
| 913 | */ |
| 914 | public QualityAnnotationFactory getQualityAnnotationFactory() { |
| 915 | return (QualityAnnotationFactory)getEFactoryInstance(); |
| 916 | } |
| 917 | |
| 918 | /** |
| 919 | * <!-- begin-user-doc --> |
| 920 | * <!-- end-user-doc --> |
| 921 | * @generated |
| 922 | */ |
| 923 | private boolean isCreated = false; |
| 924 | |
| 925 | /** |
| 926 | * Creates the meta-model objects for the package. This method is |
| 927 | * guarded to have no affect on any invocation but its first. |
| 928 | * <!-- begin-user-doc --> |
| 929 | * <!-- end-user-doc --> |
| 930 | * @generated |
| 931 | */ |
| 932 | public void createPackageContents() { |
| 933 | if (isCreated) return; |
| 934 | isCreated = true; |
| 935 | |
| 936 | // Create classes and their features |
| 937 | callParameterDeviationEClass = createEClass(CALL_PARAMETER_DEVIATION); |
| 938 | createEReference(callParameterDeviationEClass, CALL_PARAMETER_DEVIATION__PARAMETER_REFERENCE); |
| 939 | createEReference(callParameterDeviationEClass, CALL_PARAMETER_DEVIATION__INTERNAL_STATE_INFLUENCE_ANALYSIS_AGGREGATION); |
| 940 | createEAttribute(callParameterDeviationEClass, CALL_PARAMETER_DEVIATION__MAXIMUM); |
| 941 | |
| 942 | qualityAnnotationEClass = createEClass(QUALITY_ANNOTATION); |
| 943 | createEAttribute(qualityAnnotationEClass, QUALITY_ANNOTATION__IS_VALID); |
| 944 | createEReference(qualityAnnotationEClass, QUALITY_ANNOTATION__FOR_SERVICE_SPECIFICATION); |
| 945 | createEReference(qualityAnnotationEClass, QUALITY_ANNOTATION__STIPULATED_RE_PRECISIONS); |
| 946 | createEReference(qualityAnnotationEClass, QUALITY_ANNOTATION__INTERNAL_STATE_INFLUENCE_ANALYSIS_RESULT); |
| 947 | createEReference(qualityAnnotationEClass, QUALITY_ANNOTATION__VALID_FOR_PARAMETER_PARTITIONS); |
| 948 | |
| 949 | serviceSpecificationEClass = createEClass(SERVICE_SPECIFICATION); |
| 950 | createEAttribute(serviceSpecificationEClass, SERVICE_SPECIFICATION__CHECKSUM); |
| 951 | createEReference(serviceSpecificationEClass, SERVICE_SPECIFICATION__QUALITY_ANNOTATION); |
| 952 | |
| 953 | requiredElementEClass = createEClass(REQUIRED_ELEMENT); |
| 954 | createEReference(requiredElementEClass, REQUIRED_ELEMENT__NUMBER_OF_CALLS_DEVIATION); |
| 955 | createEReference(requiredElementEClass, REQUIRED_ELEMENT__CHILD_RES); |
| 956 | createEReference(requiredElementEClass, REQUIRED_ELEMENT__PARENT_RE); |
| 957 | createEReference(requiredElementEClass, REQUIRED_ELEMENT__PRECISION); |
| 958 | createEReference(requiredElementEClass, REQUIRED_ELEMENT__QUALITY_ANNOTATION); |
| 959 | |
| 960 | numberOfCallsDeviationEClass = createEClass(NUMBER_OF_CALLS_DEVIATION); |
| 961 | createEReference(numberOfCallsDeviationEClass, NUMBER_OF_CALLS_DEVIATION__INTERNAL_STATE_INFLUENCE_ANALYSIS_AGGREGATION); |
| 962 | createEAttribute(numberOfCallsDeviationEClass, NUMBER_OF_CALLS_DEVIATION__MAXIMUM); |
| 963 | createEReference(numberOfCallsDeviationEClass, NUMBER_OF_CALLS_DEVIATION__REQUIRED_ELEMENT); |
| 964 | |
| 965 | internalStateInfluenceAnalysisAggregationEClass = createEClass(INTERNAL_STATE_INFLUENCE_ANALYSIS_AGGREGATION); |
| 966 | createEReference(internalStateInfluenceAnalysisAggregationEClass, INTERNAL_STATE_INFLUENCE_ANALYSIS_AGGREGATION__QUALITY_ANNOTATION); |
| 967 | createEReference(internalStateInfluenceAnalysisAggregationEClass, INTERNAL_STATE_INFLUENCE_ANALYSIS_AGGREGATION__CALL_PARAMETER_DEVIATION); |
| 968 | createEReference(internalStateInfluenceAnalysisAggregationEClass, INTERNAL_STATE_INFLUENCE_ANALYSIS_AGGREGATION__NUMBER_OF_CALLS_DEVIATION); |
| 969 | |
| 970 | rePrecisionEClass = createEClass(RE_PRECISION); |
| 971 | createEReference(rePrecisionEClass, RE_PRECISION__DEFAULT_PRECISION_NUMBER_OF_CALLS); |
| 972 | createEReference(rePrecisionEClass, RE_PRECISION__DEFAULT_PRECISION_CALL_PARAMETER); |
| 973 | createEReference(rePrecisionEClass, RE_PRECISION__REQUIRED_ELEMENT); |
| 974 | |
| 975 | precisionEClass = createEClass(PRECISION); |
| 976 | |
| 977 | pcmParameterPartitionEClass = createEClass(PCM_PARAMETER_PARTITION); |
| 978 | createEReference(pcmParameterPartitionEClass, PCM_PARAMETER_PARTITION__CHARACERISED_PARAMETER_PARTITIONS); |
| 979 | createEReference(pcmParameterPartitionEClass, PCM_PARAMETER_PARTITION__PARAMETER_REFERENCE); |
| 980 | |
| 981 | characterisedPCMParameterPartitionEClass = createEClass(CHARACTERISED_PCM_PARAMETER_PARTITION); |
| 982 | createEAttribute(characterisedPCMParameterPartitionEClass, CHARACTERISED_PCM_PARAMETER_PARTITION__FOR_CHARACTERISATION); |
| 983 | createEReference(characterisedPCMParameterPartitionEClass, CHARACTERISED_PCM_PARAMETER_PARTITION__PCM_PARAMETER_PARTITION); |
| 984 | |
| 985 | characterisedPCMParameterPartitionIntervalEClass = createEClass(CHARACTERISED_PCM_PARAMETER_PARTITION_INTERVAL); |
| 986 | createEReference(characterisedPCMParameterPartitionIntervalEClass, CHARACTERISED_PCM_PARAMETER_PARTITION_INTERVAL__FROM); |
| 987 | createEReference(characterisedPCMParameterPartitionIntervalEClass, CHARACTERISED_PCM_PARAMETER_PARTITION_INTERVAL__TO); |
| 988 | |
| 989 | characterisedPCMParameterPartitionRangeEClass = createEClass(CHARACTERISED_PCM_PARAMETER_PARTITION_RANGE); |
| 990 | createEReference(characterisedPCMParameterPartitionRangeEClass, CHARACTERISED_PCM_PARAMETER_PARTITION_RANGE__VALUES); |
| 991 | |
| 992 | exactlyAsSpecifiedPrecisionEClass = createEClass(EXACTLY_AS_SPECIFIED_PRECISION); |
| 993 | |
| 994 | limitedDeviationPrecisionEClass = createEClass(LIMITED_DEVIATION_PRECISION); |
| 995 | createEAttribute(limitedDeviationPrecisionEClass, LIMITED_DEVIATION_PRECISION__ABSOLUTE); |
| 996 | createEAttribute(limitedDeviationPrecisionEClass, LIMITED_DEVIATION_PRECISION__RELATIVE); |
| 997 | |
| 998 | noPrecisionEClass = createEClass(NO_PRECISION); |
| 999 | |
| 1000 | pcmreCategoryEClass = createEClass(PCMRE_CATEGORY); |
| 1001 | createEAttribute(pcmreCategoryEClass, PCMRE_CATEGORY__CATEGORY); |
| 1002 | |
| 1003 | pcmreEClass = createEClass(PCMRE); |
| 1004 | |
| 1005 | pcmreInterfaceEClass = createEClass(PCMRE_INTERFACE); |
| 1006 | createEReference(pcmreInterfaceEClass, PCMRE_INTERFACE__INTERFACE); |
| 1007 | |
| 1008 | pcmreRoleEClass = createEClass(PCMRE_ROLE); |
| 1009 | createEReference(pcmreRoleEClass, PCMRE_ROLE__ROLE); |
| 1010 | |
| 1011 | pcmreSignatureEClass = createEClass(PCMRE_SIGNATURE); |
| 1012 | createEReference(pcmreSignatureEClass, PCMRE_SIGNATURE__SIGNATURE); |
| 1013 | |
| 1014 | pcmServiceSpecificationEClass = createEClass(PCM_SERVICE_SPECIFICATION); |
| 1015 | createEReference(pcmServiceSpecificationEClass, PCM_SERVICE_SPECIFICATION__RESOURCE_DEMANDING_SEFF); |
| 1016 | |
| 1017 | pcmreResourceInterfaceEClass = createEClass(PCMRE_RESOURCE_INTERFACE); |
| 1018 | createEReference(pcmreResourceInterfaceEClass, PCMRE_RESOURCE_INTERFACE__RESOURCE_INTERFACE); |
| 1019 | |
| 1020 | pcmreResourceSignatureEClass = createEClass(PCMRE_RESOURCE_SIGNATURE); |
| 1021 | createEReference(pcmreResourceSignatureEClass, PCMRE_RESOURCE_SIGNATURE__RESOURCE_SIGNATURE); |
| 1022 | |
| 1023 | // Create enums |
| 1024 | pcmreRequestCategoryEEnum = createEEnum(PCMRE_REQUEST_CATEGORY); |
| 1025 | } |
| 1026 | |
| 1027 | /** |
| 1028 | * <!-- begin-user-doc --> |
| 1029 | * <!-- end-user-doc --> |
| 1030 | * @generated |
| 1031 | */ |
| 1032 | private boolean isInitialized = false; |
| 1033 | |
| 1034 | /** |
| 1035 | * Complete the initialization of the package and its meta-model. This |
| 1036 | * method is guarded to have no affect on any invocation but its first. |
| 1037 | * <!-- begin-user-doc --> |
| 1038 | * <!-- end-user-doc --> |
| 1039 | * @generated |
| 1040 | */ |
| 1041 | public void initializePackageContents() { |
| 1042 | if (isInitialized) return; |
| 1043 | isInitialized = true; |
| 1044 | |
| 1045 | // Initialize package |
| 1046 | setName(eNAME); |
| 1047 | setNsPrefix(eNS_PREFIX); |
| 1048 | setNsURI(eNS_URI); |
| 1049 | |
| 1050 | // Obtain other dependent packages |
| 1051 | ParametersPackage theParametersPackage = (ParametersPackage)EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI); |
| 1052 | QualityPackage theQualityPackage = (QualityPackage)EPackage.Registry.INSTANCE.getEPackage(QualityPackage.eNS_URI); |
| 1053 | IdentifierPackage theIdentifierPackage = (IdentifierPackage)EPackage.Registry.INSTANCE.getEPackage(IdentifierPackage.eNS_URI); |
| 1054 | PCMPackage thePCMPackage = (PCMPackage)EPackage.Registry.INSTANCE.getEPackage(PCMPackage.eNS_URI); |
| 1055 | ParameterPackage theParameterPackage = (ParameterPackage)EPackage.Registry.INSTANCE.getEPackage(ParameterPackage.eNS_URI); |
| 1056 | CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); |
| 1057 | RepositoryPackage theRepositoryPackage = (RepositoryPackage)EPackage.Registry.INSTANCE.getEPackage(RepositoryPackage.eNS_URI); |
| 1058 | SeffPackage theSeffPackage = (SeffPackage)EPackage.Registry.INSTANCE.getEPackage(SeffPackage.eNS_URI); |
| 1059 | ResourcetypePackage theResourcetypePackage = (ResourcetypePackage)EPackage.Registry.INSTANCE.getEPackage(ResourcetypePackage.eNS_URI); |
| 1060 | |
| 1061 | // Create type parameters |
| 1062 | |
| 1063 | // Set bounds for type parameters |
| 1064 | |
| 1065 | // Add supertypes to classes |
| 1066 | qualityAnnotationEClass.getESuperTypes().add(theQualityPackage.getQualityStatement()); |
| 1067 | serviceSpecificationEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1068 | requiredElementEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1069 | internalStateInfluenceAnalysisAggregationEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1070 | precisionEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1071 | pcmParameterPartitionEClass.getESuperTypes().add(theParametersPackage.getParameterPartition()); |
| 1072 | characterisedPCMParameterPartitionEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 1073 | characterisedPCMParameterPartitionIntervalEClass.getESuperTypes().add(this.getCharacterisedPCMParameterPartition()); |
| 1074 | characterisedPCMParameterPartitionRangeEClass.getESuperTypes().add(this.getCharacterisedPCMParameterPartition()); |
| 1075 | exactlyAsSpecifiedPrecisionEClass.getESuperTypes().add(this.getPrecision()); |
| 1076 | limitedDeviationPrecisionEClass.getESuperTypes().add(this.getPrecision()); |
| 1077 | noPrecisionEClass.getESuperTypes().add(this.getPrecision()); |
| 1078 | pcmreCategoryEClass.getESuperTypes().add(this.getPCMRE()); |
| 1079 | pcmreEClass.getESuperTypes().add(this.getRequiredElement()); |
| 1080 | pcmreInterfaceEClass.getESuperTypes().add(this.getPCMRE()); |
| 1081 | pcmreRoleEClass.getESuperTypes().add(this.getPCMRE()); |
| 1082 | pcmreSignatureEClass.getESuperTypes().add(this.getPCMRE()); |
| 1083 | pcmServiceSpecificationEClass.getESuperTypes().add(this.getServiceSpecification()); |
| 1084 | pcmreResourceInterfaceEClass.getESuperTypes().add(this.getPCMRE()); |
| 1085 | pcmreResourceSignatureEClass.getESuperTypes().add(this.getPCMRE()); |
| 1086 | |
| 1087 | // Initialize classes and features; add operations and parameters |
| 1088 | initEClass(callParameterDeviationEClass, CallParameterDeviation.class, "CallParameterDeviation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1089 | initEReference(getCallParameterDeviation_ParameterReference(), theParametersPackage.getParameterReference(), theParametersPackage.getParameterReference_CallParameterDeviation(), "parameterReference", null, 0, -1, CallParameterDeviation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1090 | initEReference(getCallParameterDeviation_InternalStateInfluenceAnalysisAggregation(), this.getInternalStateInfluenceAnalysisAggregation(), this.getInternalStateInfluenceAnalysisAggregation_CallParameterDeviation(), "internalStateInfluenceAnalysisAggregation", null, 1, 1, CallParameterDeviation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1091 | initEAttribute(getCallParameterDeviation_Maximum(), ecorePackage.getEDouble(), "maximum", null, 1, 1, CallParameterDeviation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1092 | |
| 1093 | initEClass(qualityAnnotationEClass, QualityAnnotation.class, "QualityAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1094 | initEAttribute(getQualityAnnotation_IsValid(), ecorePackage.getEBoolean(), "isValid", "false", 1, 1, QualityAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1095 | initEReference(getQualityAnnotation_ForServiceSpecification(), this.getServiceSpecification(), this.getServiceSpecification_QualityAnnotation(), "forServiceSpecification", null, 1, 1, QualityAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1096 | initEReference(getQualityAnnotation_StipulatedREPrecisions(), this.getRequiredElement(), this.getRequiredElement_QualityAnnotation(), "stipulatedREPrecisions", null, 0, -1, QualityAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1097 | initEReference(getQualityAnnotation_InternalStateInfluenceAnalysisResult(), this.getInternalStateInfluenceAnalysisAggregation(), this.getInternalStateInfluenceAnalysisAggregation_QualityAnnotation(), "internalStateInfluenceAnalysisResult", null, 0, -1, QualityAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1098 | initEReference(getQualityAnnotation_ValidForParameterPartitions(), theParametersPackage.getParameterPartition(), theParametersPackage.getParameterPartition_ValidatedSetting(), "validForParameterPartitions", null, 0, -1, QualityAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1099 | |
| 1100 | initEClass(serviceSpecificationEClass, ServiceSpecification.class, "ServiceSpecification", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1101 | initEAttribute(getServiceSpecification_Checksum(), ecorePackage.getELong(), "checksum", null, 0, 1, ServiceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1102 | initEReference(getServiceSpecification_QualityAnnotation(), this.getQualityAnnotation(), this.getQualityAnnotation_ForServiceSpecification(), "qualityAnnotation", null, 1, 1, ServiceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1103 | |
| 1104 | initEClass(requiredElementEClass, RequiredElement.class, "RequiredElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1105 | initEReference(getRequiredElement_NumberOfCallsDeviation(), this.getNumberOfCallsDeviation(), this.getNumberOfCallsDeviation_RequiredElement(), "numberOfCallsDeviation", null, 0, 1, RequiredElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1106 | initEReference(getRequiredElement_ChildREs(), this.getRequiredElement(), this.getRequiredElement_ParentRE(), "childREs", null, 0, -1, RequiredElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1107 | initEReference(getRequiredElement_ParentRE(), this.getRequiredElement(), this.getRequiredElement_ChildREs(), "parentRE", null, 0, 1, RequiredElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1108 | initEReference(getRequiredElement_Precision(), this.getREPrecision(), this.getREPrecision_RequiredElement(), "precision", null, 0, 1, RequiredElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1109 | initEReference(getRequiredElement_QualityAnnotation(), this.getQualityAnnotation(), this.getQualityAnnotation_StipulatedREPrecisions(), "qualityAnnotation", null, 0, 1, RequiredElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1110 | |
| 1111 | EOperation op = addEOperation(requiredElementEClass, ecorePackage.getEBoolean(), "StipulatedPrecisionMustBeSetInStipulationContext", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1112 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1113 | EGenericType g1 = createEGenericType(ecorePackage.getEMap()); |
| 1114 | EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1115 | g1.getETypeArguments().add(g2); |
| 1116 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1117 | g1.getETypeArguments().add(g2); |
| 1118 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1119 | |
| 1120 | initEClass(numberOfCallsDeviationEClass, NumberOfCallsDeviation.class, "NumberOfCallsDeviation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1121 | initEReference(getNumberOfCallsDeviation_InternalStateInfluenceAnalysisAggregation(), this.getInternalStateInfluenceAnalysisAggregation(), this.getInternalStateInfluenceAnalysisAggregation_NumberOfCallsDeviation(), "internalStateInfluenceAnalysisAggregation", null, 1, 1, NumberOfCallsDeviation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1122 | initEAttribute(getNumberOfCallsDeviation_Maximum(), ecorePackage.getEDouble(), "maximum", null, 1, 1, NumberOfCallsDeviation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1123 | initEReference(getNumberOfCallsDeviation_RequiredElement(), this.getRequiredElement(), this.getRequiredElement_NumberOfCallsDeviation(), "requiredElement", null, 1, 1, NumberOfCallsDeviation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1124 | |
| 1125 | initEClass(internalStateInfluenceAnalysisAggregationEClass, InternalStateInfluenceAnalysisAggregation.class, "InternalStateInfluenceAnalysisAggregation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1126 | initEReference(getInternalStateInfluenceAnalysisAggregation_QualityAnnotation(), this.getQualityAnnotation(), this.getQualityAnnotation_InternalStateInfluenceAnalysisResult(), "qualityAnnotation", null, 1, 1, InternalStateInfluenceAnalysisAggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1127 | initEReference(getInternalStateInfluenceAnalysisAggregation_CallParameterDeviation(), this.getCallParameterDeviation(), this.getCallParameterDeviation_InternalStateInfluenceAnalysisAggregation(), "callParameterDeviation", null, 0, -1, InternalStateInfluenceAnalysisAggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1128 | initEReference(getInternalStateInfluenceAnalysisAggregation_NumberOfCallsDeviation(), this.getNumberOfCallsDeviation(), this.getNumberOfCallsDeviation_InternalStateInfluenceAnalysisAggregation(), "numberOfCallsDeviation", null, 0, -1, InternalStateInfluenceAnalysisAggregation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 1129 | |
| 1130 | initEClass(rePrecisionEClass, REPrecision.class, "REPrecision", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1131 | initEReference(getREPrecision_DefaultPrecisionNumberOfCalls(), this.getPrecision(), null, "defaultPrecisionNumberOfCalls", null, 1, 1, REPrecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1132 | initEReference(getREPrecision_DefaultPrecisionCallParameter(), this.getPrecision(), null, "defaultPrecisionCallParameter", null, 1, 1, REPrecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1133 | initEReference(getREPrecision_RequiredElement(), this.getRequiredElement(), this.getRequiredElement_Precision(), "requiredElement", null, 1, 1, REPrecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1134 | |
| 1135 | initEClass(precisionEClass, Precision.class, "Precision", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1136 | |
| 1137 | initEClass(pcmParameterPartitionEClass, PCMParameterPartition.class, "PCMParameterPartition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1138 | initEReference(getPCMParameterPartition_CharacerisedParameterPartitions(), this.getCharacterisedPCMParameterPartition(), this.getCharacterisedPCMParameterPartition_PcmParameterPartition(), "characerisedParameterPartitions", null, 0, -1, PCMParameterPartition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1139 | initEReference(getPCMParameterPartition_ParameterReference(), thePCMPackage.getPCMParameterReference(), thePCMPackage.getPCMParameterReference_ParameterPartition(), "parameterReference", null, 1, 1, PCMParameterPartition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1140 | |
| 1141 | initEClass(characterisedPCMParameterPartitionEClass, CharacterisedPCMParameterPartition.class, "CharacterisedPCMParameterPartition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1142 | initEAttribute(getCharacterisedPCMParameterPartition_ForCharacterisation(), theParameterPackage.getVariableCharacterisationType(), "forCharacterisation", null, 1, 1, CharacterisedPCMParameterPartition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1143 | initEReference(getCharacterisedPCMParameterPartition_PcmParameterPartition(), this.getPCMParameterPartition(), this.getPCMParameterPartition_CharacerisedParameterPartitions(), "pcmParameterPartition", null, 1, 1, CharacterisedPCMParameterPartition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1144 | |
| 1145 | initEClass(characterisedPCMParameterPartitionIntervalEClass, CharacterisedPCMParameterPartitionInterval.class, "CharacterisedPCMParameterPartitionInterval", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1146 | initEReference(getCharacterisedPCMParameterPartitionInterval_From(), theCorePackage.getPCMRandomVariable(), null, "from", null, 1, 1, CharacterisedPCMParameterPartitionInterval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1147 | initEReference(getCharacterisedPCMParameterPartitionInterval_To(), theCorePackage.getPCMRandomVariable(), null, "to", null, 1, 1, CharacterisedPCMParameterPartitionInterval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1148 | |
| 1149 | initEClass(characterisedPCMParameterPartitionRangeEClass, CharacterisedPCMParameterPartitionRange.class, "CharacterisedPCMParameterPartitionRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1150 | initEReference(getCharacterisedPCMParameterPartitionRange_Values(), theCorePackage.getPCMRandomVariable(), null, "values", null, 0, -1, CharacterisedPCMParameterPartitionRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1151 | |
| 1152 | initEClass(exactlyAsSpecifiedPrecisionEClass, ExactlyAsSpecifiedPrecision.class, "ExactlyAsSpecifiedPrecision", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1153 | |
| 1154 | initEClass(limitedDeviationPrecisionEClass, LimitedDeviationPrecision.class, "LimitedDeviationPrecision", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1155 | initEAttribute(getLimitedDeviationPrecision_Absolute(), ecorePackage.getEDouble(), "absolute", null, 1, 1, LimitedDeviationPrecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1156 | initEAttribute(getLimitedDeviationPrecision_Relative(), ecorePackage.getEDouble(), "relative", null, 1, 1, LimitedDeviationPrecision.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1157 | |
| 1158 | initEClass(noPrecisionEClass, NoPrecision.class, "NoPrecision", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1159 | |
| 1160 | initEClass(pcmreCategoryEClass, PCMRECategory.class, "PCMRECategory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1161 | initEAttribute(getPCMRECategory_Category(), this.getPCMRERequestCategory(), "category", null, 1, 1, PCMRECategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1162 | |
| 1163 | op = addEOperation(pcmreCategoryEClass, ecorePackage.getEBoolean(), "NextLowerHierarchyLevelIsInterface", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1164 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1165 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1166 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1167 | g1.getETypeArguments().add(g2); |
| 1168 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1169 | g1.getETypeArguments().add(g2); |
| 1170 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1171 | |
| 1172 | op = addEOperation(pcmreCategoryEClass, ecorePackage.getEBoolean(), "ThisIsHighestHierarchyLevel", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1173 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1174 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1175 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1176 | g1.getETypeArguments().add(g2); |
| 1177 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1178 | g1.getETypeArguments().add(g2); |
| 1179 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1180 | |
| 1181 | op = addEOperation(pcmreCategoryEClass, ecorePackage.getEBoolean(), "NoSublevelsForCategoryResourceDemand", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1182 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1183 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1184 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1185 | g1.getETypeArguments().add(g2); |
| 1186 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1187 | g1.getETypeArguments().add(g2); |
| 1188 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1189 | |
| 1190 | op = addEOperation(pcmreCategoryEClass, ecorePackage.getEBoolean(), "ExistingREPrecisionCallParameterMustBeNoPrecisionDueToTheNonExistenceOfParametersForCategoryResourceDemand", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1191 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1192 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1193 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1194 | g1.getETypeArguments().add(g2); |
| 1195 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1196 | g1.getETypeArguments().add(g2); |
| 1197 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1198 | |
| 1199 | initEClass(pcmreEClass, de.fzi.se.quality.qualityannotation.PCMRE.class, "PCMRE", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1200 | |
| 1201 | initEClass(pcmreInterfaceEClass, PCMREInterface.class, "PCMREInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1202 | initEReference(getPCMREInterface_Interface(), theRepositoryPackage.getInterface(), null, "interface", null, 1, 1, PCMREInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1203 | |
| 1204 | op = addEOperation(pcmreInterfaceEClass, ecorePackage.getEBoolean(), "NextLowerHierachyLevelIsRole", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1205 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1206 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1207 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1208 | g1.getETypeArguments().add(g2); |
| 1209 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1210 | g1.getETypeArguments().add(g2); |
| 1211 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1212 | |
| 1213 | op = addEOperation(pcmreInterfaceEClass, ecorePackage.getEBoolean(), "NextUpperHierarchyLevelIsCategory", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1214 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1215 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1216 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1217 | g1.getETypeArguments().add(g2); |
| 1218 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1219 | g1.getETypeArguments().add(g2); |
| 1220 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1221 | |
| 1222 | initEClass(pcmreRoleEClass, PCMRERole.class, "PCMRERole", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1223 | initEReference(getPCMRERole_Role(), theRepositoryPackage.getRole(), null, "role", null, 1, 1, PCMRERole.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1224 | |
| 1225 | op = addEOperation(pcmreRoleEClass, ecorePackage.getEBoolean(), "NextLowerHierarchyLevelIsSignature", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1226 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1227 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1228 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1229 | g1.getETypeArguments().add(g2); |
| 1230 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1231 | g1.getETypeArguments().add(g2); |
| 1232 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1233 | |
| 1234 | op = addEOperation(pcmreRoleEClass, ecorePackage.getEBoolean(), "NextUpperHierarchyLevelIsInterface", 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(pcmreSignatureEClass, PCMRESignature.class, "PCMRESignature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1244 | initEReference(getPCMRESignature_Signature(), theRepositoryPackage.getSignature(), null, "signature", null, 1, 1, PCMRESignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1245 | |
| 1246 | op = addEOperation(pcmreSignatureEClass, ecorePackage.getEBoolean(), "ThisIsTheLowestHierarchyLevel", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1247 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1248 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1249 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1250 | g1.getETypeArguments().add(g2); |
| 1251 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1252 | g1.getETypeArguments().add(g2); |
| 1253 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1254 | |
| 1255 | op = addEOperation(pcmreSignatureEClass, ecorePackage.getEBoolean(), "NextUpperHierarchyLevelIsRole", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1256 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1257 | g1 = createEGenericType(ecorePackage.getEMap()); |
| 1258 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1259 | g1.getETypeArguments().add(g2); |
| 1260 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 1261 | g1.getETypeArguments().add(g2); |
| 1262 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 1263 | |
| 1264 | initEClass(pcmServiceSpecificationEClass, PCMServiceSpecification.class, "PCMServiceSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1265 | initEReference(getPCMServiceSpecification_ResourceDemandingSEFF(), theSeffPackage.getResourceDemandingSEFF(), null, "resourceDemandingSEFF", null, 0, 1, PCMServiceSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1266 | |
| 1267 | initEClass(pcmreResourceInterfaceEClass, PCMREResourceInterface.class, "PCMREResourceInterface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1268 | initEReference(getPCMREResourceInterface_ResourceInterface(), theResourcetypePackage.getResourceInterface(), null, "resourceInterface", null, 1, 1, PCMREResourceInterface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1269 | |
| 1270 | initEClass(pcmreResourceSignatureEClass, PCMREResourceSignature.class, "PCMREResourceSignature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 1271 | initEReference(getPCMREResourceSignature_ResourceSignature(), theResourcetypePackage.getResourceSignature(), null, "resourceSignature", null, 1, 1, PCMREResourceSignature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 1272 | |
| 1273 | // Initialize enums and add enum literals |
| 1274 | initEEnum(pcmreRequestCategoryEEnum, PCMRERequestCategory.class, "PCMRERequestCategory"); |
| 1275 | addEEnumLiteral(pcmreRequestCategoryEEnum, PCMRERequestCategory.RESOURCE); |
| 1276 | addEEnumLiteral(pcmreRequestCategoryEEnum, PCMRERequestCategory.INFRASTRUCTURE); |
| 1277 | addEEnumLiteral(pcmreRequestCategoryEEnum, PCMRERequestCategory.COMPONENT); |
| 1278 | addEEnumLiteral(pcmreRequestCategoryEEnum, PCMRERequestCategory.RESOURCE_DEMAND); |
| 1279 | addEEnumLiteral(pcmreRequestCategoryEEnum, PCMRERequestCategory.COMPONENT_INTERNAL); |
| 1280 | } |
| 1281 | |
| 1282 | } //QualityAnnotationPackageImpl |