diff options
Diffstat (limited to 'Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/yakindu/sgraph/yakindumm/impl/YakindummPackageImpl.java')
-rw-r--r-- | Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/yakindu/sgraph/yakindumm/impl/YakindummPackageImpl.java | 45 |
1 files changed, 42 insertions, 3 deletions
diff --git a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/yakindu/sgraph/yakindumm/impl/YakindummPackageImpl.java b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/yakindu/sgraph/yakindumm/impl/YakindummPackageImpl.java index 77092c17..e6da53ec 100644 --- a/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/yakindu/sgraph/yakindumm/impl/YakindummPackageImpl.java +++ b/Domains/hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph/ecore-gen/hu/bme/mit/inf/dslreasoner/domains/yakindu/sgraph/yakindumm/impl/YakindummPackageImpl.java | |||
@@ -5,6 +5,7 @@ package hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.impl; | |||
5 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Choice; | 5 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Choice; |
6 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.CompositeElement; | 6 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.CompositeElement; |
7 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Entry; | 7 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Entry; |
8 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.EntryType; | ||
8 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Exit; | 9 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Exit; |
9 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.FinalState; | 10 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.FinalState; |
10 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Pseudostate; | 11 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Pseudostate; |
@@ -18,7 +19,9 @@ import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.Vertex; | |||
18 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.YakindummFactory; | 19 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.YakindummFactory; |
19 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.YakindummPackage; | 20 | import hu.bme.mit.inf.dslreasoner.domains.yakindu.sgraph.yakindumm.YakindummPackage; |
20 | 21 | ||
22 | import org.eclipse.emf.ecore.EAttribute; | ||
21 | import org.eclipse.emf.ecore.EClass; | 23 | import org.eclipse.emf.ecore.EClass; |
24 | import org.eclipse.emf.ecore.EEnum; | ||
22 | import org.eclipse.emf.ecore.EPackage; | 25 | import org.eclipse.emf.ecore.EPackage; |
23 | import org.eclipse.emf.ecore.EReference; | 26 | import org.eclipse.emf.ecore.EReference; |
24 | 27 | ||
@@ -123,6 +126,13 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
123 | private EClass finalStateEClass = null; | 126 | private EClass finalStateEClass = null; |
124 | 127 | ||
125 | /** | 128 | /** |
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | private EEnum entryTypeEEnum = null; | ||
134 | |||
135 | /** | ||
126 | * Creates an instance of the model <b>Package</b>, registered with | 136 | * Creates an instance of the model <b>Package</b>, registered with |
127 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | 137 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
128 | * package URI value. | 138 | * package URI value. |
@@ -150,7 +160,7 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
150 | 160 | ||
151 | /** | 161 | /** |
152 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | 162 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
153 | * | 163 | * |
154 | * <p>This method is used to initialize {@link YakindummPackage#eINSTANCE} when that field is accessed. | 164 | * <p>This method is used to initialize {@link YakindummPackage#eINSTANCE} when that field is accessed. |
155 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | 165 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
156 | * <!-- begin-user-doc --> | 166 | * <!-- begin-user-doc --> |
@@ -164,7 +174,8 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
164 | if (isInited) return (YakindummPackage)EPackage.Registry.INSTANCE.getEPackage(YakindummPackage.eNS_URI); | 174 | if (isInited) return (YakindummPackage)EPackage.Registry.INSTANCE.getEPackage(YakindummPackage.eNS_URI); |
165 | 175 | ||
166 | // Obtain or create and register package | 176 | // Obtain or create and register package |
167 | YakindummPackageImpl theYakindummPackage = (YakindummPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof YakindummPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new YakindummPackageImpl()); | 177 | Object registeredYakindummPackage = EPackage.Registry.INSTANCE.get(eNS_URI); |
178 | YakindummPackageImpl theYakindummPackage = registeredYakindummPackage instanceof YakindummPackageImpl ? (YakindummPackageImpl)registeredYakindummPackage : new YakindummPackageImpl(); | ||
168 | 179 | ||
169 | isInited = true; | 180 | isInited = true; |
170 | 181 | ||
@@ -177,7 +188,6 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
177 | // Mark meta-data to indicate it can't be changed | 188 | // Mark meta-data to indicate it can't be changed |
178 | theYakindummPackage.freeze(); | 189 | theYakindummPackage.freeze(); |
179 | 190 | ||
180 | |||
181 | // Update the registry and return the package | 191 | // Update the registry and return the package |
182 | EPackage.Registry.INSTANCE.put(YakindummPackage.eNS_URI, theYakindummPackage); | 192 | EPackage.Registry.INSTANCE.put(YakindummPackage.eNS_URI, theYakindummPackage); |
183 | return theYakindummPackage; | 193 | return theYakindummPackage; |
@@ -287,6 +297,15 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
287 | * <!-- end-user-doc --> | 297 | * <!-- end-user-doc --> |
288 | * @generated | 298 | * @generated |
289 | */ | 299 | */ |
300 | public EAttribute getEntry_Type() { | ||
301 | return (EAttribute)entryEClass.getEStructuralFeatures().get(0); | ||
302 | } | ||
303 | |||
304 | /** | ||
305 | * <!-- begin-user-doc --> | ||
306 | * <!-- end-user-doc --> | ||
307 | * @generated | ||
308 | */ | ||
290 | public EClass getSynchronization() { | 309 | public EClass getSynchronization() { |
291 | return synchronizationEClass; | 310 | return synchronizationEClass; |
292 | } | 311 | } |
@@ -359,6 +378,15 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
359 | * <!-- end-user-doc --> | 378 | * <!-- end-user-doc --> |
360 | * @generated | 379 | * @generated |
361 | */ | 380 | */ |
381 | public EEnum getEntryType() { | ||
382 | return entryTypeEEnum; | ||
383 | } | ||
384 | |||
385 | /** | ||
386 | * <!-- begin-user-doc --> | ||
387 | * <!-- end-user-doc --> | ||
388 | * @generated | ||
389 | */ | ||
362 | public YakindummFactory getYakindummFactory() { | 390 | public YakindummFactory getYakindummFactory() { |
363 | return (YakindummFactory)getEFactoryInstance(); | 391 | return (YakindummFactory)getEFactoryInstance(); |
364 | } | 392 | } |
@@ -398,6 +426,7 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
398 | statechartEClass = createEClass(STATECHART); | 426 | statechartEClass = createEClass(STATECHART); |
399 | 427 | ||
400 | entryEClass = createEClass(ENTRY); | 428 | entryEClass = createEClass(ENTRY); |
429 | createEAttribute(entryEClass, ENTRY__TYPE); | ||
401 | 430 | ||
402 | synchronizationEClass = createEClass(SYNCHRONIZATION); | 431 | synchronizationEClass = createEClass(SYNCHRONIZATION); |
403 | 432 | ||
@@ -413,6 +442,9 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
413 | exitEClass = createEClass(EXIT); | 442 | exitEClass = createEClass(EXIT); |
414 | 443 | ||
415 | finalStateEClass = createEClass(FINAL_STATE); | 444 | finalStateEClass = createEClass(FINAL_STATE); |
445 | |||
446 | // Create enums | ||
447 | entryTypeEEnum = createEEnum(ENTRY_TYPE); | ||
416 | } | 448 | } |
417 | 449 | ||
418 | /** | 450 | /** |
@@ -471,6 +503,7 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
471 | initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 503 | initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
472 | 504 | ||
473 | initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 505 | initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
506 | initEAttribute(getEntry_Type(), this.getEntryType(), "Type", null, 0, 1, Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
474 | 507 | ||
475 | initEClass(synchronizationEClass, Synchronization.class, "Synchronization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 508 | initEClass(synchronizationEClass, Synchronization.class, "Synchronization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
476 | 509 | ||
@@ -487,6 +520,12 @@ public class YakindummPackageImpl extends EPackageImpl implements YakindummPacka | |||
487 | 520 | ||
488 | initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 521 | initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
489 | 522 | ||
523 | // Initialize enums and add enum literals | ||
524 | initEEnum(entryTypeEEnum, EntryType.class, "EntryType"); | ||
525 | addEEnumLiteral(entryTypeEEnum, EntryType.NORMAL); | ||
526 | addEEnumLiteral(entryTypeEEnum, EntryType.HISTORY); | ||
527 | addEEnumLiteral(entryTypeEEnum, EntryType.DEEP_HISTORY); | ||
528 | |||
490 | // Create resource | 529 | // Create resource |
491 | createResource(eNS_URI); | 530 | createResource(eNS_URI); |
492 | } | 531 | } |