| 1 | /** |
| 2 | * <copyright> |
| 3 | * </copyright> |
| 4 | * |
| 5 | * $Id$ |
| 6 | */ |
| 7 | package de.uka.ipd.sdq.spa.expression.impl; |
| 8 | |
| 9 | import de.uka.ipd.sdq.probfunction.ProbfunctionPackage; |
| 10 | |
| 11 | import de.uka.ipd.sdq.spa.SpaPackage; |
| 12 | |
| 13 | import de.uka.ipd.sdq.spa.expression.Acquire; |
| 14 | import de.uka.ipd.sdq.spa.expression.Alternative; |
| 15 | import de.uka.ipd.sdq.spa.expression.Expression; |
| 16 | import de.uka.ipd.sdq.spa.expression.ExpressionFactory; |
| 17 | import de.uka.ipd.sdq.spa.expression.ExpressionPackage; |
| 18 | import de.uka.ipd.sdq.spa.expression.Loop; |
| 19 | import de.uka.ipd.sdq.spa.expression.Operation; |
| 20 | import de.uka.ipd.sdq.spa.expression.Option; |
| 21 | import de.uka.ipd.sdq.spa.expression.Parallel; |
| 22 | import de.uka.ipd.sdq.spa.expression.Release; |
| 23 | import de.uka.ipd.sdq.spa.expression.Sequence; |
| 24 | import de.uka.ipd.sdq.spa.expression.Symbol; |
| 25 | import de.uka.ipd.sdq.spa.expression.Terminal; |
| 26 | |
| 27 | import de.uka.ipd.sdq.spa.impl.SpaPackageImpl; |
| 28 | |
| 29 | import de.uka.ipd.sdq.spa.resourcemodel.ResourceModelPackage; |
| 30 | |
| 31 | import org.eclipse.emf.ecore.EAttribute; |
| 32 | import org.eclipse.emf.ecore.EClass; |
| 33 | import org.eclipse.emf.ecore.EPackage; |
| 34 | import org.eclipse.emf.ecore.EReference; |
| 35 | |
| 36 | import org.eclipse.emf.ecore.impl.EPackageImpl; |
| 37 | |
| 38 | /** |
| 39 | * <!-- begin-user-doc --> |
| 40 | * An implementation of the model <b>Package</b>. |
| 41 | * <!-- end-user-doc --> |
| 42 | * @generated |
| 43 | */ |
| 44 | public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPackage { |
| 45 | /** |
| 46 | * <!-- begin-user-doc --> |
| 47 | * <!-- end-user-doc --> |
| 48 | * @generated |
| 49 | */ |
| 50 | private EClass terminalEClass = null; |
| 51 | |
| 52 | /** |
| 53 | * <!-- begin-user-doc --> |
| 54 | * <!-- end-user-doc --> |
| 55 | * @generated |
| 56 | */ |
| 57 | private EClass expressionEClass = null; |
| 58 | |
| 59 | /** |
| 60 | * <!-- begin-user-doc --> |
| 61 | * <!-- end-user-doc --> |
| 62 | * @generated |
| 63 | */ |
| 64 | private EClass symbolEClass = null; |
| 65 | |
| 66 | /** |
| 67 | * <!-- begin-user-doc --> |
| 68 | * <!-- end-user-doc --> |
| 69 | * @generated |
| 70 | */ |
| 71 | private EClass sequenceEClass = null; |
| 72 | |
| 73 | /** |
| 74 | * <!-- begin-user-doc --> |
| 75 | * <!-- end-user-doc --> |
| 76 | * @generated |
| 77 | */ |
| 78 | private EClass operationEClass = null; |
| 79 | |
| 80 | /** |
| 81 | * <!-- begin-user-doc --> |
| 82 | * <!-- end-user-doc --> |
| 83 | * @generated |
| 84 | */ |
| 85 | private EClass releaseEClass = null; |
| 86 | |
| 87 | /** |
| 88 | * <!-- begin-user-doc --> |
| 89 | * <!-- end-user-doc --> |
| 90 | * @generated |
| 91 | */ |
| 92 | private EClass parallelEClass = null; |
| 93 | |
| 94 | /** |
| 95 | * <!-- begin-user-doc --> |
| 96 | * <!-- end-user-doc --> |
| 97 | * @generated |
| 98 | */ |
| 99 | private EClass optionEClass = null; |
| 100 | |
| 101 | /** |
| 102 | * <!-- begin-user-doc --> |
| 103 | * <!-- end-user-doc --> |
| 104 | * @generated |
| 105 | */ |
| 106 | private EClass loopEClass = null; |
| 107 | |
| 108 | /** |
| 109 | * <!-- begin-user-doc --> |
| 110 | * <!-- end-user-doc --> |
| 111 | * @generated |
| 112 | */ |
| 113 | private EClass alternativeEClass = null; |
| 114 | |
| 115 | /** |
| 116 | * <!-- begin-user-doc --> |
| 117 | * <!-- end-user-doc --> |
| 118 | * @generated |
| 119 | */ |
| 120 | private EClass acquireEClass = null; |
| 121 | |
| 122 | /** |
| 123 | * Creates an instance of the model <b>Package</b>, registered with |
| 124 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| 125 | * package URI value. |
| 126 | * <p>Note: the correct way to create the package is via the static |
| 127 | * factory method {@link #init init()}, which also performs |
| 128 | * initialization of the package, or returns the registered package, |
| 129 | * if one already exists. |
| 130 | * <!-- begin-user-doc --> |
| 131 | * <!-- end-user-doc --> |
| 132 | * @see org.eclipse.emf.ecore.EPackage.Registry |
| 133 | * @see de.uka.ipd.sdq.spa.expression.ExpressionPackage#eNS_URI |
| 134 | * @see #init() |
| 135 | * @generated |
| 136 | */ |
| 137 | private ExpressionPackageImpl() { |
| 138 | super(eNS_URI, ExpressionFactory.eINSTANCE); |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * <!-- begin-user-doc --> |
| 143 | * <!-- end-user-doc --> |
| 144 | * @generated |
| 145 | */ |
| 146 | private static boolean isInited = false; |
| 147 | |
| 148 | /** |
| 149 | * Creates, registers, and initializes the <b>Package</b> for this |
| 150 | * model, and for any others upon which it depends. Simple |
| 151 | * dependencies are satisfied by calling this method on all |
| 152 | * dependent packages before doing anything else. This method drives |
| 153 | * initialization for interdependent packages directly, in parallel |
| 154 | * with this package, itself. |
| 155 | * <p>Of this package and its interdependencies, all packages which |
| 156 | * have not yet been registered by their URI values are first created |
| 157 | * and registered. The packages are then initialized in two steps: |
| 158 | * meta-model objects for all of the packages are created before any |
| 159 | * are initialized, since one package's meta-model objects may refer to |
| 160 | * those of another. |
| 161 | * <p>Invocation of this method will not affect any packages that have |
| 162 | * already been initialized. |
| 163 | * <!-- begin-user-doc --> |
| 164 | * <!-- end-user-doc --> |
| 165 | * @see #eNS_URI |
| 166 | * @see #createPackageContents() |
| 167 | * @see #initializePackageContents() |
| 168 | * @generated |
| 169 | */ |
| 170 | public static ExpressionPackage init() { |
| 171 | if (isInited) return (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI); |
| 172 | |
| 173 | // Obtain or create and register package |
| 174 | ExpressionPackageImpl theExpressionPackage = (ExpressionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ExpressionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ExpressionPackageImpl()); |
| 175 | |
| 176 | isInited = true; |
| 177 | |
| 178 | // Initialize simple dependencies |
| 179 | ProbfunctionPackage.eINSTANCE.eClass(); |
| 180 | ResourceModelPackage.eINSTANCE.eClass(); |
| 181 | |
| 182 | // Obtain or create and register interdependencies |
| 183 | SpaPackageImpl theSpaPackage = (SpaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SpaPackage.eNS_URI) instanceof SpaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SpaPackage.eNS_URI) : SpaPackage.eINSTANCE); |
| 184 | |
| 185 | // Create package meta-data objects |
| 186 | theExpressionPackage.createPackageContents(); |
| 187 | theSpaPackage.createPackageContents(); |
| 188 | |
| 189 | // Initialize created meta-data |
| 190 | theExpressionPackage.initializePackageContents(); |
| 191 | theSpaPackage.initializePackageContents(); |
| 192 | |
| 193 | // Mark meta-data to indicate it can't be changed |
| 194 | theExpressionPackage.freeze(); |
| 195 | |
| 196 | return theExpressionPackage; |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * <!-- begin-user-doc --> |
| 201 | * <!-- end-user-doc --> |
| 202 | * @generated |
| 203 | */ |
| 204 | public EClass getTerminal() { |
| 205 | return terminalEClass; |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * <!-- begin-user-doc --> |
| 210 | * <!-- end-user-doc --> |
| 211 | * @generated |
| 212 | */ |
| 213 | public EClass getExpression() { |
| 214 | return expressionEClass; |
| 215 | } |
| 216 | |
| 217 | /** |
| 218 | * <!-- begin-user-doc --> |
| 219 | * <!-- end-user-doc --> |
| 220 | * @generated |
| 221 | */ |
| 222 | public EClass getSymbol() { |
| 223 | return symbolEClass; |
| 224 | } |
| 225 | |
| 226 | /** |
| 227 | * <!-- begin-user-doc --> |
| 228 | * <!-- end-user-doc --> |
| 229 | * @generated |
| 230 | */ |
| 231 | public EAttribute getSymbol_Name() { |
| 232 | return (EAttribute)symbolEClass.getEStructuralFeatures().get(0); |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * <!-- begin-user-doc --> |
| 237 | * <!-- end-user-doc --> |
| 238 | * @generated |
| 239 | */ |
| 240 | public EReference getSymbol_ResourceUsages() { |
| 241 | return (EReference)symbolEClass.getEStructuralFeatures().get(1); |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * <!-- begin-user-doc --> |
| 246 | * <!-- end-user-doc --> |
| 247 | * @generated |
| 248 | */ |
| 249 | public EClass getSequence() { |
| 250 | return sequenceEClass; |
| 251 | } |
| 252 | |
| 253 | /** |
| 254 | * <!-- begin-user-doc --> |
| 255 | * <!-- end-user-doc --> |
| 256 | * @generated |
| 257 | */ |
| 258 | public EReference getSequence_LeftRegExp() { |
| 259 | return (EReference)sequenceEClass.getEStructuralFeatures().get(0); |
| 260 | } |
| 261 | |
| 262 | /** |
| 263 | * <!-- begin-user-doc --> |
| 264 | * <!-- end-user-doc --> |
| 265 | * @generated |
| 266 | */ |
| 267 | public EReference getSequence_RightRegExp() { |
| 268 | return (EReference)sequenceEClass.getEStructuralFeatures().get(1); |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * <!-- begin-user-doc --> |
| 273 | * <!-- end-user-doc --> |
| 274 | * @generated |
| 275 | */ |
| 276 | public EClass getOperation() { |
| 277 | return operationEClass; |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * <!-- begin-user-doc --> |
| 282 | * <!-- end-user-doc --> |
| 283 | * @generated |
| 284 | */ |
| 285 | public EClass getRelease() { |
| 286 | return releaseEClass; |
| 287 | } |
| 288 | |
| 289 | /** |
| 290 | * <!-- begin-user-doc --> |
| 291 | * <!-- end-user-doc --> |
| 292 | * @generated |
| 293 | */ |
| 294 | public EReference getRelease_Resource() { |
| 295 | return (EReference)releaseEClass.getEStructuralFeatures().get(0); |
| 296 | } |
| 297 | |
| 298 | /** |
| 299 | * <!-- begin-user-doc --> |
| 300 | * <!-- end-user-doc --> |
| 301 | * @generated |
| 302 | */ |
| 303 | public EClass getParallel() { |
| 304 | return parallelEClass; |
| 305 | } |
| 306 | |
| 307 | /** |
| 308 | * <!-- begin-user-doc --> |
| 309 | * <!-- end-user-doc --> |
| 310 | * @generated |
| 311 | */ |
| 312 | public EReference getParallel_LeftTask() { |
| 313 | return (EReference)parallelEClass.getEStructuralFeatures().get(0); |
| 314 | } |
| 315 | |
| 316 | /** |
| 317 | * <!-- begin-user-doc --> |
| 318 | * <!-- end-user-doc --> |
| 319 | * @generated |
| 320 | */ |
| 321 | public EReference getParallel_RightTask() { |
| 322 | return (EReference)parallelEClass.getEStructuralFeatures().get(1); |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * <!-- begin-user-doc --> |
| 327 | * <!-- end-user-doc --> |
| 328 | * @generated |
| 329 | */ |
| 330 | public EClass getOption() { |
| 331 | return optionEClass; |
| 332 | } |
| 333 | |
| 334 | /** |
| 335 | * <!-- begin-user-doc --> |
| 336 | * <!-- end-user-doc --> |
| 337 | * @generated |
| 338 | */ |
| 339 | public EAttribute getOption_Probability() { |
| 340 | return (EAttribute)optionEClass.getEStructuralFeatures().get(0); |
| 341 | } |
| 342 | |
| 343 | /** |
| 344 | * <!-- begin-user-doc --> |
| 345 | * <!-- end-user-doc --> |
| 346 | * @generated |
| 347 | */ |
| 348 | public EReference getOption_Regexp() { |
| 349 | return (EReference)optionEClass.getEStructuralFeatures().get(1); |
| 350 | } |
| 351 | |
| 352 | /** |
| 353 | * <!-- begin-user-doc --> |
| 354 | * <!-- end-user-doc --> |
| 355 | * @generated |
| 356 | */ |
| 357 | public EClass getLoop() { |
| 358 | return loopEClass; |
| 359 | } |
| 360 | |
| 361 | /** |
| 362 | * <!-- begin-user-doc --> |
| 363 | * <!-- end-user-doc --> |
| 364 | * @generated |
| 365 | */ |
| 366 | public EReference getLoop_RegExp() { |
| 367 | return (EReference)loopEClass.getEStructuralFeatures().get(0); |
| 368 | } |
| 369 | |
| 370 | /** |
| 371 | * <!-- begin-user-doc --> |
| 372 | * <!-- end-user-doc --> |
| 373 | * @generated |
| 374 | */ |
| 375 | public EReference getLoop_IterationsPMF() { |
| 376 | return (EReference)loopEClass.getEStructuralFeatures().get(1); |
| 377 | } |
| 378 | |
| 379 | /** |
| 380 | * <!-- begin-user-doc --> |
| 381 | * <!-- end-user-doc --> |
| 382 | * @generated |
| 383 | */ |
| 384 | public EAttribute getLoop_IterationsString() { |
| 385 | return (EAttribute)loopEClass.getEStructuralFeatures().get(2); |
| 386 | } |
| 387 | |
| 388 | /** |
| 389 | * <!-- begin-user-doc --> |
| 390 | * <!-- end-user-doc --> |
| 391 | * @generated |
| 392 | */ |
| 393 | public EClass getAlternative() { |
| 394 | return alternativeEClass; |
| 395 | } |
| 396 | |
| 397 | /** |
| 398 | * <!-- begin-user-doc --> |
| 399 | * <!-- end-user-doc --> |
| 400 | * @generated |
| 401 | */ |
| 402 | public EReference getAlternative_LeftOption() { |
| 403 | return (EReference)alternativeEClass.getEStructuralFeatures().get(0); |
| 404 | } |
| 405 | |
| 406 | /** |
| 407 | * <!-- begin-user-doc --> |
| 408 | * <!-- end-user-doc --> |
| 409 | * @generated |
| 410 | */ |
| 411 | public EReference getAlternative_RightOption() { |
| 412 | return (EReference)alternativeEClass.getEStructuralFeatures().get(1); |
| 413 | } |
| 414 | |
| 415 | /** |
| 416 | * <!-- begin-user-doc --> |
| 417 | * <!-- end-user-doc --> |
| 418 | * @generated |
| 419 | */ |
| 420 | public EClass getAcquire() { |
| 421 | return acquireEClass; |
| 422 | } |
| 423 | |
| 424 | /** |
| 425 | * <!-- begin-user-doc --> |
| 426 | * <!-- end-user-doc --> |
| 427 | * @generated |
| 428 | */ |
| 429 | public EReference getAcquire_Resource() { |
| 430 | return (EReference)acquireEClass.getEStructuralFeatures().get(0); |
| 431 | } |
| 432 | |
| 433 | /** |
| 434 | * <!-- begin-user-doc --> |
| 435 | * <!-- end-user-doc --> |
| 436 | * @generated |
| 437 | */ |
| 438 | public ExpressionFactory getExpressionFactory() { |
| 439 | return (ExpressionFactory)getEFactoryInstance(); |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * <!-- begin-user-doc --> |
| 444 | * <!-- end-user-doc --> |
| 445 | * @generated |
| 446 | */ |
| 447 | private boolean isCreated = false; |
| 448 | |
| 449 | /** |
| 450 | * Creates the meta-model objects for the package. This method is |
| 451 | * guarded to have no affect on any invocation but its first. |
| 452 | * <!-- begin-user-doc --> |
| 453 | * <!-- end-user-doc --> |
| 454 | * @generated |
| 455 | */ |
| 456 | public void createPackageContents() { |
| 457 | if (isCreated) return; |
| 458 | isCreated = true; |
| 459 | |
| 460 | // Create classes and their features |
| 461 | terminalEClass = createEClass(TERMINAL); |
| 462 | |
| 463 | expressionEClass = createEClass(EXPRESSION); |
| 464 | |
| 465 | symbolEClass = createEClass(SYMBOL); |
| 466 | createEAttribute(symbolEClass, SYMBOL__NAME); |
| 467 | createEReference(symbolEClass, SYMBOL__RESOURCE_USAGES); |
| 468 | |
| 469 | sequenceEClass = createEClass(SEQUENCE); |
| 470 | createEReference(sequenceEClass, SEQUENCE__LEFT_REG_EXP); |
| 471 | createEReference(sequenceEClass, SEQUENCE__RIGHT_REG_EXP); |
| 472 | |
| 473 | operationEClass = createEClass(OPERATION); |
| 474 | |
| 475 | releaseEClass = createEClass(RELEASE); |
| 476 | createEReference(releaseEClass, RELEASE__RESOURCE); |
| 477 | |
| 478 | parallelEClass = createEClass(PARALLEL); |
| 479 | createEReference(parallelEClass, PARALLEL__LEFT_TASK); |
| 480 | createEReference(parallelEClass, PARALLEL__RIGHT_TASK); |
| 481 | |
| 482 | optionEClass = createEClass(OPTION); |
| 483 | createEAttribute(optionEClass, OPTION__PROBABILITY); |
| 484 | createEReference(optionEClass, OPTION__REGEXP); |
| 485 | |
| 486 | loopEClass = createEClass(LOOP); |
| 487 | createEReference(loopEClass, LOOP__REG_EXP); |
| 488 | createEReference(loopEClass, LOOP__ITERATIONS_PMF); |
| 489 | createEAttribute(loopEClass, LOOP__ITERATIONS_STRING); |
| 490 | |
| 491 | alternativeEClass = createEClass(ALTERNATIVE); |
| 492 | createEReference(alternativeEClass, ALTERNATIVE__LEFT_OPTION); |
| 493 | createEReference(alternativeEClass, ALTERNATIVE__RIGHT_OPTION); |
| 494 | |
| 495 | acquireEClass = createEClass(ACQUIRE); |
| 496 | createEReference(acquireEClass, ACQUIRE__RESOURCE); |
| 497 | } |
| 498 | |
| 499 | /** |
| 500 | * <!-- begin-user-doc --> |
| 501 | * <!-- end-user-doc --> |
| 502 | * @generated |
| 503 | */ |
| 504 | private boolean isInitialized = false; |
| 505 | |
| 506 | /** |
| 507 | * Complete the initialization of the package and its meta-model. This |
| 508 | * method is guarded to have no affect on any invocation but its first. |
| 509 | * <!-- begin-user-doc --> |
| 510 | * <!-- end-user-doc --> |
| 511 | * @generated |
| 512 | */ |
| 513 | public void initializePackageContents() { |
| 514 | if (isInitialized) return; |
| 515 | isInitialized = true; |
| 516 | |
| 517 | // Initialize package |
| 518 | setName(eNAME); |
| 519 | setNsPrefix(eNS_PREFIX); |
| 520 | setNsURI(eNS_URI); |
| 521 | |
| 522 | // Obtain other dependent packages |
| 523 | ResourceModelPackage theResourceModelPackage = (ResourceModelPackage)EPackage.Registry.INSTANCE.getEPackage(ResourceModelPackage.eNS_URI); |
| 524 | ProbfunctionPackage theProbfunctionPackage = (ProbfunctionPackage)EPackage.Registry.INSTANCE.getEPackage(ProbfunctionPackage.eNS_URI); |
| 525 | |
| 526 | // Create type parameters |
| 527 | |
| 528 | // Set bounds for type parameters |
| 529 | |
| 530 | // Add supertypes to classes |
| 531 | terminalEClass.getESuperTypes().add(this.getExpression()); |
| 532 | symbolEClass.getESuperTypes().add(this.getTerminal()); |
| 533 | sequenceEClass.getESuperTypes().add(this.getOperation()); |
| 534 | operationEClass.getESuperTypes().add(this.getExpression()); |
| 535 | releaseEClass.getESuperTypes().add(this.getTerminal()); |
| 536 | parallelEClass.getESuperTypes().add(this.getOperation()); |
| 537 | loopEClass.getESuperTypes().add(this.getOperation()); |
| 538 | alternativeEClass.getESuperTypes().add(this.getOperation()); |
| 539 | acquireEClass.getESuperTypes().add(this.getTerminal()); |
| 540 | |
| 541 | // Initialize classes and features; add operations and parameters |
| 542 | initEClass(terminalEClass, Terminal.class, "Terminal", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 543 | |
| 544 | initEClass(expressionEClass, Expression.class, "Expression", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 545 | |
| 546 | initEClass(symbolEClass, Symbol.class, "Symbol", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 547 | initEAttribute(getSymbol_Name(), ecorePackage.getEString(), "name", "", 0, 1, Symbol.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 548 | initEReference(getSymbol_ResourceUsages(), theResourceModelPackage.getResourceUsage(), null, "resourceUsages", null, 0, -1, Symbol.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 549 | |
| 550 | initEClass(sequenceEClass, Sequence.class, "Sequence", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 551 | initEReference(getSequence_LeftRegExp(), this.getExpression(), null, "leftRegExp", null, 1, 1, Sequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 552 | initEReference(getSequence_RightRegExp(), this.getExpression(), null, "rightRegExp", null, 1, 1, Sequence.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 553 | |
| 554 | initEClass(operationEClass, Operation.class, "Operation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 555 | |
| 556 | initEClass(releaseEClass, Release.class, "Release", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 557 | initEReference(getRelease_Resource(), theResourceModelPackage.getPassiveResource(), null, "resource", null, 1, 1, Release.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 558 | |
| 559 | initEClass(parallelEClass, Parallel.class, "Parallel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 560 | initEReference(getParallel_LeftTask(), this.getExpression(), null, "leftTask", null, 0, 1, Parallel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 561 | initEReference(getParallel_RightTask(), this.getExpression(), null, "rightTask", null, 0, 1, Parallel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 562 | |
| 563 | initEClass(optionEClass, Option.class, "Option", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 564 | initEAttribute(getOption_Probability(), ecorePackage.getEDouble(), "probability", null, 0, 1, Option.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 565 | initEReference(getOption_Regexp(), this.getExpression(), null, "regexp", null, 1, 1, Option.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 566 | |
| 567 | initEClass(loopEClass, Loop.class, "Loop", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 568 | initEReference(getLoop_RegExp(), this.getExpression(), null, "regExp", null, 1, 1, Loop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 569 | initEReference(getLoop_IterationsPMF(), theProbfunctionPackage.getProbabilityMassFunction(), null, "iterationsPMF", null, 0, 1, Loop.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 570 | initEAttribute(getLoop_IterationsString(), ecorePackage.getEString(), "iterationsString", "", 0, 1, Loop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 571 | |
| 572 | initEClass(alternativeEClass, Alternative.class, "Alternative", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 573 | initEReference(getAlternative_LeftOption(), this.getOption(), null, "leftOption", null, 1, 1, Alternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 574 | initEReference(getAlternative_RightOption(), this.getOption(), null, "rightOption", null, 1, 1, Alternative.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 575 | |
| 576 | initEClass(acquireEClass, Acquire.class, "Acquire", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| 577 | initEReference(getAcquire_Resource(), theResourceModelPackage.getPassiveResource(), null, "resource", null, 1, 1, Acquire.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| 578 | } |
| 579 | |
| 580 | } //ExpressionPackageImpl |