| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.impl; |
| 8 | |
| 9 | import de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.QMLContractPackage; |
| 10 | |
| 11 | import de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.impl.QMLContractPackageImpl; |
| 12 | |
| 13 | import de.uka.ipd.sdq.dsexplore.qml.contracttype.QMLContractType.QMLContractTypePackage; |
| 14 | |
| 15 | import de.uka.ipd.sdq.dsexplore.qml.contracttype.QMLContractType.impl.QMLContractTypePackageImpl; |
| 16 | |
| 17 | import de.uka.ipd.sdq.dsexplore.qml.declarations.QMLDeclarations.QMLDeclarationsPackage; |
| 18 | |
| 19 | import de.uka.ipd.sdq.dsexplore.qml.declarations.QMLDeclarations.impl.QMLDeclarationsPackageImpl; |
| 20 | |
| 21 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.EntryLevelSystemCallRequirement; |
| 22 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.GenericQMLProfile; |
| 23 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.QMLProfileFactory; |
| 24 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.QMLProfilePackage; |
| 25 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.RefinedQMLProfile; |
| 26 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.Requirement; |
| 27 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.SimpleQMLProfile; |
| 28 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.UsageScenarioRequirement; |
| 29 | |
| 30 | import de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.util.QMLProfileValidator; |
| 31 | |
| 32 | import de.uka.ipd.sdq.identifier.IdentifierPackage; |
| 33 | |
| 34 | import de.uka.ipd.sdq.pcm.allocation.AllocationPackage; |
| 35 | |
| 36 | import de.uka.ipd.sdq.pcm.core.CorePackage; |
| 37 | |
| 38 | import de.uka.ipd.sdq.pcm.parameter.ParameterPackage; |
| 39 | |
| 40 | import de.uka.ipd.sdq.pcm.protocol.ProtocolPackage; |
| 41 | |
| 42 | import de.uka.ipd.sdq.pcm.qosannotations.QosannotationsPackage; |
| 43 | |
| 44 | import de.uka.ipd.sdq.pcm.repository.RepositoryPackage; |
| 45 | |
| 46 | import de.uka.ipd.sdq.pcm.resourceenvironment.ResourceenvironmentPackage; |
| 47 | |
| 48 | import de.uka.ipd.sdq.pcm.resourcetype.ResourcetypePackage; |
| 49 | |
| 50 | import de.uka.ipd.sdq.pcm.seff.SeffPackage; |
| 51 | |
| 52 | import de.uka.ipd.sdq.pcm.subsystem.SubsystemPackage; |
| 53 | |
| 54 | import de.uka.ipd.sdq.pcm.system.SystemPackage; |
| 55 | |
| 56 | import de.uka.ipd.sdq.pcm.usagemodel.UsagemodelPackage; |
| 57 | |
| 58 | import org.eclipse.emf.ecore.EClass; |
| 59 | import org.eclipse.emf.ecore.EGenericType; |
| 60 | import org.eclipse.emf.ecore.EOperation; |
| 61 | import org.eclipse.emf.ecore.EPackage; |
| 62 | import org.eclipse.emf.ecore.EReference; |
| 63 | import org.eclipse.emf.ecore.EValidator; |
| 64 | |
| 65 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
| 66 | |
| 67 | /** |
| 68 | * <!-- begin-user-doc --> |
| 69 | * An implementation of the model <b>Package</b>. |
| 70 | * <!-- end-user-doc --> |
| 71 | * @generated |
| 72 | */ |
| 73 | public class QMLProfilePackageImpl extends EPackageImpl implements QMLProfilePackage { |
| 74 | /** |
| 75 | * <!-- begin-user-doc --> |
| 76 | * <!-- end-user-doc --> |
| 77 | * @generated |
| 78 | */ |
| 79 | private EClass simpleQMLProfileEClass = null; |
| 80 | |
| 81 | /** |
| 82 | * <!-- begin-user-doc --> |
| 83 | * <!-- end-user-doc --> |
| 84 | * @generated |
| 85 | */ |
| 86 | private EClass genericQMLProfileEClass = null; |
| 87 | |
| 88 | /** |
| 89 | * <!-- begin-user-doc --> |
| 90 | * <!-- end-user-doc --> |
| 91 | * @generated |
| 92 | */ |
| 93 | private EClass requirementEClass = null; |
| 94 | |
| 95 | /** |
| 96 | * <!-- begin-user-doc --> |
| 97 | * <!-- end-user-doc --> |
| 98 | * @generated |
| 99 | */ |
| 100 | private EClass refinedQMLProfileEClass = null; |
| 101 | |
| 102 | /** |
| 103 | * <!-- begin-user-doc --> |
| 104 | * <!-- end-user-doc --> |
| 105 | * @generated |
| 106 | */ |
| 107 | private EClass usageScenarioRequirementEClass = null; |
| 108 | |
| 109 | /** |
| 110 | * <!-- begin-user-doc --> |
| 111 | * <!-- end-user-doc --> |
| 112 | * @generated |
| 113 | */ |
| 114 | private EClass entryLevelSystemCallRequirementEClass = null; |
| 115 | |
| 116 | /** |
| 117 | * Creates an instance of the model <b>Package</b>, registered with |
| 118 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| 119 | * package URI value. |
| 120 | * <p>Note: the correct way to create the package is via the static |
| 121 | * factory method {@link #init init()}, which also performs |
| 122 | * initialization of the package, or returns the registered package, |
| 123 | * if one already exists. |
| 124 | * <!-- begin-user-doc --> |
| 125 | * <!-- end-user-doc --> |
| 126 | * @see org.eclipse.emf.ecore.EPackage.Registry |
| 127 | * @see de.uka.ipd.sdq.dsexplore.qml.profile.QMLProfile.QMLProfilePackage#eNS_URI |
| 128 | * @see #init() |
| 129 | * @generated |
| 130 | */ |
| 131 | private QMLProfilePackageImpl() { |
| 132 | super(eNS_URI, QMLProfileFactory.eINSTANCE); |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * <!-- begin-user-doc --> |
| 137 | * <!-- end-user-doc --> |
| 138 | * @generated |
| 139 | */ |
| 140 | private static boolean isInited = false; |
| 141 | |
| 142 | /** |
| 143 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| 144 | * |
| 145 | * <p>This method is used to initialize {@link QMLProfilePackage#eINSTANCE} when that field is accessed. |
| 146 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| 147 | * <!-- begin-user-doc --> |
| 148 | * <!-- end-user-doc --> |
| 149 | * @see #eNS_URI |
| 150 | * @see #createPackageContents() |
| 151 | * @see #initializePackageContents() |
| 152 | * @generated |
| 153 | */ |
| 154 | public static QMLProfilePackage init() { |
| 155 | if (isInited) return (QMLProfilePackage)EPackage.Registry.INSTANCE.getEPackage(QMLProfilePackage.eNS_URI); |
| 156 | |
| 157 | // Obtain or create and register package |
| 158 | QMLProfilePackageImpl theQMLProfilePackage = (QMLProfilePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof QMLProfilePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new QMLProfilePackageImpl()); |
| 159 | |
| 160 | isInited = true; |
| 161 | |
| 162 | // Initialize simple dependencies |
| 163 | CorePackage.eINSTANCE.eClass(); |
| 164 | UsagemodelPackage.eINSTANCE.eClass(); |
| 165 | RepositoryPackage.eINSTANCE.eClass(); |
| 166 | ProtocolPackage.eINSTANCE.eClass(); |
| 167 | ParameterPackage.eINSTANCE.eClass(); |
| 168 | SeffPackage.eINSTANCE.eClass(); |
| 169 | ResourcetypePackage.eINSTANCE.eClass(); |
| 170 | QosannotationsPackage.eINSTANCE.eClass(); |
| 171 | SystemPackage.eINSTANCE.eClass(); |
| 172 | ResourceenvironmentPackage.eINSTANCE.eClass(); |
| 173 | AllocationPackage.eINSTANCE.eClass(); |
| 174 | SubsystemPackage.eINSTANCE.eClass(); |
| 175 | |
| 176 | // Obtain or create and register interdependencies |
| 177 | QMLDeclarationsPackageImpl theQMLDeclarationsPackage = (QMLDeclarationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QMLDeclarationsPackage.eNS_URI) instanceof QMLDeclarationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QMLDeclarationsPackage.eNS_URI) : QMLDeclarationsPackage.eINSTANCE); |
| 178 | QMLContractPackageImpl theQMLContractPackage = (QMLContractPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QMLContractPackage.eNS_URI) instanceof QMLContractPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QMLContractPackage.eNS_URI) : QMLContractPackage.eINSTANCE); |
| 179 | QMLContractTypePackageImpl theQMLContractTypePackage = (QMLContractTypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QMLContractTypePackage.eNS_URI) instanceof QMLContractTypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QMLContractTypePackage.eNS_URI) : QMLContractTypePackage.eINSTANCE); |
| 180 | |
| 181 | // Create package meta-data objects |
| 182 | theQMLProfilePackage.createPackageContents(); |
| 183 | theQMLDeclarationsPackage.createPackageContents(); |
| 184 | theQMLContractPackage.createPackageContents(); |
| 185 | theQMLContractTypePackage.createPackageContents(); |
| 186 | |
| 187 | // Initialize created meta-data |
| 188 | theQMLProfilePackage.initializePackageContents(); |
| 189 | theQMLDeclarationsPackage.initializePackageContents(); |
| 190 | theQMLContractPackage.initializePackageContents(); |
| 191 | theQMLContractTypePackage.initializePackageContents(); |
| 192 | |
| 193 | // Register package validator |
| 194 | EValidator.Registry.INSTANCE.put |
| 195 | (theQMLProfilePackage, |
| 196 | new EValidator.Descriptor() { |
| 197 | public EValidator getEValidator() { |
| 198 | return QMLProfileValidator.INSTANCE; |
| 199 | } |
| 200 | }); |
| 201 | |
| 202 | // Mark meta-data to indicate it can't be changed |
| 203 | theQMLProfilePackage.freeze(); |
| 204 | |
| 205 | |
| 206 | // Update the registry and return the package |
| 207 | EPackage.Registry.INSTANCE.put(QMLProfilePackage.eNS_URI, theQMLProfilePackage); |
| 208 | return theQMLProfilePackage; |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * <!-- begin-user-doc --> |
| 213 | * <!-- end-user-doc --> |
| 214 | * @generated |
| 215 | */ |
| 216 | public EClass getSimpleQMLProfile() { |
| 217 | return simpleQMLProfileEClass; |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * <!-- begin-user-doc --> |
| 222 | * <!-- end-user-doc --> |
| 223 | * @generated |
| 224 | */ |
| 225 | public EReference getSimpleQMLProfile_UsageModel() { |
| 226 | return (EReference)simpleQMLProfileEClass.getEStructuralFeatures().get(0); |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * <!-- begin-user-doc --> |
| 231 | * <!-- end-user-doc --> |
| 232 | * @generated |
| 233 | */ |
| 234 | public EReference getSimpleQMLProfile_Requirements() { |
| 235 | return (EReference)simpleQMLProfileEClass.getEStructuralFeatures().get(1); |
| 236 | } |
| 237 | |
| 238 | /** |
| 239 | * <!-- begin-user-doc --> |
| 240 | * <!-- end-user-doc --> |
| 241 | * @generated |
| 242 | */ |
| 243 | public EClass getGenericQMLProfile() { |
| 244 | return genericQMLProfileEClass; |
| 245 | } |
| 246 | |
| 247 | /** |
| 248 | * <!-- begin-user-doc --> |
| 249 | * <!-- end-user-doc --> |
| 250 | * @generated |
| 251 | */ |
| 252 | public EClass getRequirement() { |
| 253 | return requirementEClass; |
| 254 | } |
| 255 | |
| 256 | /** |
| 257 | * <!-- begin-user-doc --> |
| 258 | * <!-- end-user-doc --> |
| 259 | * @generated |
| 260 | */ |
| 261 | public EReference getRequirement_RequireContract() { |
| 262 | return (EReference)requirementEClass.getEStructuralFeatures().get(0); |
| 263 | } |
| 264 | |
| 265 | /** |
| 266 | * <!-- begin-user-doc --> |
| 267 | * <!-- end-user-doc --> |
| 268 | * @generated |
| 269 | */ |
| 270 | public EClass getRefinedQMLProfile() { |
| 271 | return refinedQMLProfileEClass; |
| 272 | } |
| 273 | |
| 274 | /** |
| 275 | * <!-- begin-user-doc --> |
| 276 | * <!-- end-user-doc --> |
| 277 | * @generated |
| 278 | */ |
| 279 | public EReference getRefinedQMLProfile_BaseProfile() { |
| 280 | return (EReference)refinedQMLProfileEClass.getEStructuralFeatures().get(0); |
| 281 | } |
| 282 | |
| 283 | /** |
| 284 | * <!-- begin-user-doc --> |
| 285 | * <!-- end-user-doc --> |
| 286 | * @generated |
| 287 | */ |
| 288 | public EReference getRefinedQMLProfile_RefinedBy() { |
| 289 | return (EReference)refinedQMLProfileEClass.getEStructuralFeatures().get(1); |
| 290 | } |
| 291 | |
| 292 | /** |
| 293 | * <!-- begin-user-doc --> |
| 294 | * <!-- end-user-doc --> |
| 295 | * @generated |
| 296 | */ |
| 297 | public EClass getUsageScenarioRequirement() { |
| 298 | return usageScenarioRequirementEClass; |
| 299 | } |
| 300 | |
| 301 | /** |
| 302 | * <!-- begin-user-doc --> |
| 303 | * <!-- end-user-doc --> |
| 304 | * @generated |
| 305 | */ |
| 306 | public EReference getUsageScenarioRequirement_UsageScenario() { |
| 307 | return (EReference)usageScenarioRequirementEClass.getEStructuralFeatures().get(0); |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * <!-- begin-user-doc --> |
| 312 | * <!-- end-user-doc --> |
| 313 | * @generated |
| 314 | */ |
| 315 | public EClass getEntryLevelSystemCallRequirement() { |
| 316 | return entryLevelSystemCallRequirementEClass; |
| 317 | } |
| 318 | |
| 319 | /** |
| 320 | * <!-- begin-user-doc --> |
| 321 | * <!-- end-user-doc --> |
| 322 | * @generated |
| 323 | */ |
| 324 | public EReference getEntryLevelSystemCallRequirement_EntryLevelSystemCall() { |
| 325 | return (EReference)entryLevelSystemCallRequirementEClass.getEStructuralFeatures().get(0); |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * <!-- begin-user-doc --> |
| 330 | * <!-- end-user-doc --> |
| 331 | * @generated |
| 332 | */ |
| 333 | public QMLProfileFactory getQMLProfileFactory() { |
| 334 | return (QMLProfileFactory)getEFactoryInstance(); |
| 335 | } |
| 336 | |
| 337 | /** |
| 338 | * <!-- begin-user-doc --> |
| 339 | * <!-- end-user-doc --> |
| 340 | * @generated |
| 341 | */ |
| 342 | private boolean isCreated = false; |
| 343 | |
| 344 | /** |
| 345 | * Creates the meta-model objects for the package. This method is |
| 346 | * guarded to have no affect on any invocation but its first. |
| 347 | * <!-- begin-user-doc --> |
| 348 | * <!-- end-user-doc --> |
| 349 | * @generated |
| 350 | */ |
| 351 | public void createPackageContents() { |
| 352 | if (isCreated) return; |
| 353 | isCreated = true; |
| 354 | |
| 355 | // Create classes and their features |
| 356 | simpleQMLProfileEClass = createEClass(SIMPLE_QML_PROFILE); |
| 357 | createEReference(simpleQMLProfileEClass, SIMPLE_QML_PROFILE__USAGE_MODEL); |
| 358 | createEReference(simpleQMLProfileEClass, SIMPLE_QML_PROFILE__REQUIREMENTS); |
| 359 | |
| 360 | genericQMLProfileEClass = createEClass(GENERIC_QML_PROFILE); |
| 361 | |
| 362 | requirementEClass = createEClass(REQUIREMENT); |
| 363 | createEReference(requirementEClass, REQUIREMENT__REQUIRE_CONTRACT); |
| 364 | |
| 365 | refinedQMLProfileEClass = createEClass(REFINED_QML_PROFILE); |
| 366 | createEReference(refinedQMLProfileEClass, REFINED_QML_PROFILE__BASE_PROFILE); |
| 367 | createEReference(refinedQMLProfileEClass, REFINED_QML_PROFILE__REFINED_BY); |
| 368 | |
| 369 | usageScenarioRequirementEClass = createEClass(USAGE_SCENARIO_REQUIREMENT); |
| 370 | createEReference(usageScenarioRequirementEClass, USAGE_SCENARIO_REQUIREMENT__USAGE_SCENARIO); |
| 371 | |
| 372 | entryLevelSystemCallRequirementEClass = createEClass(ENTRY_LEVEL_SYSTEM_CALL_REQUIREMENT); |
| 373 | createEReference(entryLevelSystemCallRequirementEClass, ENTRY_LEVEL_SYSTEM_CALL_REQUIREMENT__ENTRY_LEVEL_SYSTEM_CALL); |
| 374 | } |
| 375 | |
| 376 | /** |
| 377 | * <!-- begin-user-doc --> |
| 378 | * <!-- end-user-doc --> |
| 379 | * @generated |
| 380 | */ |
| 381 | private boolean isInitialized = false; |
| 382 | |
| 383 | /** |
| 384 | * Complete the initialization of the package and its meta-model. This |
| 385 | * method is guarded to have no affect on any invocation but its first. |
| 386 | * <!-- begin-user-doc --> |
| 387 | * <!-- end-user-doc --> |
| 388 | * @generated |
| 389 | */ |
| 390 | public void initializePackageContents() { |
| 391 | if (isInitialized) return; |
| 392 | isInitialized = true; |
| 393 | |
| 394 | // Initialize package |
| 395 | setName(eNAME); |
| 396 | setNsPrefix(eNS_PREFIX); |
| 397 | setNsURI(eNS_URI); |
| 398 | |
| 399 | // Obtain other dependent packages |
| 400 | UsagemodelPackage theUsagemodelPackage = (UsagemodelPackage)EPackage.Registry.INSTANCE.getEPackage(UsagemodelPackage.eNS_URI); |
| 401 | QMLDeclarationsPackage theQMLDeclarationsPackage = (QMLDeclarationsPackage)EPackage.Registry.INSTANCE.getEPackage(QMLDeclarationsPackage.eNS_URI); |
| 402 | IdentifierPackage theIdentifierPackage = (IdentifierPackage)EPackage.Registry.INSTANCE.getEPackage(IdentifierPackage.eNS_URI); |
| 403 | QMLContractPackage theQMLContractPackage = (QMLContractPackage)EPackage.Registry.INSTANCE.getEPackage(QMLContractPackage.eNS_URI); |
| 404 | |
| 405 | // Create type parameters |
| 406 | |
| 407 | // Set bounds for type parameters |
| 408 | |
| 409 | // Add supertypes to classes |
| 410 | simpleQMLProfileEClass.getESuperTypes().add(this.getGenericQMLProfile()); |
| 411 | genericQMLProfileEClass.getESuperTypes().add(theQMLDeclarationsPackage.getQMLDeclaration()); |
| 412 | requirementEClass.getESuperTypes().add(theIdentifierPackage.getIdentifier()); |
| 413 | refinedQMLProfileEClass.getESuperTypes().add(this.getGenericQMLProfile()); |
| 414 | usageScenarioRequirementEClass.getESuperTypes().add(this.getRequirement()); |
| 415 | entryLevelSystemCallRequirementEClass.getESuperTypes().add(this.getRequirement()); |
| 416 | |
| 417 | // Initialize classes and features; add operations and parameters |
| 418 | initEClass(simpleQMLProfileEClass, SimpleQMLProfile.class, "SimpleQMLProfile", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 419 | initEReference(getSimpleQMLProfile_UsageModel(), theUsagemodelPackage.getUsageModel(), null, "usageModel", null, 1, 1, SimpleQMLProfile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 420 | initEReference(getSimpleQMLProfile_Requirements(), this.getRequirement(), null, "requirements", null, 0, -1, SimpleQMLProfile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 421 | |
| 422 | initEClass(genericQMLProfileEClass, GenericQMLProfile.class, "GenericQMLProfile", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 423 | |
| 424 | initEClass(requirementEClass, Requirement.class, "Requirement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 425 | initEReference(getRequirement_RequireContract(), theQMLContractPackage.getGenericQMLContract(), null, "requireContract", null, 1, -1, Requirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 426 | |
| 427 | initEClass(refinedQMLProfileEClass, RefinedQMLProfile.class, "RefinedQMLProfile", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 428 | initEReference(getRefinedQMLProfile_BaseProfile(), this.getGenericQMLProfile(), null, "baseProfile", null, 1, 1, RefinedQMLProfile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 429 | initEReference(getRefinedQMLProfile_RefinedBy(), this.getRequirement(), null, "refinedBy", null, 0, -1, RefinedQMLProfile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 430 | |
| 431 | EOperation op = addEOperation(refinedQMLProfileEClass, ecorePackage.getEBoolean(), "profile_cannot_refine_itself", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 432 | addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 433 | EGenericType g1 = createEGenericType(ecorePackage.getEMap()); |
| 434 | EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 435 | g1.getETypeArguments().add(g2); |
| 436 | g2 = createEGenericType(ecorePackage.getEJavaObject()); |
| 437 | g1.getETypeArguments().add(g2); |
| 438 | addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); |
| 439 | |
| 440 | initEClass(usageScenarioRequirementEClass, UsageScenarioRequirement.class, "UsageScenarioRequirement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 441 | initEReference(getUsageScenarioRequirement_UsageScenario(), theUsagemodelPackage.getUsageScenario(), null, "usageScenario", null, 0, 1, UsageScenarioRequirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 442 | |
| 443 | initEClass(entryLevelSystemCallRequirementEClass, EntryLevelSystemCallRequirement.class, "EntryLevelSystemCallRequirement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 444 | initEReference(getEntryLevelSystemCallRequirement_EntryLevelSystemCall(), theUsagemodelPackage.getEntryLevelSystemCall(), null, "entryLevelSystemCall", null, 0, 1, EntryLevelSystemCallRequirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| 445 | |
| 446 | // Create resource |
| 447 | createResource(eNS_URI); |
| 448 | } |
| 449 | |
| 450 | } //QMLProfilePackageImpl |