aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/ca.mcgill.ecse.dslreasoner.vampire.test
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.vampire.test')
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakinduPatterns.vql_227
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.aird704
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.ecore39
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.genmodel40
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTestAlloy.xtend190
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTestViatra.xtend182
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/tester.xtend35
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/queries/YakinduPatterns.txt227
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java37
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java87
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Entry.java52
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/EntryType.java239
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java37
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java37
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java37
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java87
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java37
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java37
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java37
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java165
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java129
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java222
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java2073
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java222
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java2073
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java77
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java307
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/EntryImpl.java163
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java77
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java77
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java77
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java307
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java77
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java369
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java77
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java571
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java415
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java409
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java1008
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java409
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java1008
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java657
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java736
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java657
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java736
45 files changed, 15466 insertions, 0 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakinduPatterns.vql_ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakinduPatterns.vql_
new file mode 100644
index 00000000..f52113ca
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakinduPatterns.vql_
@@ -0,0 +1,227 @@
1package ca.mcgill.ecse.dslreasoner.yakindu.queries
2
3import epackage "hu.bme.mit.inf.yakindumm"
4
5/////////
6// Entry
7/////////
8
9pattern entryInRegion(r1 : Region, e1 : Entry) {
10 Region.vertices(r1, e1);
11}
12
13@Constraint(severity="error", message="error", key = {r1})
14pattern noEntryInRegion(r1 : Region) {
15 neg find entryInRegion(r1, _);
16}
17
18@Constraint(severity="error", message="error", key = {r})
19pattern multipleEntryInRegion(r : Region) {
20 find entryInRegion(r, e1);
21 find entryInRegion(r, e2);
22 e1 != e2;
23}
24
25pattern transition(t : Transition, src : Vertex, trg : Vertex) {
26 Transition.source(t, src);
27 Transition.target(t, trg);
28}
29
30@Constraint(severity="error", message="error", key = {e})
31pattern incomingToEntry(t : Transition, e : Entry) {
32 find transition(t, _, e);
33}
34
35@Constraint(severity="error", message="error", key = {e})
36pattern noOutgoingTransitionFromEntry(e : Entry) {
37 neg find transition(_, e, _);
38}
39
40@Constraint(severity="error", message="error", key = {e})
41pattern multipleTransitionFromEntry(e : Entry, t1 : Transition, t2: Transition) {
42 Entry.outgoingTransitions(e,t1);
43 Entry.outgoingTransitions(e,t2);
44 t1!=t2;
45}
46
47/////////
48// Exit
49/////////
50
51@Constraint(severity="error", message="error", key = {e})
52pattern outgoingFromExit(t : Transition, e : Exit) {
53 Exit.outgoingTransitions(e,t);
54}
55
56/////////
57// Final
58/////////
59
60@Constraint(severity="error", message="error", key = {f})
61pattern outgoingFromFinal(t : Transition, f : FinalState) {
62 FinalState.outgoingTransitions(f,t);
63}
64
65/////////
66// State vs Region
67/////////
68
69@Constraint(severity="error", message="error", key = {region})
70pattern noStateInRegion(region: Region) {
71 neg find StateInRegion(region,_);
72}
73pattern StateInRegion(region: Region, state: State) {
74 Region.vertices(region,state);
75}
76
77/////////
78// Choice
79/////////
80
81@Constraint(severity="error", message="error", key = {c})
82pattern choiceHasNoOutgoing(c : Choice) {
83 neg find transition(_, c, _);
84}
85
86@Constraint(severity="error", message="error", key = {c})
87pattern choiceHasNoIncoming(c: Choice) {
88 neg find transition(_, _, c);
89}
90
91/////////
92// Synchronization
93/////////
94
95@Constraint(severity="error", message="error", key = {s})
96pattern synchHasNoOutgoing(s : Synchronization) {
97 neg find transition(_, s, _);
98}
99
100@Constraint(severity="error", message="error", key = {s})
101pattern synchHasNoIncoming(s : Synchronization) {
102 neg find transition(_, _, s);
103}
104
105@Constraint(severity="error", message="error", key = {s})
106pattern SynchronizedIncomingInSameRegion(s : Synchronization, v1 : Vertex, v2 : Vertex) {
107 find transition(t1, v1, s);
108 find transition(t2, v2, s);
109 t1!=t2;
110 Region.vertices(r, v1);
111 Region.vertices(r, v2);
112} or {
113 find transition(t1, s, v1);
114 find transition(t2, s, v2);
115 t1!=t2;
116 Region.vertices(r, v1);
117 Region.vertices(r, v2);
118}
119
120@Constraint(severity="error", message="error", key = {s})
121pattern notSynchronizingStates(s : Synchronization) {
122 neg find hasMultipleOutgoingTrainsition(s);
123 neg find hasMultipleIncomingTrainsition(s);
124}
125
126pattern hasMultipleOutgoingTrainsition(v : Synchronization) {
127 find transition(_, v, trg1);
128 find transition(_, v, trg2);
129 trg1 != trg2;
130}
131
132pattern hasMultipleIncomingTrainsition(v : Synchronization) {
133 find transition(_, src1, v);
134 find transition(_, src2, v);
135 src1 != src2;
136}
137
138@Constraint(severity="error", message="error", key = {s})
139pattern SynchronizedRegionsAreNotSiblings(s : Synchronization, v1 : Vertex, v2 : Vertex) {
140 find transition(_, v1, s);
141 find transition(_, v2, s);
142 CompositeElement.regions.vertices(r1, v1);
143 CompositeElement.regions.vertices(r2, v2);
144 r1 != r2;
145} or {
146 find transition(_, s, v1);
147 find transition(_, s, v2);
148 CompositeElement.regions.vertices(r1, v1);
149 CompositeElement.regions.vertices(r2, v2);
150 r1 != r2;
151}
152
153///////////////////////////////
154// Extra
155//
156//@Constraint(severity="error", message="error", key = {s})
157//pattern SynchronizedRegionDoesNotHaveParent(s : Synchronization, v : Vertex) {
158// find transition(_, v, s);
159// neg find child(_,v);
160//} or {
161// find transition(_, s, v);
162// neg find child(_,v);
163//}
164
165pattern child(parent: CompositeElement, child: Vertex) {
166 CompositeElement.regions.vertices(parent, child);
167}
168
169@Constraint(severity="error", message="error", key = {s})
170pattern SynchronizedRegionDoesNotHaveMultipleRegions(s : Synchronization, v : Vertex) {
171 find transition(_, v, s);
172 find child(c,v);
173 neg find hasMultipleRegions(c);
174} or {
175 find transition(_, s, v);
176 find child(c,v);
177 neg find hasMultipleRegions(c);
178}
179
180
181pattern hasMultipleRegions(composite: CompositeElement) {
182 CompositeElement.regions(composite,region1);
183 CompositeElement.regions(composite,region2);
184 region1 != region2;
185}
186
187/**
188 * Simplifying model generation
189 */
190@Constraint(severity="error", message="error", key = {s})
191pattern synchThree(s: Synchronization) {
192 Transition.target(t1,s);
193 Transition.target(t2,s);
194 Transition.target(t3,s);
195 t1!=t2;
196 t2!=t3;
197 t1!=t3;
198} or {
199 Transition.source(t1,s);
200 Transition.source(t2,s);
201 Transition.source(t3,s);
202 t1!=t2;
203 t2!=t3;
204 t1!=t3;
205}
206
207/**
208 * Simplifying model generation
209 */
210@Constraint(severity="error", message="error", key = {s1,s2})
211pattern twoSynch(s1 : Synchronization, s2 : Synchronization) {
212 Synchronization(s1);
213 Synchronization(s2);
214 s1 != s2;
215}
216
217/**
218 * Model generation task: at least one synch
219 */
220@Constraint(severity="error", message="error", key = {s})
221pattern noSynch(s:Statechart) {
222 Statechart(s);
223 neg find synch(_);
224}
225pattern synch(s:Synchronization) {
226 Synchronization(s);
227} \ No newline at end of file
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.aird b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.aird
new file mode 100644
index 00000000..38b2b410
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.aird
@@ -0,0 +1,704 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:diagram="http://www.eclipse.org/sirius/diagram/1.1.0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/style/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/style">
3 <viewpoint:DAnalysis uid="_HYD4oOn9EemFBtgp5W26GA" selectedViews="_IBOxcOn9EemFBtgp5W26GA _IBa-sOn9EemFBtgp5W26GA _IBblwOn9EemFBtgp5W26GA _IBgeQOn9EemFBtgp5W26GA" version="14.1.0.201810161215">
4 <semanticResources>yakindu_simplified.ecore</semanticResources>
5 <semanticResources>yakindu_simplified.genmodel</semanticResources>
6 <ownedViews xmi:type="viewpoint:DView" uid="_IBOxcOn9EemFBtgp5W26GA">
7 <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']"/>
8 <ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_JMbZQOn9EemFBtgp5W26GA" name="yakindumm class diagram" repPath="#_JKuwIOn9EemFBtgp5W26GA">
9 <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
10 <target xmi:type="ecore:EPackage" href="yakindu_simplified.ecore#/"/>
11 </ownedRepresentationDescriptors>
12 </ownedViews>
13 <ownedViews xmi:type="viewpoint:DView" uid="_IBa-sOn9EemFBtgp5W26GA">
14 <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Review']"/>
15 </ownedViews>
16 <ownedViews xmi:type="viewpoint:DView" uid="_IBblwOn9EemFBtgp5W26GA">
17 <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Archetype']"/>
18 </ownedViews>
19 <ownedViews xmi:type="viewpoint:DView" uid="_IBgeQOn9EemFBtgp5W26GA">
20 <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Generation']"/>
21 </ownedViews>
22 </viewpoint:DAnalysis>
23 <diagram:DSemanticDiagram uid="_JKuwIOn9EemFBtgp5W26GA" name="yakindumm class diagram">
24 <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_JMS2YOn9EemFBtgp5W26GA" source="DANNOTATION_CUSTOMIZATION_KEY">
25 <data xmi:type="diagram:ComputedStyleDescriptionRegistry" uid="_JMTdcOn9EemFBtgp5W26GA">
26 <computedStyleDescriptions xmi:type="style:BundledImageDescription" xmi:id="_J83XsOn9EemFBtgp5W26GA" labelExpression="service:render" labelAlignment="LEFT" tooltipExpression="service:renderTooltip" sizeComputationExpression="1">
27 <borderColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
28 <labelFormat>bold</labelFormat>
29 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
30 <color xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
31 </computedStyleDescriptions>
32 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_J9Dk8On9EemFBtgp5W26GA" sourceArrow="FillDiamond" routingStyle="manhattan">
33 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
34 <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_J9Dk8en9EemFBtgp5W26GA" showIcon="false" labelExpression="service:render">
35 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
36 </centerLabelStyleDescription>
37 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_J9Dk8un9EemFBtgp5W26GA" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel">
38 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/>
39 </endLabelStyleDescription>
40 </computedStyleDescriptions>
41 <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_J9UqsOn9EemFBtgp5W26GA" sourceArrow="FillDiamond" routingStyle="manhattan">
42 <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
43 <beginLabelStyleDescription xmi:type="style:BeginLabelStyleDescription" xmi:id="_J9Uqsen9EemFBtgp5W26GA" showIcon="false" labelExpression="service:renderEOpposite">
44 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
45 </beginLabelStyleDescription>
46 <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_J9Uqsun9EemFBtgp5W26GA" showIcon="false" labelExpression="service:render">
47 <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
48 </endLabelStyleDescription>
49 </computedStyleDescriptions>
50 </data>
51 </ownedAnnotationEntries>
52 <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_JNGHoOn9EemFBtgp5W26GA" source="GMF_DIAGRAMS">
53 <data xmi:type="notation:Diagram" xmi:id="_JNGHoen9EemFBtgp5W26GA" type="Sirius" element="_JKuwIOn9EemFBtgp5W26GA" measurementUnit="Pixel">
54 <children xmi:type="notation:Node" xmi:id="_J9aKQOn9EemFBtgp5W26GA" type="2003" element="_J8MpUOn9EemFBtgp5W26GA">
55 <children xmi:type="notation:Node" xmi:id="_J9bYYOn9EemFBtgp5W26GA" type="5007"/>
56 <children xmi:type="notation:Node" xmi:id="_J9d0oOn9EemFBtgp5W26GA" type="7004">
57 <styles xmi:type="notation:SortingStyle" xmi:id="_J9d0oen9EemFBtgp5W26GA"/>
58 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9d0oun9EemFBtgp5W26GA"/>
59 </children>
60 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9aKQen9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8" italic="true"/>
61 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9aKQun9EemFBtgp5W26GA" x="480" y="324"/>
62 </children>
63 <children xmi:type="notation:Node" xmi:id="_J9ebsOn9EemFBtgp5W26GA" type="2003" element="_J8TXAOn9EemFBtgp5W26GA">
64 <children xmi:type="notation:Node" xmi:id="_J9fCwOn9EemFBtgp5W26GA" type="5007"/>
65 <children xmi:type="notation:Node" xmi:id="_J9fCwen9EemFBtgp5W26GA" type="7004">
66 <styles xmi:type="notation:SortingStyle" xmi:id="_J9fCwun9EemFBtgp5W26GA"/>
67 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9fCw-n9EemFBtgp5W26GA"/>
68 </children>
69 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9ebsen9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8" italic="true"/>
70 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9ebsun9EemFBtgp5W26GA" x="696" y="156"/>
71 </children>
72 <children xmi:type="notation:Node" xmi:id="_J9fp0On9EemFBtgp5W26GA" type="2003" element="_J8VMMOn9EemFBtgp5W26GA">
73 <children xmi:type="notation:Node" xmi:id="_J9fp0-n9EemFBtgp5W26GA" type="5007"/>
74 <children xmi:type="notation:Node" xmi:id="_J9fp1On9EemFBtgp5W26GA" type="7004">
75 <styles xmi:type="notation:SortingStyle" xmi:id="_J9fp1en9EemFBtgp5W26GA"/>
76 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9fp1un9EemFBtgp5W26GA"/>
77 </children>
78 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9fp0en9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
79 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9fp0un9EemFBtgp5W26GA" x="876" y="324"/>
80 </children>
81 <children xmi:type="notation:Node" xmi:id="_J9gQ4On9EemFBtgp5W26GA" type="2003" element="_J8WaUOn9EemFBtgp5W26GA">
82 <children xmi:type="notation:Node" xmi:id="_J9gQ4-n9EemFBtgp5W26GA" type="5007"/>
83 <children xmi:type="notation:Node" xmi:id="_J9gQ5On9EemFBtgp5W26GA" type="7004">
84 <styles xmi:type="notation:SortingStyle" xmi:id="_J9gQ5en9EemFBtgp5W26GA"/>
85 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9gQ5un9EemFBtgp5W26GA"/>
86 </children>
87 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9gQ4en9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
88 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9gQ4un9EemFBtgp5W26GA" x="696"/>
89 </children>
90 <children xmi:type="notation:Node" xmi:id="_J9g38On9EemFBtgp5W26GA" type="2003" element="_J8XBYun9EemFBtgp5W26GA">
91 <children xmi:type="notation:Node" xmi:id="_J9g38-n9EemFBtgp5W26GA" type="5007"/>
92 <children xmi:type="notation:Node" xmi:id="_J9g39On9EemFBtgp5W26GA" type="7004">
93 <styles xmi:type="notation:SortingStyle" xmi:id="_J9g39en9EemFBtgp5W26GA"/>
94 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9g39un9EemFBtgp5W26GA"/>
95 </children>
96 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9g38en9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
97 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9g38un9EemFBtgp5W26GA" x="984" y="636"/>
98 </children>
99 <children xmi:type="notation:Node" xmi:id="_J9g39-n9EemFBtgp5W26GA" type="2003" element="_J8YPgen9EemFBtgp5W26GA">
100 <children xmi:type="notation:Node" xmi:id="_J9hfAOn9EemFBtgp5W26GA" type="5007"/>
101 <children xmi:type="notation:Node" xmi:id="_J9hfAen9EemFBtgp5W26GA" type="7004">
102 <children xmi:type="notation:Node" xmi:id="_J9oMsOn9EemFBtgp5W26GA" type="3010" element="_J82JkOn9EemFBtgp5W26GA">
103 <styles xmi:type="notation:FontStyle" xmi:id="_J9oMsen9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8" bold="true"/>
104 <layoutConstraint xmi:type="notation:Location" xmi:id="_J9oMsun9EemFBtgp5W26GA"/>
105 </children>
106 <styles xmi:type="notation:SortingStyle" xmi:id="_J9hfAun9EemFBtgp5W26GA"/>
107 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9hfA-n9EemFBtgp5W26GA"/>
108 </children>
109 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9g3-On9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
110 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9g3-en9EemFBtgp5W26GA" x="144" y="480"/>
111 </children>
112 <children xmi:type="notation:Node" xmi:id="_J9hfBOn9EemFBtgp5W26GA" type="2003" element="_J8ZdoOn9EemFBtgp5W26GA">
113 <children xmi:type="notation:Node" xmi:id="_J9iGEOn9EemFBtgp5W26GA" type="5007"/>
114 <children xmi:type="notation:Node" xmi:id="_J9itIOn9EemFBtgp5W26GA" type="7004">
115 <styles xmi:type="notation:SortingStyle" xmi:id="_J9itIen9EemFBtgp5W26GA"/>
116 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9itIun9EemFBtgp5W26GA"/>
117 </children>
118 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9hfBen9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
119 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9hfBun9EemFBtgp5W26GA" x="696" y="636"/>
120 </children>
121 <children xmi:type="notation:Node" xmi:id="_J9jUMOn9EemFBtgp5W26GA" type="2003" element="_J8arwOn9EemFBtgp5W26GA">
122 <children xmi:type="notation:Node" xmi:id="_J9j7QOn9EemFBtgp5W26GA" type="5007"/>
123 <children xmi:type="notation:Node" xmi:id="_J9j7Qen9EemFBtgp5W26GA" type="7004">
124 <styles xmi:type="notation:SortingStyle" xmi:id="_J9j7Qun9EemFBtgp5W26GA"/>
125 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9j7Q-n9EemFBtgp5W26GA"/>
126 </children>
127 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9jUMen9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8" italic="true"/>
128 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9jUMun9EemFBtgp5W26GA" x="696" y="324"/>
129 </children>
130 <children xmi:type="notation:Node" xmi:id="_J9j7ROn9EemFBtgp5W26GA" type="2003" element="_J8b54On9EemFBtgp5W26GA">
131 <children xmi:type="notation:Node" xmi:id="_J9j7R-n9EemFBtgp5W26GA" type="5007"/>
132 <children xmi:type="notation:Node" xmi:id="_J9kiUOn9EemFBtgp5W26GA" type="7004">
133 <styles xmi:type="notation:SortingStyle" xmi:id="_J9kiUen9EemFBtgp5W26GA"/>
134 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9kiUun9EemFBtgp5W26GA"/>
135 </children>
136 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9j7Ren9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8" italic="true"/>
137 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9j7Run9EemFBtgp5W26GA" x="984" y="480"/>
138 </children>
139 <children xmi:type="notation:Node" xmi:id="_J9kiU-n9EemFBtgp5W26GA" type="2003" element="_J8dvEOn9EemFBtgp5W26GA">
140 <children xmi:type="notation:Node" xmi:id="_J9lJYOn9EemFBtgp5W26GA" type="5007"/>
141 <children xmi:type="notation:Node" xmi:id="_J9lJYen9EemFBtgp5W26GA" type="7004">
142 <styles xmi:type="notation:SortingStyle" xmi:id="_J9lJYun9EemFBtgp5W26GA"/>
143 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9lJY-n9EemFBtgp5W26GA"/>
144 </children>
145 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9kiVOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
146 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9kiVen9EemFBtgp5W26GA" x="408" y="480"/>
147 </children>
148 <children xmi:type="notation:Node" xmi:id="_J9lJZOn9EemFBtgp5W26GA" type="2003" element="_J8fkQOn9EemFBtgp5W26GA">
149 <children xmi:type="notation:Node" xmi:id="_J9lwcOn9EemFBtgp5W26GA" type="5007"/>
150 <children xmi:type="notation:Node" xmi:id="_J9lwcen9EemFBtgp5W26GA" type="7004">
151 <styles xmi:type="notation:SortingStyle" xmi:id="_J9lwcun9EemFBtgp5W26GA"/>
152 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9lwc-n9EemFBtgp5W26GA"/>
153 </children>
154 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9lJZen9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
155 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9lJZun9EemFBtgp5W26GA" x="588" y="480"/>
156 </children>
157 <children xmi:type="notation:Node" xmi:id="_J9mXgOn9EemFBtgp5W26GA" type="2003" element="_J8gyYOn9EemFBtgp5W26GA">
158 <children xmi:type="notation:Node" xmi:id="_J9mXg-n9EemFBtgp5W26GA" type="5007"/>
159 <children xmi:type="notation:Node" xmi:id="_J9m-kOn9EemFBtgp5W26GA" type="7004">
160 <styles xmi:type="notation:SortingStyle" xmi:id="_J9m-ken9EemFBtgp5W26GA"/>
161 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9m-kun9EemFBtgp5W26GA"/>
162 </children>
163 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9mXgen9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
164 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9mXgun9EemFBtgp5W26GA" x="804" y="480"/>
165 </children>
166 <children xmi:type="notation:Node" xmi:id="_J9m-k-n9EemFBtgp5W26GA" type="2003" element="_J8iAgOn9EemFBtgp5W26GA">
167 <children xmi:type="notation:Node" xmi:id="_J9m-lun9EemFBtgp5W26GA" type="5007"/>
168 <children xmi:type="notation:Node" xmi:id="_J9nloOn9EemFBtgp5W26GA" type="7004">
169 <children xmi:type="notation:Node" xmi:id="_J9ozwOn9EemFBtgp5W26GA" type="3010" element="_J883QOn9EemFBtgp5W26GA">
170 <styles xmi:type="notation:FontStyle" xmi:id="_J9ozwen9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
171 <layoutConstraint xmi:type="notation:Location" xmi:id="_J9ozwun9EemFBtgp5W26GA"/>
172 </children>
173 <children xmi:type="notation:Node" xmi:id="_J9ozw-n9EemFBtgp5W26GA" type="3010" element="_J883Qun9EemFBtgp5W26GA">
174 <styles xmi:type="notation:FontStyle" xmi:id="_J9ozxOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
175 <layoutConstraint xmi:type="notation:Location" xmi:id="_J9ozxen9EemFBtgp5W26GA"/>
176 </children>
177 <children xmi:type="notation:Node" xmi:id="_J9pa0On9EemFBtgp5W26GA" type="3010" element="_J89eUOn9EemFBtgp5W26GA">
178 <styles xmi:type="notation:FontStyle" xmi:id="_J9pa0en9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
179 <layoutConstraint xmi:type="notation:Location" xmi:id="_J9pa0un9EemFBtgp5W26GA"/>
180 </children>
181 <styles xmi:type="notation:SortingStyle" xmi:id="_J9nloen9EemFBtgp5W26GA"/>
182 <styles xmi:type="notation:FilteringStyle" xmi:id="_J9nloun9EemFBtgp5W26GA"/>
183 </children>
184 <styles xmi:type="notation:ShapeStyle" xmi:id="_J9m-lOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
185 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9m-len9EemFBtgp5W26GA" x="363" y="168"/>
186 </children>
187 <styles xmi:type="notation:DiagramStyle" xmi:id="_JNGHoun9EemFBtgp5W26GA"/>
188 <edges xmi:type="notation:Edge" xmi:id="_J9ykwOn9EemFBtgp5W26GA" type="4001" element="_J9BvwOn9EemFBtgp5W26GA" source="_J9fp0On9EemFBtgp5W26GA" target="_J9ebsOn9EemFBtgp5W26GA">
189 <children xmi:type="notation:Node" xmi:id="_J9zL0On9EemFBtgp5W26GA" type="6001">
190 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9zL0en9EemFBtgp5W26GA" y="-10"/>
191 </children>
192 <children xmi:type="notation:Node" xmi:id="_J9zy4On9EemFBtgp5W26GA" type="6002">
193 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J9zy4en9EemFBtgp5W26GA" y="10"/>
194 </children>
195 <children xmi:type="notation:Node" xmi:id="_J90Z8On9EemFBtgp5W26GA" type="6003">
196 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J90Z8en9EemFBtgp5W26GA" y="10"/>
197 </children>
198 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J9ykwen9EemFBtgp5W26GA" routing="Rectilinear"/>
199 <styles xmi:type="notation:FontStyle" xmi:id="_J9ykwun9EemFBtgp5W26GA" fontColor="7490599" fontName="Segoe UI" fontHeight="8"/>
200 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J9ykw-n9EemFBtgp5W26GA" points="[0, 0, 180, 60]$[-180, -60, 0, 0]"/>
201 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-AnMOn9EemFBtgp5W26GA" id="(0.5,0.0)"/>
202 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-AnMen9EemFBtgp5W26GA" id="(0.5,1.0)"/>
203 </edges>
204 <edges xmi:type="notation:Edge" xmi:id="_J-BOQOn9EemFBtgp5W26GA" type="4001" element="_J9H2YOn9EemFBtgp5W26GA" source="_J9j7ROn9EemFBtgp5W26GA" target="_J9fp0On9EemFBtgp5W26GA">
205 <children xmi:type="notation:Node" xmi:id="_J-BOROn9EemFBtgp5W26GA" type="6001">
206 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-BORen9EemFBtgp5W26GA" y="-10"/>
207 </children>
208 <children xmi:type="notation:Node" xmi:id="_J-B1UOn9EemFBtgp5W26GA" type="6002">
209 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-B1Uen9EemFBtgp5W26GA" y="10"/>
210 </children>
211 <children xmi:type="notation:Node" xmi:id="_J-B1Uun9EemFBtgp5W26GA" type="6003">
212 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-B1U-n9EemFBtgp5W26GA" y="10"/>
213 </children>
214 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-BOQen9EemFBtgp5W26GA" routing="Rectilinear"/>
215 <styles xmi:type="notation:FontStyle" xmi:id="_J-BOQun9EemFBtgp5W26GA" fontColor="7490599" fontName="Segoe UI" fontHeight="8"/>
216 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-BOQ-n9EemFBtgp5W26GA" points="[0, 0, 106, 60]$[-106, -60, 0, 0]"/>
217 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-B1VOn9EemFBtgp5W26GA" id="(0.5,0.0)"/>
218 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-B1Ven9EemFBtgp5W26GA" id="(0.5,1.0)"/>
219 </edges>
220 <edges xmi:type="notation:Edge" xmi:id="_J-B1Vun9EemFBtgp5W26GA" type="4001" element="_J9JrkOn9EemFBtgp5W26GA" source="_J9g38On9EemFBtgp5W26GA" target="_J9j7ROn9EemFBtgp5W26GA">
221 <children xmi:type="notation:Node" xmi:id="_J-CcYOn9EemFBtgp5W26GA" type="6001">
222 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-CcYen9EemFBtgp5W26GA" y="-10"/>
223 </children>
224 <children xmi:type="notation:Node" xmi:id="_J-CcYun9EemFBtgp5W26GA" type="6002">
225 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-CcY-n9EemFBtgp5W26GA" y="10"/>
226 </children>
227 <children xmi:type="notation:Node" xmi:id="_J-CcZOn9EemFBtgp5W26GA" type="6003">
228 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-CcZen9EemFBtgp5W26GA" y="10"/>
229 </children>
230 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-B1V-n9EemFBtgp5W26GA" routing="Tree"/>
231 <styles xmi:type="notation:FontStyle" xmi:id="_J-B1WOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
232 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-B1Wen9EemFBtgp5W26GA" points="[37, 0, 37, 58]$[37, -24, 37, 34]$[1, -24, 1, 34]$[1, -58, 1, 0]"/>
233 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-DDcOn9EemFBtgp5W26GA" id="(0.5,0.0)"/>
234 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-DDcen9EemFBtgp5W26GA" id="(0.5,1.0)"/>
235 </edges>
236 <edges xmi:type="notation:Edge" xmi:id="_J-DDcun9EemFBtgp5W26GA" type="4001" element="_J9NV8-n9EemFBtgp5W26GA" source="_J9mXgOn9EemFBtgp5W26GA" target="_J9jUMOn9EemFBtgp5W26GA">
237 <children xmi:type="notation:Node" xmi:id="_J-DDdun9EemFBtgp5W26GA" type="6001">
238 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-DDd-n9EemFBtgp5W26GA" y="-10"/>
239 </children>
240 <children xmi:type="notation:Node" xmi:id="_J-DqgOn9EemFBtgp5W26GA" type="6002">
241 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-Dqgen9EemFBtgp5W26GA" y="10"/>
242 </children>
243 <children xmi:type="notation:Node" xmi:id="_J-Dqgun9EemFBtgp5W26GA" type="6003">
244 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-Dqg-n9EemFBtgp5W26GA" y="10"/>
245 </children>
246 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-DDc-n9EemFBtgp5W26GA" routing="Tree"/>
247 <styles xmi:type="notation:FontStyle" xmi:id="_J-DDdOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
248 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-DDden9EemFBtgp5W26GA" points="[0, 0, 108, 58]$[0, -24, 108, 34]$[-107, -24, 1, 34]$[-107, -58, 1, 0]"/>
249 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-ERkOn9EemFBtgp5W26GA" id="(0.5,0.0)"/>
250 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-ERken9EemFBtgp5W26GA" id="(0.5,1.0)"/>
251 </edges>
252 <edges xmi:type="notation:Edge" xmi:id="_J-ERkun9EemFBtgp5W26GA" type="4001" element="_J9OkEOn9EemFBtgp5W26GA" source="_J9g39-n9EemFBtgp5W26GA" target="_J9aKQOn9EemFBtgp5W26GA">
253 <children xmi:type="notation:Node" xmi:id="_J-ERlun9EemFBtgp5W26GA" type="6001">
254 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-ERl-n9EemFBtgp5W26GA" y="-10"/>
255 </children>
256 <children xmi:type="notation:Node" xmi:id="_J-ERmOn9EemFBtgp5W26GA" type="6002">
257 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-ERmen9EemFBtgp5W26GA" y="10"/>
258 </children>
259 <children xmi:type="notation:Node" xmi:id="_J-ERmun9EemFBtgp5W26GA" type="6003">
260 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-ERm-n9EemFBtgp5W26GA" y="10"/>
261 </children>
262 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-ERk-n9EemFBtgp5W26GA" routing="Tree"/>
263 <styles xmi:type="notation:FontStyle" xmi:id="_J-ERlOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
264 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-ERlen9EemFBtgp5W26GA" points="[0, 0, -270, 60]$[270, -60, 0, 0]"/>
265 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-E4oOn9EemFBtgp5W26GA" id="(0.5,0.0)"/>
266 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-E4oen9EemFBtgp5W26GA" id="(0.5,1.0)"/>
267 </edges>
268 <edges xmi:type="notation:Edge" xmi:id="_J-E4oun9EemFBtgp5W26GA" type="4001" element="_J9PLIOn9EemFBtgp5W26GA" source="_J9lJZOn9EemFBtgp5W26GA" target="_J9aKQOn9EemFBtgp5W26GA">
269 <children xmi:type="notation:Node" xmi:id="_J-E4pun9EemFBtgp5W26GA" type="6001">
270 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-E4p-n9EemFBtgp5W26GA" y="-10"/>
271 </children>
272 <children xmi:type="notation:Node" xmi:id="_J-E4qOn9EemFBtgp5W26GA" type="6002">
273 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-E4qen9EemFBtgp5W26GA" y="10"/>
274 </children>
275 <children xmi:type="notation:Node" xmi:id="_J-E4qun9EemFBtgp5W26GA" type="6003">
276 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-E4q-n9EemFBtgp5W26GA" y="10"/>
277 </children>
278 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-E4o-n9EemFBtgp5W26GA" routing="Tree"/>
279 <styles xmi:type="notation:FontStyle" xmi:id="_J-E4pOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
280 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-E4pen9EemFBtgp5W26GA" points="[0, 0, 115, 60]$[-115, -60, 0, 0]"/>
281 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-FfsOn9EemFBtgp5W26GA" id="(0.5,0.0)"/>
282 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-Ffsen9EemFBtgp5W26GA" id="(0.5,1.0)"/>
283 </edges>
284 <edges xmi:type="notation:Edge" xmi:id="_J-Ffsun9EemFBtgp5W26GA" type="4001" element="_J9PyMOn9EemFBtgp5W26GA" source="_J9hfBOn9EemFBtgp5W26GA" target="_J9jUMOn9EemFBtgp5W26GA">
285 <children xmi:type="notation:Node" xmi:id="_J-Fftun9EemFBtgp5W26GA" type="6001">
286 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-Fft-n9EemFBtgp5W26GA" y="-10"/>
287 </children>
288 <children xmi:type="notation:Node" xmi:id="_J-GGwOn9EemFBtgp5W26GA" type="6002">
289 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-GGwen9EemFBtgp5W26GA" y="10"/>
290 </children>
291 <children xmi:type="notation:Node" xmi:id="_J-GGwun9EemFBtgp5W26GA" type="6003">
292 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-GGw-n9EemFBtgp5W26GA" y="10"/>
293 </children>
294 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-Ffs-n9EemFBtgp5W26GA" routing="Tree"/>
295 <styles xmi:type="notation:FontStyle" xmi:id="_J-FftOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
296 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-Fften9EemFBtgp5W26GA" points="[-35, 0, -35, 214]$[-35, -180, -35, 34]$[1, -180, 1, 34]$[1, -214, 1, 0]"/>
297 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-GGxOn9EemFBtgp5W26GA" id="(0.5,0.0)"/>
298 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-GGxen9EemFBtgp5W26GA" id="(0.5,1.0)"/>
299 </edges>
300 <edges xmi:type="notation:Edge" xmi:id="_J-GGxun9EemFBtgp5W26GA" type="4001" element="_J9QZQOn9EemFBtgp5W26GA" source="_J9hfBOn9EemFBtgp5W26GA" target="_J9j7ROn9EemFBtgp5W26GA">
301 <children xmi:type="notation:Node" xmi:id="_J-Gt0On9EemFBtgp5W26GA" type="6001">
302 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-Gt0en9EemFBtgp5W26GA" y="-10"/>
303 </children>
304 <children xmi:type="notation:Node" xmi:id="_J-Gt0un9EemFBtgp5W26GA" type="6002">
305 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-Gt0-n9EemFBtgp5W26GA" y="10"/>
306 </children>
307 <children xmi:type="notation:Node" xmi:id="_J-Gt1On9EemFBtgp5W26GA" type="6003">
308 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-Gt1en9EemFBtgp5W26GA" y="10"/>
309 </children>
310 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-GGx-n9EemFBtgp5W26GA" routing="Tree"/>
311 <styles xmi:type="notation:FontStyle" xmi:id="_J-GGyOn9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
312 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-GGyen9EemFBtgp5W26GA" points="[0, 0, -288, 58]$[0, -24, -288, 34]$[289, -24, 1, 34]$[289, -58, 1, 0]"/>
313 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-Gt1un9EemFBtgp5W26GA" id="(0.5,0.0)"/>
314 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-Gt1-n9EemFBtgp5W26GA" id="(0.5,1.0)"/>
315 </edges>
316 <edges xmi:type="notation:Edge" xmi:id="_J-Gt2On9EemFBtgp5W26GA" type="4001" element="_J9RAU-n9EemFBtgp5W26GA" source="_J9kiU-n9EemFBtgp5W26GA" target="_J9aKQOn9EemFBtgp5W26GA">
317 <children xmi:type="notation:Node" xmi:id="_J-HU4On9EemFBtgp5W26GA" type="6001">
318 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-HU4en9EemFBtgp5W26GA" y="-10"/>
319 </children>
320 <children xmi:type="notation:Node" xmi:id="_J-HU4un9EemFBtgp5W26GA" type="6002">
321 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-HU4-n9EemFBtgp5W26GA" y="10"/>
322 </children>
323 <children xmi:type="notation:Node" xmi:id="_J-HU5On9EemFBtgp5W26GA" type="6003">
324 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-HU5en9EemFBtgp5W26GA" y="10"/>
325 </children>
326 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-Gt2en9EemFBtgp5W26GA" routing="Tree"/>
327 <styles xmi:type="notation:FontStyle" xmi:id="_J-Gt2un9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
328 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-Gt2-n9EemFBtgp5W26GA" points="[0, 0, -65, 60]$[65, -60, 0, 0]"/>
329 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-H78On9EemFBtgp5W26GA" id="(0.5,0.0)"/>
330 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-H78en9EemFBtgp5W26GA" id="(0.5,1.0)"/>
331 </edges>
332 <edges xmi:type="notation:Edge" xmi:id="_J-H78un9EemFBtgp5W26GA" type="4001" element="_J9RnZun9EemFBtgp5W26GA" source="_J9aKQOn9EemFBtgp5W26GA" target="_J9ebsOn9EemFBtgp5W26GA">
333 <children xmi:type="notation:Node" xmi:id="_J-H79un9EemFBtgp5W26GA" type="6001">
334 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-H79-n9EemFBtgp5W26GA" y="-10"/>
335 </children>
336 <children xmi:type="notation:Node" xmi:id="_J-H7-On9EemFBtgp5W26GA" type="6002">
337 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-H7-en9EemFBtgp5W26GA" y="10"/>
338 </children>
339 <children xmi:type="notation:Node" xmi:id="_J-IjAOn9EemFBtgp5W26GA" type="6003">
340 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-IjAen9EemFBtgp5W26GA" y="10"/>
341 </children>
342 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-H78-n9EemFBtgp5W26GA" routing="Tree"/>
343 <styles xmi:type="notation:FontStyle" xmi:id="_J-H79On9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
344 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-H79en9EemFBtgp5W26GA" points="[0, 0, -220, 60]$[220, -60, 0, 0]"/>
345 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-IjAun9EemFBtgp5W26GA" id="(0.5,0.0)"/>
346 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-IjA-n9EemFBtgp5W26GA" id="(0.5,1.0)"/>
347 </edges>
348 <edges xmi:type="notation:Edge" xmi:id="_J-IjBOn9EemFBtgp5W26GA" type="4001" element="_J9SOdun9EemFBtgp5W26GA" source="_J9jUMOn9EemFBtgp5W26GA" target="_J9ebsOn9EemFBtgp5W26GA">
349 <children xmi:type="notation:Node" xmi:id="_J-JKEOn9EemFBtgp5W26GA" type="6001">
350 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-JKEen9EemFBtgp5W26GA" y="-10"/>
351 </children>
352 <children xmi:type="notation:Node" xmi:id="_J-JKEun9EemFBtgp5W26GA" type="6002">
353 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-JKE-n9EemFBtgp5W26GA" y="10"/>
354 </children>
355 <children xmi:type="notation:Node" xmi:id="_J-JKFOn9EemFBtgp5W26GA" type="6003">
356 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-JKFen9EemFBtgp5W26GA" y="10"/>
357 </children>
358 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-IjBen9EemFBtgp5W26GA" routing="Tree"/>
359 <styles xmi:type="notation:FontStyle" xmi:id="_J-IjBun9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
360 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-IjB-n9EemFBtgp5W26GA" points="[0, 0, 0, 60]$[0, -60, 0, 0]"/>
361 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-JKFun9EemFBtgp5W26GA" id="(0.5,0.0)"/>
362 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-JKF-n9EemFBtgp5W26GA" id="(0.5,1.0)"/>
363 </edges>
364 <edges xmi:type="notation:Edge" xmi:id="_J-JxIOn9EemFBtgp5W26GA" type="4001" element="_J9Tck-n9EemFBtgp5W26GA" source="_J9ebsOn9EemFBtgp5W26GA" target="_J9gQ4On9EemFBtgp5W26GA">
365 <children xmi:type="notation:Node" xmi:id="_J-JxJOn9EemFBtgp5W26GA" type="6001">
366 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-JxJen9EemFBtgp5W26GA" x="1" y="-10"/>
367 </children>
368 <children xmi:type="notation:Node" xmi:id="_J-JxJun9EemFBtgp5W26GA" type="6002">
369 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-JxJ-n9EemFBtgp5W26GA" y="-10"/>
370 </children>
371 <children xmi:type="notation:Node" xmi:id="_J-JxKOn9EemFBtgp5W26GA" type="6003">
372 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-JxKen9EemFBtgp5W26GA" y="10"/>
373 </children>
374 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-JxIen9EemFBtgp5W26GA" routing="Rectilinear"/>
375 <styles xmi:type="notation:FontStyle" xmi:id="_J-JxIun9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
376 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-JxI-n9EemFBtgp5W26GA" points="[-59, 50, -59, 108]$[-143, 50, -143, 108]$[-143, -106, -143, -48]$[-59, -106, -59, -48]"/>
377 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-JxKun9EemFBtgp5W26GA" id="(0.5,0.0)"/>
378 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-JxK-n9EemFBtgp5W26GA" id="(0.5,1.0)"/>
379 </edges>
380 <edges xmi:type="notation:Edge" xmi:id="_J-KYMOn9EemFBtgp5W26GA" type="4001" element="_J9VRw-n9EemFBtgp5W26GA" source="_J9ebsOn9EemFBtgp5W26GA" target="_J9gQ4On9EemFBtgp5W26GA">
381 <children xmi:type="notation:Node" xmi:id="_J-KYNOn9EemFBtgp5W26GA" type="6001">
382 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-KYNen9EemFBtgp5W26GA" x="1" y="-10"/>
383 </children>
384 <children xmi:type="notation:Node" xmi:id="_J-KYNun9EemFBtgp5W26GA" type="6002">
385 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-KYN-n9EemFBtgp5W26GA" y="10"/>
386 </children>
387 <children xmi:type="notation:Node" xmi:id="_J-KYOOn9EemFBtgp5W26GA" type="6003">
388 <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J-KYOen9EemFBtgp5W26GA" y="-10"/>
389 </children>
390 <styles xmi:type="notation:ConnectorStyle" xmi:id="_J-KYMen9EemFBtgp5W26GA" routing="Rectilinear"/>
391 <styles xmi:type="notation:FontStyle" xmi:id="_J-KYMun9EemFBtgp5W26GA" fontName="Segoe UI" fontHeight="8"/>
392 <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J-KYM-n9EemFBtgp5W26GA" points="[59, 50, 59, 108]$[145, 50, 145, 108]$[145, -106, 145, -48]$[59, -106, 59, -48]"/>
393 <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-K_QOn9EemFBtgp5W26GA" id="(0.5,0.0)"/>
394 <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J-K_Qen9EemFBtgp5W26GA" id="(0.5,1.0)"/>
395 </edges>
396 </data>
397 </ownedAnnotationEntries>
398 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8MpUOn9EemFBtgp5W26GA" name="Pseudostate" tooltipText="" outgoingEdges="_J9RnZun9EemFBtgp5W26GA" incomingEdges="_J9OkEOn9EemFBtgp5W26GA _J9PLIOn9EemFBtgp5W26GA _J9RAU-n9EemFBtgp5W26GA" width="12" height="10">
399 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Pseudostate"/>
400 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Pseudostate"/>
401 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8Q6wOn9EemFBtgp5W26GA" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228">
402 <labelFormat>italic</labelFormat>
403 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/>
404 </ownedStyle>
405 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
406 </ownedDiagramElements>
407 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8TXAOn9EemFBtgp5W26GA" name="Vertex" tooltipText="" outgoingEdges="_J9Tck-n9EemFBtgp5W26GA _J9VRw-n9EemFBtgp5W26GA" incomingEdges="_J9BvwOn9EemFBtgp5W26GA _J9RnZun9EemFBtgp5W26GA _J9SOdun9EemFBtgp5W26GA" width="12" height="10">
408 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Vertex"/>
409 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Vertex"/>
410 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8T-EOn9EemFBtgp5W26GA" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228">
411 <labelFormat>italic</labelFormat>
412 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/>
413 </ownedStyle>
414 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
415 </ownedDiagramElements>
416 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8VMMOn9EemFBtgp5W26GA" name="Region" tooltipText="" outgoingEdges="_J9BvwOn9EemFBtgp5W26GA" incomingEdges="_J9H2YOn9EemFBtgp5W26GA" width="12" height="10">
417 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Region"/>
418 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Region"/>
419 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8VMMen9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
420 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/>
421 </ownedStyle>
422 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
423 </ownedDiagramElements>
424 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8WaUOn9EemFBtgp5W26GA" name="Transition" tooltipText="" incomingEdges="_J9Tck-n9EemFBtgp5W26GA _J9VRw-n9EemFBtgp5W26GA" width="12" height="10">
425 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Transition"/>
426 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Transition"/>
427 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8XBYOn9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
428 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/>
429 </ownedStyle>
430 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
431 </ownedDiagramElements>
432 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8XBYun9EemFBtgp5W26GA" name="Statechart" tooltipText="" outgoingEdges="_J9JrkOn9EemFBtgp5W26GA" width="12" height="10">
433 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Statechart"/>
434 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Statechart"/>
435 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8XocOn9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
436 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/>
437 </ownedStyle>
438 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
439 </ownedDiagramElements>
440 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8YPgen9EemFBtgp5W26GA" name="Entry" tooltipText="" outgoingEdges="_J9OkEOn9EemFBtgp5W26GA" width="12" height="10">
441 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Entry"/>
442 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Entry"/>
443 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8Y2kOn9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
444 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/>
445 </ownedStyle>
446 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
447 <ownedElements xmi:type="diagram:DNodeListElement" uid="_J82JkOn9EemFBtgp5W26GA" name="Type : EntryType = Normal" tooltipText="">
448 <target xmi:type="ecore:EAttribute" href="yakindu_simplified.ecore#//Entry/Type"/>
449 <semanticElements xmi:type="ecore:EAttribute" href="yakindu_simplified.ecore#//Entry/Type"/>
450 <ownedStyle xmi:type="diagram:BundledImage" uid="_J85M4On9EemFBtgp5W26GA" labelAlignment="LEFT" description="_J83XsOn9EemFBtgp5W26GA">
451 <labelFormat>bold</labelFormat>
452 </ownedStyle>
453 <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/>
454 </ownedElements>
455 </ownedDiagramElements>
456 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8ZdoOn9EemFBtgp5W26GA" name="State" tooltipText="" outgoingEdges="_J9PyMOn9EemFBtgp5W26GA _J9QZQOn9EemFBtgp5W26GA" width="12" height="10">
457 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//State"/>
458 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//State"/>
459 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8aEsOn9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
460 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/>
461 </ownedStyle>
462 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
463 </ownedDiagramElements>
464 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8arwOn9EemFBtgp5W26GA" name="RegularState" tooltipText="" outgoingEdges="_J9SOdun9EemFBtgp5W26GA" incomingEdges="_J9NV8-n9EemFBtgp5W26GA _J9PyMOn9EemFBtgp5W26GA" width="12" height="10">
465 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//RegularState"/>
466 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//RegularState"/>
467 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8arwen9EemFBtgp5W26GA" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228">
468 <labelFormat>italic</labelFormat>
469 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/>
470 </ownedStyle>
471 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
472 </ownedDiagramElements>
473 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8b54On9EemFBtgp5W26GA" name="CompositeElement" tooltipText="" outgoingEdges="_J9H2YOn9EemFBtgp5W26GA" incomingEdges="_J9JrkOn9EemFBtgp5W26GA _J9QZQOn9EemFBtgp5W26GA" width="12" height="10">
474 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//CompositeElement"/>
475 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//CompositeElement"/>
476 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8cg8On9EemFBtgp5W26GA" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228">
477 <labelFormat>italic</labelFormat>
478 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/>
479 </ownedStyle>
480 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
481 </ownedDiagramElements>
482 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8dvEOn9EemFBtgp5W26GA" name="Choice" tooltipText="" outgoingEdges="_J9RAU-n9EemFBtgp5W26GA" width="12" height="10">
483 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Choice"/>
484 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Choice"/>
485 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8eWIOn9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
486 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/>
487 </ownedStyle>
488 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
489 </ownedDiagramElements>
490 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8fkQOn9EemFBtgp5W26GA" name="Exit" tooltipText="" outgoingEdges="_J9PLIOn9EemFBtgp5W26GA" width="12" height="10">
491 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Exit"/>
492 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Exit"/>
493 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8gLUOn9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
494 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/>
495 </ownedStyle>
496 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
497 </ownedDiagramElements>
498 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8gyYOn9EemFBtgp5W26GA" name="FinalState" tooltipText="" outgoingEdges="_J9NV8-n9EemFBtgp5W26GA" width="12" height="10">
499 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//FinalState"/>
500 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//FinalState"/>
501 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8gyYen9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216">
502 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/>
503 </ownedStyle>
504 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
505 </ownedDiagramElements>
506 <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_J8iAgOn9EemFBtgp5W26GA" name="EntryType" tooltipText="" width="12" height="10">
507 <target xmi:type="ecore:EEnum" href="yakindu_simplified.ecore#//EntryType"/>
508 <semanticElements xmi:type="ecore:EEnum" href="yakindu_simplified.ecore#//EntryType"/>
509 <arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
510 <arrangeConstraints>KEEP_SIZE</arrangeConstraints>
511 <arrangeConstraints>KEEP_RATIO</arrangeConstraints>
512 <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_J8iAgen9EemFBtgp5W26GA" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="221,236,202">
513 <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@style"/>
514 </ownedStyle>
515 <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']"/>
516 <ownedElements xmi:type="diagram:DNodeListElement" uid="_J883QOn9EemFBtgp5W26GA" name="Normal" tooltipText="">
517 <target xmi:type="ecore:EEnumLiteral" href="yakindu_simplified.ecore#//EntryType/Normal"/>
518 <semanticElements xmi:type="ecore:EEnumLiteral" href="yakindu_simplified.ecore#//EntryType/Normal"/>
519 <ownedStyle xmi:type="diagram:BundledImage" uid="_J883Qen9EemFBtgp5W26GA" labelAlignment="LEFT">
520 <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
521 </ownedStyle>
522 <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
523 </ownedElements>
524 <ownedElements xmi:type="diagram:DNodeListElement" uid="_J883Qun9EemFBtgp5W26GA" name="History" tooltipText="">
525 <target xmi:type="ecore:EEnumLiteral" href="yakindu_simplified.ecore#//EntryType/History"/>
526 <semanticElements xmi:type="ecore:EEnumLiteral" href="yakindu_simplified.ecore#//EntryType/History"/>
527 <ownedStyle xmi:type="diagram:BundledImage" uid="_J883Q-n9EemFBtgp5W26GA" labelAlignment="LEFT">
528 <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
529 </ownedStyle>
530 <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
531 </ownedElements>
532 <ownedElements xmi:type="diagram:DNodeListElement" uid="_J89eUOn9EemFBtgp5W26GA" name="DeepHistory" tooltipText="">
533 <target xmi:type="ecore:EEnumLiteral" href="yakindu_simplified.ecore#//EntryType/DeepHistory"/>
534 <semanticElements xmi:type="ecore:EEnumLiteral" href="yakindu_simplified.ecore#//EntryType/DeepHistory"/>
535 <ownedStyle xmi:type="diagram:BundledImage" uid="_J89eUen9EemFBtgp5W26GA" labelAlignment="LEFT">
536 <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
537 </ownedStyle>
538 <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
539 </ownedElements>
540 </ownedDiagramElements>
541 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9BvwOn9EemFBtgp5W26GA" name="[0..*] vertices" sourceNode="_J8VMMOn9EemFBtgp5W26GA" targetNode="_J8TXAOn9EemFBtgp5W26GA">
542 <target xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//Region/vertices"/>
543 <semanticElements xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//Region/vertices"/>
544 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9EzEOn9EemFBtgp5W26GA" description="_J9Dk8On9EemFBtgp5W26GA" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
545 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9FaIen9EemFBtgp5W26GA" showIcon="false">
546 <customFeatures>labelSize</customFeatures>
547 </centerLabelStyle>
548 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_J9FaIOn9EemFBtgp5W26GA" showIcon="false" labelColor="39,76,114">
549 <customFeatures>labelSize</customFeatures>
550 </endLabelStyle>
551 </ownedStyle>
552 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/>
553 </ownedDiagramElements>
554 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9H2YOn9EemFBtgp5W26GA" name="[0..*] regions" sourceNode="_J8b54On9EemFBtgp5W26GA" targetNode="_J8VMMOn9EemFBtgp5W26GA">
555 <target xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//CompositeElement/regions"/>
556 <semanticElements xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//CompositeElement/regions"/>
557 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9IdcOn9EemFBtgp5W26GA" description="_J9Dk8On9EemFBtgp5W26GA" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
558 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9Idcun9EemFBtgp5W26GA" showIcon="false">
559 <customFeatures>labelSize</customFeatures>
560 </centerLabelStyle>
561 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_J9Idcen9EemFBtgp5W26GA" showIcon="false" labelColor="39,76,114">
562 <customFeatures>labelSize</customFeatures>
563 </endLabelStyle>
564 </ownedStyle>
565 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/>
566 </ownedDiagramElements>
567 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9JrkOn9EemFBtgp5W26GA" sourceNode="_J8XBYun9EemFBtgp5W26GA" targetNode="_J8b54On9EemFBtgp5W26GA">
568 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Statechart"/>
569 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Statechart"/>
570 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9MH0On9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
571 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
572 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9Mu4On9EemFBtgp5W26GA" showIcon="false">
573 <labelFormat>italic</labelFormat>
574 </beginLabelStyle>
575 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9Mu4en9EemFBtgp5W26GA" showIcon="false"/>
576 </ownedStyle>
577 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
578 </ownedDiagramElements>
579 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9NV8-n9EemFBtgp5W26GA" sourceNode="_J8gyYOn9EemFBtgp5W26GA" targetNode="_J8arwOn9EemFBtgp5W26GA">
580 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//FinalState"/>
581 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//FinalState"/>
582 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9N9AOn9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
583 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
584 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9N9Aen9EemFBtgp5W26GA" showIcon="false">
585 <labelFormat>italic</labelFormat>
586 </beginLabelStyle>
587 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9N9Aun9EemFBtgp5W26GA" showIcon="false"/>
588 </ownedStyle>
589 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
590 </ownedDiagramElements>
591 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9OkEOn9EemFBtgp5W26GA" sourceNode="_J8YPgen9EemFBtgp5W26GA" targetNode="_J8MpUOn9EemFBtgp5W26GA">
592 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Entry"/>
593 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Entry"/>
594 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9OkEen9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
595 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
596 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9OkEun9EemFBtgp5W26GA" showIcon="false">
597 <labelFormat>italic</labelFormat>
598 </beginLabelStyle>
599 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9OkE-n9EemFBtgp5W26GA" showIcon="false"/>
600 </ownedStyle>
601 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
602 </ownedDiagramElements>
603 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9PLIOn9EemFBtgp5W26GA" sourceNode="_J8fkQOn9EemFBtgp5W26GA" targetNode="_J8MpUOn9EemFBtgp5W26GA">
604 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Exit"/>
605 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Exit"/>
606 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9PLIen9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
607 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
608 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9PLIun9EemFBtgp5W26GA" showIcon="false">
609 <labelFormat>italic</labelFormat>
610 </beginLabelStyle>
611 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9PLI-n9EemFBtgp5W26GA" showIcon="false"/>
612 </ownedStyle>
613 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
614 </ownedDiagramElements>
615 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9PyMOn9EemFBtgp5W26GA" sourceNode="_J8ZdoOn9EemFBtgp5W26GA" targetNode="_J8arwOn9EemFBtgp5W26GA">
616 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//State"/>
617 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//State"/>
618 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9PyMen9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
619 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
620 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9PyMun9EemFBtgp5W26GA" showIcon="false">
621 <labelFormat>italic</labelFormat>
622 </beginLabelStyle>
623 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9PyM-n9EemFBtgp5W26GA" showIcon="false"/>
624 </ownedStyle>
625 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
626 </ownedDiagramElements>
627 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9QZQOn9EemFBtgp5W26GA" sourceNode="_J8ZdoOn9EemFBtgp5W26GA" targetNode="_J8b54On9EemFBtgp5W26GA">
628 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//State"/>
629 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//State"/>
630 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9QZQen9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
631 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
632 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9QZQun9EemFBtgp5W26GA" showIcon="false">
633 <labelFormat>italic</labelFormat>
634 </beginLabelStyle>
635 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9QZQ-n9EemFBtgp5W26GA" showIcon="false"/>
636 </ownedStyle>
637 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
638 </ownedDiagramElements>
639 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9RAU-n9EemFBtgp5W26GA" sourceNode="_J8dvEOn9EemFBtgp5W26GA" targetNode="_J8MpUOn9EemFBtgp5W26GA">
640 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Choice"/>
641 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Choice"/>
642 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9RnYOn9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
643 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
644 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9RnYen9EemFBtgp5W26GA" showIcon="false">
645 <labelFormat>italic</labelFormat>
646 </beginLabelStyle>
647 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9RnYun9EemFBtgp5W26GA" showIcon="false"/>
648 </ownedStyle>
649 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
650 </ownedDiagramElements>
651 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9RnZun9EemFBtgp5W26GA" sourceNode="_J8MpUOn9EemFBtgp5W26GA" targetNode="_J8TXAOn9EemFBtgp5W26GA">
652 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Pseudostate"/>
653 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//Pseudostate"/>
654 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9SOcOn9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
655 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
656 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9SOcen9EemFBtgp5W26GA" showIcon="false">
657 <labelFormat>italic</labelFormat>
658 </beginLabelStyle>
659 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9SOcun9EemFBtgp5W26GA" showIcon="false"/>
660 </ownedStyle>
661 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
662 </ownedDiagramElements>
663 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9SOdun9EemFBtgp5W26GA" sourceNode="_J8arwOn9EemFBtgp5W26GA" targetNode="_J8TXAOn9EemFBtgp5W26GA">
664 <target xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//RegularState"/>
665 <semanticElements xmi:type="ecore:EClass" href="yakindu_simplified.ecore#//RegularState"/>
666 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9S1gOn9EemFBtgp5W26GA" targetArrow="InputClosedArrow" routingStyle="tree">
667 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
668 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9S1gen9EemFBtgp5W26GA" showIcon="false">
669 <labelFormat>italic</labelFormat>
670 </beginLabelStyle>
671 <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_J9S1gun9EemFBtgp5W26GA" showIcon="false"/>
672 </ownedStyle>
673 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
674 </ownedDiagramElements>
675 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9Tck-n9EemFBtgp5W26GA" sourceNode="_J8TXAOn9EemFBtgp5W26GA" targetNode="_J8WaUOn9EemFBtgp5W26GA" beginLabel="[0..1] source" endLabel="[0..*] outgoingTransitions">
676 <target xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//Vertex/outgoingTransitions"/>
677 <semanticElements xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//Vertex/outgoingTransitions"/>
678 <semanticElements xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//Transition/source"/>
679 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9Uqs-n9EemFBtgp5W26GA" description="_J9UqsOn9EemFBtgp5W26GA" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
680 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9UqtOn9EemFBtgp5W26GA" showIcon="false"/>
681 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_J9Uqten9EemFBtgp5W26GA" showIcon="false"/>
682 </ownedStyle>
683 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
684 </ownedDiagramElements>
685 <ownedDiagramElements xmi:type="diagram:DEdge" uid="_J9VRw-n9EemFBtgp5W26GA" sourceNode="_J8TXAOn9EemFBtgp5W26GA" targetNode="_J8WaUOn9EemFBtgp5W26GA" beginLabel="[1..1] target" endLabel="[0..*] incomingTransitions">
686 <target xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//Vertex/incomingTransitions"/>
687 <semanticElements xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//Vertex/incomingTransitions"/>
688 <semanticElements xmi:type="ecore:EReference" href="yakindu_simplified.ecore#//Transition/target"/>
689 <ownedStyle xmi:type="diagram:EdgeStyle" uid="_J9V40On9EemFBtgp5W26GA" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0">
690 <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']/@style"/>
691 <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_J9V40en9EemFBtgp5W26GA" showIcon="false"/>
692 <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_J9V40un9EemFBtgp5W26GA" showIcon="false"/>
693 </ownedStyle>
694 <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
695 </ownedDiagramElements>
696 <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
697 <filterVariableHistory xmi:type="diagram:FilterVariableHistory" uid="_JLMDIOn9EemFBtgp5W26GA"/>
698 <activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer"/>
699 <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Package']"/>
700 <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Validation']"/>
701 <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Archetype']/@ownedRepresentationExtensions[name='Entities%20With%20Archetypes']/@layers[name='Archetypes']"/>
702 <target xmi:type="ecore:EPackage" href="yakindu_simplified.ecore#/"/>
703 </diagram:DSemanticDiagram>
704</xmi:XMI>
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.ecore b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.ecore
new file mode 100644
index 00000000..02b57252
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.ecore
@@ -0,0 +1,39 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="yakindumm" nsURI="hu.bme.mit.inf.yakindumm" nsPrefix="ca.mcgill.ecse.yakindumm">
4 <eClassifiers xsi:type="ecore:EClass" name="Pseudostate" abstract="true" eSuperTypes="#//Vertex"/>
5 <eClassifiers xsi:type="ecore:EClass" name="Vertex" abstract="true">
6 <eStructuralFeatures xsi:type="ecore:EReference" name="incomingTransitions" ordered="false"
7 upperBound="-1" eType="#//Transition" eOpposite="#//Transition/target"/>
8 <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingTransitions" ordered="false"
9 upperBound="-1" eType="#//Transition" containment="true" eOpposite="#//Transition/source"/>
10 </eClassifiers>
11 <eClassifiers xsi:type="ecore:EClass" name="Region">
12 <eStructuralFeatures xsi:type="ecore:EReference" name="vertices" ordered="false"
13 upperBound="-1" eType="#//Vertex" containment="true"/>
14 </eClassifiers>
15 <eClassifiers xsi:type="ecore:EClass" name="Transition">
16 <eStructuralFeatures xsi:type="ecore:EReference" name="target" ordered="false"
17 lowerBound="1" eType="#//Vertex" eOpposite="#//Vertex/incomingTransitions"/>
18 <eStructuralFeatures xsi:type="ecore:EReference" name="source" ordered="false"
19 eType="#//Vertex" eOpposite="#//Vertex/outgoingTransitions"/>
20 </eClassifiers>
21 <eClassifiers xsi:type="ecore:EClass" name="Statechart" eSuperTypes="#//CompositeElement"/>
22 <eClassifiers xsi:type="ecore:EClass" name="Entry" eSuperTypes="#//Pseudostate">
23 <eStructuralFeatures xsi:type="ecore:EAttribute" name="Type" lowerBound="1" eType="#//EntryType"/>
24 </eClassifiers>
25 <eClassifiers xsi:type="ecore:EClass" name="State" eSuperTypes="#//RegularState #//CompositeElement"/>
26 <eClassifiers xsi:type="ecore:EClass" name="RegularState" abstract="true" eSuperTypes="#//Vertex"/>
27 <eClassifiers xsi:type="ecore:EClass" name="CompositeElement" abstract="true">
28 <eStructuralFeatures xsi:type="ecore:EReference" name="regions" upperBound="-1"
29 eType="#//Region" containment="true"/>
30 </eClassifiers>
31 <eClassifiers xsi:type="ecore:EClass" name="Choice" eSuperTypes="#//Pseudostate"/>
32 <eClassifiers xsi:type="ecore:EClass" name="Exit" eSuperTypes="#//Pseudostate"/>
33 <eClassifiers xsi:type="ecore:EClass" name="FinalState" eSuperTypes="#//RegularState"/>
34 <eClassifiers xsi:type="ecore:EEnum" name="EntryType">
35 <eLiterals name="Normal"/>
36 <eLiterals name="History"/>
37 <eLiterals name="DeepHistory"/>
38 </eClassifiers>
39</ecore:EPackage>
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.genmodel b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.genmodel
new file mode 100644
index 00000000..cfbafce6
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/initialModels/yakindu/yakindu_simplified.genmodel
@@ -0,0 +1,40 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
3 xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/ca.mcgill.ecse.dslreasoner.vampire.test/src" modelPluginID="ca.mcgill.ecse.dslreasoner.vampire.test"
4 modelName="yakindu_simplified" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
5 importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" copyrightFields="false"
6 operationReflection="true" importOrganizing="true">
7 <foreignModel>yakindu_simplified.ecore</foreignModel>
8 <genPackages prefix="Yakindumm" basePackage="ca.mcgill.ecse.dslreasoner.vampire"
9 disposableProviderFactory="true" ecorePackage="yakindu_simplified.ecore#/">
10 <genEnums typeSafeEnumCompatible="false" ecoreEnum="yakindu_simplified.ecore#//EntryType">
11 <genEnumLiterals ecoreEnumLiteral="yakindu_simplified.ecore#//EntryType/Normal"/>
12 <genEnumLiterals ecoreEnumLiteral="yakindu_simplified.ecore#//EntryType/History"/>
13 <genEnumLiterals ecoreEnumLiteral="yakindu_simplified.ecore#//EntryType/DeepHistory"/>
14 </genEnums>
15 <genClasses image="false" ecoreClass="yakindu_simplified.ecore#//Pseudostate"/>
16 <genClasses image="false" ecoreClass="yakindu_simplified.ecore#//Vertex">
17 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference yakindu_simplified.ecore#//Vertex/incomingTransitions"/>
18 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference yakindu_simplified.ecore#//Vertex/outgoingTransitions"/>
19 </genClasses>
20 <genClasses ecoreClass="yakindu_simplified.ecore#//Region">
21 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference yakindu_simplified.ecore#//Region/vertices"/>
22 </genClasses>
23 <genClasses ecoreClass="yakindu_simplified.ecore#//Transition">
24 <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference yakindu_simplified.ecore#//Transition/target"/>
25 <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference yakindu_simplified.ecore#//Transition/source"/>
26 </genClasses>
27 <genClasses ecoreClass="yakindu_simplified.ecore#//Statechart"/>
28 <genClasses ecoreClass="yakindu_simplified.ecore#//Entry">
29 <genFeatures createChild="false" ecoreFeature="ecore:EAttribute yakindu_simplified.ecore#//Entry/Type"/>
30 </genClasses>
31 <genClasses ecoreClass="yakindu_simplified.ecore#//State"/>
32 <genClasses image="false" ecoreClass="yakindu_simplified.ecore#//RegularState"/>
33 <genClasses image="false" ecoreClass="yakindu_simplified.ecore#//CompositeElement">
34 <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference yakindu_simplified.ecore#//CompositeElement/regions"/>
35 </genClasses>
36 <genClasses ecoreClass="yakindu_simplified.ecore#//Choice"/>
37 <genClasses ecoreClass="yakindu_simplified.ecore#//Exit"/>
38 <genClasses ecoreClass="yakindu_simplified.ecore#//FinalState"/>
39 </genPackages>
40</genmodel:GenModel>
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTestAlloy.xtend b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTestAlloy.xtend
new file mode 100644
index 00000000..b0af3f64
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTestAlloy.xtend
@@ -0,0 +1,190 @@
1package ca.mcgill.ecse.dslreasoner.vampire.icse
2
3import ca.mcgill.ecse.dslreasoner.vampire.queries.Patterns
4import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
5import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloySolver
6import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloySolverConfiguration
7import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic
8import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration
9import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel
10import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry
11import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult
12import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry
13import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore
14import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic
15import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration
16import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic
17import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace
18import java.io.PrintWriter
19import java.text.SimpleDateFormat
20import java.util.Date
21import org.eclipse.emf.ecore.resource.Resource
22import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl
23import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl
24
25class YakinduTestAlloy {
26 def static void main(String[] args) {
27 val Ecore2Logic ecore2Logic = new Ecore2Logic
28 val Logic2Ecore logic2Ecore = new Logic2Ecore(ecore2Logic)
29 val Viatra2Logic viatra2Logic = new Viatra2Logic(ecore2Logic)
30 val InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic
31
32 // Workspace setup
33 val Date date = new Date(System.currentTimeMillis)
34 val SimpleDateFormat format = new SimpleDateFormat("dd-HHmm");
35 val formattedDate = format.format(date)
36
37 val inputs = new FileSystemWorkspace('''initialModels/''', "")
38 val dataWorkspace = new FileSystemWorkspace('''output/YakinduTest/''', "")
39 val workspace = new FileSystemWorkspace('''output/YakinduTest/''' + formattedDate + '''/''', "")
40 workspace.initAndClear
41
42 // Logicproblem writing setup
43 val reg = Resource.Factory.Registry.INSTANCE
44 val map = reg.extensionToFactoryMap
45 map.put("logicproblem", new XMIResourceFactoryImpl)
46
47 println("Input and output workspaces are created")
48
49 val metamodel = GeneralTest.loadMetamodel(YakindummPackage.eINSTANCE)
50 val partialModel = GeneralTest.loadPartialModel(inputs, "yakindu/Yakindu.xmi")
51 val queries = GeneralTest.loadQueries(metamodel, Patterns.instance)
52// val metamodel = GeneralTest.loadMetamodel(FunctionalarchitecturePackage.eINSTANCE)
53// val partialModel = GeneralTest.loadPartialModel(inputs, "FAM/FaModel.xmi")
54// val queries = GeneralTest.loadQueries(metamodel, FamPatterns.instance)
55// val queries = null
56 println("DSL loaded")
57
58 var SZ_TOP = 100
59 var SZ_BOT = 100
60 var INC = 20
61 var REPS = 25
62
63 val RUNTIME = 300
64
65 var solverTimes = newArrayList
66 var transformationTimes = newArrayList
67 var LogicResult solution = null
68 var solver = "Alloy"
69
70 for (var k = 0; k < 1; k++) {
71
72 for (var i = SZ_BOT; i <= SZ_TOP; i += INC) {
73 var writer = new PrintWriter(
74 dataWorkspace.workspaceURI + "//_alloy" + i + "x" + REPS + "-" + formattedDate + ".csv")
75 writer.append("solver,size,TransformatonTime,sat?,kodkodTime,model?,modelTime\n")
76
77 val num = (i - SZ_BOT) / INC
78 println()
79 println("SOLVER: " + solver + ", SIZE=" + i)
80 println()
81
82 solverTimes.clear
83 transformationTimes.clear
84 for (var j = 0; j < REPS; j++) {
85 val Date date2 = new Date(System.currentTimeMillis)
86 val formattedDate2 = format.format(date2)
87 println(formattedDate2)
88 println("<<Run number " + j + ">> :")
89
90 val modelGenerationProblem = ecore2Logic.transformMetamodel(metamodel,
91 new Ecore2LogicConfiguration())
92 var modelExtensionProblem = instanceModel2Logic.transform(modelGenerationProblem, partialModel)
93 var validModelExtensionProblem = viatra2Logic.transformQueries(queries, modelExtensionProblem,
94 new Viatra2LogicConfiguration)
95
96 var problem = modelGenerationProblem.output
97// workspace.writeModel(problem, "Yakindu.logicproblem")
98// println("Problem created")
99// Start Time
100 var startTime = System.currentTimeMillis
101
102 var AlloySolver reasoner
103 // *
104 reasoner = new AlloySolver
105
106 // /////////////////////////////////////////////////////
107 // Define Config File
108 val size = i
109 val inc = INC
110 val iter = j
111 val solverConfig = new AlloySolverConfiguration => [
112 // add configuration things, in config file first
113 it.documentationLevel = DocumentationLevel::FULL
114// it.iteration = iter
115 it.runtimeLimit = RUNTIME
116// it.typeScopes.maxNewElements = size
117 it.typeScopes.minNewElements = size
118 it.typeScopes.maxNewElements = size
119 ]
120 solution = reasoner.solve(problem, solverConfig, workspace)
121// print((solution as ModelResult).representation.get(0))
122// val soln = ((solution as ModelResult).representation.get(0) as VampireModel)
123// println(soln.confirmations)
124// println((solution as ModelResult).representation)
125// modelFound = !soln.confirmations.filter [
126// class == VLSFiniteModelImpl
127// ].isEmpty
128// ADD TO CSV
129 writer.append(solver + ",")
130 writer.append(size + ",")
131 writer.append(solution.statistics.transformationTime / 1000.0 + ",")
132
133// val satOut = (solution.statistics.entries.filter[name == "satOut"].get(0) as StringStatisticEntry).
134// value
135 val kodKodTime = (solution.statistics.entries.filter[name == "Alloy2KodKodTransformationTime"].
136 get(0) as IntStatisticEntry).value
137// print(solution.class)
138 val modOut = if(solution.class == ModelResultImpl) "FiniteModel" else "no"
139 val mod = solution.statistics.entries.filter[name == "Answer0Time"]
140 var modTime = 0.0
141 if (!mod.isEmpty) {
142 modTime = (mod.get(0) as IntStatisticEntry).value / 1000.0
143
144 }
145 writer.append("-,")
146 writer.append(kodKodTime.toString + ",")
147 writer.append(modOut + ",")
148 writer.append(modTime.toString + "")
149 writer.append("\n")
150
151 println("->" + modOut + " ... " + modTime)
152
153 // Run Garbage Collector
154 val Runtime r = Runtime.getRuntime();
155 r.gc();
156 r.gc();
157 r.gc();
158 Thread.sleep(3000)
159
160// print("(" + tTime + "/" + sTime + "s)..")
161// solverTimes.add(sTime)
162// transformationTimes.add(tTime)
163// } else {
164// writer.append("MNF" + ",")
165//// print("MNF")
166// }
167 // println("Problem solved")
168 // visualisation, see
169// var interpretations = reasoner.getInterpretations(solution as ModelResult)
170// for (interpretation : interpretations) {
171// val model = logic2Ecore.transformInterpretation(interpretation, modelGenerationProblem.trace)
172// workspace.writeModel(model, "model.xmi")
173// }
174// var totalTimeMin = (System.currentTimeMillis - startTime) / 60000
175// var totalTimeSec = ((System.currentTimeMillis - startTime) / 1000) % 60
176// println("Problem solved")
177// println("Time was: " + totalTimeMin + ":" + totalTimeSec)
178 }
179// println()
180// var solverMed = solverTimes.sort.get(REPS / 2)
181// var transformationMed = transformationTimes.sort.get(REPS / 2)
182// writer.append(solverMed.toString + "," + transformationMed.toString)
183 writer.close
184 }
185
186 }
187
188 }
189
190}
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTestViatra.xtend b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTestViatra.xtend
new file mode 100644
index 00000000..dbc90e97
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/YakinduTestViatra.xtend
@@ -0,0 +1,182 @@
1package ca.mcgill.ecse.dslreasoner.vampire.icse
2
3import ca.mcgill.ecse.dslreasoner.vampire.queries.Patterns
4import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
5import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloySolver
6import hu.bme.mit.inf.dlsreasoner.alloy.reasoner.AlloySolverConfiguration
7import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic
8import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration
9import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel
10import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry
11import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult
12import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry
13import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore
14import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic
15import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2LogicConfiguration
16import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic
17import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace
18import java.io.PrintWriter
19import java.text.SimpleDateFormat
20import java.util.Date
21import org.eclipse.emf.ecore.resource.Resource
22import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl
23import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl
24import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasoner
25import hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner.ViatraReasonerConfiguration
26
27class YakinduTestViatra {
28 def static void main(String[] args) {
29 val Ecore2Logic ecore2Logic = new Ecore2Logic
30 val Logic2Ecore logic2Ecore = new Logic2Ecore(ecore2Logic)
31 val Viatra2Logic viatra2Logic = new Viatra2Logic(ecore2Logic)
32 val InstanceModel2Logic instanceModel2Logic = new InstanceModel2Logic
33
34 // Workspace setup
35 val Date date = new Date(System.currentTimeMillis)
36 val SimpleDateFormat format = new SimpleDateFormat("dd-HHmm");
37 val formattedDate = format.format(date)
38
39 val inputs = new FileSystemWorkspace('''initialModels/''', "")
40 val dataWorkspace = new FileSystemWorkspace('''output/YakinduTest/''', "")
41 val workspace = new FileSystemWorkspace('''output/YakinduTest/''' + formattedDate + '''/''', "")
42 workspace.initAndClear
43
44 // Logicproblem writing setup
45 val reg = Resource.Factory.Registry.INSTANCE
46 val map = reg.extensionToFactoryMap
47 map.put("logicproblem", new XMIResourceFactoryImpl)
48
49 println("Input and output workspaces are created")
50
51 val metamodel = GeneralTest.loadMetamodel(YakindummPackage.eINSTANCE)
52 val partialModel = GeneralTest.loadPartialModel(inputs, "yakindu/Yakindu.xmi")
53 val queries = GeneralTest.loadQueries(metamodel, Patterns.instance)
54// val metamodel = GeneralTest.loadMetamodel(FunctionalarchitecturePackage.eINSTANCE)
55// val partialModel = GeneralTest.loadPartialModel(inputs, "FAM/FaModel.xmi")
56// val queries = GeneralTest.loadQueries(metamodel, FamPatterns.instance)
57// val queries = null
58 println("DSL loaded")
59
60 var SZ_TOP = 20
61 var SZ_BOT = 20
62 var INC = 20
63 var REPS = 5
64
65 val RUNTIME = 300
66
67 var solverTimes = newArrayList
68 var transformationTimes = newArrayList
69 var LogicResult solution = null
70 var solver = "Viatra"
71 var index = 2
72
73 for (var i = SZ_BOT; i <= SZ_TOP; i += INC*index) {
74 index*=2
75 var writer = new PrintWriter(
76 dataWorkspace.workspaceURI + "//_viatra" + i + "x" + REPS + "-" + formattedDate + ".csv")
77 writer.append("solver,size,TransformatonTime,sat?,kodkodTime,model?,modelTime\n")
78
79 val num = (i - SZ_BOT) / INC
80 println()
81 println("SOLVER: " + solver + ", SIZE=" + i)
82 println()
83
84 solverTimes.clear
85 transformationTimes.clear
86 for (var j = 0; j < REPS; j++) {
87
88 println("<<Run number " + j + ">> :")
89
90 val modelGenerationProblem = ecore2Logic.transformMetamodel(metamodel, new Ecore2LogicConfiguration())
91 var modelExtensionProblem = instanceModel2Logic.transform(modelGenerationProblem, partialModel)
92 var validModelExtensionProblem = viatra2Logic.transformQueries(queries, modelExtensionProblem,
93 new Viatra2LogicConfiguration)
94
95 var problem = modelGenerationProblem.output
96 workspace.writeModel(problem, "Yakindu.logicproblem")
97// println("Problem created")
98// Start Time
99 var startTime = System.currentTimeMillis
100
101 var ViatraReasoner reasoner
102 // *
103 reasoner = new ViatraReasoner
104
105 // /////////////////////////////////////////////////////
106 // Define Config File
107 val size = i
108 val inc = INC
109 val iter = j
110 val solverConfig = new ViatraReasonerConfiguration => [
111 // add configuration things, in config file first
112// it.documentationLevel = DocumentationLevel::FULL
113// it.iteration = iter
114 it.runtimeLimit = RUNTIME
115 it.typeScopes.maxNewElements = size
116 it.typeScopes.minNewElements = size
117 ]
118
119 solution = reasoner.solve(problem, solverConfig, workspace)
120// print((solution as ModelResult).representation.get(0))
121// val soln = ((solution as ModelResult).representation.get(0) as VampireModel)
122// println(soln.confirmations)
123// println((solution as ModelResult).representation)
124// modelFound = !soln.confirmations.filter [
125// class == VLSFiniteModelImpl
126// ].isEmpty
127// ADD TO CSV
128 writer.append(solver + ",")
129 writer.append(size + ",")
130 writer.append(solution.statistics.transformationTime / 1000.0 + ",")
131
132// val satOut = (solution.statistics.entries.filter[name == "satOut"].get(0) as StringStatisticEntry).
133// value
134 val modOut = if(solution.class == ModelResultImpl) "FiniteModel" else "no"
135// val modTime = (solution.statistics.entries.filter[name.contains("Answer")].
136// get(0) as StringStatisticEntry).value
137 val modTime = solution.statistics.solverTime / 1000.0
138
139 writer.append("-,")
140 writer.append("-,")
141 writer.append(modOut + ",")
142 writer.append(modTime.toString + "")
143 writer.append("\n")
144
145 println("->" + modOut + " ... " + modTime)
146
147 // Run Garbage Collector
148 val Runtime r = Runtime.getRuntime();
149 r.gc();
150 r.gc();
151 r.gc();
152 Thread.sleep(3000)
153
154// print("(" + tTime + "/" + sTime + "s)..")
155// solverTimes.add(sTime)
156// transformationTimes.add(tTime)
157// } else {
158// writer.append("MNF" + ",")
159//// print("MNF")
160// }
161 // println("Problem solved")
162 // visualisation, see
163// var interpretations = reasoner.getInterpretations(solution as ModelResult)
164// for (interpretation : interpretations) {
165// val model = logic2Ecore.transformInterpretation(interpretation, modelGenerationProblem.trace)
166// workspace.writeModel(model, "model.xmi")
167// }
168// var totalTimeMin = (System.currentTimeMillis - startTime) / 60000
169// var totalTimeSec = ((System.currentTimeMillis - startTime) / 1000) % 60
170// println("Problem solved")
171// println("Time was: " + totalTimeMin + ":" + totalTimeSec)
172 }
173// println()
174// var solverMed = solverTimes.sort.get(REPS / 2)
175// var transformationMed = transformationTimes.sort.get(REPS / 2)
176// writer.append(solverMed.toString + "," + transformationMed.toString)
177 writer.close
178 }
179
180 }
181
182}
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/tester.xtend b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/tester.xtend
new file mode 100644
index 00000000..2bf0c4cc
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/tester.xtend
@@ -0,0 +1,35 @@
1package ca.mcgill.ecse.dslreasoner.vampire.icse
2
3import java.io.BufferedReader
4import java.io.FileInputStream
5import java.io.InputStream
6import java.io.InputStreamReader
7
8class tester {
9 def static void main(String[] args) {
10 val InputStream is = new FileInputStream("C://Users//Aren Babikian//git//VIATRA-Generator//Tests//ca.mcgill.ecse.dslreasoner.vampire.test//src//ca//mcgill//ecse//dslreasoner//vampire//icse//90-110Z3.txt");
11 val BufferedReader buf = new BufferedReader(new InputStreamReader(is));
12 var String line = buf.readLine();
13 val StringBuilder sb = new StringBuilder();
14 while (line != null) {
15 sb.append(line);
16 line = buf.readLine();
17 }
18 val String str = sb.toString();
19
20 val satArray = str.split("Model")
21
22 val satTimes = newArrayList
23
24 for(sat : satArray.subList(1, satArray.length)) {
25 satTimes.add(sat.substring(2, 8))
26 }
27
28 for(t : satTimes) {
29 println(t)
30 }
31
32
33
34 }
35}
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/queries/YakinduPatterns.txt b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/queries/YakinduPatterns.txt
new file mode 100644
index 00000000..8c2b9033
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/queries/YakinduPatterns.txt
@@ -0,0 +1,227 @@
1package ca.mcgill.ecse.dslreasoner.vampire.queries
2
3import epackage
4
5/////////
6// Entry
7/////////
8
9pattern entryInRegion(r1 : Region, e1 : Entry) {
10 Region.vertices(r1, e1);
11}
12
13@Constraint(severity="error", message="error", key = {r1})
14pattern noEntryInRegion(r1 : Region) {
15 neg find entryInRegion(r1, _);
16}
17
18@Constraint(severity="error", message="error", key = {r})
19pattern multipleEntryInRegion(r : Region) {
20 find entryInRegion(r, e1);
21 find entryInRegion(r, e2);
22 e1 != e2;
23}
24
25pattern transition(t : Transition, src : Vertex, trg : Vertex) {
26 Transition.source(t, src);
27 Transition.target(t, trg);
28}
29
30@Constraint(severity="error", message="error", key = {e})
31pattern incomingToEntry(t : Transition, e : Entry) {
32 find transition(t, _, e);
33}
34
35@Constraint(severity="error", message="error", key = {e})
36pattern noOutgoingTransitionFromEntry(e : Entry) {
37 neg find transition(_, e, _);
38}
39
40@Constraint(severity="error", message="error", key = {e})
41pattern multipleTransitionFromEntry(e : Entry, t1 : Transition, t2: Transition) {
42 Entry.outgoingTransitions(e,t1);
43 Entry.outgoingTransitions(e,t2);
44 t1!=t2;
45}
46
47/////////
48// Exit
49/////////
50
51@Constraint(severity="error", message="error", key = {e})
52pattern outgoingFromExit(t : Transition, e : Exit) {
53 Exit.outgoingTransitions(e,t);
54}
55
56/////////
57// Final
58/////////
59
60@Constraint(severity="error", message="error", key = {f})
61pattern outgoingFromFinal(t : Transition, f : FinalState) {
62 FinalState.outgoingTransitions(f,t);
63}
64
65/////////
66// State vs Region
67/////////
68
69@Constraint(severity="error", message="error", key = {region})
70pattern noStateInRegion(region: Region) {
71 neg find StateInRegion(region,_);
72}
73pattern StateInRegion(region: Region, state: State) {
74 Region.vertices(region,state);
75}
76
77/////////
78// Choice
79/////////
80
81@Constraint(severity="error", message="error", key = {c})
82pattern choiceHasNoOutgoing(c : Choice) {
83 neg find transition(_, c, _);
84}
85
86@Constraint(severity="error", message="error", key = {c})
87pattern choiceHasNoIncoming(c: Choice) {
88 neg find transition(_, _, c);
89}
90
91///////////
92//// Synchronization
93///////////
94//
95//@Constraint(severity="error", message="error", key = {s})
96//pattern synchHasNoOutgoing(s : Synchronization) {
97// neg find transition(_, s, _);
98//}
99//
100//@Constraint(severity="error", message="error", key = {s})
101//pattern synchHasNoIncoming(s : Synchronization) {
102// neg find transition(_, _, s);
103//}
104//
105//@Constraint(severity="error", message="error", key = {s})
106//pattern SynchronizedIncomingInSameRegion(s : Synchronization, v1 : Vertex, v2 : Vertex) {
107// find transition(t1, v1, s);
108// find transition(t2, v2, s);
109// t1!=t2;
110// Region.vertices(r, v1);
111// Region.vertices(r, v2);
112//} or {
113// find transition(t1, s, v1);
114// find transition(t2, s, v2);
115// t1!=t2;
116// Region.vertices(r, v1);
117// Region.vertices(r, v2);
118//}
119//
120//@Constraint(severity="error", message="error", key = {s})
121//pattern notSynchronizingStates(s : Synchronization) {
122// neg find hasMultipleOutgoingTrainsition(s);
123// neg find hasMultipleIncomingTrainsition(s);
124//}
125//
126//pattern hasMultipleOutgoingTrainsition(v : Synchronization) {
127// find transition(_, v, trg1);
128// find transition(_, v, trg2);
129// trg1 != trg2;
130//}
131//
132//pattern hasMultipleIncomingTrainsition(v : Synchronization) {
133// find transition(_, src1, v);
134// find transition(_, src2, v);
135// src1 != src2;
136//}
137//
138//@Constraint(severity="error", message="error", key = {s})
139//pattern SynchronizedRegionsAreNotSiblings(s : Synchronization, v1 : Vertex, v2 : Vertex) {
140// find transition(_, v1, s);
141// find transition(_, v2, s);
142// CompositeElement.regions.vertices(r1, v1);
143// CompositeElement.regions.vertices(r2, v2);
144// r1 != r2;
145//} or {
146// find transition(_, s, v1);
147// find transition(_, s, v2);
148// CompositeElement.regions.vertices(r1, v1);
149// CompositeElement.regions.vertices(r2, v2);
150// r1 != r2;
151//}
152
153///////////////////////////////
154// Extra
155//
156//@Constraint(severity="error", message="error", key = {s})
157//pattern SynchronizedRegionDoesNotHaveParent(s : Synchronization, v : Vertex) {
158// find transition(_, v, s);
159// neg find child(_,v);
160//} or {
161// find transition(_, s, v);
162// neg find child(_,v);
163//}
164
165pattern child(parent: CompositeElement, child: Vertex) {
166 CompositeElement.regions.vertices(parent, child);
167}
168
169@Constraint(severity="error", message="error", key = {s})
170pattern SynchronizedRegionDoesNotHaveMultipleRegions(s : Synchronization, v : Vertex) {
171 find transition(_, v, s);
172 find child(c,v);
173 neg find hasMultipleRegions(c);
174} or {
175 find transition(_, s, v);
176 find child(c,v);
177 neg find hasMultipleRegions(c);
178}
179
180
181pattern hasMultipleRegions(composite: CompositeElement) {
182 CompositeElement.regions(composite,region1);
183 CompositeElement.regions(composite,region2);
184 region1 != region2;
185}
186
187/**
188 * Simplifying model generation
189 */
190@Constraint(severity="error", message="error", key = {s})
191pattern synchThree(s: Synchronization) {
192 Transition.target(t1,s);
193 Transition.target(t2,s);
194 Transition.target(t3,s);
195 t1!=t2;
196 t2!=t3;
197 t1!=t3;
198} or {
199 Transition.source(t1,s);
200 Transition.source(t2,s);
201 Transition.source(t3,s);
202 t1!=t2;
203 t2!=t3;
204 t1!=t3;
205}
206
207/**
208 * Simplifying model generation
209 */
210@Constraint(severity="error", message="error", key = {s1,s2})
211pattern twoSynch(s1 : Synchronization, s2 : Synchronization) {
212 Synchronization(s1);
213 Synchronization(s2);
214 s1 != s2;
215}
216
217/**
218 * Model generation task: at least one synch
219 */
220//@Constraint(severity="error", message="error", key = {s})
221//pattern noSynch(s:Statechart) {
222// Statechart(s);
223// neg find synch(_);
224//}
225//pattern synch(s:Synchronization) {
226// Synchronization(s);
227//} \ No newline at end of file
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java
new file mode 100644
index 00000000..aab59128
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java
@@ -0,0 +1,37 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Choice.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Choice</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getChoice()
14 * @model
15 * @generated
16 */
17public interface Choice extends Pseudostate {
18} // Choice
19=======
20/**
21 */
22package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
23
24
25/**
26 * <!-- begin-user-doc -->
27 * A representation of the model object '<em><b>Choice</b></em>'.
28 * <!-- end-user-doc -->
29 *
30 *
31 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getChoice()
32 * @model
33 * @generated
34 */
35public interface Choice extends Pseudostate {
36} // Choice
37>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Choice.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java
new file mode 100644
index 00000000..4565a3b9
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java
@@ -0,0 +1,87 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/CompositeElement.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6import org.eclipse.emf.common.util.EList;
7
8import org.eclipse.emf.ecore.EObject;
9
10/**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Composite Element</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * <p>
16 * The following features are supported:
17 * </p>
18 * <ul>
19 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement#getRegions <em>Regions</em>}</li>
20 * </ul>
21 *
22 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getCompositeElement()
23 * @model abstract="true"
24 * @generated
25 */
26public interface CompositeElement extends EObject {
27 /**
28 * Returns the value of the '<em><b>Regions</b></em>' containment reference list.
29 * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region}.
30 * <!-- begin-user-doc -->
31 * <p>
32 * If the meaning of the '<em>Regions</em>' containment reference list isn't clear,
33 * there really should be more of a description here...
34 * </p>
35 * <!-- end-user-doc -->
36 * @return the value of the '<em>Regions</em>' containment reference list.
37 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getCompositeElement_Regions()
38 * @model containment="true"
39 * @generated
40 */
41 EList<Region> getRegions();
42
43} // CompositeElement
44=======
45/**
46 */
47package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
48
49import org.eclipse.emf.common.util.EList;
50
51import org.eclipse.emf.ecore.EObject;
52
53/**
54 * <!-- begin-user-doc -->
55 * A representation of the model object '<em><b>Composite Element</b></em>'.
56 * <!-- end-user-doc -->
57 *
58 * <p>
59 * The following features are supported:
60 * </p>
61 * <ul>
62 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions <em>Regions</em>}</li>
63 * </ul>
64 *
65 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getCompositeElement()
66 * @model abstract="true"
67 * @generated
68 */
69public interface CompositeElement extends EObject {
70 /**
71 * Returns the value of the '<em><b>Regions</b></em>' containment reference list.
72 * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region}.
73 * <!-- begin-user-doc -->
74 * <p>
75 * If the meaning of the '<em>Regions</em>' containment reference list isn't clear,
76 * there really should be more of a description here...
77 * </p>
78 * <!-- end-user-doc -->
79 * @return the value of the '<em>Regions</em>' containment reference list.
80 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getCompositeElement_Regions()
81 * @model containment="true"
82 * @generated
83 */
84 EList<Region> getRegions();
85
86} // CompositeElement
87>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/CompositeElement.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Entry.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Entry.java
new file mode 100644
index 00000000..57ecb460
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Entry.java
@@ -0,0 +1,52 @@
1/**
2 */
3package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
4
5
6/**
7 * <!-- begin-user-doc -->
8 * A representation of the model object '<em><b>Entry</b></em>'.
9 * <!-- end-user-doc -->
10 *
11 * <p>
12 * The following features are supported:
13 * </p>
14 * <ul>
15 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry#getType <em>Type</em>}</li>
16 * </ul>
17 *
18 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getEntry()
19 * @model
20 * @generated
21 */
22public interface Entry extends Pseudostate {
23 /**
24 * Returns the value of the '<em><b>Type</b></em>' attribute.
25 * The literals are from the enumeration {@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType}.
26 * <!-- begin-user-doc -->
27 * <p>
28 * If the meaning of the '<em>Type</em>' attribute isn't clear,
29 * there really should be more of a description here...
30 * </p>
31 * <!-- end-user-doc -->
32 * @return the value of the '<em>Type</em>' attribute.
33 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType
34 * @see #setType(EntryType)
35 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getEntry_Type()
36 * @model required="true"
37 * @generated
38 */
39 EntryType getType();
40
41 /**
42 * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry#getType <em>Type</em>}' attribute.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @param value the new value of the '<em>Type</em>' attribute.
46 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType
47 * @see #getType()
48 * @generated
49 */
50 void setType(EntryType value);
51
52} // Entry
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/EntryType.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/EntryType.java
new file mode 100644
index 00000000..40072da6
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/EntryType.java
@@ -0,0 +1,239 @@
1/**
2 */
3package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
4
5import java.util.Arrays;
6import java.util.Collections;
7import java.util.List;
8
9import org.eclipse.emf.common.util.Enumerator;
10
11/**
12 * <!-- begin-user-doc -->
13 * A representation of the literals of the enumeration '<em><b>Entry Type</b></em>',
14 * and utility methods for working with them.
15 * <!-- end-user-doc -->
16 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getEntryType()
17 * @model
18 * @generated
19 */
20public enum EntryType implements Enumerator {
21 /**
22 * The '<em><b>Normal</b></em>' literal object.
23 * <!-- begin-user-doc -->
24 * <!-- end-user-doc -->
25 * @see #NORMAL_VALUE
26 * @generated
27 * @ordered
28 */
29 NORMAL(0, "Normal", "Normal"),
30
31 /**
32 * The '<em><b>History</b></em>' literal object.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @see #HISTORY_VALUE
36 * @generated
37 * @ordered
38 */
39 HISTORY(0, "History", "History"),
40
41 /**
42 * The '<em><b>Deep History</b></em>' literal object.
43 * <!-- begin-user-doc -->
44 * <!-- end-user-doc -->
45 * @see #DEEP_HISTORY_VALUE
46 * @generated
47 * @ordered
48 */
49 DEEP_HISTORY(0, "DeepHistory", "DeepHistory");
50
51 /**
52 * The '<em><b>Normal</b></em>' literal value.
53 * <!-- begin-user-doc -->
54 * <p>
55 * If the meaning of '<em><b>Normal</b></em>' literal object isn't clear,
56 * there really should be more of a description here...
57 * </p>
58 * <!-- end-user-doc -->
59 * @see #NORMAL
60 * @model name="Normal"
61 * @generated
62 * @ordered
63 */
64 public static final int NORMAL_VALUE = 0;
65
66 /**
67 * The '<em><b>History</b></em>' literal value.
68 * <!-- begin-user-doc -->
69 * <p>
70 * If the meaning of '<em><b>History</b></em>' literal object isn't clear,
71 * there really should be more of a description here...
72 * </p>
73 * <!-- end-user-doc -->
74 * @see #HISTORY
75 * @model name="History"
76 * @generated
77 * @ordered
78 */
79 public static final int HISTORY_VALUE = 0;
80
81 /**
82 * The '<em><b>Deep History</b></em>' literal value.
83 * <!-- begin-user-doc -->
84 * <p>
85 * If the meaning of '<em><b>Deep History</b></em>' literal object isn't clear,
86 * there really should be more of a description here...
87 * </p>
88 * <!-- end-user-doc -->
89 * @see #DEEP_HISTORY
90 * @model name="DeepHistory"
91 * @generated
92 * @ordered
93 */
94 public static final int DEEP_HISTORY_VALUE = 0;
95
96 /**
97 * An array of all the '<em><b>Entry Type</b></em>' enumerators.
98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc -->
100 * @generated
101 */
102 private static final EntryType[] VALUES_ARRAY =
103 new EntryType[] {
104 NORMAL,
105 HISTORY,
106 DEEP_HISTORY,
107 };
108
109 /**
110 * A public read-only list of all the '<em><b>Entry Type</b></em>' enumerators.
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @generated
114 */
115 public static final List<EntryType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
116
117 /**
118 * Returns the '<em><b>Entry Type</b></em>' literal with the specified literal value.
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @param literal the literal.
122 * @return the matching enumerator or <code>null</code>.
123 * @generated
124 */
125 public static EntryType get(String literal) {
126 for (int i = 0; i < VALUES_ARRAY.length; ++i) {
127 EntryType result = VALUES_ARRAY[i];
128 if (result.toString().equals(literal)) {
129 return result;
130 }
131 }
132 return null;
133 }
134
135 /**
136 * Returns the '<em><b>Entry Type</b></em>' literal with the specified name.
137 * <!-- begin-user-doc -->
138 * <!-- end-user-doc -->
139 * @param name the name.
140 * @return the matching enumerator or <code>null</code>.
141 * @generated
142 */
143 public static EntryType getByName(String name) {
144 for (int i = 0; i < VALUES_ARRAY.length; ++i) {
145 EntryType result = VALUES_ARRAY[i];
146 if (result.getName().equals(name)) {
147 return result;
148 }
149 }
150 return null;
151 }
152
153 /**
154 * Returns the '<em><b>Entry Type</b></em>' literal with the specified integer value.
155 * <!-- begin-user-doc -->
156 * <!-- end-user-doc -->
157 * @param value the integer value.
158 * @return the matching enumerator or <code>null</code>.
159 * @generated
160 */
161 public static EntryType get(int value) {
162 switch (value) {
163 case NORMAL_VALUE: return NORMAL;
164 }
165 return null;
166 }
167
168 /**
169 * <!-- begin-user-doc -->
170 * <!-- end-user-doc -->
171 * @generated
172 */
173 private final int value;
174
175 /**
176 * <!-- begin-user-doc -->
177 * <!-- end-user-doc -->
178 * @generated
179 */
180 private final String name;
181
182 /**
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @generated
186 */
187 private final String literal;
188
189 /**
190 * Only this class can construct instances.
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @generated
194 */
195 private EntryType(int value, String name, String literal) {
196 this.value = value;
197 this.name = name;
198 this.literal = literal;
199 }
200
201 /**
202 * <!-- begin-user-doc -->
203 * <!-- end-user-doc -->
204 * @generated
205 */
206 public int getValue() {
207 return value;
208 }
209
210 /**
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @generated
214 */
215 public String getName() {
216 return name;
217 }
218
219 /**
220 * <!-- begin-user-doc -->
221 * <!-- end-user-doc -->
222 * @generated
223 */
224 public String getLiteral() {
225 return literal;
226 }
227
228 /**
229 * Returns the literal value of the enumerator, which is its string representation.
230 * <!-- begin-user-doc -->
231 * <!-- end-user-doc -->
232 * @generated
233 */
234 @Override
235 public String toString() {
236 return literal;
237 }
238
239} //EntryType
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java
new file mode 100644
index 00000000..b525ca11
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java
@@ -0,0 +1,37 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Exit.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Exit</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getExit()
14 * @model
15 * @generated
16 */
17public interface Exit extends Pseudostate {
18} // Exit
19=======
20/**
21 */
22package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
23
24
25/**
26 * <!-- begin-user-doc -->
27 * A representation of the model object '<em><b>Exit</b></em>'.
28 * <!-- end-user-doc -->
29 *
30 *
31 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getExit()
32 * @model
33 * @generated
34 */
35public interface Exit extends Pseudostate {
36} // Exit
37>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Exit.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java
new file mode 100644
index 00000000..cb947fab
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java
@@ -0,0 +1,37 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/FinalState.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Final State</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getFinalState()
14 * @model
15 * @generated
16 */
17public interface FinalState extends RegularState {
18} // FinalState
19=======
20/**
21 */
22package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
23
24
25/**
26 * <!-- begin-user-doc -->
27 * A representation of the model object '<em><b>Final State</b></em>'.
28 * <!-- end-user-doc -->
29 *
30 *
31 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getFinalState()
32 * @model
33 * @generated
34 */
35public interface FinalState extends RegularState {
36} // FinalState
37>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/FinalState.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java
new file mode 100644
index 00000000..5d7db7ba
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java
@@ -0,0 +1,37 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Pseudostate.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Pseudostate</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getPseudostate()
14 * @model abstract="true"
15 * @generated
16 */
17public interface Pseudostate extends Vertex {
18} // Pseudostate
19=======
20/**
21 */
22package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
23
24
25/**
26 * <!-- begin-user-doc -->
27 * A representation of the model object '<em><b>Pseudostate</b></em>'.
28 * <!-- end-user-doc -->
29 *
30 *
31 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getPseudostate()
32 * @model abstract="true"
33 * @generated
34 */
35public interface Pseudostate extends Vertex {
36} // Pseudostate
37>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Pseudostate.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java
new file mode 100644
index 00000000..616068ee
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java
@@ -0,0 +1,87 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Region.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6import org.eclipse.emf.common.util.EList;
7
8import org.eclipse.emf.ecore.EObject;
9
10/**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Region</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * <p>
16 * The following features are supported:
17 * </p>
18 * <ul>
19 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region#getVertices <em>Vertices</em>}</li>
20 * </ul>
21 *
22 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getRegion()
23 * @model
24 * @generated
25 */
26public interface Region extends EObject {
27 /**
28 * Returns the value of the '<em><b>Vertices</b></em>' containment reference list.
29 * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex}.
30 * <!-- begin-user-doc -->
31 * <p>
32 * If the meaning of the '<em>Vertices</em>' containment reference list isn't clear,
33 * there really should be more of a description here...
34 * </p>
35 * <!-- end-user-doc -->
36 * @return the value of the '<em>Vertices</em>' containment reference list.
37 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getRegion_Vertices()
38 * @model containment="true" ordered="false"
39 * @generated
40 */
41 EList<Vertex> getVertices();
42
43} // Region
44=======
45/**
46 */
47package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
48
49import org.eclipse.emf.common.util.EList;
50
51import org.eclipse.emf.ecore.EObject;
52
53/**
54 * <!-- begin-user-doc -->
55 * A representation of the model object '<em><b>Region</b></em>'.
56 * <!-- end-user-doc -->
57 *
58 * <p>
59 * The following features are supported:
60 * </p>
61 * <ul>
62 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices <em>Vertices</em>}</li>
63 * </ul>
64 *
65 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegion()
66 * @model
67 * @generated
68 */
69public interface Region extends EObject {
70 /**
71 * Returns the value of the '<em><b>Vertices</b></em>' containment reference list.
72 * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex}.
73 * <!-- begin-user-doc -->
74 * <p>
75 * If the meaning of the '<em>Vertices</em>' containment reference list isn't clear,
76 * there really should be more of a description here...
77 * </p>
78 * <!-- end-user-doc -->
79 * @return the value of the '<em>Vertices</em>' containment reference list.
80 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegion_Vertices()
81 * @model containment="true" ordered="false"
82 * @generated
83 */
84 EList<Vertex> getVertices();
85
86} // Region
87>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Region.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java
new file mode 100644
index 00000000..f21ccb53
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java
@@ -0,0 +1,37 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/RegularState.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Regular State</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getRegularState()
14 * @model abstract="true"
15 * @generated
16 */
17public interface RegularState extends Vertex {
18} // RegularState
19=======
20/**
21 */
22package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
23
24
25/**
26 * <!-- begin-user-doc -->
27 * A representation of the model object '<em><b>Regular State</b></em>'.
28 * <!-- end-user-doc -->
29 *
30 *
31 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getRegularState()
32 * @model abstract="true"
33 * @generated
34 */
35public interface RegularState extends Vertex {
36} // RegularState
37>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/RegularState.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java
new file mode 100644
index 00000000..469b334e
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java
@@ -0,0 +1,37 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/State.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>State</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getState()
14 * @model
15 * @generated
16 */
17public interface State extends RegularState, CompositeElement {
18} // State
19=======
20/**
21 */
22package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
23
24
25/**
26 * <!-- begin-user-doc -->
27 * A representation of the model object '<em><b>State</b></em>'.
28 * <!-- end-user-doc -->
29 *
30 *
31 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getState()
32 * @model
33 * @generated
34 */
35public interface State extends RegularState, CompositeElement {
36} // State
37>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/State.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java
new file mode 100644
index 00000000..d59fbb51
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java
@@ -0,0 +1,37 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Statechart.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6
7/**
8 * <!-- begin-user-doc -->
9 * A representation of the model object '<em><b>Statechart</b></em>'.
10 * <!-- end-user-doc -->
11 *
12 *
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getStatechart()
14 * @model
15 * @generated
16 */
17public interface Statechart extends CompositeElement {
18} // Statechart
19=======
20/**
21 */
22package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
23
24
25/**
26 * <!-- begin-user-doc -->
27 * A representation of the model object '<em><b>Statechart</b></em>'.
28 * <!-- end-user-doc -->
29 *
30 *
31 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getStatechart()
32 * @model
33 * @generated
34 */
35public interface Statechart extends CompositeElement {
36} // Statechart
37>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Statechart.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java
new file mode 100644
index 00000000..b5d4b2bb
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java
@@ -0,0 +1,165 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Transition.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6import org.eclipse.emf.ecore.EObject;
7
8/**
9 * <!-- begin-user-doc -->
10 * A representation of the model object '<em><b>Transition</b></em>'.
11 * <!-- end-user-doc -->
12 *
13 * <p>
14 * The following features are supported:
15 * </p>
16 * <ul>
17 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget <em>Target</em>}</li>
18 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource <em>Source</em>}</li>
19 * </ul>
20 *
21 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getTransition()
22 * @model
23 * @generated
24 */
25public interface Transition extends EObject {
26 /**
27 * Returns the value of the '<em><b>Target</b></em>' reference.
28 * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'.
29 * <!-- begin-user-doc -->
30 * <p>
31 * If the meaning of the '<em>Target</em>' reference isn't clear,
32 * there really should be more of a description here...
33 * </p>
34 * <!-- end-user-doc -->
35 * @return the value of the '<em>Target</em>' reference.
36 * @see #setTarget(Vertex)
37 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getTransition_Target()
38 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions
39 * @model opposite="incomingTransitions" required="true" ordered="false"
40 * @generated
41 */
42 Vertex getTarget();
43
44 /**
45 * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget <em>Target</em>}' reference.
46 * <!-- begin-user-doc -->
47 * <!-- end-user-doc -->
48 * @param value the new value of the '<em>Target</em>' reference.
49 * @see #getTarget()
50 * @generated
51 */
52 void setTarget(Vertex value);
53
54 /**
55 * Returns the value of the '<em><b>Source</b></em>' container reference.
56 * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'.
57 * <!-- begin-user-doc -->
58 * <p>
59 * If the meaning of the '<em>Source</em>' container reference isn't clear,
60 * there really should be more of a description here...
61 * </p>
62 * <!-- end-user-doc -->
63 * @return the value of the '<em>Source</em>' container reference.
64 * @see #setSource(Vertex)
65 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getTransition_Source()
66 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions
67 * @model opposite="outgoingTransitions" transient="false" ordered="false"
68 * @generated
69 */
70 Vertex getSource();
71
72 /**
73 * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource <em>Source</em>}' container reference.
74 * <!-- begin-user-doc -->
75 * <!-- end-user-doc -->
76 * @param value the new value of the '<em>Source</em>' container reference.
77 * @see #getSource()
78 * @generated
79 */
80 void setSource(Vertex value);
81
82} // Transition
83=======
84/**
85 */
86package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
87
88import org.eclipse.emf.ecore.EObject;
89
90/**
91 * <!-- begin-user-doc -->
92 * A representation of the model object '<em><b>Transition</b></em>'.
93 * <!-- end-user-doc -->
94 *
95 * <p>
96 * The following features are supported:
97 * </p>
98 * <ul>
99 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}</li>
100 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}</li>
101 * </ul>
102 *
103 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition()
104 * @model
105 * @generated
106 */
107public interface Transition extends EObject {
108 /**
109 * Returns the value of the '<em><b>Target</b></em>' reference.
110 * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'.
111 * <!-- begin-user-doc -->
112 * <p>
113 * If the meaning of the '<em>Target</em>' reference isn't clear,
114 * there really should be more of a description here...
115 * </p>
116 * <!-- end-user-doc -->
117 * @return the value of the '<em>Target</em>' reference.
118 * @see #setTarget(Vertex)
119 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition_Target()
120 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions
121 * @model opposite="incomingTransitions" required="true" ordered="false"
122 * @generated
123 */
124 Vertex getTarget();
125
126 /**
127 * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}' reference.
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @param value the new value of the '<em>Target</em>' reference.
131 * @see #getTarget()
132 * @generated
133 */
134 void setTarget(Vertex value);
135
136 /**
137 * Returns the value of the '<em><b>Source</b></em>' container reference.
138 * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'.
139 * <!-- begin-user-doc -->
140 * <p>
141 * If the meaning of the '<em>Source</em>' container reference isn't clear,
142 * there really should be more of a description here...
143 * </p>
144 * <!-- end-user-doc -->
145 * @return the value of the '<em>Source</em>' container reference.
146 * @see #setSource(Vertex)
147 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getTransition_Source()
148 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions
149 * @model opposite="outgoingTransitions" transient="false" ordered="false"
150 * @generated
151 */
152 Vertex getSource();
153
154 /**
155 * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}' container reference.
156 * <!-- begin-user-doc -->
157 * <!-- end-user-doc -->
158 * @param value the new value of the '<em>Source</em>' container reference.
159 * @see #getSource()
160 * @generated
161 */
162 void setSource(Vertex value);
163
164} // Transition
165>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Transition.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java
new file mode 100644
index 00000000..9659946c
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java
@@ -0,0 +1,129 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/Vertex.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6import org.eclipse.emf.common.util.EList;
7
8import org.eclipse.emf.ecore.EObject;
9
10/**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Vertex</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * <p>
16 * The following features are supported:
17 * </p>
18 * <ul>
19 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}</li>
20 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}</li>
21 * </ul>
22 *
23 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getVertex()
24 * @model abstract="true"
25 * @generated
26 */
27public interface Vertex extends EObject {
28 /**
29 * Returns the value of the '<em><b>Incoming Transitions</b></em>' reference list.
30 * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition}.
31 * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget <em>Target</em>}'.
32 * <!-- begin-user-doc -->
33 * <p>
34 * If the meaning of the '<em>Incoming Transitions</em>' reference list isn't clear,
35 * there really should be more of a description here...
36 * </p>
37 * <!-- end-user-doc -->
38 * @return the value of the '<em>Incoming Transitions</em>' reference list.
39 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getVertex_IncomingTransitions()
40 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget
41 * @model opposite="target" ordered="false"
42 * @generated
43 */
44 EList<Transition> getIncomingTransitions();
45
46 /**
47 * Returns the value of the '<em><b>Outgoing Transitions</b></em>' containment reference list.
48 * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition}.
49 * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource <em>Source</em>}'.
50 * <!-- begin-user-doc -->
51 * <p>
52 * If the meaning of the '<em>Outgoing Transitions</em>' containment reference list isn't clear,
53 * there really should be more of a description here...
54 * </p>
55 * <!-- end-user-doc -->
56 * @return the value of the '<em>Outgoing Transitions</em>' containment reference list.
57 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#getVertex_OutgoingTransitions()
58 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource
59 * @model opposite="source" containment="true" ordered="false"
60 * @generated
61 */
62 EList<Transition> getOutgoingTransitions();
63
64} // Vertex
65=======
66/**
67 */
68package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
69
70import org.eclipse.emf.common.util.EList;
71
72import org.eclipse.emf.ecore.EObject;
73
74/**
75 * <!-- begin-user-doc -->
76 * A representation of the model object '<em><b>Vertex</b></em>'.
77 * <!-- end-user-doc -->
78 *
79 * <p>
80 * The following features are supported:
81 * </p>
82 * <ul>
83 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}</li>
84 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}</li>
85 * </ul>
86 *
87 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex()
88 * @model abstract="true"
89 * @generated
90 */
91public interface Vertex extends EObject {
92 /**
93 * Returns the value of the '<em><b>Incoming Transitions</b></em>' reference list.
94 * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition}.
95 * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}'.
96 * <!-- begin-user-doc -->
97 * <p>
98 * If the meaning of the '<em>Incoming Transitions</em>' reference list isn't clear,
99 * there really should be more of a description here...
100 * </p>
101 * <!-- end-user-doc -->
102 * @return the value of the '<em>Incoming Transitions</em>' reference list.
103 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex_IncomingTransitions()
104 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget
105 * @model opposite="target" ordered="false"
106 * @generated
107 */
108 EList<Transition> getIncomingTransitions();
109
110 /**
111 * Returns the value of the '<em><b>Outgoing Transitions</b></em>' containment reference list.
112 * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition}.
113 * It is bidirectional and its opposite is '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}'.
114 * <!-- begin-user-doc -->
115 * <p>
116 * If the meaning of the '<em>Outgoing Transitions</em>' containment reference list isn't clear,
117 * there really should be more of a description here...
118 * </p>
119 * <!-- end-user-doc -->
120 * @return the value of the '<em>Outgoing Transitions</em>' containment reference list.
121 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#getVertex_OutgoingTransitions()
122 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource
123 * @model opposite="source" containment="true" ordered="false"
124 * @generated
125 */
126 EList<Transition> getOutgoingTransitions();
127
128} // Vertex
129>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/Vertex.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java
new file mode 100644
index 00000000..72a15aa1
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java
@@ -0,0 +1,222 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6import org.eclipse.emf.ecore.EFactory;
7
8/**
9 * <!-- begin-user-doc -->
10 * The <b>Factory</b> for the model.
11 * It provides a create method for each non-abstract class of the model.
12 * <!-- end-user-doc -->
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
14 * @generated
15 */
16public interface YakindummFactory extends EFactory {
17 /**
18 * The singleton instance of the factory.
19 * <!-- begin-user-doc -->
20 * <!-- end-user-doc -->
21 * @generated
22 */
23 YakindummFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummFactoryImpl.init();
24
25 /**
26 * Returns a new object of class '<em>Region</em>'.
27 * <!-- begin-user-doc -->
28 * <!-- end-user-doc -->
29 * @return a new object of class '<em>Region</em>'.
30 * @generated
31 */
32 Region createRegion();
33
34 /**
35 * Returns a new object of class '<em>Transition</em>'.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @return a new object of class '<em>Transition</em>'.
39 * @generated
40 */
41 Transition createTransition();
42
43 /**
44 * Returns a new object of class '<em>Statechart</em>'.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @return a new object of class '<em>Statechart</em>'.
48 * @generated
49 */
50 Statechart createStatechart();
51
52 /**
53 * Returns a new object of class '<em>Entry</em>'.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @return a new object of class '<em>Entry</em>'.
57 * @generated
58 */
59 Entry createEntry();
60
61 /**
62 * Returns a new object of class '<em>State</em>'.
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @return a new object of class '<em>State</em>'.
66 * @generated
67 */
68 State createState();
69
70 /**
71 * Returns a new object of class '<em>Choice</em>'.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @return a new object of class '<em>Choice</em>'.
75 * @generated
76 */
77 Choice createChoice();
78
79 /**
80 * Returns a new object of class '<em>Exit</em>'.
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @return a new object of class '<em>Exit</em>'.
84 * @generated
85 */
86 Exit createExit();
87
88 /**
89 * Returns a new object of class '<em>Final State</em>'.
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @return a new object of class '<em>Final State</em>'.
93 * @generated
94 */
95 FinalState createFinalState();
96
97 /**
98 * Returns the package supported by this factory.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @return the package supported by this factory.
102 * @generated
103 */
104 YakindummPackage getYakindummPackage();
105
106} //YakindummFactory
107=======
108/**
109 */
110package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
111
112import org.eclipse.emf.ecore.EFactory;
113
114/**
115 * <!-- begin-user-doc -->
116 * The <b>Factory</b> for the model.
117 * It provides a create method for each non-abstract class of the model.
118 * <!-- end-user-doc -->
119 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
120 * @generated
121 */
122public interface YakinduFactory extends EFactory {
123 /**
124 * The singleton instance of the factory.
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @generated
128 */
129 YakinduFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduFactoryImpl.init();
130
131 /**
132 * Returns a new object of class '<em>Region</em>'.
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @return a new object of class '<em>Region</em>'.
136 * @generated
137 */
138 Region createRegion();
139
140 /**
141 * Returns a new object of class '<em>Transition</em>'.
142 * <!-- begin-user-doc -->
143 * <!-- end-user-doc -->
144 * @return a new object of class '<em>Transition</em>'.
145 * @generated
146 */
147 Transition createTransition();
148
149 /**
150 * Returns a new object of class '<em>Statechart</em>'.
151 * <!-- begin-user-doc -->
152 * <!-- end-user-doc -->
153 * @return a new object of class '<em>Statechart</em>'.
154 * @generated
155 */
156 Statechart createStatechart();
157
158 /**
159 * Returns a new object of class '<em>Entry</em>'.
160 * <!-- begin-user-doc -->
161 * <!-- end-user-doc -->
162 * @return a new object of class '<em>Entry</em>'.
163 * @generated
164 */
165 Entry createEntry();
166
167 /**
168 * Returns a new object of class '<em>Synchronization</em>'.
169 * <!-- begin-user-doc -->
170 * <!-- end-user-doc -->
171 * @return a new object of class '<em>Synchronization</em>'.
172 * @generated
173 */
174 Synchronization createSynchronization();
175
176 /**
177 * Returns a new object of class '<em>State</em>'.
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @return a new object of class '<em>State</em>'.
181 * @generated
182 */
183 State createState();
184
185 /**
186 * Returns a new object of class '<em>Choice</em>'.
187 * <!-- begin-user-doc -->
188 * <!-- end-user-doc -->
189 * @return a new object of class '<em>Choice</em>'.
190 * @generated
191 */
192 Choice createChoice();
193
194 /**
195 * Returns a new object of class '<em>Exit</em>'.
196 * <!-- begin-user-doc -->
197 * <!-- end-user-doc -->
198 * @return a new object of class '<em>Exit</em>'.
199 * @generated
200 */
201 Exit createExit();
202
203 /**
204 * Returns a new object of class '<em>Final State</em>'.
205 * <!-- begin-user-doc -->
206 * <!-- end-user-doc -->
207 * @return a new object of class '<em>Final State</em>'.
208 * @generated
209 */
210 FinalState createFinalState();
211
212 /**
213 * Returns the package supported by this factory.
214 * <!-- begin-user-doc -->
215 * <!-- end-user-doc -->
216 * @return the package supported by this factory.
217 * @generated
218 */
219 YakinduPackage getYakinduPackage();
220
221} //YakinduFactory
222>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java
new file mode 100644
index 00000000..f74d2357
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java
@@ -0,0 +1,2073 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6import org.eclipse.emf.ecore.EAttribute;
7import org.eclipse.emf.ecore.EClass;
8import org.eclipse.emf.ecore.EEnum;
9import org.eclipse.emf.ecore.EPackage;
10import org.eclipse.emf.ecore.EReference;
11
12/**
13 * <!-- begin-user-doc -->
14 * The <b>Package</b> for the model.
15 * It contains accessors for the meta objects to represent
16 * <ul>
17 * <li>each class,</li>
18 * <li>each feature of each class,</li>
19 * <li>each operation of each class,</li>
20 * <li>each enum,</li>
21 * <li>and each data type</li>
22 * </ul>
23 * <!-- end-user-doc -->
24 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummFactory
25 * @model kind="package"
26 * @generated
27 */
28public interface YakindummPackage extends EPackage {
29 /**
30 * The package name.
31 * <!-- begin-user-doc -->
32 * <!-- end-user-doc -->
33 * @generated
34 */
35 String eNAME = "yakindumm";
36
37 /**
38 * The package namespace URI.
39 * <!-- begin-user-doc -->
40 * <!-- end-user-doc -->
41 * @generated
42 */
43 String eNS_URI = "hu.bme.mit.inf.yakindumm";
44
45 /**
46 * The package namespace name.
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @generated
50 */
51 String eNS_PREFIX = "ca.mcgill.ecse.yakindumm";
52
53 /**
54 * The singleton instance of the package.
55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc -->
57 * @generated
58 */
59 YakindummPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl.init();
60
61 /**
62 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl <em>Vertex</em>}' class.
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl
66 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getVertex()
67 * @generated
68 */
69 int VERTEX = 1;
70
71 /**
72 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 * @ordered
77 */
78 int VERTEX__INCOMING_TRANSITIONS = 0;
79
80 /**
81 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 * @ordered
86 */
87 int VERTEX__OUTGOING_TRANSITIONS = 1;
88
89 /**
90 * The number of structural features of the '<em>Vertex</em>' class.
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 * @ordered
95 */
96 int VERTEX_FEATURE_COUNT = 2;
97
98 /**
99 * The number of operations of the '<em>Vertex</em>' class.
100 * <!-- begin-user-doc -->
101 * <!-- end-user-doc -->
102 * @generated
103 * @ordered
104 */
105 int VERTEX_OPERATION_COUNT = 0;
106
107 /**
108 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl <em>Pseudostate</em>}' class.
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl
112 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getPseudostate()
113 * @generated
114 */
115 int PSEUDOSTATE = 0;
116
117 /**
118 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 * @ordered
123 */
124 int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
125
126 /**
127 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 * @ordered
132 */
133 int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
134
135 /**
136 * The number of structural features of the '<em>Pseudostate</em>' class.
137 * <!-- begin-user-doc -->
138 * <!-- end-user-doc -->
139 * @generated
140 * @ordered
141 */
142 int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
143
144 /**
145 * The number of operations of the '<em>Pseudostate</em>' class.
146 * <!-- begin-user-doc -->
147 * <!-- end-user-doc -->
148 * @generated
149 * @ordered
150 */
151 int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
152
153 /**
154 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl <em>Region</em>}' class.
155 * <!-- begin-user-doc -->
156 * <!-- end-user-doc -->
157 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl
158 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegion()
159 * @generated
160 */
161 int REGION = 2;
162
163 /**
164 * The feature id for the '<em><b>Vertices</b></em>' containment reference list.
165 * <!-- begin-user-doc -->
166 * <!-- end-user-doc -->
167 * @generated
168 * @ordered
169 */
170 int REGION__VERTICES = 0;
171
172 /**
173 * The number of structural features of the '<em>Region</em>' class.
174 * <!-- begin-user-doc -->
175 * <!-- end-user-doc -->
176 * @generated
177 * @ordered
178 */
179 int REGION_FEATURE_COUNT = 1;
180
181 /**
182 * The number of operations of the '<em>Region</em>' class.
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @generated
186 * @ordered
187 */
188 int REGION_OPERATION_COUNT = 0;
189
190 /**
191 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl <em>Transition</em>}' class.
192 * <!-- begin-user-doc -->
193 * <!-- end-user-doc -->
194 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl
195 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getTransition()
196 * @generated
197 */
198 int TRANSITION = 3;
199
200 /**
201 * The feature id for the '<em><b>Target</b></em>' reference.
202 * <!-- begin-user-doc -->
203 * <!-- end-user-doc -->
204 * @generated
205 * @ordered
206 */
207 int TRANSITION__TARGET = 0;
208
209 /**
210 * The feature id for the '<em><b>Source</b></em>' container reference.
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @generated
214 * @ordered
215 */
216 int TRANSITION__SOURCE = 1;
217
218 /**
219 * The number of structural features of the '<em>Transition</em>' class.
220 * <!-- begin-user-doc -->
221 * <!-- end-user-doc -->
222 * @generated
223 * @ordered
224 */
225 int TRANSITION_FEATURE_COUNT = 2;
226
227 /**
228 * The number of operations of the '<em>Transition</em>' class.
229 * <!-- begin-user-doc -->
230 * <!-- end-user-doc -->
231 * @generated
232 * @ordered
233 */
234 int TRANSITION_OPERATION_COUNT = 0;
235
236 /**
237 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl <em>Composite Element</em>}' class.
238 * <!-- begin-user-doc -->
239 * <!-- end-user-doc -->
240 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl
241 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getCompositeElement()
242 * @generated
243 */
244 int COMPOSITE_ELEMENT = 8;
245
246 /**
247 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
248 * <!-- begin-user-doc -->
249 * <!-- end-user-doc -->
250 * @generated
251 * @ordered
252 */
253 int COMPOSITE_ELEMENT__REGIONS = 0;
254
255 /**
256 * The number of structural features of the '<em>Composite Element</em>' class.
257 * <!-- begin-user-doc -->
258 * <!-- end-user-doc -->
259 * @generated
260 * @ordered
261 */
262 int COMPOSITE_ELEMENT_FEATURE_COUNT = 1;
263
264 /**
265 * The number of operations of the '<em>Composite Element</em>' class.
266 * <!-- begin-user-doc -->
267 * <!-- end-user-doc -->
268 * @generated
269 * @ordered
270 */
271 int COMPOSITE_ELEMENT_OPERATION_COUNT = 0;
272
273 /**
274 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl <em>Statechart</em>}' class.
275 * <!-- begin-user-doc -->
276 * <!-- end-user-doc -->
277 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl
278 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getStatechart()
279 * @generated
280 */
281 int STATECHART = 4;
282
283 /**
284 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
285 * <!-- begin-user-doc -->
286 * <!-- end-user-doc -->
287 * @generated
288 * @ordered
289 */
290 int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS;
291
292 /**
293 * The number of structural features of the '<em>Statechart</em>' class.
294 * <!-- begin-user-doc -->
295 * <!-- end-user-doc -->
296 * @generated
297 * @ordered
298 */
299 int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0;
300
301 /**
302 * The number of operations of the '<em>Statechart</em>' class.
303 * <!-- begin-user-doc -->
304 * <!-- end-user-doc -->
305 * @generated
306 * @ordered
307 */
308 int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0;
309
310 /**
311 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl <em>Entry</em>}' class.
312 * <!-- begin-user-doc -->
313 * <!-- end-user-doc -->
314 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl
315 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntry()
316 * @generated
317 */
318 int ENTRY = 5;
319
320 /**
321 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
322 * <!-- begin-user-doc -->
323 * <!-- end-user-doc -->
324 * @generated
325 * @ordered
326 */
327 int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
328
329 /**
330 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
331 * <!-- begin-user-doc -->
332 * <!-- end-user-doc -->
333 * @generated
334 * @ordered
335 */
336 int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
337
338 /**
339 * The feature id for the '<em><b>Type</b></em>' attribute.
340 * <!-- begin-user-doc -->
341 * <!-- end-user-doc -->
342 * @generated
343 * @ordered
344 */
345 int ENTRY__TYPE = PSEUDOSTATE_FEATURE_COUNT + 0;
346
347 /**
348 * The number of structural features of the '<em>Entry</em>' class.
349 * <!-- begin-user-doc -->
350 * <!-- end-user-doc -->
351 * @generated
352 * @ordered
353 */
354 int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 1;
355
356 /**
357 * The number of operations of the '<em>Entry</em>' class.
358 * <!-- begin-user-doc -->
359 * <!-- end-user-doc -->
360 * @generated
361 * @ordered
362 */
363 int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
364
365 /**
366 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl <em>Regular State</em>}' class.
367 * <!-- begin-user-doc -->
368 * <!-- end-user-doc -->
369 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl
370 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegularState()
371 * @generated
372 */
373 int REGULAR_STATE = 7;
374
375 /**
376 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
377 * <!-- begin-user-doc -->
378 * <!-- end-user-doc -->
379 * @generated
380 * @ordered
381 */
382 int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
383
384 /**
385 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
386 * <!-- begin-user-doc -->
387 * <!-- end-user-doc -->
388 * @generated
389 * @ordered
390 */
391 int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
392
393 /**
394 * The number of structural features of the '<em>Regular State</em>' class.
395 * <!-- begin-user-doc -->
396 * <!-- end-user-doc -->
397 * @generated
398 * @ordered
399 */
400 int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
401
402 /**
403 * The number of operations of the '<em>Regular State</em>' class.
404 * <!-- begin-user-doc -->
405 * <!-- end-user-doc -->
406 * @generated
407 * @ordered
408 */
409 int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
410
411 /**
412 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl <em>State</em>}' class.
413 * <!-- begin-user-doc -->
414 * <!-- end-user-doc -->
415 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl
416 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getState()
417 * @generated
418 */
419 int STATE = 6;
420
421 /**
422 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
423 * <!-- begin-user-doc -->
424 * <!-- end-user-doc -->
425 * @generated
426 * @ordered
427 */
428 int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
429
430 /**
431 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
432 * <!-- begin-user-doc -->
433 * <!-- end-user-doc -->
434 * @generated
435 * @ordered
436 */
437 int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
438
439 /**
440 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
441 * <!-- begin-user-doc -->
442 * <!-- end-user-doc -->
443 * @generated
444 * @ordered
445 */
446 int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0;
447
448 /**
449 * The number of structural features of the '<em>State</em>' class.
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @generated
453 * @ordered
454 */
455 int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1;
456
457 /**
458 * The number of operations of the '<em>State</em>' class.
459 * <!-- begin-user-doc -->
460 * <!-- end-user-doc -->
461 * @generated
462 * @ordered
463 */
464 int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
465
466 /**
467 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl <em>Choice</em>}' class.
468 * <!-- begin-user-doc -->
469 * <!-- end-user-doc -->
470 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl
471 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getChoice()
472 * @generated
473 */
474 int CHOICE = 9;
475
476 /**
477 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
478 * <!-- begin-user-doc -->
479 * <!-- end-user-doc -->
480 * @generated
481 * @ordered
482 */
483 int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
484
485 /**
486 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
487 * <!-- begin-user-doc -->
488 * <!-- end-user-doc -->
489 * @generated
490 * @ordered
491 */
492 int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
493
494 /**
495 * The number of structural features of the '<em>Choice</em>' class.
496 * <!-- begin-user-doc -->
497 * <!-- end-user-doc -->
498 * @generated
499 * @ordered
500 */
501 int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
502
503 /**
504 * The number of operations of the '<em>Choice</em>' class.
505 * <!-- begin-user-doc -->
506 * <!-- end-user-doc -->
507 * @generated
508 * @ordered
509 */
510 int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
511
512 /**
513 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl <em>Exit</em>}' class.
514 * <!-- begin-user-doc -->
515 * <!-- end-user-doc -->
516 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl
517 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getExit()
518 * @generated
519 */
520 int EXIT = 10;
521
522 /**
523 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
524 * <!-- begin-user-doc -->
525 * <!-- end-user-doc -->
526 * @generated
527 * @ordered
528 */
529 int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
530
531 /**
532 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
533 * <!-- begin-user-doc -->
534 * <!-- end-user-doc -->
535 * @generated
536 * @ordered
537 */
538 int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
539
540 /**
541 * The number of structural features of the '<em>Exit</em>' class.
542 * <!-- begin-user-doc -->
543 * <!-- end-user-doc -->
544 * @generated
545 * @ordered
546 */
547 int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
548
549 /**
550 * The number of operations of the '<em>Exit</em>' class.
551 * <!-- begin-user-doc -->
552 * <!-- end-user-doc -->
553 * @generated
554 * @ordered
555 */
556 int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
557
558 /**
559 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl <em>Final State</em>}' class.
560 * <!-- begin-user-doc -->
561 * <!-- end-user-doc -->
562 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl
563 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getFinalState()
564 * @generated
565 */
566 int FINAL_STATE = 11;
567
568 /**
569 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
570 * <!-- begin-user-doc -->
571 * <!-- end-user-doc -->
572 * @generated
573 * @ordered
574 */
575 int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
576
577 /**
578 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
579 * <!-- begin-user-doc -->
580 * <!-- end-user-doc -->
581 * @generated
582 * @ordered
583 */
584 int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
585
586 /**
587 * The number of structural features of the '<em>Final State</em>' class.
588 * <!-- begin-user-doc -->
589 * <!-- end-user-doc -->
590 * @generated
591 * @ordered
592 */
593 int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0;
594
595 /**
596 * The number of operations of the '<em>Final State</em>' class.
597 * <!-- begin-user-doc -->
598 * <!-- end-user-doc -->
599 * @generated
600 * @ordered
601 */
602 int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
603
604 /**
605 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}' enum.
606 * <!-- begin-user-doc -->
607 * <!-- end-user-doc -->
608 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType
609 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntryType()
610 * @generated
611 */
612 int ENTRY_TYPE = 12;
613
614
615 /**
616 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate <em>Pseudostate</em>}'.
617 * <!-- begin-user-doc -->
618 * <!-- end-user-doc -->
619 * @return the meta object for class '<em>Pseudostate</em>'.
620 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate
621 * @generated
622 */
623 EClass getPseudostate();
624
625 /**
626 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex <em>Vertex</em>}'.
627 * <!-- begin-user-doc -->
628 * <!-- end-user-doc -->
629 * @return the meta object for class '<em>Vertex</em>'.
630 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex
631 * @generated
632 */
633 EClass getVertex();
634
635 /**
636 * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'.
637 * <!-- begin-user-doc -->
638 * <!-- end-user-doc -->
639 * @return the meta object for the reference list '<em>Incoming Transitions</em>'.
640 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions()
641 * @see #getVertex()
642 * @generated
643 */
644 EReference getVertex_IncomingTransitions();
645
646 /**
647 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'.
648 * <!-- begin-user-doc -->
649 * <!-- end-user-doc -->
650 * @return the meta object for the containment reference list '<em>Outgoing Transitions</em>'.
651 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions()
652 * @see #getVertex()
653 * @generated
654 */
655 EReference getVertex_OutgoingTransitions();
656
657 /**
658 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region <em>Region</em>}'.
659 * <!-- begin-user-doc -->
660 * <!-- end-user-doc -->
661 * @return the meta object for class '<em>Region</em>'.
662 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region
663 * @generated
664 */
665 EClass getRegion();
666
667 /**
668 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region#getVertices <em>Vertices</em>}'.
669 * <!-- begin-user-doc -->
670 * <!-- end-user-doc -->
671 * @return the meta object for the containment reference list '<em>Vertices</em>'.
672 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region#getVertices()
673 * @see #getRegion()
674 * @generated
675 */
676 EReference getRegion_Vertices();
677
678 /**
679 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition <em>Transition</em>}'.
680 * <!-- begin-user-doc -->
681 * <!-- end-user-doc -->
682 * @return the meta object for class '<em>Transition</em>'.
683 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition
684 * @generated
685 */
686 EClass getTransition();
687
688 /**
689 * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget <em>Target</em>}'.
690 * <!-- begin-user-doc -->
691 * <!-- end-user-doc -->
692 * @return the meta object for the reference '<em>Target</em>'.
693 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget()
694 * @see #getTransition()
695 * @generated
696 */
697 EReference getTransition_Target();
698
699 /**
700 * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource <em>Source</em>}'.
701 * <!-- begin-user-doc -->
702 * <!-- end-user-doc -->
703 * @return the meta object for the container reference '<em>Source</em>'.
704 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource()
705 * @see #getTransition()
706 * @generated
707 */
708 EReference getTransition_Source();
709
710 /**
711 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart <em>Statechart</em>}'.
712 * <!-- begin-user-doc -->
713 * <!-- end-user-doc -->
714 * @return the meta object for class '<em>Statechart</em>'.
715 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart
716 * @generated
717 */
718 EClass getStatechart();
719
720 /**
721 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry <em>Entry</em>}'.
722 * <!-- begin-user-doc -->
723 * <!-- end-user-doc -->
724 * @return the meta object for class '<em>Entry</em>'.
725 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry
726 * @generated
727 */
728 EClass getEntry();
729
730 /**
731 * Returns the meta object for the attribute '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry#getType <em>Type</em>}'.
732 * <!-- begin-user-doc -->
733 * <!-- end-user-doc -->
734 * @return the meta object for the attribute '<em>Type</em>'.
735 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry#getType()
736 * @see #getEntry()
737 * @generated
738 */
739 EAttribute getEntry_Type();
740
741 /**
742 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State <em>State</em>}'.
743 * <!-- begin-user-doc -->
744 * <!-- end-user-doc -->
745 * @return the meta object for class '<em>State</em>'.
746 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State
747 * @generated
748 */
749 EClass getState();
750
751 /**
752 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState <em>Regular State</em>}'.
753 * <!-- begin-user-doc -->
754 * <!-- end-user-doc -->
755 * @return the meta object for class '<em>Regular State</em>'.
756 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState
757 * @generated
758 */
759 EClass getRegularState();
760
761 /**
762 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement <em>Composite Element</em>}'.
763 * <!-- begin-user-doc -->
764 * <!-- end-user-doc -->
765 * @return the meta object for class '<em>Composite Element</em>'.
766 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement
767 * @generated
768 */
769 EClass getCompositeElement();
770
771 /**
772 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement#getRegions <em>Regions</em>}'.
773 * <!-- begin-user-doc -->
774 * <!-- end-user-doc -->
775 * @return the meta object for the containment reference list '<em>Regions</em>'.
776 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement#getRegions()
777 * @see #getCompositeElement()
778 * @generated
779 */
780 EReference getCompositeElement_Regions();
781
782 /**
783 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice <em>Choice</em>}'.
784 * <!-- begin-user-doc -->
785 * <!-- end-user-doc -->
786 * @return the meta object for class '<em>Choice</em>'.
787 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice
788 * @generated
789 */
790 EClass getChoice();
791
792 /**
793 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit <em>Exit</em>}'.
794 * <!-- begin-user-doc -->
795 * <!-- end-user-doc -->
796 * @return the meta object for class '<em>Exit</em>'.
797 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit
798 * @generated
799 */
800 EClass getExit();
801
802 /**
803 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState <em>Final State</em>}'.
804 * <!-- begin-user-doc -->
805 * <!-- end-user-doc -->
806 * @return the meta object for class '<em>Final State</em>'.
807 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState
808 * @generated
809 */
810 EClass getFinalState();
811
812 /**
813 * Returns the meta object for enum '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}'.
814 * <!-- begin-user-doc -->
815 * <!-- end-user-doc -->
816 * @return the meta object for enum '<em>Entry Type</em>'.
817 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType
818 * @generated
819 */
820 EEnum getEntryType();
821
822 /**
823 * Returns the factory that creates the instances of the model.
824 * <!-- begin-user-doc -->
825 * <!-- end-user-doc -->
826 * @return the factory that creates the instances of the model.
827 * @generated
828 */
829 YakindummFactory getYakindummFactory();
830
831 /**
832 * <!-- begin-user-doc -->
833 * Defines literals for the meta objects that represent
834 * <ul>
835 * <li>each class,</li>
836 * <li>each feature of each class,</li>
837 * <li>each operation of each class,</li>
838 * <li>each enum,</li>
839 * <li>and each data type</li>
840 * </ul>
841 * <!-- end-user-doc -->
842 * @generated
843 */
844 interface Literals {
845 /**
846 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl <em>Pseudostate</em>}' class.
847 * <!-- begin-user-doc -->
848 * <!-- end-user-doc -->
849 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl
850 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getPseudostate()
851 * @generated
852 */
853 EClass PSEUDOSTATE = eINSTANCE.getPseudostate();
854
855 /**
856 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl <em>Vertex</em>}' class.
857 * <!-- begin-user-doc -->
858 * <!-- end-user-doc -->
859 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl
860 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getVertex()
861 * @generated
862 */
863 EClass VERTEX = eINSTANCE.getVertex();
864
865 /**
866 * The meta object literal for the '<em><b>Incoming Transitions</b></em>' reference list feature.
867 * <!-- begin-user-doc -->
868 * <!-- end-user-doc -->
869 * @generated
870 */
871 EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions();
872
873 /**
874 * The meta object literal for the '<em><b>Outgoing Transitions</b></em>' containment reference list feature.
875 * <!-- begin-user-doc -->
876 * <!-- end-user-doc -->
877 * @generated
878 */
879 EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions();
880
881 /**
882 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl <em>Region</em>}' class.
883 * <!-- begin-user-doc -->
884 * <!-- end-user-doc -->
885 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl
886 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegion()
887 * @generated
888 */
889 EClass REGION = eINSTANCE.getRegion();
890
891 /**
892 * The meta object literal for the '<em><b>Vertices</b></em>' containment reference list feature.
893 * <!-- begin-user-doc -->
894 * <!-- end-user-doc -->
895 * @generated
896 */
897 EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices();
898
899 /**
900 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl <em>Transition</em>}' class.
901 * <!-- begin-user-doc -->
902 * <!-- end-user-doc -->
903 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl
904 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getTransition()
905 * @generated
906 */
907 EClass TRANSITION = eINSTANCE.getTransition();
908
909 /**
910 * The meta object literal for the '<em><b>Target</b></em>' reference feature.
911 * <!-- begin-user-doc -->
912 * <!-- end-user-doc -->
913 * @generated
914 */
915 EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();
916
917 /**
918 * The meta object literal for the '<em><b>Source</b></em>' container reference feature.
919 * <!-- begin-user-doc -->
920 * <!-- end-user-doc -->
921 * @generated
922 */
923 EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source();
924
925 /**
926 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl <em>Statechart</em>}' class.
927 * <!-- begin-user-doc -->
928 * <!-- end-user-doc -->
929 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl
930 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getStatechart()
931 * @generated
932 */
933 EClass STATECHART = eINSTANCE.getStatechart();
934
935 /**
936 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl <em>Entry</em>}' class.
937 * <!-- begin-user-doc -->
938 * <!-- end-user-doc -->
939 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl
940 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntry()
941 * @generated
942 */
943 EClass ENTRY = eINSTANCE.getEntry();
944
945 /**
946 * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
947 * <!-- begin-user-doc -->
948 * <!-- end-user-doc -->
949 * @generated
950 */
951 EAttribute ENTRY__TYPE = eINSTANCE.getEntry_Type();
952
953 /**
954 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl <em>State</em>}' class.
955 * <!-- begin-user-doc -->
956 * <!-- end-user-doc -->
957 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl
958 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getState()
959 * @generated
960 */
961 EClass STATE = eINSTANCE.getState();
962
963 /**
964 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl <em>Regular State</em>}' class.
965 * <!-- begin-user-doc -->
966 * <!-- end-user-doc -->
967 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl
968 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegularState()
969 * @generated
970 */
971 EClass REGULAR_STATE = eINSTANCE.getRegularState();
972
973 /**
974 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl <em>Composite Element</em>}' class.
975 * <!-- begin-user-doc -->
976 * <!-- end-user-doc -->
977 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl
978 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getCompositeElement()
979 * @generated
980 */
981 EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement();
982
983 /**
984 * The meta object literal for the '<em><b>Regions</b></em>' containment reference list feature.
985 * <!-- begin-user-doc -->
986 * <!-- end-user-doc -->
987 * @generated
988 */
989 EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions();
990
991 /**
992 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl <em>Choice</em>}' class.
993 * <!-- begin-user-doc -->
994 * <!-- end-user-doc -->
995 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl
996 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getChoice()
997 * @generated
998 */
999 EClass CHOICE = eINSTANCE.getChoice();
1000
1001 /**
1002 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl <em>Exit</em>}' class.
1003 * <!-- begin-user-doc -->
1004 * <!-- end-user-doc -->
1005 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl
1006 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getExit()
1007 * @generated
1008 */
1009 EClass EXIT = eINSTANCE.getExit();
1010
1011 /**
1012 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl <em>Final State</em>}' class.
1013 * <!-- begin-user-doc -->
1014 * <!-- end-user-doc -->
1015 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl
1016 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getFinalState()
1017 * @generated
1018 */
1019 EClass FINAL_STATE = eINSTANCE.getFinalState();
1020
1021 /**
1022 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}' enum.
1023 * <!-- begin-user-doc -->
1024 * <!-- end-user-doc -->
1025 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType
1026 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntryType()
1027 * @generated
1028 */
1029 EEnum ENTRY_TYPE = eINSTANCE.getEntryType();
1030
1031 }
1032
1033} //YakindummPackage
1034=======
1035/**
1036 */
1037package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
1038
1039import org.eclipse.emf.ecore.EClass;
1040import org.eclipse.emf.ecore.EPackage;
1041import org.eclipse.emf.ecore.EReference;
1042
1043/**
1044 * <!-- begin-user-doc -->
1045 * The <b>Package</b> for the model.
1046 * It contains accessors for the meta objects to represent
1047 * <ul>
1048 * <li>each class,</li>
1049 * <li>each feature of each class,</li>
1050 * <li>each operation of each class,</li>
1051 * <li>each enum,</li>
1052 * <li>and each data type</li>
1053 * </ul>
1054 * <!-- end-user-doc -->
1055 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory
1056 * @model kind="package"
1057 * @generated
1058 */
1059public interface YakinduPackage extends EPackage {
1060 /**
1061 * The package name.
1062 * <!-- begin-user-doc -->
1063 * <!-- end-user-doc -->
1064 * @generated
1065 */
1066 String eNAME = "yakindu";
1067
1068 /**
1069 * The package namespace URI.
1070 * <!-- begin-user-doc -->
1071 * <!-- end-user-doc -->
1072 * @generated
1073 */
1074 String eNS_URI = "YakinduMetamodel";
1075
1076 /**
1077 * The package namespace name.
1078 * <!-- begin-user-doc -->
1079 * <!-- end-user-doc -->
1080 * @generated
1081 */
1082 String eNS_PREFIX = "yakindu";
1083
1084 /**
1085 * The singleton instance of the package.
1086 * <!-- begin-user-doc -->
1087 * <!-- end-user-doc -->
1088 * @generated
1089 */
1090 YakinduPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl.init();
1091
1092 /**
1093 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl <em>Vertex</em>}' class.
1094 * <!-- begin-user-doc -->
1095 * <!-- end-user-doc -->
1096 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl
1097 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex()
1098 * @generated
1099 */
1100 int VERTEX = 1;
1101
1102 /**
1103 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1104 * <!-- begin-user-doc -->
1105 * <!-- end-user-doc -->
1106 * @generated
1107 * @ordered
1108 */
1109 int VERTEX__INCOMING_TRANSITIONS = 0;
1110
1111 /**
1112 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1113 * <!-- begin-user-doc -->
1114 * <!-- end-user-doc -->
1115 * @generated
1116 * @ordered
1117 */
1118 int VERTEX__OUTGOING_TRANSITIONS = 1;
1119
1120 /**
1121 * The number of structural features of the '<em>Vertex</em>' class.
1122 * <!-- begin-user-doc -->
1123 * <!-- end-user-doc -->
1124 * @generated
1125 * @ordered
1126 */
1127 int VERTEX_FEATURE_COUNT = 2;
1128
1129 /**
1130 * The number of operations of the '<em>Vertex</em>' class.
1131 * <!-- begin-user-doc -->
1132 * <!-- end-user-doc -->
1133 * @generated
1134 * @ordered
1135 */
1136 int VERTEX_OPERATION_COUNT = 0;
1137
1138 /**
1139 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl <em>Pseudostate</em>}' class.
1140 * <!-- begin-user-doc -->
1141 * <!-- end-user-doc -->
1142 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl
1143 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate()
1144 * @generated
1145 */
1146 int PSEUDOSTATE = 0;
1147
1148 /**
1149 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1150 * <!-- begin-user-doc -->
1151 * <!-- end-user-doc -->
1152 * @generated
1153 * @ordered
1154 */
1155 int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
1156
1157 /**
1158 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1159 * <!-- begin-user-doc -->
1160 * <!-- end-user-doc -->
1161 * @generated
1162 * @ordered
1163 */
1164 int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
1165
1166 /**
1167 * The number of structural features of the '<em>Pseudostate</em>' class.
1168 * <!-- begin-user-doc -->
1169 * <!-- end-user-doc -->
1170 * @generated
1171 * @ordered
1172 */
1173 int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
1174
1175 /**
1176 * The number of operations of the '<em>Pseudostate</em>' class.
1177 * <!-- begin-user-doc -->
1178 * <!-- end-user-doc -->
1179 * @generated
1180 * @ordered
1181 */
1182 int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
1183
1184 /**
1185 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl <em>Region</em>}' class.
1186 * <!-- begin-user-doc -->
1187 * <!-- end-user-doc -->
1188 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl
1189 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion()
1190 * @generated
1191 */
1192 int REGION = 2;
1193
1194 /**
1195 * The feature id for the '<em><b>Vertices</b></em>' containment reference list.
1196 * <!-- begin-user-doc -->
1197 * <!-- end-user-doc -->
1198 * @generated
1199 * @ordered
1200 */
1201 int REGION__VERTICES = 0;
1202
1203 /**
1204 * The number of structural features of the '<em>Region</em>' class.
1205 * <!-- begin-user-doc -->
1206 * <!-- end-user-doc -->
1207 * @generated
1208 * @ordered
1209 */
1210 int REGION_FEATURE_COUNT = 1;
1211
1212 /**
1213 * The number of operations of the '<em>Region</em>' class.
1214 * <!-- begin-user-doc -->
1215 * <!-- end-user-doc -->
1216 * @generated
1217 * @ordered
1218 */
1219 int REGION_OPERATION_COUNT = 0;
1220
1221 /**
1222 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl <em>Transition</em>}' class.
1223 * <!-- begin-user-doc -->
1224 * <!-- end-user-doc -->
1225 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl
1226 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition()
1227 * @generated
1228 */
1229 int TRANSITION = 3;
1230
1231 /**
1232 * The feature id for the '<em><b>Target</b></em>' reference.
1233 * <!-- begin-user-doc -->
1234 * <!-- end-user-doc -->
1235 * @generated
1236 * @ordered
1237 */
1238 int TRANSITION__TARGET = 0;
1239
1240 /**
1241 * The feature id for the '<em><b>Source</b></em>' container reference.
1242 * <!-- begin-user-doc -->
1243 * <!-- end-user-doc -->
1244 * @generated
1245 * @ordered
1246 */
1247 int TRANSITION__SOURCE = 1;
1248
1249 /**
1250 * The number of structural features of the '<em>Transition</em>' class.
1251 * <!-- begin-user-doc -->
1252 * <!-- end-user-doc -->
1253 * @generated
1254 * @ordered
1255 */
1256 int TRANSITION_FEATURE_COUNT = 2;
1257
1258 /**
1259 * The number of operations of the '<em>Transition</em>' class.
1260 * <!-- begin-user-doc -->
1261 * <!-- end-user-doc -->
1262 * @generated
1263 * @ordered
1264 */
1265 int TRANSITION_OPERATION_COUNT = 0;
1266
1267 /**
1268 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl <em>Composite Element</em>}' class.
1269 * <!-- begin-user-doc -->
1270 * <!-- end-user-doc -->
1271 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl
1272 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement()
1273 * @generated
1274 */
1275 int COMPOSITE_ELEMENT = 9;
1276
1277 /**
1278 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
1279 * <!-- begin-user-doc -->
1280 * <!-- end-user-doc -->
1281 * @generated
1282 * @ordered
1283 */
1284 int COMPOSITE_ELEMENT__REGIONS = 0;
1285
1286 /**
1287 * The number of structural features of the '<em>Composite Element</em>' class.
1288 * <!-- begin-user-doc -->
1289 * <!-- end-user-doc -->
1290 * @generated
1291 * @ordered
1292 */
1293 int COMPOSITE_ELEMENT_FEATURE_COUNT = 1;
1294
1295 /**
1296 * The number of operations of the '<em>Composite Element</em>' class.
1297 * <!-- begin-user-doc -->
1298 * <!-- end-user-doc -->
1299 * @generated
1300 * @ordered
1301 */
1302 int COMPOSITE_ELEMENT_OPERATION_COUNT = 0;
1303
1304 /**
1305 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl <em>Statechart</em>}' class.
1306 * <!-- begin-user-doc -->
1307 * <!-- end-user-doc -->
1308 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl
1309 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart()
1310 * @generated
1311 */
1312 int STATECHART = 4;
1313
1314 /**
1315 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
1316 * <!-- begin-user-doc -->
1317 * <!-- end-user-doc -->
1318 * @generated
1319 * @ordered
1320 */
1321 int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS;
1322
1323 /**
1324 * The number of structural features of the '<em>Statechart</em>' class.
1325 * <!-- begin-user-doc -->
1326 * <!-- end-user-doc -->
1327 * @generated
1328 * @ordered
1329 */
1330 int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0;
1331
1332 /**
1333 * The number of operations of the '<em>Statechart</em>' class.
1334 * <!-- begin-user-doc -->
1335 * <!-- end-user-doc -->
1336 * @generated
1337 * @ordered
1338 */
1339 int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0;
1340
1341 /**
1342 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl <em>Entry</em>}' class.
1343 * <!-- begin-user-doc -->
1344 * <!-- end-user-doc -->
1345 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl
1346 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry()
1347 * @generated
1348 */
1349 int ENTRY = 5;
1350
1351 /**
1352 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1353 * <!-- begin-user-doc -->
1354 * <!-- end-user-doc -->
1355 * @generated
1356 * @ordered
1357 */
1358 int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
1359
1360 /**
1361 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1362 * <!-- begin-user-doc -->
1363 * <!-- end-user-doc -->
1364 * @generated
1365 * @ordered
1366 */
1367 int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
1368
1369 /**
1370 * The number of structural features of the '<em>Entry</em>' class.
1371 * <!-- begin-user-doc -->
1372 * <!-- end-user-doc -->
1373 * @generated
1374 * @ordered
1375 */
1376 int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
1377
1378 /**
1379 * The number of operations of the '<em>Entry</em>' class.
1380 * <!-- begin-user-doc -->
1381 * <!-- end-user-doc -->
1382 * @generated
1383 * @ordered
1384 */
1385 int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
1386
1387 /**
1388 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl <em>Synchronization</em>}' class.
1389 * <!-- begin-user-doc -->
1390 * <!-- end-user-doc -->
1391 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl
1392 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization()
1393 * @generated
1394 */
1395 int SYNCHRONIZATION = 6;
1396
1397 /**
1398 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1399 * <!-- begin-user-doc -->
1400 * <!-- end-user-doc -->
1401 * @generated
1402 * @ordered
1403 */
1404 int SYNCHRONIZATION__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
1405
1406 /**
1407 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1408 * <!-- begin-user-doc -->
1409 * <!-- end-user-doc -->
1410 * @generated
1411 * @ordered
1412 */
1413 int SYNCHRONIZATION__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
1414
1415 /**
1416 * The number of structural features of the '<em>Synchronization</em>' class.
1417 * <!-- begin-user-doc -->
1418 * <!-- end-user-doc -->
1419 * @generated
1420 * @ordered
1421 */
1422 int SYNCHRONIZATION_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
1423
1424 /**
1425 * The number of operations of the '<em>Synchronization</em>' class.
1426 * <!-- begin-user-doc -->
1427 * <!-- end-user-doc -->
1428 * @generated
1429 * @ordered
1430 */
1431 int SYNCHRONIZATION_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
1432
1433 /**
1434 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl <em>Regular State</em>}' class.
1435 * <!-- begin-user-doc -->
1436 * <!-- end-user-doc -->
1437 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl
1438 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState()
1439 * @generated
1440 */
1441 int REGULAR_STATE = 8;
1442
1443 /**
1444 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1445 * <!-- begin-user-doc -->
1446 * <!-- end-user-doc -->
1447 * @generated
1448 * @ordered
1449 */
1450 int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
1451
1452 /**
1453 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1454 * <!-- begin-user-doc -->
1455 * <!-- end-user-doc -->
1456 * @generated
1457 * @ordered
1458 */
1459 int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
1460
1461 /**
1462 * The number of structural features of the '<em>Regular State</em>' class.
1463 * <!-- begin-user-doc -->
1464 * <!-- end-user-doc -->
1465 * @generated
1466 * @ordered
1467 */
1468 int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
1469
1470 /**
1471 * The number of operations of the '<em>Regular State</em>' class.
1472 * <!-- begin-user-doc -->
1473 * <!-- end-user-doc -->
1474 * @generated
1475 * @ordered
1476 */
1477 int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
1478
1479 /**
1480 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl <em>State</em>}' class.
1481 * <!-- begin-user-doc -->
1482 * <!-- end-user-doc -->
1483 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl
1484 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState()
1485 * @generated
1486 */
1487 int STATE = 7;
1488
1489 /**
1490 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1491 * <!-- begin-user-doc -->
1492 * <!-- end-user-doc -->
1493 * @generated
1494 * @ordered
1495 */
1496 int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
1497
1498 /**
1499 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1500 * <!-- begin-user-doc -->
1501 * <!-- end-user-doc -->
1502 * @generated
1503 * @ordered
1504 */
1505 int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
1506
1507 /**
1508 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
1509 * <!-- begin-user-doc -->
1510 * <!-- end-user-doc -->
1511 * @generated
1512 * @ordered
1513 */
1514 int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0;
1515
1516 /**
1517 * The number of structural features of the '<em>State</em>' class.
1518 * <!-- begin-user-doc -->
1519 * <!-- end-user-doc -->
1520 * @generated
1521 * @ordered
1522 */
1523 int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1;
1524
1525 /**
1526 * The number of operations of the '<em>State</em>' class.
1527 * <!-- begin-user-doc -->
1528 * <!-- end-user-doc -->
1529 * @generated
1530 * @ordered
1531 */
1532 int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
1533
1534 /**
1535 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl <em>Choice</em>}' class.
1536 * <!-- begin-user-doc -->
1537 * <!-- end-user-doc -->
1538 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl
1539 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice()
1540 * @generated
1541 */
1542 int CHOICE = 10;
1543
1544 /**
1545 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1546 * <!-- begin-user-doc -->
1547 * <!-- end-user-doc -->
1548 * @generated
1549 * @ordered
1550 */
1551 int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
1552
1553 /**
1554 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1555 * <!-- begin-user-doc -->
1556 * <!-- end-user-doc -->
1557 * @generated
1558 * @ordered
1559 */
1560 int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
1561
1562 /**
1563 * The number of structural features of the '<em>Choice</em>' class.
1564 * <!-- begin-user-doc -->
1565 * <!-- end-user-doc -->
1566 * @generated
1567 * @ordered
1568 */
1569 int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
1570
1571 /**
1572 * The number of operations of the '<em>Choice</em>' class.
1573 * <!-- begin-user-doc -->
1574 * <!-- end-user-doc -->
1575 * @generated
1576 * @ordered
1577 */
1578 int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
1579
1580 /**
1581 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl <em>Exit</em>}' class.
1582 * <!-- begin-user-doc -->
1583 * <!-- end-user-doc -->
1584 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl
1585 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit()
1586 * @generated
1587 */
1588 int EXIT = 11;
1589
1590 /**
1591 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1592 * <!-- begin-user-doc -->
1593 * <!-- end-user-doc -->
1594 * @generated
1595 * @ordered
1596 */
1597 int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
1598
1599 /**
1600 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1601 * <!-- begin-user-doc -->
1602 * <!-- end-user-doc -->
1603 * @generated
1604 * @ordered
1605 */
1606 int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
1607
1608 /**
1609 * The number of structural features of the '<em>Exit</em>' class.
1610 * <!-- begin-user-doc -->
1611 * <!-- end-user-doc -->
1612 * @generated
1613 * @ordered
1614 */
1615 int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
1616
1617 /**
1618 * The number of operations of the '<em>Exit</em>' class.
1619 * <!-- begin-user-doc -->
1620 * <!-- end-user-doc -->
1621 * @generated
1622 * @ordered
1623 */
1624 int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
1625
1626 /**
1627 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl <em>Final State</em>}' class.
1628 * <!-- begin-user-doc -->
1629 * <!-- end-user-doc -->
1630 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl
1631 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState()
1632 * @generated
1633 */
1634 int FINAL_STATE = 12;
1635
1636 /**
1637 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1638 * <!-- begin-user-doc -->
1639 * <!-- end-user-doc -->
1640 * @generated
1641 * @ordered
1642 */
1643 int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
1644
1645 /**
1646 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1647 * <!-- begin-user-doc -->
1648 * <!-- end-user-doc -->
1649 * @generated
1650 * @ordered
1651 */
1652 int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
1653
1654 /**
1655 * The number of structural features of the '<em>Final State</em>' class.
1656 * <!-- begin-user-doc -->
1657 * <!-- end-user-doc -->
1658 * @generated
1659 * @ordered
1660 */
1661 int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0;
1662
1663 /**
1664 * The number of operations of the '<em>Final State</em>' class.
1665 * <!-- begin-user-doc -->
1666 * <!-- end-user-doc -->
1667 * @generated
1668 * @ordered
1669 */
1670 int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
1671
1672
1673 /**
1674 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</em>}'.
1675 * <!-- begin-user-doc -->
1676 * <!-- end-user-doc -->
1677 * @return the meta object for class '<em>Pseudostate</em>'.
1678 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate
1679 * @generated
1680 */
1681 EClass getPseudostate();
1682
1683 /**
1684 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'.
1685 * <!-- begin-user-doc -->
1686 * <!-- end-user-doc -->
1687 * @return the meta object for class '<em>Vertex</em>'.
1688 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex
1689 * @generated
1690 */
1691 EClass getVertex();
1692
1693 /**
1694 * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'.
1695 * <!-- begin-user-doc -->
1696 * <!-- end-user-doc -->
1697 * @return the meta object for the reference list '<em>Incoming Transitions</em>'.
1698 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions()
1699 * @see #getVertex()
1700 * @generated
1701 */
1702 EReference getVertex_IncomingTransitions();
1703
1704 /**
1705 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'.
1706 * <!-- begin-user-doc -->
1707 * <!-- end-user-doc -->
1708 * @return the meta object for the containment reference list '<em>Outgoing Transitions</em>'.
1709 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions()
1710 * @see #getVertex()
1711 * @generated
1712 */
1713 EReference getVertex_OutgoingTransitions();
1714
1715 /**
1716 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'.
1717 * <!-- begin-user-doc -->
1718 * <!-- end-user-doc -->
1719 * @return the meta object for class '<em>Region</em>'.
1720 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region
1721 * @generated
1722 */
1723 EClass getRegion();
1724
1725 /**
1726 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices <em>Vertices</em>}'.
1727 * <!-- begin-user-doc -->
1728 * <!-- end-user-doc -->
1729 * @return the meta object for the containment reference list '<em>Vertices</em>'.
1730 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices()
1731 * @see #getRegion()
1732 * @generated
1733 */
1734 EReference getRegion_Vertices();
1735
1736 /**
1737 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'.
1738 * <!-- begin-user-doc -->
1739 * <!-- end-user-doc -->
1740 * @return the meta object for class '<em>Transition</em>'.
1741 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition
1742 * @generated
1743 */
1744 EClass getTransition();
1745
1746 /**
1747 * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}'.
1748 * <!-- begin-user-doc -->
1749 * <!-- end-user-doc -->
1750 * @return the meta object for the reference '<em>Target</em>'.
1751 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget()
1752 * @see #getTransition()
1753 * @generated
1754 */
1755 EReference getTransition_Target();
1756
1757 /**
1758 * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}'.
1759 * <!-- begin-user-doc -->
1760 * <!-- end-user-doc -->
1761 * @return the meta object for the container reference '<em>Source</em>'.
1762 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource()
1763 * @see #getTransition()
1764 * @generated
1765 */
1766 EReference getTransition_Source();
1767
1768 /**
1769 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'.
1770 * <!-- begin-user-doc -->
1771 * <!-- end-user-doc -->
1772 * @return the meta object for class '<em>Statechart</em>'.
1773 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart
1774 * @generated
1775 */
1776 EClass getStatechart();
1777
1778 /**
1779 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'.
1780 * <!-- begin-user-doc -->
1781 * <!-- end-user-doc -->
1782 * @return the meta object for class '<em>Entry</em>'.
1783 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry
1784 * @generated
1785 */
1786 EClass getEntry();
1787
1788 /**
1789 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'.
1790 * <!-- begin-user-doc -->
1791 * <!-- end-user-doc -->
1792 * @return the meta object for class '<em>Synchronization</em>'.
1793 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization
1794 * @generated
1795 */
1796 EClass getSynchronization();
1797
1798 /**
1799 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'.
1800 * <!-- begin-user-doc -->
1801 * <!-- end-user-doc -->
1802 * @return the meta object for class '<em>State</em>'.
1803 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State
1804 * @generated
1805 */
1806 EClass getState();
1807
1808 /**
1809 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'.
1810 * <!-- begin-user-doc -->
1811 * <!-- end-user-doc -->
1812 * @return the meta object for class '<em>Regular State</em>'.
1813 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState
1814 * @generated
1815 */
1816 EClass getRegularState();
1817
1818 /**
1819 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'.
1820 * <!-- begin-user-doc -->
1821 * <!-- end-user-doc -->
1822 * @return the meta object for class '<em>Composite Element</em>'.
1823 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement
1824 * @generated
1825 */
1826 EClass getCompositeElement();
1827
1828 /**
1829 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions <em>Regions</em>}'.
1830 * <!-- begin-user-doc -->
1831 * <!-- end-user-doc -->
1832 * @return the meta object for the containment reference list '<em>Regions</em>'.
1833 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions()
1834 * @see #getCompositeElement()
1835 * @generated
1836 */
1837 EReference getCompositeElement_Regions();
1838
1839 /**
1840 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'.
1841 * <!-- begin-user-doc -->
1842 * <!-- end-user-doc -->
1843 * @return the meta object for class '<em>Choice</em>'.
1844 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice
1845 * @generated
1846 */
1847 EClass getChoice();
1848
1849 /**
1850 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'.
1851 * <!-- begin-user-doc -->
1852 * <!-- end-user-doc -->
1853 * @return the meta object for class '<em>Exit</em>'.
1854 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit
1855 * @generated
1856 */
1857 EClass getExit();
1858
1859 /**
1860 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'.
1861 * <!-- begin-user-doc -->
1862 * <!-- end-user-doc -->
1863 * @return the meta object for class '<em>Final State</em>'.
1864 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState
1865 * @generated
1866 */
1867 EClass getFinalState();
1868
1869 /**
1870 * Returns the factory that creates the instances of the model.
1871 * <!-- begin-user-doc -->
1872 * <!-- end-user-doc -->
1873 * @return the factory that creates the instances of the model.
1874 * @generated
1875 */
1876 YakinduFactory getYakinduFactory();
1877
1878 /**
1879 * <!-- begin-user-doc -->
1880 * Defines literals for the meta objects that represent
1881 * <ul>
1882 * <li>each class,</li>
1883 * <li>each feature of each class,</li>
1884 * <li>each operation of each class,</li>
1885 * <li>each enum,</li>
1886 * <li>and each data type</li>
1887 * </ul>
1888 * <!-- end-user-doc -->
1889 * @generated
1890 */
1891 interface Literals {
1892 /**
1893 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl <em>Pseudostate</em>}' class.
1894 * <!-- begin-user-doc -->
1895 * <!-- end-user-doc -->
1896 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl
1897 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate()
1898 * @generated
1899 */
1900 EClass PSEUDOSTATE = eINSTANCE.getPseudostate();
1901
1902 /**
1903 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl <em>Vertex</em>}' class.
1904 * <!-- begin-user-doc -->
1905 * <!-- end-user-doc -->
1906 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl
1907 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex()
1908 * @generated
1909 */
1910 EClass VERTEX = eINSTANCE.getVertex();
1911
1912 /**
1913 * The meta object literal for the '<em><b>Incoming Transitions</b></em>' reference list feature.
1914 * <!-- begin-user-doc -->
1915 * <!-- end-user-doc -->
1916 * @generated
1917 */
1918 EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions();
1919
1920 /**
1921 * The meta object literal for the '<em><b>Outgoing Transitions</b></em>' containment reference list feature.
1922 * <!-- begin-user-doc -->
1923 * <!-- end-user-doc -->
1924 * @generated
1925 */
1926 EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions();
1927
1928 /**
1929 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl <em>Region</em>}' class.
1930 * <!-- begin-user-doc -->
1931 * <!-- end-user-doc -->
1932 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl
1933 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion()
1934 * @generated
1935 */
1936 EClass REGION = eINSTANCE.getRegion();
1937
1938 /**
1939 * The meta object literal for the '<em><b>Vertices</b></em>' containment reference list feature.
1940 * <!-- begin-user-doc -->
1941 * <!-- end-user-doc -->
1942 * @generated
1943 */
1944 EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices();
1945
1946 /**
1947 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl <em>Transition</em>}' class.
1948 * <!-- begin-user-doc -->
1949 * <!-- end-user-doc -->
1950 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl
1951 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition()
1952 * @generated
1953 */
1954 EClass TRANSITION = eINSTANCE.getTransition();
1955
1956 /**
1957 * The meta object literal for the '<em><b>Target</b></em>' reference feature.
1958 * <!-- begin-user-doc -->
1959 * <!-- end-user-doc -->
1960 * @generated
1961 */
1962 EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();
1963
1964 /**
1965 * The meta object literal for the '<em><b>Source</b></em>' container reference feature.
1966 * <!-- begin-user-doc -->
1967 * <!-- end-user-doc -->
1968 * @generated
1969 */
1970 EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source();
1971
1972 /**
1973 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl <em>Statechart</em>}' class.
1974 * <!-- begin-user-doc -->
1975 * <!-- end-user-doc -->
1976 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl
1977 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart()
1978 * @generated
1979 */
1980 EClass STATECHART = eINSTANCE.getStatechart();
1981
1982 /**
1983 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl <em>Entry</em>}' class.
1984 * <!-- begin-user-doc -->
1985 * <!-- end-user-doc -->
1986 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl
1987 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry()
1988 * @generated
1989 */
1990 EClass ENTRY = eINSTANCE.getEntry();
1991
1992 /**
1993 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl <em>Synchronization</em>}' class.
1994 * <!-- begin-user-doc -->
1995 * <!-- end-user-doc -->
1996 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl
1997 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization()
1998 * @generated
1999 */
2000 EClass SYNCHRONIZATION = eINSTANCE.getSynchronization();
2001
2002 /**
2003 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl <em>State</em>}' class.
2004 * <!-- begin-user-doc -->
2005 * <!-- end-user-doc -->
2006 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl
2007 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState()
2008 * @generated
2009 */
2010 EClass STATE = eINSTANCE.getState();
2011
2012 /**
2013 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl <em>Regular State</em>}' class.
2014 * <!-- begin-user-doc -->
2015 * <!-- end-user-doc -->
2016 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl
2017 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState()
2018 * @generated
2019 */
2020 EClass REGULAR_STATE = eINSTANCE.getRegularState();
2021
2022 /**
2023 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl <em>Composite Element</em>}' class.
2024 * <!-- begin-user-doc -->
2025 * <!-- end-user-doc -->
2026 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl
2027 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement()
2028 * @generated
2029 */
2030 EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement();
2031
2032 /**
2033 * The meta object literal for the '<em><b>Regions</b></em>' containment reference list feature.
2034 * <!-- begin-user-doc -->
2035 * <!-- end-user-doc -->
2036 * @generated
2037 */
2038 EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions();
2039
2040 /**
2041 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl <em>Choice</em>}' class.
2042 * <!-- begin-user-doc -->
2043 * <!-- end-user-doc -->
2044 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl
2045 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice()
2046 * @generated
2047 */
2048 EClass CHOICE = eINSTANCE.getChoice();
2049
2050 /**
2051 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl <em>Exit</em>}' class.
2052 * <!-- begin-user-doc -->
2053 * <!-- end-user-doc -->
2054 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl
2055 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit()
2056 * @generated
2057 */
2058 EClass EXIT = eINSTANCE.getExit();
2059
2060 /**
2061 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl <em>Final State</em>}' class.
2062 * <!-- begin-user-doc -->
2063 * <!-- end-user-doc -->
2064 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl
2065 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState()
2066 * @generated
2067 */
2068 EClass FINAL_STATE = eINSTANCE.getFinalState();
2069
2070 }
2071
2072} //YakinduPackage
2073>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java
new file mode 100644
index 00000000..72a15aa1
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java
@@ -0,0 +1,222 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummFactory.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6import org.eclipse.emf.ecore.EFactory;
7
8/**
9 * <!-- begin-user-doc -->
10 * The <b>Factory</b> for the model.
11 * It provides a create method for each non-abstract class of the model.
12 * <!-- end-user-doc -->
13 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
14 * @generated
15 */
16public interface YakindummFactory extends EFactory {
17 /**
18 * The singleton instance of the factory.
19 * <!-- begin-user-doc -->
20 * <!-- end-user-doc -->
21 * @generated
22 */
23 YakindummFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummFactoryImpl.init();
24
25 /**
26 * Returns a new object of class '<em>Region</em>'.
27 * <!-- begin-user-doc -->
28 * <!-- end-user-doc -->
29 * @return a new object of class '<em>Region</em>'.
30 * @generated
31 */
32 Region createRegion();
33
34 /**
35 * Returns a new object of class '<em>Transition</em>'.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @return a new object of class '<em>Transition</em>'.
39 * @generated
40 */
41 Transition createTransition();
42
43 /**
44 * Returns a new object of class '<em>Statechart</em>'.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @return a new object of class '<em>Statechart</em>'.
48 * @generated
49 */
50 Statechart createStatechart();
51
52 /**
53 * Returns a new object of class '<em>Entry</em>'.
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @return a new object of class '<em>Entry</em>'.
57 * @generated
58 */
59 Entry createEntry();
60
61 /**
62 * Returns a new object of class '<em>State</em>'.
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @return a new object of class '<em>State</em>'.
66 * @generated
67 */
68 State createState();
69
70 /**
71 * Returns a new object of class '<em>Choice</em>'.
72 * <!-- begin-user-doc -->
73 * <!-- end-user-doc -->
74 * @return a new object of class '<em>Choice</em>'.
75 * @generated
76 */
77 Choice createChoice();
78
79 /**
80 * Returns a new object of class '<em>Exit</em>'.
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @return a new object of class '<em>Exit</em>'.
84 * @generated
85 */
86 Exit createExit();
87
88 /**
89 * Returns a new object of class '<em>Final State</em>'.
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @return a new object of class '<em>Final State</em>'.
93 * @generated
94 */
95 FinalState createFinalState();
96
97 /**
98 * Returns the package supported by this factory.
99 * <!-- begin-user-doc -->
100 * <!-- end-user-doc -->
101 * @return the package supported by this factory.
102 * @generated
103 */
104 YakindummPackage getYakindummPackage();
105
106} //YakindummFactory
107=======
108/**
109 */
110package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
111
112import org.eclipse.emf.ecore.EFactory;
113
114/**
115 * <!-- begin-user-doc -->
116 * The <b>Factory</b> for the model.
117 * It provides a create method for each non-abstract class of the model.
118 * <!-- end-user-doc -->
119 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
120 * @generated
121 */
122public interface YakinduFactory extends EFactory {
123 /**
124 * The singleton instance of the factory.
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @generated
128 */
129 YakinduFactory eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduFactoryImpl.init();
130
131 /**
132 * Returns a new object of class '<em>Region</em>'.
133 * <!-- begin-user-doc -->
134 * <!-- end-user-doc -->
135 * @return a new object of class '<em>Region</em>'.
136 * @generated
137 */
138 Region createRegion();
139
140 /**
141 * Returns a new object of class '<em>Transition</em>'.
142 * <!-- begin-user-doc -->
143 * <!-- end-user-doc -->
144 * @return a new object of class '<em>Transition</em>'.
145 * @generated
146 */
147 Transition createTransition();
148
149 /**
150 * Returns a new object of class '<em>Statechart</em>'.
151 * <!-- begin-user-doc -->
152 * <!-- end-user-doc -->
153 * @return a new object of class '<em>Statechart</em>'.
154 * @generated
155 */
156 Statechart createStatechart();
157
158 /**
159 * Returns a new object of class '<em>Entry</em>'.
160 * <!-- begin-user-doc -->
161 * <!-- end-user-doc -->
162 * @return a new object of class '<em>Entry</em>'.
163 * @generated
164 */
165 Entry createEntry();
166
167 /**
168 * Returns a new object of class '<em>Synchronization</em>'.
169 * <!-- begin-user-doc -->
170 * <!-- end-user-doc -->
171 * @return a new object of class '<em>Synchronization</em>'.
172 * @generated
173 */
174 Synchronization createSynchronization();
175
176 /**
177 * Returns a new object of class '<em>State</em>'.
178 * <!-- begin-user-doc -->
179 * <!-- end-user-doc -->
180 * @return a new object of class '<em>State</em>'.
181 * @generated
182 */
183 State createState();
184
185 /**
186 * Returns a new object of class '<em>Choice</em>'.
187 * <!-- begin-user-doc -->
188 * <!-- end-user-doc -->
189 * @return a new object of class '<em>Choice</em>'.
190 * @generated
191 */
192 Choice createChoice();
193
194 /**
195 * Returns a new object of class '<em>Exit</em>'.
196 * <!-- begin-user-doc -->
197 * <!-- end-user-doc -->
198 * @return a new object of class '<em>Exit</em>'.
199 * @generated
200 */
201 Exit createExit();
202
203 /**
204 * Returns a new object of class '<em>Final State</em>'.
205 * <!-- begin-user-doc -->
206 * <!-- end-user-doc -->
207 * @return a new object of class '<em>Final State</em>'.
208 * @generated
209 */
210 FinalState createFinalState();
211
212 /**
213 * Returns the package supported by this factory.
214 * <!-- begin-user-doc -->
215 * <!-- end-user-doc -->
216 * @return the package supported by this factory.
217 * @generated
218 */
219 YakinduPackage getYakinduPackage();
220
221} //YakinduFactory
222>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduFactory.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java
new file mode 100644
index 00000000..f74d2357
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java
@@ -0,0 +1,2073 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakindummPackage.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm;
5
6import org.eclipse.emf.ecore.EAttribute;
7import org.eclipse.emf.ecore.EClass;
8import org.eclipse.emf.ecore.EEnum;
9import org.eclipse.emf.ecore.EPackage;
10import org.eclipse.emf.ecore.EReference;
11
12/**
13 * <!-- begin-user-doc -->
14 * The <b>Package</b> for the model.
15 * It contains accessors for the meta objects to represent
16 * <ul>
17 * <li>each class,</li>
18 * <li>each feature of each class,</li>
19 * <li>each operation of each class,</li>
20 * <li>each enum,</li>
21 * <li>and each data type</li>
22 * </ul>
23 * <!-- end-user-doc -->
24 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummFactory
25 * @model kind="package"
26 * @generated
27 */
28public interface YakindummPackage extends EPackage {
29 /**
30 * The package name.
31 * <!-- begin-user-doc -->
32 * <!-- end-user-doc -->
33 * @generated
34 */
35 String eNAME = "yakindumm";
36
37 /**
38 * The package namespace URI.
39 * <!-- begin-user-doc -->
40 * <!-- end-user-doc -->
41 * @generated
42 */
43 String eNS_URI = "hu.bme.mit.inf.yakindumm";
44
45 /**
46 * The package namespace name.
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @generated
50 */
51 String eNS_PREFIX = "ca.mcgill.ecse.yakindumm";
52
53 /**
54 * The singleton instance of the package.
55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc -->
57 * @generated
58 */
59 YakindummPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl.init();
60
61 /**
62 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl <em>Vertex</em>}' class.
63 * <!-- begin-user-doc -->
64 * <!-- end-user-doc -->
65 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl
66 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getVertex()
67 * @generated
68 */
69 int VERTEX = 1;
70
71 /**
72 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 * @ordered
77 */
78 int VERTEX__INCOMING_TRANSITIONS = 0;
79
80 /**
81 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
82 * <!-- begin-user-doc -->
83 * <!-- end-user-doc -->
84 * @generated
85 * @ordered
86 */
87 int VERTEX__OUTGOING_TRANSITIONS = 1;
88
89 /**
90 * The number of structural features of the '<em>Vertex</em>' class.
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @generated
94 * @ordered
95 */
96 int VERTEX_FEATURE_COUNT = 2;
97
98 /**
99 * The number of operations of the '<em>Vertex</em>' class.
100 * <!-- begin-user-doc -->
101 * <!-- end-user-doc -->
102 * @generated
103 * @ordered
104 */
105 int VERTEX_OPERATION_COUNT = 0;
106
107 /**
108 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl <em>Pseudostate</em>}' class.
109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc -->
111 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl
112 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getPseudostate()
113 * @generated
114 */
115 int PSEUDOSTATE = 0;
116
117 /**
118 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 * @ordered
123 */
124 int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
125
126 /**
127 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
128 * <!-- begin-user-doc -->
129 * <!-- end-user-doc -->
130 * @generated
131 * @ordered
132 */
133 int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
134
135 /**
136 * The number of structural features of the '<em>Pseudostate</em>' class.
137 * <!-- begin-user-doc -->
138 * <!-- end-user-doc -->
139 * @generated
140 * @ordered
141 */
142 int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
143
144 /**
145 * The number of operations of the '<em>Pseudostate</em>' class.
146 * <!-- begin-user-doc -->
147 * <!-- end-user-doc -->
148 * @generated
149 * @ordered
150 */
151 int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
152
153 /**
154 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl <em>Region</em>}' class.
155 * <!-- begin-user-doc -->
156 * <!-- end-user-doc -->
157 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl
158 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegion()
159 * @generated
160 */
161 int REGION = 2;
162
163 /**
164 * The feature id for the '<em><b>Vertices</b></em>' containment reference list.
165 * <!-- begin-user-doc -->
166 * <!-- end-user-doc -->
167 * @generated
168 * @ordered
169 */
170 int REGION__VERTICES = 0;
171
172 /**
173 * The number of structural features of the '<em>Region</em>' class.
174 * <!-- begin-user-doc -->
175 * <!-- end-user-doc -->
176 * @generated
177 * @ordered
178 */
179 int REGION_FEATURE_COUNT = 1;
180
181 /**
182 * The number of operations of the '<em>Region</em>' class.
183 * <!-- begin-user-doc -->
184 * <!-- end-user-doc -->
185 * @generated
186 * @ordered
187 */
188 int REGION_OPERATION_COUNT = 0;
189
190 /**
191 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl <em>Transition</em>}' class.
192 * <!-- begin-user-doc -->
193 * <!-- end-user-doc -->
194 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl
195 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getTransition()
196 * @generated
197 */
198 int TRANSITION = 3;
199
200 /**
201 * The feature id for the '<em><b>Target</b></em>' reference.
202 * <!-- begin-user-doc -->
203 * <!-- end-user-doc -->
204 * @generated
205 * @ordered
206 */
207 int TRANSITION__TARGET = 0;
208
209 /**
210 * The feature id for the '<em><b>Source</b></em>' container reference.
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @generated
214 * @ordered
215 */
216 int TRANSITION__SOURCE = 1;
217
218 /**
219 * The number of structural features of the '<em>Transition</em>' class.
220 * <!-- begin-user-doc -->
221 * <!-- end-user-doc -->
222 * @generated
223 * @ordered
224 */
225 int TRANSITION_FEATURE_COUNT = 2;
226
227 /**
228 * The number of operations of the '<em>Transition</em>' class.
229 * <!-- begin-user-doc -->
230 * <!-- end-user-doc -->
231 * @generated
232 * @ordered
233 */
234 int TRANSITION_OPERATION_COUNT = 0;
235
236 /**
237 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl <em>Composite Element</em>}' class.
238 * <!-- begin-user-doc -->
239 * <!-- end-user-doc -->
240 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl
241 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getCompositeElement()
242 * @generated
243 */
244 int COMPOSITE_ELEMENT = 8;
245
246 /**
247 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
248 * <!-- begin-user-doc -->
249 * <!-- end-user-doc -->
250 * @generated
251 * @ordered
252 */
253 int COMPOSITE_ELEMENT__REGIONS = 0;
254
255 /**
256 * The number of structural features of the '<em>Composite Element</em>' class.
257 * <!-- begin-user-doc -->
258 * <!-- end-user-doc -->
259 * @generated
260 * @ordered
261 */
262 int COMPOSITE_ELEMENT_FEATURE_COUNT = 1;
263
264 /**
265 * The number of operations of the '<em>Composite Element</em>' class.
266 * <!-- begin-user-doc -->
267 * <!-- end-user-doc -->
268 * @generated
269 * @ordered
270 */
271 int COMPOSITE_ELEMENT_OPERATION_COUNT = 0;
272
273 /**
274 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl <em>Statechart</em>}' class.
275 * <!-- begin-user-doc -->
276 * <!-- end-user-doc -->
277 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl
278 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getStatechart()
279 * @generated
280 */
281 int STATECHART = 4;
282
283 /**
284 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
285 * <!-- begin-user-doc -->
286 * <!-- end-user-doc -->
287 * @generated
288 * @ordered
289 */
290 int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS;
291
292 /**
293 * The number of structural features of the '<em>Statechart</em>' class.
294 * <!-- begin-user-doc -->
295 * <!-- end-user-doc -->
296 * @generated
297 * @ordered
298 */
299 int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0;
300
301 /**
302 * The number of operations of the '<em>Statechart</em>' class.
303 * <!-- begin-user-doc -->
304 * <!-- end-user-doc -->
305 * @generated
306 * @ordered
307 */
308 int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0;
309
310 /**
311 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl <em>Entry</em>}' class.
312 * <!-- begin-user-doc -->
313 * <!-- end-user-doc -->
314 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl
315 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntry()
316 * @generated
317 */
318 int ENTRY = 5;
319
320 /**
321 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
322 * <!-- begin-user-doc -->
323 * <!-- end-user-doc -->
324 * @generated
325 * @ordered
326 */
327 int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
328
329 /**
330 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
331 * <!-- begin-user-doc -->
332 * <!-- end-user-doc -->
333 * @generated
334 * @ordered
335 */
336 int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
337
338 /**
339 * The feature id for the '<em><b>Type</b></em>' attribute.
340 * <!-- begin-user-doc -->
341 * <!-- end-user-doc -->
342 * @generated
343 * @ordered
344 */
345 int ENTRY__TYPE = PSEUDOSTATE_FEATURE_COUNT + 0;
346
347 /**
348 * The number of structural features of the '<em>Entry</em>' class.
349 * <!-- begin-user-doc -->
350 * <!-- end-user-doc -->
351 * @generated
352 * @ordered
353 */
354 int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 1;
355
356 /**
357 * The number of operations of the '<em>Entry</em>' class.
358 * <!-- begin-user-doc -->
359 * <!-- end-user-doc -->
360 * @generated
361 * @ordered
362 */
363 int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
364
365 /**
366 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl <em>Regular State</em>}' class.
367 * <!-- begin-user-doc -->
368 * <!-- end-user-doc -->
369 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl
370 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegularState()
371 * @generated
372 */
373 int REGULAR_STATE = 7;
374
375 /**
376 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
377 * <!-- begin-user-doc -->
378 * <!-- end-user-doc -->
379 * @generated
380 * @ordered
381 */
382 int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
383
384 /**
385 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
386 * <!-- begin-user-doc -->
387 * <!-- end-user-doc -->
388 * @generated
389 * @ordered
390 */
391 int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
392
393 /**
394 * The number of structural features of the '<em>Regular State</em>' class.
395 * <!-- begin-user-doc -->
396 * <!-- end-user-doc -->
397 * @generated
398 * @ordered
399 */
400 int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
401
402 /**
403 * The number of operations of the '<em>Regular State</em>' class.
404 * <!-- begin-user-doc -->
405 * <!-- end-user-doc -->
406 * @generated
407 * @ordered
408 */
409 int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
410
411 /**
412 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl <em>State</em>}' class.
413 * <!-- begin-user-doc -->
414 * <!-- end-user-doc -->
415 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl
416 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getState()
417 * @generated
418 */
419 int STATE = 6;
420
421 /**
422 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
423 * <!-- begin-user-doc -->
424 * <!-- end-user-doc -->
425 * @generated
426 * @ordered
427 */
428 int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
429
430 /**
431 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
432 * <!-- begin-user-doc -->
433 * <!-- end-user-doc -->
434 * @generated
435 * @ordered
436 */
437 int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
438
439 /**
440 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
441 * <!-- begin-user-doc -->
442 * <!-- end-user-doc -->
443 * @generated
444 * @ordered
445 */
446 int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0;
447
448 /**
449 * The number of structural features of the '<em>State</em>' class.
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @generated
453 * @ordered
454 */
455 int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1;
456
457 /**
458 * The number of operations of the '<em>State</em>' class.
459 * <!-- begin-user-doc -->
460 * <!-- end-user-doc -->
461 * @generated
462 * @ordered
463 */
464 int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
465
466 /**
467 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl <em>Choice</em>}' class.
468 * <!-- begin-user-doc -->
469 * <!-- end-user-doc -->
470 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl
471 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getChoice()
472 * @generated
473 */
474 int CHOICE = 9;
475
476 /**
477 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
478 * <!-- begin-user-doc -->
479 * <!-- end-user-doc -->
480 * @generated
481 * @ordered
482 */
483 int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
484
485 /**
486 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
487 * <!-- begin-user-doc -->
488 * <!-- end-user-doc -->
489 * @generated
490 * @ordered
491 */
492 int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
493
494 /**
495 * The number of structural features of the '<em>Choice</em>' class.
496 * <!-- begin-user-doc -->
497 * <!-- end-user-doc -->
498 * @generated
499 * @ordered
500 */
501 int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
502
503 /**
504 * The number of operations of the '<em>Choice</em>' class.
505 * <!-- begin-user-doc -->
506 * <!-- end-user-doc -->
507 * @generated
508 * @ordered
509 */
510 int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
511
512 /**
513 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl <em>Exit</em>}' class.
514 * <!-- begin-user-doc -->
515 * <!-- end-user-doc -->
516 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl
517 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getExit()
518 * @generated
519 */
520 int EXIT = 10;
521
522 /**
523 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
524 * <!-- begin-user-doc -->
525 * <!-- end-user-doc -->
526 * @generated
527 * @ordered
528 */
529 int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
530
531 /**
532 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
533 * <!-- begin-user-doc -->
534 * <!-- end-user-doc -->
535 * @generated
536 * @ordered
537 */
538 int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
539
540 /**
541 * The number of structural features of the '<em>Exit</em>' class.
542 * <!-- begin-user-doc -->
543 * <!-- end-user-doc -->
544 * @generated
545 * @ordered
546 */
547 int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
548
549 /**
550 * The number of operations of the '<em>Exit</em>' class.
551 * <!-- begin-user-doc -->
552 * <!-- end-user-doc -->
553 * @generated
554 * @ordered
555 */
556 int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
557
558 /**
559 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl <em>Final State</em>}' class.
560 * <!-- begin-user-doc -->
561 * <!-- end-user-doc -->
562 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl
563 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getFinalState()
564 * @generated
565 */
566 int FINAL_STATE = 11;
567
568 /**
569 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
570 * <!-- begin-user-doc -->
571 * <!-- end-user-doc -->
572 * @generated
573 * @ordered
574 */
575 int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
576
577 /**
578 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
579 * <!-- begin-user-doc -->
580 * <!-- end-user-doc -->
581 * @generated
582 * @ordered
583 */
584 int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
585
586 /**
587 * The number of structural features of the '<em>Final State</em>' class.
588 * <!-- begin-user-doc -->
589 * <!-- end-user-doc -->
590 * @generated
591 * @ordered
592 */
593 int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0;
594
595 /**
596 * The number of operations of the '<em>Final State</em>' class.
597 * <!-- begin-user-doc -->
598 * <!-- end-user-doc -->
599 * @generated
600 * @ordered
601 */
602 int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
603
604 /**
605 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}' enum.
606 * <!-- begin-user-doc -->
607 * <!-- end-user-doc -->
608 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType
609 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntryType()
610 * @generated
611 */
612 int ENTRY_TYPE = 12;
613
614
615 /**
616 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate <em>Pseudostate</em>}'.
617 * <!-- begin-user-doc -->
618 * <!-- end-user-doc -->
619 * @return the meta object for class '<em>Pseudostate</em>'.
620 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate
621 * @generated
622 */
623 EClass getPseudostate();
624
625 /**
626 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex <em>Vertex</em>}'.
627 * <!-- begin-user-doc -->
628 * <!-- end-user-doc -->
629 * @return the meta object for class '<em>Vertex</em>'.
630 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex
631 * @generated
632 */
633 EClass getVertex();
634
635 /**
636 * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'.
637 * <!-- begin-user-doc -->
638 * <!-- end-user-doc -->
639 * @return the meta object for the reference list '<em>Incoming Transitions</em>'.
640 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getIncomingTransitions()
641 * @see #getVertex()
642 * @generated
643 */
644 EReference getVertex_IncomingTransitions();
645
646 /**
647 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'.
648 * <!-- begin-user-doc -->
649 * <!-- end-user-doc -->
650 * @return the meta object for the containment reference list '<em>Outgoing Transitions</em>'.
651 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex#getOutgoingTransitions()
652 * @see #getVertex()
653 * @generated
654 */
655 EReference getVertex_OutgoingTransitions();
656
657 /**
658 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region <em>Region</em>}'.
659 * <!-- begin-user-doc -->
660 * <!-- end-user-doc -->
661 * @return the meta object for class '<em>Region</em>'.
662 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region
663 * @generated
664 */
665 EClass getRegion();
666
667 /**
668 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region#getVertices <em>Vertices</em>}'.
669 * <!-- begin-user-doc -->
670 * <!-- end-user-doc -->
671 * @return the meta object for the containment reference list '<em>Vertices</em>'.
672 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region#getVertices()
673 * @see #getRegion()
674 * @generated
675 */
676 EReference getRegion_Vertices();
677
678 /**
679 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition <em>Transition</em>}'.
680 * <!-- begin-user-doc -->
681 * <!-- end-user-doc -->
682 * @return the meta object for class '<em>Transition</em>'.
683 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition
684 * @generated
685 */
686 EClass getTransition();
687
688 /**
689 * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget <em>Target</em>}'.
690 * <!-- begin-user-doc -->
691 * <!-- end-user-doc -->
692 * @return the meta object for the reference '<em>Target</em>'.
693 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getTarget()
694 * @see #getTransition()
695 * @generated
696 */
697 EReference getTransition_Target();
698
699 /**
700 * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource <em>Source</em>}'.
701 * <!-- begin-user-doc -->
702 * <!-- end-user-doc -->
703 * @return the meta object for the container reference '<em>Source</em>'.
704 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition#getSource()
705 * @see #getTransition()
706 * @generated
707 */
708 EReference getTransition_Source();
709
710 /**
711 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart <em>Statechart</em>}'.
712 * <!-- begin-user-doc -->
713 * <!-- end-user-doc -->
714 * @return the meta object for class '<em>Statechart</em>'.
715 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart
716 * @generated
717 */
718 EClass getStatechart();
719
720 /**
721 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry <em>Entry</em>}'.
722 * <!-- begin-user-doc -->
723 * <!-- end-user-doc -->
724 * @return the meta object for class '<em>Entry</em>'.
725 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry
726 * @generated
727 */
728 EClass getEntry();
729
730 /**
731 * Returns the meta object for the attribute '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry#getType <em>Type</em>}'.
732 * <!-- begin-user-doc -->
733 * <!-- end-user-doc -->
734 * @return the meta object for the attribute '<em>Type</em>'.
735 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry#getType()
736 * @see #getEntry()
737 * @generated
738 */
739 EAttribute getEntry_Type();
740
741 /**
742 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State <em>State</em>}'.
743 * <!-- begin-user-doc -->
744 * <!-- end-user-doc -->
745 * @return the meta object for class '<em>State</em>'.
746 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State
747 * @generated
748 */
749 EClass getState();
750
751 /**
752 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState <em>Regular State</em>}'.
753 * <!-- begin-user-doc -->
754 * <!-- end-user-doc -->
755 * @return the meta object for class '<em>Regular State</em>'.
756 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState
757 * @generated
758 */
759 EClass getRegularState();
760
761 /**
762 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement <em>Composite Element</em>}'.
763 * <!-- begin-user-doc -->
764 * <!-- end-user-doc -->
765 * @return the meta object for class '<em>Composite Element</em>'.
766 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement
767 * @generated
768 */
769 EClass getCompositeElement();
770
771 /**
772 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement#getRegions <em>Regions</em>}'.
773 * <!-- begin-user-doc -->
774 * <!-- end-user-doc -->
775 * @return the meta object for the containment reference list '<em>Regions</em>'.
776 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement#getRegions()
777 * @see #getCompositeElement()
778 * @generated
779 */
780 EReference getCompositeElement_Regions();
781
782 /**
783 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice <em>Choice</em>}'.
784 * <!-- begin-user-doc -->
785 * <!-- end-user-doc -->
786 * @return the meta object for class '<em>Choice</em>'.
787 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice
788 * @generated
789 */
790 EClass getChoice();
791
792 /**
793 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit <em>Exit</em>}'.
794 * <!-- begin-user-doc -->
795 * <!-- end-user-doc -->
796 * @return the meta object for class '<em>Exit</em>'.
797 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit
798 * @generated
799 */
800 EClass getExit();
801
802 /**
803 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState <em>Final State</em>}'.
804 * <!-- begin-user-doc -->
805 * <!-- end-user-doc -->
806 * @return the meta object for class '<em>Final State</em>'.
807 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState
808 * @generated
809 */
810 EClass getFinalState();
811
812 /**
813 * Returns the meta object for enum '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}'.
814 * <!-- begin-user-doc -->
815 * <!-- end-user-doc -->
816 * @return the meta object for enum '<em>Entry Type</em>'.
817 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType
818 * @generated
819 */
820 EEnum getEntryType();
821
822 /**
823 * Returns the factory that creates the instances of the model.
824 * <!-- begin-user-doc -->
825 * <!-- end-user-doc -->
826 * @return the factory that creates the instances of the model.
827 * @generated
828 */
829 YakindummFactory getYakindummFactory();
830
831 /**
832 * <!-- begin-user-doc -->
833 * Defines literals for the meta objects that represent
834 * <ul>
835 * <li>each class,</li>
836 * <li>each feature of each class,</li>
837 * <li>each operation of each class,</li>
838 * <li>each enum,</li>
839 * <li>and each data type</li>
840 * </ul>
841 * <!-- end-user-doc -->
842 * @generated
843 */
844 interface Literals {
845 /**
846 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl <em>Pseudostate</em>}' class.
847 * <!-- begin-user-doc -->
848 * <!-- end-user-doc -->
849 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.PseudostateImpl
850 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getPseudostate()
851 * @generated
852 */
853 EClass PSEUDOSTATE = eINSTANCE.getPseudostate();
854
855 /**
856 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl <em>Vertex</em>}' class.
857 * <!-- begin-user-doc -->
858 * <!-- end-user-doc -->
859 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl
860 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getVertex()
861 * @generated
862 */
863 EClass VERTEX = eINSTANCE.getVertex();
864
865 /**
866 * The meta object literal for the '<em><b>Incoming Transitions</b></em>' reference list feature.
867 * <!-- begin-user-doc -->
868 * <!-- end-user-doc -->
869 * @generated
870 */
871 EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions();
872
873 /**
874 * The meta object literal for the '<em><b>Outgoing Transitions</b></em>' containment reference list feature.
875 * <!-- begin-user-doc -->
876 * <!-- end-user-doc -->
877 * @generated
878 */
879 EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions();
880
881 /**
882 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl <em>Region</em>}' class.
883 * <!-- begin-user-doc -->
884 * <!-- end-user-doc -->
885 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl
886 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegion()
887 * @generated
888 */
889 EClass REGION = eINSTANCE.getRegion();
890
891 /**
892 * The meta object literal for the '<em><b>Vertices</b></em>' containment reference list feature.
893 * <!-- begin-user-doc -->
894 * <!-- end-user-doc -->
895 * @generated
896 */
897 EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices();
898
899 /**
900 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl <em>Transition</em>}' class.
901 * <!-- begin-user-doc -->
902 * <!-- end-user-doc -->
903 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl
904 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getTransition()
905 * @generated
906 */
907 EClass TRANSITION = eINSTANCE.getTransition();
908
909 /**
910 * The meta object literal for the '<em><b>Target</b></em>' reference feature.
911 * <!-- begin-user-doc -->
912 * <!-- end-user-doc -->
913 * @generated
914 */
915 EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();
916
917 /**
918 * The meta object literal for the '<em><b>Source</b></em>' container reference feature.
919 * <!-- begin-user-doc -->
920 * <!-- end-user-doc -->
921 * @generated
922 */
923 EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source();
924
925 /**
926 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl <em>Statechart</em>}' class.
927 * <!-- begin-user-doc -->
928 * <!-- end-user-doc -->
929 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StatechartImpl
930 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getStatechart()
931 * @generated
932 */
933 EClass STATECHART = eINSTANCE.getStatechart();
934
935 /**
936 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl <em>Entry</em>}' class.
937 * <!-- begin-user-doc -->
938 * <!-- end-user-doc -->
939 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl
940 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntry()
941 * @generated
942 */
943 EClass ENTRY = eINSTANCE.getEntry();
944
945 /**
946 * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
947 * <!-- begin-user-doc -->
948 * <!-- end-user-doc -->
949 * @generated
950 */
951 EAttribute ENTRY__TYPE = eINSTANCE.getEntry_Type();
952
953 /**
954 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl <em>State</em>}' class.
955 * <!-- begin-user-doc -->
956 * <!-- end-user-doc -->
957 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl
958 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getState()
959 * @generated
960 */
961 EClass STATE = eINSTANCE.getState();
962
963 /**
964 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl <em>Regular State</em>}' class.
965 * <!-- begin-user-doc -->
966 * <!-- end-user-doc -->
967 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegularStateImpl
968 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getRegularState()
969 * @generated
970 */
971 EClass REGULAR_STATE = eINSTANCE.getRegularState();
972
973 /**
974 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl <em>Composite Element</em>}' class.
975 * <!-- begin-user-doc -->
976 * <!-- end-user-doc -->
977 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl
978 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getCompositeElement()
979 * @generated
980 */
981 EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement();
982
983 /**
984 * The meta object literal for the '<em><b>Regions</b></em>' containment reference list feature.
985 * <!-- begin-user-doc -->
986 * <!-- end-user-doc -->
987 * @generated
988 */
989 EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions();
990
991 /**
992 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl <em>Choice</em>}' class.
993 * <!-- begin-user-doc -->
994 * <!-- end-user-doc -->
995 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ChoiceImpl
996 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getChoice()
997 * @generated
998 */
999 EClass CHOICE = eINSTANCE.getChoice();
1000
1001 /**
1002 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl <em>Exit</em>}' class.
1003 * <!-- begin-user-doc -->
1004 * <!-- end-user-doc -->
1005 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.ExitImpl
1006 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getExit()
1007 * @generated
1008 */
1009 EClass EXIT = eINSTANCE.getExit();
1010
1011 /**
1012 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl <em>Final State</em>}' class.
1013 * <!-- begin-user-doc -->
1014 * <!-- end-user-doc -->
1015 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.FinalStateImpl
1016 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getFinalState()
1017 * @generated
1018 */
1019 EClass FINAL_STATE = eINSTANCE.getFinalState();
1020
1021 /**
1022 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType <em>Entry Type</em>}' enum.
1023 * <!-- begin-user-doc -->
1024 * <!-- end-user-doc -->
1025 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType
1026 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.YakindummPackageImpl#getEntryType()
1027 * @generated
1028 */
1029 EEnum ENTRY_TYPE = eINSTANCE.getEntryType();
1030
1031 }
1032
1033} //YakindummPackage
1034=======
1035/**
1036 */
1037package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu;
1038
1039import org.eclipse.emf.ecore.EClass;
1040import org.eclipse.emf.ecore.EPackage;
1041import org.eclipse.emf.ecore.EReference;
1042
1043/**
1044 * <!-- begin-user-doc -->
1045 * The <b>Package</b> for the model.
1046 * It contains accessors for the meta objects to represent
1047 * <ul>
1048 * <li>each class,</li>
1049 * <li>each feature of each class,</li>
1050 * <li>each operation of each class,</li>
1051 * <li>each enum,</li>
1052 * <li>and each data type</li>
1053 * </ul>
1054 * <!-- end-user-doc -->
1055 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory
1056 * @model kind="package"
1057 * @generated
1058 */
1059public interface YakinduPackage extends EPackage {
1060 /**
1061 * The package name.
1062 * <!-- begin-user-doc -->
1063 * <!-- end-user-doc -->
1064 * @generated
1065 */
1066 String eNAME = "yakindu";
1067
1068 /**
1069 * The package namespace URI.
1070 * <!-- begin-user-doc -->
1071 * <!-- end-user-doc -->
1072 * @generated
1073 */
1074 String eNS_URI = "YakinduMetamodel";
1075
1076 /**
1077 * The package namespace name.
1078 * <!-- begin-user-doc -->
1079 * <!-- end-user-doc -->
1080 * @generated
1081 */
1082 String eNS_PREFIX = "yakindu";
1083
1084 /**
1085 * The singleton instance of the package.
1086 * <!-- begin-user-doc -->
1087 * <!-- end-user-doc -->
1088 * @generated
1089 */
1090 YakinduPackage eINSTANCE = ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl.init();
1091
1092 /**
1093 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl <em>Vertex</em>}' class.
1094 * <!-- begin-user-doc -->
1095 * <!-- end-user-doc -->
1096 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl
1097 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex()
1098 * @generated
1099 */
1100 int VERTEX = 1;
1101
1102 /**
1103 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1104 * <!-- begin-user-doc -->
1105 * <!-- end-user-doc -->
1106 * @generated
1107 * @ordered
1108 */
1109 int VERTEX__INCOMING_TRANSITIONS = 0;
1110
1111 /**
1112 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1113 * <!-- begin-user-doc -->
1114 * <!-- end-user-doc -->
1115 * @generated
1116 * @ordered
1117 */
1118 int VERTEX__OUTGOING_TRANSITIONS = 1;
1119
1120 /**
1121 * The number of structural features of the '<em>Vertex</em>' class.
1122 * <!-- begin-user-doc -->
1123 * <!-- end-user-doc -->
1124 * @generated
1125 * @ordered
1126 */
1127 int VERTEX_FEATURE_COUNT = 2;
1128
1129 /**
1130 * The number of operations of the '<em>Vertex</em>' class.
1131 * <!-- begin-user-doc -->
1132 * <!-- end-user-doc -->
1133 * @generated
1134 * @ordered
1135 */
1136 int VERTEX_OPERATION_COUNT = 0;
1137
1138 /**
1139 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl <em>Pseudostate</em>}' class.
1140 * <!-- begin-user-doc -->
1141 * <!-- end-user-doc -->
1142 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl
1143 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate()
1144 * @generated
1145 */
1146 int PSEUDOSTATE = 0;
1147
1148 /**
1149 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1150 * <!-- begin-user-doc -->
1151 * <!-- end-user-doc -->
1152 * @generated
1153 * @ordered
1154 */
1155 int PSEUDOSTATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
1156
1157 /**
1158 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1159 * <!-- begin-user-doc -->
1160 * <!-- end-user-doc -->
1161 * @generated
1162 * @ordered
1163 */
1164 int PSEUDOSTATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
1165
1166 /**
1167 * The number of structural features of the '<em>Pseudostate</em>' class.
1168 * <!-- begin-user-doc -->
1169 * <!-- end-user-doc -->
1170 * @generated
1171 * @ordered
1172 */
1173 int PSEUDOSTATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
1174
1175 /**
1176 * The number of operations of the '<em>Pseudostate</em>' class.
1177 * <!-- begin-user-doc -->
1178 * <!-- end-user-doc -->
1179 * @generated
1180 * @ordered
1181 */
1182 int PSEUDOSTATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
1183
1184 /**
1185 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl <em>Region</em>}' class.
1186 * <!-- begin-user-doc -->
1187 * <!-- end-user-doc -->
1188 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl
1189 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion()
1190 * @generated
1191 */
1192 int REGION = 2;
1193
1194 /**
1195 * The feature id for the '<em><b>Vertices</b></em>' containment reference list.
1196 * <!-- begin-user-doc -->
1197 * <!-- end-user-doc -->
1198 * @generated
1199 * @ordered
1200 */
1201 int REGION__VERTICES = 0;
1202
1203 /**
1204 * The number of structural features of the '<em>Region</em>' class.
1205 * <!-- begin-user-doc -->
1206 * <!-- end-user-doc -->
1207 * @generated
1208 * @ordered
1209 */
1210 int REGION_FEATURE_COUNT = 1;
1211
1212 /**
1213 * The number of operations of the '<em>Region</em>' class.
1214 * <!-- begin-user-doc -->
1215 * <!-- end-user-doc -->
1216 * @generated
1217 * @ordered
1218 */
1219 int REGION_OPERATION_COUNT = 0;
1220
1221 /**
1222 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl <em>Transition</em>}' class.
1223 * <!-- begin-user-doc -->
1224 * <!-- end-user-doc -->
1225 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl
1226 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition()
1227 * @generated
1228 */
1229 int TRANSITION = 3;
1230
1231 /**
1232 * The feature id for the '<em><b>Target</b></em>' reference.
1233 * <!-- begin-user-doc -->
1234 * <!-- end-user-doc -->
1235 * @generated
1236 * @ordered
1237 */
1238 int TRANSITION__TARGET = 0;
1239
1240 /**
1241 * The feature id for the '<em><b>Source</b></em>' container reference.
1242 * <!-- begin-user-doc -->
1243 * <!-- end-user-doc -->
1244 * @generated
1245 * @ordered
1246 */
1247 int TRANSITION__SOURCE = 1;
1248
1249 /**
1250 * The number of structural features of the '<em>Transition</em>' class.
1251 * <!-- begin-user-doc -->
1252 * <!-- end-user-doc -->
1253 * @generated
1254 * @ordered
1255 */
1256 int TRANSITION_FEATURE_COUNT = 2;
1257
1258 /**
1259 * The number of operations of the '<em>Transition</em>' class.
1260 * <!-- begin-user-doc -->
1261 * <!-- end-user-doc -->
1262 * @generated
1263 * @ordered
1264 */
1265 int TRANSITION_OPERATION_COUNT = 0;
1266
1267 /**
1268 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl <em>Composite Element</em>}' class.
1269 * <!-- begin-user-doc -->
1270 * <!-- end-user-doc -->
1271 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl
1272 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement()
1273 * @generated
1274 */
1275 int COMPOSITE_ELEMENT = 9;
1276
1277 /**
1278 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
1279 * <!-- begin-user-doc -->
1280 * <!-- end-user-doc -->
1281 * @generated
1282 * @ordered
1283 */
1284 int COMPOSITE_ELEMENT__REGIONS = 0;
1285
1286 /**
1287 * The number of structural features of the '<em>Composite Element</em>' class.
1288 * <!-- begin-user-doc -->
1289 * <!-- end-user-doc -->
1290 * @generated
1291 * @ordered
1292 */
1293 int COMPOSITE_ELEMENT_FEATURE_COUNT = 1;
1294
1295 /**
1296 * The number of operations of the '<em>Composite Element</em>' class.
1297 * <!-- begin-user-doc -->
1298 * <!-- end-user-doc -->
1299 * @generated
1300 * @ordered
1301 */
1302 int COMPOSITE_ELEMENT_OPERATION_COUNT = 0;
1303
1304 /**
1305 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl <em>Statechart</em>}' class.
1306 * <!-- begin-user-doc -->
1307 * <!-- end-user-doc -->
1308 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl
1309 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart()
1310 * @generated
1311 */
1312 int STATECHART = 4;
1313
1314 /**
1315 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
1316 * <!-- begin-user-doc -->
1317 * <!-- end-user-doc -->
1318 * @generated
1319 * @ordered
1320 */
1321 int STATECHART__REGIONS = COMPOSITE_ELEMENT__REGIONS;
1322
1323 /**
1324 * The number of structural features of the '<em>Statechart</em>' class.
1325 * <!-- begin-user-doc -->
1326 * <!-- end-user-doc -->
1327 * @generated
1328 * @ordered
1329 */
1330 int STATECHART_FEATURE_COUNT = COMPOSITE_ELEMENT_FEATURE_COUNT + 0;
1331
1332 /**
1333 * The number of operations of the '<em>Statechart</em>' class.
1334 * <!-- begin-user-doc -->
1335 * <!-- end-user-doc -->
1336 * @generated
1337 * @ordered
1338 */
1339 int STATECHART_OPERATION_COUNT = COMPOSITE_ELEMENT_OPERATION_COUNT + 0;
1340
1341 /**
1342 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl <em>Entry</em>}' class.
1343 * <!-- begin-user-doc -->
1344 * <!-- end-user-doc -->
1345 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl
1346 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry()
1347 * @generated
1348 */
1349 int ENTRY = 5;
1350
1351 /**
1352 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1353 * <!-- begin-user-doc -->
1354 * <!-- end-user-doc -->
1355 * @generated
1356 * @ordered
1357 */
1358 int ENTRY__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
1359
1360 /**
1361 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1362 * <!-- begin-user-doc -->
1363 * <!-- end-user-doc -->
1364 * @generated
1365 * @ordered
1366 */
1367 int ENTRY__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
1368
1369 /**
1370 * The number of structural features of the '<em>Entry</em>' class.
1371 * <!-- begin-user-doc -->
1372 * <!-- end-user-doc -->
1373 * @generated
1374 * @ordered
1375 */
1376 int ENTRY_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
1377
1378 /**
1379 * The number of operations of the '<em>Entry</em>' class.
1380 * <!-- begin-user-doc -->
1381 * <!-- end-user-doc -->
1382 * @generated
1383 * @ordered
1384 */
1385 int ENTRY_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
1386
1387 /**
1388 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl <em>Synchronization</em>}' class.
1389 * <!-- begin-user-doc -->
1390 * <!-- end-user-doc -->
1391 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl
1392 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization()
1393 * @generated
1394 */
1395 int SYNCHRONIZATION = 6;
1396
1397 /**
1398 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1399 * <!-- begin-user-doc -->
1400 * <!-- end-user-doc -->
1401 * @generated
1402 * @ordered
1403 */
1404 int SYNCHRONIZATION__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
1405
1406 /**
1407 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1408 * <!-- begin-user-doc -->
1409 * <!-- end-user-doc -->
1410 * @generated
1411 * @ordered
1412 */
1413 int SYNCHRONIZATION__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
1414
1415 /**
1416 * The number of structural features of the '<em>Synchronization</em>' class.
1417 * <!-- begin-user-doc -->
1418 * <!-- end-user-doc -->
1419 * @generated
1420 * @ordered
1421 */
1422 int SYNCHRONIZATION_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
1423
1424 /**
1425 * The number of operations of the '<em>Synchronization</em>' class.
1426 * <!-- begin-user-doc -->
1427 * <!-- end-user-doc -->
1428 * @generated
1429 * @ordered
1430 */
1431 int SYNCHRONIZATION_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
1432
1433 /**
1434 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl <em>Regular State</em>}' class.
1435 * <!-- begin-user-doc -->
1436 * <!-- end-user-doc -->
1437 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl
1438 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState()
1439 * @generated
1440 */
1441 int REGULAR_STATE = 8;
1442
1443 /**
1444 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1445 * <!-- begin-user-doc -->
1446 * <!-- end-user-doc -->
1447 * @generated
1448 * @ordered
1449 */
1450 int REGULAR_STATE__INCOMING_TRANSITIONS = VERTEX__INCOMING_TRANSITIONS;
1451
1452 /**
1453 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1454 * <!-- begin-user-doc -->
1455 * <!-- end-user-doc -->
1456 * @generated
1457 * @ordered
1458 */
1459 int REGULAR_STATE__OUTGOING_TRANSITIONS = VERTEX__OUTGOING_TRANSITIONS;
1460
1461 /**
1462 * The number of structural features of the '<em>Regular State</em>' class.
1463 * <!-- begin-user-doc -->
1464 * <!-- end-user-doc -->
1465 * @generated
1466 * @ordered
1467 */
1468 int REGULAR_STATE_FEATURE_COUNT = VERTEX_FEATURE_COUNT + 0;
1469
1470 /**
1471 * The number of operations of the '<em>Regular State</em>' class.
1472 * <!-- begin-user-doc -->
1473 * <!-- end-user-doc -->
1474 * @generated
1475 * @ordered
1476 */
1477 int REGULAR_STATE_OPERATION_COUNT = VERTEX_OPERATION_COUNT + 0;
1478
1479 /**
1480 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl <em>State</em>}' class.
1481 * <!-- begin-user-doc -->
1482 * <!-- end-user-doc -->
1483 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl
1484 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState()
1485 * @generated
1486 */
1487 int STATE = 7;
1488
1489 /**
1490 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1491 * <!-- begin-user-doc -->
1492 * <!-- end-user-doc -->
1493 * @generated
1494 * @ordered
1495 */
1496 int STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
1497
1498 /**
1499 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1500 * <!-- begin-user-doc -->
1501 * <!-- end-user-doc -->
1502 * @generated
1503 * @ordered
1504 */
1505 int STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
1506
1507 /**
1508 * The feature id for the '<em><b>Regions</b></em>' containment reference list.
1509 * <!-- begin-user-doc -->
1510 * <!-- end-user-doc -->
1511 * @generated
1512 * @ordered
1513 */
1514 int STATE__REGIONS = REGULAR_STATE_FEATURE_COUNT + 0;
1515
1516 /**
1517 * The number of structural features of the '<em>State</em>' class.
1518 * <!-- begin-user-doc -->
1519 * <!-- end-user-doc -->
1520 * @generated
1521 * @ordered
1522 */
1523 int STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 1;
1524
1525 /**
1526 * The number of operations of the '<em>State</em>' class.
1527 * <!-- begin-user-doc -->
1528 * <!-- end-user-doc -->
1529 * @generated
1530 * @ordered
1531 */
1532 int STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
1533
1534 /**
1535 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl <em>Choice</em>}' class.
1536 * <!-- begin-user-doc -->
1537 * <!-- end-user-doc -->
1538 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl
1539 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice()
1540 * @generated
1541 */
1542 int CHOICE = 10;
1543
1544 /**
1545 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1546 * <!-- begin-user-doc -->
1547 * <!-- end-user-doc -->
1548 * @generated
1549 * @ordered
1550 */
1551 int CHOICE__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
1552
1553 /**
1554 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1555 * <!-- begin-user-doc -->
1556 * <!-- end-user-doc -->
1557 * @generated
1558 * @ordered
1559 */
1560 int CHOICE__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
1561
1562 /**
1563 * The number of structural features of the '<em>Choice</em>' class.
1564 * <!-- begin-user-doc -->
1565 * <!-- end-user-doc -->
1566 * @generated
1567 * @ordered
1568 */
1569 int CHOICE_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
1570
1571 /**
1572 * The number of operations of the '<em>Choice</em>' class.
1573 * <!-- begin-user-doc -->
1574 * <!-- end-user-doc -->
1575 * @generated
1576 * @ordered
1577 */
1578 int CHOICE_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
1579
1580 /**
1581 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl <em>Exit</em>}' class.
1582 * <!-- begin-user-doc -->
1583 * <!-- end-user-doc -->
1584 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl
1585 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit()
1586 * @generated
1587 */
1588 int EXIT = 11;
1589
1590 /**
1591 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1592 * <!-- begin-user-doc -->
1593 * <!-- end-user-doc -->
1594 * @generated
1595 * @ordered
1596 */
1597 int EXIT__INCOMING_TRANSITIONS = PSEUDOSTATE__INCOMING_TRANSITIONS;
1598
1599 /**
1600 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1601 * <!-- begin-user-doc -->
1602 * <!-- end-user-doc -->
1603 * @generated
1604 * @ordered
1605 */
1606 int EXIT__OUTGOING_TRANSITIONS = PSEUDOSTATE__OUTGOING_TRANSITIONS;
1607
1608 /**
1609 * The number of structural features of the '<em>Exit</em>' class.
1610 * <!-- begin-user-doc -->
1611 * <!-- end-user-doc -->
1612 * @generated
1613 * @ordered
1614 */
1615 int EXIT_FEATURE_COUNT = PSEUDOSTATE_FEATURE_COUNT + 0;
1616
1617 /**
1618 * The number of operations of the '<em>Exit</em>' class.
1619 * <!-- begin-user-doc -->
1620 * <!-- end-user-doc -->
1621 * @generated
1622 * @ordered
1623 */
1624 int EXIT_OPERATION_COUNT = PSEUDOSTATE_OPERATION_COUNT + 0;
1625
1626 /**
1627 * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl <em>Final State</em>}' class.
1628 * <!-- begin-user-doc -->
1629 * <!-- end-user-doc -->
1630 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl
1631 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState()
1632 * @generated
1633 */
1634 int FINAL_STATE = 12;
1635
1636 /**
1637 * The feature id for the '<em><b>Incoming Transitions</b></em>' reference list.
1638 * <!-- begin-user-doc -->
1639 * <!-- end-user-doc -->
1640 * @generated
1641 * @ordered
1642 */
1643 int FINAL_STATE__INCOMING_TRANSITIONS = REGULAR_STATE__INCOMING_TRANSITIONS;
1644
1645 /**
1646 * The feature id for the '<em><b>Outgoing Transitions</b></em>' containment reference list.
1647 * <!-- begin-user-doc -->
1648 * <!-- end-user-doc -->
1649 * @generated
1650 * @ordered
1651 */
1652 int FINAL_STATE__OUTGOING_TRANSITIONS = REGULAR_STATE__OUTGOING_TRANSITIONS;
1653
1654 /**
1655 * The number of structural features of the '<em>Final State</em>' class.
1656 * <!-- begin-user-doc -->
1657 * <!-- end-user-doc -->
1658 * @generated
1659 * @ordered
1660 */
1661 int FINAL_STATE_FEATURE_COUNT = REGULAR_STATE_FEATURE_COUNT + 0;
1662
1663 /**
1664 * The number of operations of the '<em>Final State</em>' class.
1665 * <!-- begin-user-doc -->
1666 * <!-- end-user-doc -->
1667 * @generated
1668 * @ordered
1669 */
1670 int FINAL_STATE_OPERATION_COUNT = REGULAR_STATE_OPERATION_COUNT + 0;
1671
1672
1673 /**
1674 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</em>}'.
1675 * <!-- begin-user-doc -->
1676 * <!-- end-user-doc -->
1677 * @return the meta object for class '<em>Pseudostate</em>'.
1678 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate
1679 * @generated
1680 */
1681 EClass getPseudostate();
1682
1683 /**
1684 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'.
1685 * <!-- begin-user-doc -->
1686 * <!-- end-user-doc -->
1687 * @return the meta object for class '<em>Vertex</em>'.
1688 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex
1689 * @generated
1690 */
1691 EClass getVertex();
1692
1693 /**
1694 * Returns the meta object for the reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions <em>Incoming Transitions</em>}'.
1695 * <!-- begin-user-doc -->
1696 * <!-- end-user-doc -->
1697 * @return the meta object for the reference list '<em>Incoming Transitions</em>'.
1698 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getIncomingTransitions()
1699 * @see #getVertex()
1700 * @generated
1701 */
1702 EReference getVertex_IncomingTransitions();
1703
1704 /**
1705 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions <em>Outgoing Transitions</em>}'.
1706 * <!-- begin-user-doc -->
1707 * <!-- end-user-doc -->
1708 * @return the meta object for the containment reference list '<em>Outgoing Transitions</em>'.
1709 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex#getOutgoingTransitions()
1710 * @see #getVertex()
1711 * @generated
1712 */
1713 EReference getVertex_OutgoingTransitions();
1714
1715 /**
1716 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'.
1717 * <!-- begin-user-doc -->
1718 * <!-- end-user-doc -->
1719 * @return the meta object for class '<em>Region</em>'.
1720 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region
1721 * @generated
1722 */
1723 EClass getRegion();
1724
1725 /**
1726 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices <em>Vertices</em>}'.
1727 * <!-- begin-user-doc -->
1728 * <!-- end-user-doc -->
1729 * @return the meta object for the containment reference list '<em>Vertices</em>'.
1730 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region#getVertices()
1731 * @see #getRegion()
1732 * @generated
1733 */
1734 EReference getRegion_Vertices();
1735
1736 /**
1737 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'.
1738 * <!-- begin-user-doc -->
1739 * <!-- end-user-doc -->
1740 * @return the meta object for class '<em>Transition</em>'.
1741 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition
1742 * @generated
1743 */
1744 EClass getTransition();
1745
1746 /**
1747 * Returns the meta object for the reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget <em>Target</em>}'.
1748 * <!-- begin-user-doc -->
1749 * <!-- end-user-doc -->
1750 * @return the meta object for the reference '<em>Target</em>'.
1751 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getTarget()
1752 * @see #getTransition()
1753 * @generated
1754 */
1755 EReference getTransition_Target();
1756
1757 /**
1758 * Returns the meta object for the container reference '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource <em>Source</em>}'.
1759 * <!-- begin-user-doc -->
1760 * <!-- end-user-doc -->
1761 * @return the meta object for the container reference '<em>Source</em>'.
1762 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition#getSource()
1763 * @see #getTransition()
1764 * @generated
1765 */
1766 EReference getTransition_Source();
1767
1768 /**
1769 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'.
1770 * <!-- begin-user-doc -->
1771 * <!-- end-user-doc -->
1772 * @return the meta object for class '<em>Statechart</em>'.
1773 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart
1774 * @generated
1775 */
1776 EClass getStatechart();
1777
1778 /**
1779 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'.
1780 * <!-- begin-user-doc -->
1781 * <!-- end-user-doc -->
1782 * @return the meta object for class '<em>Entry</em>'.
1783 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry
1784 * @generated
1785 */
1786 EClass getEntry();
1787
1788 /**
1789 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'.
1790 * <!-- begin-user-doc -->
1791 * <!-- end-user-doc -->
1792 * @return the meta object for class '<em>Synchronization</em>'.
1793 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization
1794 * @generated
1795 */
1796 EClass getSynchronization();
1797
1798 /**
1799 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'.
1800 * <!-- begin-user-doc -->
1801 * <!-- end-user-doc -->
1802 * @return the meta object for class '<em>State</em>'.
1803 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State
1804 * @generated
1805 */
1806 EClass getState();
1807
1808 /**
1809 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'.
1810 * <!-- begin-user-doc -->
1811 * <!-- end-user-doc -->
1812 * @return the meta object for class '<em>Regular State</em>'.
1813 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState
1814 * @generated
1815 */
1816 EClass getRegularState();
1817
1818 /**
1819 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'.
1820 * <!-- begin-user-doc -->
1821 * <!-- end-user-doc -->
1822 * @return the meta object for class '<em>Composite Element</em>'.
1823 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement
1824 * @generated
1825 */
1826 EClass getCompositeElement();
1827
1828 /**
1829 * Returns the meta object for the containment reference list '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions <em>Regions</em>}'.
1830 * <!-- begin-user-doc -->
1831 * <!-- end-user-doc -->
1832 * @return the meta object for the containment reference list '<em>Regions</em>'.
1833 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement#getRegions()
1834 * @see #getCompositeElement()
1835 * @generated
1836 */
1837 EReference getCompositeElement_Regions();
1838
1839 /**
1840 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'.
1841 * <!-- begin-user-doc -->
1842 * <!-- end-user-doc -->
1843 * @return the meta object for class '<em>Choice</em>'.
1844 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice
1845 * @generated
1846 */
1847 EClass getChoice();
1848
1849 /**
1850 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'.
1851 * <!-- begin-user-doc -->
1852 * <!-- end-user-doc -->
1853 * @return the meta object for class '<em>Exit</em>'.
1854 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit
1855 * @generated
1856 */
1857 EClass getExit();
1858
1859 /**
1860 * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'.
1861 * <!-- begin-user-doc -->
1862 * <!-- end-user-doc -->
1863 * @return the meta object for class '<em>Final State</em>'.
1864 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState
1865 * @generated
1866 */
1867 EClass getFinalState();
1868
1869 /**
1870 * Returns the factory that creates the instances of the model.
1871 * <!-- begin-user-doc -->
1872 * <!-- end-user-doc -->
1873 * @return the factory that creates the instances of the model.
1874 * @generated
1875 */
1876 YakinduFactory getYakinduFactory();
1877
1878 /**
1879 * <!-- begin-user-doc -->
1880 * Defines literals for the meta objects that represent
1881 * <ul>
1882 * <li>each class,</li>
1883 * <li>each feature of each class,</li>
1884 * <li>each operation of each class,</li>
1885 * <li>each enum,</li>
1886 * <li>and each data type</li>
1887 * </ul>
1888 * <!-- end-user-doc -->
1889 * @generated
1890 */
1891 interface Literals {
1892 /**
1893 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl <em>Pseudostate</em>}' class.
1894 * <!-- begin-user-doc -->
1895 * <!-- end-user-doc -->
1896 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.PseudostateImpl
1897 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getPseudostate()
1898 * @generated
1899 */
1900 EClass PSEUDOSTATE = eINSTANCE.getPseudostate();
1901
1902 /**
1903 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl <em>Vertex</em>}' class.
1904 * <!-- begin-user-doc -->
1905 * <!-- end-user-doc -->
1906 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl
1907 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getVertex()
1908 * @generated
1909 */
1910 EClass VERTEX = eINSTANCE.getVertex();
1911
1912 /**
1913 * The meta object literal for the '<em><b>Incoming Transitions</b></em>' reference list feature.
1914 * <!-- begin-user-doc -->
1915 * <!-- end-user-doc -->
1916 * @generated
1917 */
1918 EReference VERTEX__INCOMING_TRANSITIONS = eINSTANCE.getVertex_IncomingTransitions();
1919
1920 /**
1921 * The meta object literal for the '<em><b>Outgoing Transitions</b></em>' containment reference list feature.
1922 * <!-- begin-user-doc -->
1923 * <!-- end-user-doc -->
1924 * @generated
1925 */
1926 EReference VERTEX__OUTGOING_TRANSITIONS = eINSTANCE.getVertex_OutgoingTransitions();
1927
1928 /**
1929 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl <em>Region</em>}' class.
1930 * <!-- begin-user-doc -->
1931 * <!-- end-user-doc -->
1932 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl
1933 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegion()
1934 * @generated
1935 */
1936 EClass REGION = eINSTANCE.getRegion();
1937
1938 /**
1939 * The meta object literal for the '<em><b>Vertices</b></em>' containment reference list feature.
1940 * <!-- begin-user-doc -->
1941 * <!-- end-user-doc -->
1942 * @generated
1943 */
1944 EReference REGION__VERTICES = eINSTANCE.getRegion_Vertices();
1945
1946 /**
1947 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl <em>Transition</em>}' class.
1948 * <!-- begin-user-doc -->
1949 * <!-- end-user-doc -->
1950 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl
1951 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getTransition()
1952 * @generated
1953 */
1954 EClass TRANSITION = eINSTANCE.getTransition();
1955
1956 /**
1957 * The meta object literal for the '<em><b>Target</b></em>' reference feature.
1958 * <!-- begin-user-doc -->
1959 * <!-- end-user-doc -->
1960 * @generated
1961 */
1962 EReference TRANSITION__TARGET = eINSTANCE.getTransition_Target();
1963
1964 /**
1965 * The meta object literal for the '<em><b>Source</b></em>' container reference feature.
1966 * <!-- begin-user-doc -->
1967 * <!-- end-user-doc -->
1968 * @generated
1969 */
1970 EReference TRANSITION__SOURCE = eINSTANCE.getTransition_Source();
1971
1972 /**
1973 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl <em>Statechart</em>}' class.
1974 * <!-- begin-user-doc -->
1975 * <!-- end-user-doc -->
1976 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StatechartImpl
1977 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getStatechart()
1978 * @generated
1979 */
1980 EClass STATECHART = eINSTANCE.getStatechart();
1981
1982 /**
1983 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl <em>Entry</em>}' class.
1984 * <!-- begin-user-doc -->
1985 * <!-- end-user-doc -->
1986 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.EntryImpl
1987 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getEntry()
1988 * @generated
1989 */
1990 EClass ENTRY = eINSTANCE.getEntry();
1991
1992 /**
1993 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl <em>Synchronization</em>}' class.
1994 * <!-- begin-user-doc -->
1995 * <!-- end-user-doc -->
1996 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.SynchronizationImpl
1997 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getSynchronization()
1998 * @generated
1999 */
2000 EClass SYNCHRONIZATION = eINSTANCE.getSynchronization();
2001
2002 /**
2003 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl <em>State</em>}' class.
2004 * <!-- begin-user-doc -->
2005 * <!-- end-user-doc -->
2006 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl
2007 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getState()
2008 * @generated
2009 */
2010 EClass STATE = eINSTANCE.getState();
2011
2012 /**
2013 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl <em>Regular State</em>}' class.
2014 * <!-- begin-user-doc -->
2015 * <!-- end-user-doc -->
2016 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegularStateImpl
2017 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getRegularState()
2018 * @generated
2019 */
2020 EClass REGULAR_STATE = eINSTANCE.getRegularState();
2021
2022 /**
2023 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl <em>Composite Element</em>}' class.
2024 * <!-- begin-user-doc -->
2025 * <!-- end-user-doc -->
2026 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl
2027 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getCompositeElement()
2028 * @generated
2029 */
2030 EClass COMPOSITE_ELEMENT = eINSTANCE.getCompositeElement();
2031
2032 /**
2033 * The meta object literal for the '<em><b>Regions</b></em>' containment reference list feature.
2034 * <!-- begin-user-doc -->
2035 * <!-- end-user-doc -->
2036 * @generated
2037 */
2038 EReference COMPOSITE_ELEMENT__REGIONS = eINSTANCE.getCompositeElement_Regions();
2039
2040 /**
2041 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl <em>Choice</em>}' class.
2042 * <!-- begin-user-doc -->
2043 * <!-- end-user-doc -->
2044 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ChoiceImpl
2045 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getChoice()
2046 * @generated
2047 */
2048 EClass CHOICE = eINSTANCE.getChoice();
2049
2050 /**
2051 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl <em>Exit</em>}' class.
2052 * <!-- begin-user-doc -->
2053 * <!-- end-user-doc -->
2054 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.ExitImpl
2055 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getExit()
2056 * @generated
2057 */
2058 EClass EXIT = eINSTANCE.getExit();
2059
2060 /**
2061 * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl <em>Final State</em>}' class.
2062 * <!-- begin-user-doc -->
2063 * <!-- end-user-doc -->
2064 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.FinalStateImpl
2065 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.YakinduPackageImpl#getFinalState()
2066 * @generated
2067 */
2068 EClass FINAL_STATE = eINSTANCE.getFinalState();
2069
2070 }
2071
2072} //YakinduPackage
2073>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/YakinduPackage.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java
new file mode 100644
index 00000000..d568627b
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java
@@ -0,0 +1,77 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ChoiceImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
8
9import org.eclipse.emf.ecore.EClass;
10
11/**
12 * <!-- begin-user-doc -->
13 * An implementation of the model object '<em><b>Choice</b></em>'.
14 * <!-- end-user-doc -->
15 *
16 * @generated
17 */
18public class ChoiceImpl extends PseudostateImpl implements Choice {
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ChoiceImpl() {
25 super();
26 }
27
28 /**
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 @Override
34 protected EClass eStaticClass() {
35 return YakindummPackage.Literals.CHOICE;
36 }
37
38} //ChoiceImpl
39=======
40/**
41 */
42package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
43
44import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice;
45import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
46
47import org.eclipse.emf.ecore.EClass;
48
49/**
50 * <!-- begin-user-doc -->
51 * An implementation of the model object '<em><b>Choice</b></em>'.
52 * <!-- end-user-doc -->
53 *
54 * @generated
55 */
56public class ChoiceImpl extends PseudostateImpl implements Choice {
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 protected ChoiceImpl() {
63 super();
64 }
65
66 /**
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 @Override
72 protected EClass eStaticClass() {
73 return YakinduPackage.Literals.CHOICE;
74 }
75
76} //ChoiceImpl
77>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java
new file mode 100644
index 00000000..cca7e386
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java
@@ -0,0 +1,307 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/CompositeElementImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region;
8import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
9
10import java.util.Collection;
11
12import org.eclipse.emf.common.notify.NotificationChain;
13
14import org.eclipse.emf.common.util.EList;
15
16import org.eclipse.emf.ecore.EClass;
17import org.eclipse.emf.ecore.InternalEObject;
18
19import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
20
21import org.eclipse.emf.ecore.util.EObjectContainmentEList;
22import org.eclipse.emf.ecore.util.InternalEList;
23
24/**
25 * <!-- begin-user-doc -->
26 * An implementation of the model object '<em><b>Composite Element</b></em>'.
27 * <!-- end-user-doc -->
28 * <p>
29 * The following features are implemented:
30 * </p>
31 * <ul>
32 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.CompositeElementImpl#getRegions <em>Regions</em>}</li>
33 * </ul>
34 *
35 * @generated
36 */
37public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container implements CompositeElement {
38 /**
39 * The cached value of the '{@link #getRegions() <em>Regions</em>}' containment reference list.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #getRegions()
43 * @generated
44 * @ordered
45 */
46 protected EList<Region> regions;
47
48 /**
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 protected CompositeElementImpl() {
54 super();
55 }
56
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 @Override
63 protected EClass eStaticClass() {
64 return YakindummPackage.Literals.COMPOSITE_ELEMENT;
65 }
66
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 public EList<Region> getRegions() {
73 if (regions == null) {
74 regions = new EObjectContainmentEList<Region>(Region.class, this, YakindummPackage.COMPOSITE_ELEMENT__REGIONS);
75 }
76 return regions;
77 }
78
79 /**
80 * <!-- begin-user-doc -->
81 * <!-- end-user-doc -->
82 * @generated
83 */
84 @Override
85 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
86 switch (featureID) {
87 case YakindummPackage.COMPOSITE_ELEMENT__REGIONS:
88 return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs);
89 }
90 return super.eInverseRemove(otherEnd, featureID, msgs);
91 }
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 @Override
99 public Object eGet(int featureID, boolean resolve, boolean coreType) {
100 switch (featureID) {
101 case YakindummPackage.COMPOSITE_ELEMENT__REGIONS:
102 return getRegions();
103 }
104 return super.eGet(featureID, resolve, coreType);
105 }
106
107 /**
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 */
112 @SuppressWarnings("unchecked")
113 @Override
114 public void eSet(int featureID, Object newValue) {
115 switch (featureID) {
116 case YakindummPackage.COMPOSITE_ELEMENT__REGIONS:
117 getRegions().clear();
118 getRegions().addAll((Collection<? extends Region>)newValue);
119 return;
120 }
121 super.eSet(featureID, newValue);
122 }
123
124 /**
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @generated
128 */
129 @Override
130 public void eUnset(int featureID) {
131 switch (featureID) {
132 case YakindummPackage.COMPOSITE_ELEMENT__REGIONS:
133 getRegions().clear();
134 return;
135 }
136 super.eUnset(featureID);
137 }
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 @Override
145 public boolean eIsSet(int featureID) {
146 switch (featureID) {
147 case YakindummPackage.COMPOSITE_ELEMENT__REGIONS:
148 return regions != null && !regions.isEmpty();
149 }
150 return super.eIsSet(featureID);
151 }
152
153} //CompositeElementImpl
154=======
155/**
156 */
157package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
158
159import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
160import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
161import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
162
163import java.util.Collection;
164
165import org.eclipse.emf.common.notify.NotificationChain;
166
167import org.eclipse.emf.common.util.EList;
168
169import org.eclipse.emf.ecore.EClass;
170import org.eclipse.emf.ecore.InternalEObject;
171
172import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
173
174import org.eclipse.emf.ecore.util.EObjectContainmentEList;
175import org.eclipse.emf.ecore.util.InternalEList;
176
177/**
178 * <!-- begin-user-doc -->
179 * An implementation of the model object '<em><b>Composite Element</b></em>'.
180 * <!-- end-user-doc -->
181 * <p>
182 * The following features are implemented:
183 * </p>
184 * <ul>
185 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.CompositeElementImpl#getRegions <em>Regions</em>}</li>
186 * </ul>
187 *
188 * @generated
189 */
190public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container implements CompositeElement {
191 /**
192 * The cached value of the '{@link #getRegions() <em>Regions</em>}' containment reference list.
193 * <!-- begin-user-doc -->
194 * <!-- end-user-doc -->
195 * @see #getRegions()
196 * @generated
197 * @ordered
198 */
199 protected EList<Region> regions;
200
201 /**
202 * <!-- begin-user-doc -->
203 * <!-- end-user-doc -->
204 * @generated
205 */
206 protected CompositeElementImpl() {
207 super();
208 }
209
210 /**
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @generated
214 */
215 @Override
216 protected EClass eStaticClass() {
217 return YakinduPackage.Literals.COMPOSITE_ELEMENT;
218 }
219
220 /**
221 * <!-- begin-user-doc -->
222 * <!-- end-user-doc -->
223 * @generated
224 */
225 public EList<Region> getRegions() {
226 if (regions == null) {
227 regions = new EObjectContainmentEList<Region>(Region.class, this, YakinduPackage.COMPOSITE_ELEMENT__REGIONS);
228 }
229 return regions;
230 }
231
232 /**
233 * <!-- begin-user-doc -->
234 * <!-- end-user-doc -->
235 * @generated
236 */
237 @Override
238 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
239 switch (featureID) {
240 case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
241 return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs);
242 }
243 return super.eInverseRemove(otherEnd, featureID, msgs);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public Object eGet(int featureID, boolean resolve, boolean coreType) {
253 switch (featureID) {
254 case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
255 return getRegions();
256 }
257 return super.eGet(featureID, resolve, coreType);
258 }
259
260 /**
261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc -->
263 * @generated
264 */
265 @SuppressWarnings("unchecked")
266 @Override
267 public void eSet(int featureID, Object newValue) {
268 switch (featureID) {
269 case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
270 getRegions().clear();
271 getRegions().addAll((Collection<? extends Region>)newValue);
272 return;
273 }
274 super.eSet(featureID, newValue);
275 }
276
277 /**
278 * <!-- begin-user-doc -->
279 * <!-- end-user-doc -->
280 * @generated
281 */
282 @Override
283 public void eUnset(int featureID) {
284 switch (featureID) {
285 case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
286 getRegions().clear();
287 return;
288 }
289 super.eUnset(featureID);
290 }
291
292 /**
293 * <!-- begin-user-doc -->
294 * <!-- end-user-doc -->
295 * @generated
296 */
297 @Override
298 public boolean eIsSet(int featureID) {
299 switch (featureID) {
300 case YakinduPackage.COMPOSITE_ELEMENT__REGIONS:
301 return regions != null && !regions.isEmpty();
302 }
303 return super.eIsSet(featureID);
304 }
305
306} //CompositeElementImpl
307>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/EntryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/EntryImpl.java
new file mode 100644
index 00000000..0ad87100
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/EntryImpl.java
@@ -0,0 +1,163 @@
1/**
2 */
3package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
4
5import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry;
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
8
9import org.eclipse.emf.common.notify.Notification;
10
11import org.eclipse.emf.ecore.EClass;
12
13import org.eclipse.emf.ecore.impl.ENotificationImpl;
14
15/**
16 * <!-- begin-user-doc -->
17 * An implementation of the model object '<em><b>Entry</b></em>'.
18 * <!-- end-user-doc -->
19 * <p>
20 * The following features are implemented:
21 * </p>
22 * <ul>
23 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.EntryImpl#getType <em>Type</em>}</li>
24 * </ul>
25 *
26 * @generated
27 */
28public class EntryImpl extends PseudostateImpl implements Entry {
29 /**
30 * The default value of the '{@link #getType() <em>Type</em>}' attribute.
31 * <!-- begin-user-doc -->
32 * <!-- end-user-doc -->
33 * @see #getType()
34 * @generated
35 * @ordered
36 */
37 protected static final EntryType TYPE_EDEFAULT = EntryType.NORMAL;
38
39 /**
40 * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
41 * <!-- begin-user-doc -->
42 * <!-- end-user-doc -->
43 * @see #getType()
44 * @generated
45 * @ordered
46 */
47 protected EntryType type = TYPE_EDEFAULT;
48
49 /**
50 * <!-- begin-user-doc -->
51 * <!-- end-user-doc -->
52 * @generated
53 */
54 protected EntryImpl() {
55 super();
56 }
57
58 /**
59 * <!-- begin-user-doc -->
60 * <!-- end-user-doc -->
61 * @generated
62 */
63 @Override
64 protected EClass eStaticClass() {
65 return YakindummPackage.Literals.ENTRY;
66 }
67
68 /**
69 * <!-- begin-user-doc -->
70 * <!-- end-user-doc -->
71 * @generated
72 */
73 public EntryType getType() {
74 return type;
75 }
76
77 /**
78 * <!-- begin-user-doc -->
79 * <!-- end-user-doc -->
80 * @generated
81 */
82 public void setType(EntryType newType) {
83 EntryType oldType = type;
84 type = newType == null ? TYPE_EDEFAULT : newType;
85 if (eNotificationRequired())
86 eNotify(new ENotificationImpl(this, Notification.SET, YakindummPackage.ENTRY__TYPE, oldType, type));
87 }
88
89 /**
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @generated
93 */
94 @Override
95 public Object eGet(int featureID, boolean resolve, boolean coreType) {
96 switch (featureID) {
97 case YakindummPackage.ENTRY__TYPE:
98 return getType();
99 }
100 return super.eGet(featureID, resolve, coreType);
101 }
102
103 /**
104 * <!-- begin-user-doc -->
105 * <!-- end-user-doc -->
106 * @generated
107 */
108 @Override
109 public void eSet(int featureID, Object newValue) {
110 switch (featureID) {
111 case YakindummPackage.ENTRY__TYPE:
112 setType((EntryType)newValue);
113 return;
114 }
115 super.eSet(featureID, newValue);
116 }
117
118 /**
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 */
123 @Override
124 public void eUnset(int featureID) {
125 switch (featureID) {
126 case YakindummPackage.ENTRY__TYPE:
127 setType(TYPE_EDEFAULT);
128 return;
129 }
130 super.eUnset(featureID);
131 }
132
133 /**
134 * <!-- begin-user-doc -->
135 * <!-- end-user-doc -->
136 * @generated
137 */
138 @Override
139 public boolean eIsSet(int featureID) {
140 switch (featureID) {
141 case YakindummPackage.ENTRY__TYPE:
142 return type != TYPE_EDEFAULT;
143 }
144 return super.eIsSet(featureID);
145 }
146
147 /**
148 * <!-- begin-user-doc -->
149 * <!-- end-user-doc -->
150 * @generated
151 */
152 @Override
153 public String toString() {
154 if (eIsProxy()) return super.toString();
155
156 StringBuilder result = new StringBuilder(super.toString());
157 result.append(" (Type: ");
158 result.append(type);
159 result.append(')');
160 return result.toString();
161 }
162
163} //EntryImpl
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java
new file mode 100644
index 00000000..136bb7aa
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java
@@ -0,0 +1,77 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/ExitImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
8
9import org.eclipse.emf.ecore.EClass;
10
11/**
12 * <!-- begin-user-doc -->
13 * An implementation of the model object '<em><b>Exit</b></em>'.
14 * <!-- end-user-doc -->
15 *
16 * @generated
17 */
18public class ExitImpl extends PseudostateImpl implements Exit {
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected ExitImpl() {
25 super();
26 }
27
28 /**
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 @Override
34 protected EClass eStaticClass() {
35 return YakindummPackage.Literals.EXIT;
36 }
37
38} //ExitImpl
39=======
40/**
41 */
42package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
43
44import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit;
45import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
46
47import org.eclipse.emf.ecore.EClass;
48
49/**
50 * <!-- begin-user-doc -->
51 * An implementation of the model object '<em><b>Exit</b></em>'.
52 * <!-- end-user-doc -->
53 *
54 * @generated
55 */
56public class ExitImpl extends PseudostateImpl implements Exit {
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 protected ExitImpl() {
63 super();
64 }
65
66 /**
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 @Override
72 protected EClass eStaticClass() {
73 return YakinduPackage.Literals.EXIT;
74 }
75
76} //ExitImpl
77>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java
new file mode 100644
index 00000000..4607e363
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java
@@ -0,0 +1,77 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/FinalStateImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
8
9import org.eclipse.emf.ecore.EClass;
10
11/**
12 * <!-- begin-user-doc -->
13 * An implementation of the model object '<em><b>Final State</b></em>'.
14 * <!-- end-user-doc -->
15 *
16 * @generated
17 */
18public class FinalStateImpl extends RegularStateImpl implements FinalState {
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected FinalStateImpl() {
25 super();
26 }
27
28 /**
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 @Override
34 protected EClass eStaticClass() {
35 return YakindummPackage.Literals.FINAL_STATE;
36 }
37
38} //FinalStateImpl
39=======
40/**
41 */
42package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
43
44import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState;
45import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
46
47import org.eclipse.emf.ecore.EClass;
48
49/**
50 * <!-- begin-user-doc -->
51 * An implementation of the model object '<em><b>Final State</b></em>'.
52 * <!-- end-user-doc -->
53 *
54 * @generated
55 */
56public class FinalStateImpl extends RegularStateImpl implements FinalState {
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 protected FinalStateImpl() {
63 super();
64 }
65
66 /**
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 @Override
72 protected EClass eStaticClass() {
73 return YakinduPackage.Literals.FINAL_STATE;
74 }
75
76} //FinalStateImpl
77>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java
new file mode 100644
index 00000000..66be23f2
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java
@@ -0,0 +1,77 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/PseudostateImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
8
9import org.eclipse.emf.ecore.EClass;
10
11/**
12 * <!-- begin-user-doc -->
13 * An implementation of the model object '<em><b>Pseudostate</b></em>'.
14 * <!-- end-user-doc -->
15 *
16 * @generated
17 */
18public abstract class PseudostateImpl extends VertexImpl implements Pseudostate {
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected PseudostateImpl() {
25 super();
26 }
27
28 /**
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 @Override
34 protected EClass eStaticClass() {
35 return YakindummPackage.Literals.PSEUDOSTATE;
36 }
37
38} //PseudostateImpl
39=======
40/**
41 */
42package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
43
44import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate;
45import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
46
47import org.eclipse.emf.ecore.EClass;
48
49/**
50 * <!-- begin-user-doc -->
51 * An implementation of the model object '<em><b>Pseudostate</b></em>'.
52 * <!-- end-user-doc -->
53 *
54 * @generated
55 */
56public abstract class PseudostateImpl extends VertexImpl implements Pseudostate {
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 protected PseudostateImpl() {
63 super();
64 }
65
66 /**
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 @Override
72 protected EClass eStaticClass() {
73 return YakinduPackage.Literals.PSEUDOSTATE;
74 }
75
76} //PseudostateImpl
77>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java
new file mode 100644
index 00000000..c384ce06
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java
@@ -0,0 +1,307 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegionImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex;
8import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
9
10import java.util.Collection;
11
12import org.eclipse.emf.common.notify.NotificationChain;
13
14import org.eclipse.emf.common.util.EList;
15
16import org.eclipse.emf.ecore.EClass;
17import org.eclipse.emf.ecore.InternalEObject;
18
19import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
20
21import org.eclipse.emf.ecore.util.EObjectContainmentEList;
22import org.eclipse.emf.ecore.util.InternalEList;
23
24/**
25 * <!-- begin-user-doc -->
26 * An implementation of the model object '<em><b>Region</b></em>'.
27 * <!-- end-user-doc -->
28 * <p>
29 * The following features are implemented:
30 * </p>
31 * <ul>
32 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.RegionImpl#getVertices <em>Vertices</em>}</li>
33 * </ul>
34 *
35 * @generated
36 */
37public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
38 /**
39 * The cached value of the '{@link #getVertices() <em>Vertices</em>}' containment reference list.
40 * <!-- begin-user-doc -->
41 * <!-- end-user-doc -->
42 * @see #getVertices()
43 * @generated
44 * @ordered
45 */
46 protected EList<Vertex> vertices;
47
48 /**
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @generated
52 */
53 protected RegionImpl() {
54 super();
55 }
56
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 @Override
63 protected EClass eStaticClass() {
64 return YakindummPackage.Literals.REGION;
65 }
66
67 /**
68 * <!-- begin-user-doc -->
69 * <!-- end-user-doc -->
70 * @generated
71 */
72 public EList<Vertex> getVertices() {
73 if (vertices == null) {
74 vertices = new EObjectContainmentEList<Vertex>(Vertex.class, this, YakindummPackage.REGION__VERTICES);
75 }
76 return vertices;
77 }
78
79 /**
80 * <!-- begin-user-doc -->
81 * <!-- end-user-doc -->
82 * @generated
83 */
84 @Override
85 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
86 switch (featureID) {
87 case YakindummPackage.REGION__VERTICES:
88 return ((InternalEList<?>)getVertices()).basicRemove(otherEnd, msgs);
89 }
90 return super.eInverseRemove(otherEnd, featureID, msgs);
91 }
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 @Override
99 public Object eGet(int featureID, boolean resolve, boolean coreType) {
100 switch (featureID) {
101 case YakindummPackage.REGION__VERTICES:
102 return getVertices();
103 }
104 return super.eGet(featureID, resolve, coreType);
105 }
106
107 /**
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 */
112 @SuppressWarnings("unchecked")
113 @Override
114 public void eSet(int featureID, Object newValue) {
115 switch (featureID) {
116 case YakindummPackage.REGION__VERTICES:
117 getVertices().clear();
118 getVertices().addAll((Collection<? extends Vertex>)newValue);
119 return;
120 }
121 super.eSet(featureID, newValue);
122 }
123
124 /**
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @generated
128 */
129 @Override
130 public void eUnset(int featureID) {
131 switch (featureID) {
132 case YakindummPackage.REGION__VERTICES:
133 getVertices().clear();
134 return;
135 }
136 super.eUnset(featureID);
137 }
138
139 /**
140 * <!-- begin-user-doc -->
141 * <!-- end-user-doc -->
142 * @generated
143 */
144 @Override
145 public boolean eIsSet(int featureID) {
146 switch (featureID) {
147 case YakindummPackage.REGION__VERTICES:
148 return vertices != null && !vertices.isEmpty();
149 }
150 return super.eIsSet(featureID);
151 }
152
153} //RegionImpl
154=======
155/**
156 */
157package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
158
159import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
160import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
161import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
162
163import java.util.Collection;
164
165import org.eclipse.emf.common.notify.NotificationChain;
166
167import org.eclipse.emf.common.util.EList;
168
169import org.eclipse.emf.ecore.EClass;
170import org.eclipse.emf.ecore.InternalEObject;
171
172import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
173
174import org.eclipse.emf.ecore.util.EObjectContainmentEList;
175import org.eclipse.emf.ecore.util.InternalEList;
176
177/**
178 * <!-- begin-user-doc -->
179 * An implementation of the model object '<em><b>Region</b></em>'.
180 * <!-- end-user-doc -->
181 * <p>
182 * The following features are implemented:
183 * </p>
184 * <ul>
185 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.RegionImpl#getVertices <em>Vertices</em>}</li>
186 * </ul>
187 *
188 * @generated
189 */
190public class RegionImpl extends MinimalEObjectImpl.Container implements Region {
191 /**
192 * The cached value of the '{@link #getVertices() <em>Vertices</em>}' containment reference list.
193 * <!-- begin-user-doc -->
194 * <!-- end-user-doc -->
195 * @see #getVertices()
196 * @generated
197 * @ordered
198 */
199 protected EList<Vertex> vertices;
200
201 /**
202 * <!-- begin-user-doc -->
203 * <!-- end-user-doc -->
204 * @generated
205 */
206 protected RegionImpl() {
207 super();
208 }
209
210 /**
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @generated
214 */
215 @Override
216 protected EClass eStaticClass() {
217 return YakinduPackage.Literals.REGION;
218 }
219
220 /**
221 * <!-- begin-user-doc -->
222 * <!-- end-user-doc -->
223 * @generated
224 */
225 public EList<Vertex> getVertices() {
226 if (vertices == null) {
227 vertices = new EObjectContainmentEList<Vertex>(Vertex.class, this, YakinduPackage.REGION__VERTICES);
228 }
229 return vertices;
230 }
231
232 /**
233 * <!-- begin-user-doc -->
234 * <!-- end-user-doc -->
235 * @generated
236 */
237 @Override
238 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
239 switch (featureID) {
240 case YakinduPackage.REGION__VERTICES:
241 return ((InternalEList<?>)getVertices()).basicRemove(otherEnd, msgs);
242 }
243 return super.eInverseRemove(otherEnd, featureID, msgs);
244 }
245
246 /**
247 * <!-- begin-user-doc -->
248 * <!-- end-user-doc -->
249 * @generated
250 */
251 @Override
252 public Object eGet(int featureID, boolean resolve, boolean coreType) {
253 switch (featureID) {
254 case YakinduPackage.REGION__VERTICES:
255 return getVertices();
256 }
257 return super.eGet(featureID, resolve, coreType);
258 }
259
260 /**
261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc -->
263 * @generated
264 */
265 @SuppressWarnings("unchecked")
266 @Override
267 public void eSet(int featureID, Object newValue) {
268 switch (featureID) {
269 case YakinduPackage.REGION__VERTICES:
270 getVertices().clear();
271 getVertices().addAll((Collection<? extends Vertex>)newValue);
272 return;
273 }
274 super.eSet(featureID, newValue);
275 }
276
277 /**
278 * <!-- begin-user-doc -->
279 * <!-- end-user-doc -->
280 * @generated
281 */
282 @Override
283 public void eUnset(int featureID) {
284 switch (featureID) {
285 case YakinduPackage.REGION__VERTICES:
286 getVertices().clear();
287 return;
288 }
289 super.eUnset(featureID);
290 }
291
292 /**
293 * <!-- begin-user-doc -->
294 * <!-- end-user-doc -->
295 * @generated
296 */
297 @Override
298 public boolean eIsSet(int featureID) {
299 switch (featureID) {
300 case YakinduPackage.REGION__VERTICES:
301 return vertices != null && !vertices.isEmpty();
302 }
303 return super.eIsSet(featureID);
304 }
305
306} //RegionImpl
307>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java
new file mode 100644
index 00000000..64a97e60
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java
@@ -0,0 +1,77 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/RegularStateImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
8
9import org.eclipse.emf.ecore.EClass;
10
11/**
12 * <!-- begin-user-doc -->
13 * An implementation of the model object '<em><b>Regular State</b></em>'.
14 * <!-- end-user-doc -->
15 *
16 * @generated
17 */
18public abstract class RegularStateImpl extends VertexImpl implements RegularState {
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected RegularStateImpl() {
25 super();
26 }
27
28 /**
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 @Override
34 protected EClass eStaticClass() {
35 return YakindummPackage.Literals.REGULAR_STATE;
36 }
37
38} //RegularStateImpl
39=======
40/**
41 */
42package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
43
44import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState;
45import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
46
47import org.eclipse.emf.ecore.EClass;
48
49/**
50 * <!-- begin-user-doc -->
51 * An implementation of the model object '<em><b>Regular State</b></em>'.
52 * <!-- end-user-doc -->
53 *
54 * @generated
55 */
56public abstract class RegularStateImpl extends VertexImpl implements RegularState {
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 protected RegularStateImpl() {
63 super();
64 }
65
66 /**
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 @Override
72 protected EClass eStaticClass() {
73 return YakinduPackage.Literals.REGULAR_STATE;
74 }
75
76} //RegularStateImpl
77>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java
new file mode 100644
index 00000000..10e619ab
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java
@@ -0,0 +1,369 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StateImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region;
8import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State;
9import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
10
11import java.util.Collection;
12
13import org.eclipse.emf.common.notify.NotificationChain;
14
15import org.eclipse.emf.common.util.EList;
16
17import org.eclipse.emf.ecore.EClass;
18import org.eclipse.emf.ecore.InternalEObject;
19
20import org.eclipse.emf.ecore.util.EObjectContainmentEList;
21import org.eclipse.emf.ecore.util.InternalEList;
22
23/**
24 * <!-- begin-user-doc -->
25 * An implementation of the model object '<em><b>State</b></em>'.
26 * <!-- end-user-doc -->
27 * <p>
28 * The following features are implemented:
29 * </p>
30 * <ul>
31 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.StateImpl#getRegions <em>Regions</em>}</li>
32 * </ul>
33 *
34 * @generated
35 */
36public class StateImpl extends RegularStateImpl implements State {
37 /**
38 * The cached value of the '{@link #getRegions() <em>Regions</em>}' containment reference list.
39 * <!-- begin-user-doc -->
40 * <!-- end-user-doc -->
41 * @see #getRegions()
42 * @generated
43 * @ordered
44 */
45 protected EList<Region> regions;
46
47 /**
48 * <!-- begin-user-doc -->
49 * <!-- end-user-doc -->
50 * @generated
51 */
52 protected StateImpl() {
53 super();
54 }
55
56 /**
57 * <!-- begin-user-doc -->
58 * <!-- end-user-doc -->
59 * @generated
60 */
61 @Override
62 protected EClass eStaticClass() {
63 return YakindummPackage.Literals.STATE;
64 }
65
66 /**
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 public EList<Region> getRegions() {
72 if (regions == null) {
73 regions = new EObjectContainmentEList<Region>(Region.class, this, YakindummPackage.STATE__REGIONS);
74 }
75 return regions;
76 }
77
78 /**
79 * <!-- begin-user-doc -->
80 * <!-- end-user-doc -->
81 * @generated
82 */
83 @Override
84 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
85 switch (featureID) {
86 case YakindummPackage.STATE__REGIONS:
87 return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs);
88 }
89 return super.eInverseRemove(otherEnd, featureID, msgs);
90 }
91
92 /**
93 * <!-- begin-user-doc -->
94 * <!-- end-user-doc -->
95 * @generated
96 */
97 @Override
98 public Object eGet(int featureID, boolean resolve, boolean coreType) {
99 switch (featureID) {
100 case YakindummPackage.STATE__REGIONS:
101 return getRegions();
102 }
103 return super.eGet(featureID, resolve, coreType);
104 }
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 @SuppressWarnings("unchecked")
112 @Override
113 public void eSet(int featureID, Object newValue) {
114 switch (featureID) {
115 case YakindummPackage.STATE__REGIONS:
116 getRegions().clear();
117 getRegions().addAll((Collection<? extends Region>)newValue);
118 return;
119 }
120 super.eSet(featureID, newValue);
121 }
122
123 /**
124 * <!-- begin-user-doc -->
125 * <!-- end-user-doc -->
126 * @generated
127 */
128 @Override
129 public void eUnset(int featureID) {
130 switch (featureID) {
131 case YakindummPackage.STATE__REGIONS:
132 getRegions().clear();
133 return;
134 }
135 super.eUnset(featureID);
136 }
137
138 /**
139 * <!-- begin-user-doc -->
140 * <!-- end-user-doc -->
141 * @generated
142 */
143 @Override
144 public boolean eIsSet(int featureID) {
145 switch (featureID) {
146 case YakindummPackage.STATE__REGIONS:
147 return regions != null && !regions.isEmpty();
148 }
149 return super.eIsSet(featureID);
150 }
151
152 /**
153 * <!-- begin-user-doc -->
154 * <!-- end-user-doc -->
155 * @generated
156 */
157 @Override
158 public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
159 if (baseClass == CompositeElement.class) {
160 switch (derivedFeatureID) {
161 case YakindummPackage.STATE__REGIONS: return YakindummPackage.COMPOSITE_ELEMENT__REGIONS;
162 default: return -1;
163 }
164 }
165 return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
166 }
167
168 /**
169 * <!-- begin-user-doc -->
170 * <!-- end-user-doc -->
171 * @generated
172 */
173 @Override
174 public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
175 if (baseClass == CompositeElement.class) {
176 switch (baseFeatureID) {
177 case YakindummPackage.COMPOSITE_ELEMENT__REGIONS: return YakindummPackage.STATE__REGIONS;
178 default: return -1;
179 }
180 }
181 return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
182 }
183
184} //StateImpl
185=======
186/**
187 */
188package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
189
190import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
191import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
192import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State;
193import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
194
195import java.util.Collection;
196
197import org.eclipse.emf.common.notify.NotificationChain;
198
199import org.eclipse.emf.common.util.EList;
200
201import org.eclipse.emf.ecore.EClass;
202import org.eclipse.emf.ecore.InternalEObject;
203
204import org.eclipse.emf.ecore.util.EObjectContainmentEList;
205import org.eclipse.emf.ecore.util.InternalEList;
206
207/**
208 * <!-- begin-user-doc -->
209 * An implementation of the model object '<em><b>State</b></em>'.
210 * <!-- end-user-doc -->
211 * <p>
212 * The following features are implemented:
213 * </p>
214 * <ul>
215 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.StateImpl#getRegions <em>Regions</em>}</li>
216 * </ul>
217 *
218 * @generated
219 */
220public class StateImpl extends RegularStateImpl implements State {
221 /**
222 * The cached value of the '{@link #getRegions() <em>Regions</em>}' containment reference list.
223 * <!-- begin-user-doc -->
224 * <!-- end-user-doc -->
225 * @see #getRegions()
226 * @generated
227 * @ordered
228 */
229 protected EList<Region> regions;
230
231 /**
232 * <!-- begin-user-doc -->
233 * <!-- end-user-doc -->
234 * @generated
235 */
236 protected StateImpl() {
237 super();
238 }
239
240 /**
241 * <!-- begin-user-doc -->
242 * <!-- end-user-doc -->
243 * @generated
244 */
245 @Override
246 protected EClass eStaticClass() {
247 return YakinduPackage.Literals.STATE;
248 }
249
250 /**
251 * <!-- begin-user-doc -->
252 * <!-- end-user-doc -->
253 * @generated
254 */
255 public EList<Region> getRegions() {
256 if (regions == null) {
257 regions = new EObjectContainmentEList<Region>(Region.class, this, YakinduPackage.STATE__REGIONS);
258 }
259 return regions;
260 }
261
262 /**
263 * <!-- begin-user-doc -->
264 * <!-- end-user-doc -->
265 * @generated
266 */
267 @Override
268 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
269 switch (featureID) {
270 case YakinduPackage.STATE__REGIONS:
271 return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs);
272 }
273 return super.eInverseRemove(otherEnd, featureID, msgs);
274 }
275
276 /**
277 * <!-- begin-user-doc -->
278 * <!-- end-user-doc -->
279 * @generated
280 */
281 @Override
282 public Object eGet(int featureID, boolean resolve, boolean coreType) {
283 switch (featureID) {
284 case YakinduPackage.STATE__REGIONS:
285 return getRegions();
286 }
287 return super.eGet(featureID, resolve, coreType);
288 }
289
290 /**
291 * <!-- begin-user-doc -->
292 * <!-- end-user-doc -->
293 * @generated
294 */
295 @SuppressWarnings("unchecked")
296 @Override
297 public void eSet(int featureID, Object newValue) {
298 switch (featureID) {
299 case YakinduPackage.STATE__REGIONS:
300 getRegions().clear();
301 getRegions().addAll((Collection<? extends Region>)newValue);
302 return;
303 }
304 super.eSet(featureID, newValue);
305 }
306
307 /**
308 * <!-- begin-user-doc -->
309 * <!-- end-user-doc -->
310 * @generated
311 */
312 @Override
313 public void eUnset(int featureID) {
314 switch (featureID) {
315 case YakinduPackage.STATE__REGIONS:
316 getRegions().clear();
317 return;
318 }
319 super.eUnset(featureID);
320 }
321
322 /**
323 * <!-- begin-user-doc -->
324 * <!-- end-user-doc -->
325 * @generated
326 */
327 @Override
328 public boolean eIsSet(int featureID) {
329 switch (featureID) {
330 case YakinduPackage.STATE__REGIONS:
331 return regions != null && !regions.isEmpty();
332 }
333 return super.eIsSet(featureID);
334 }
335
336 /**
337 * <!-- begin-user-doc -->
338 * <!-- end-user-doc -->
339 * @generated
340 */
341 @Override
342 public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
343 if (baseClass == CompositeElement.class) {
344 switch (derivedFeatureID) {
345 case YakinduPackage.STATE__REGIONS: return YakinduPackage.COMPOSITE_ELEMENT__REGIONS;
346 default: return -1;
347 }
348 }
349 return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
350 }
351
352 /**
353 * <!-- begin-user-doc -->
354 * <!-- end-user-doc -->
355 * @generated
356 */
357 @Override
358 public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
359 if (baseClass == CompositeElement.class) {
360 switch (baseFeatureID) {
361 case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: return YakinduPackage.STATE__REGIONS;
362 default: return -1;
363 }
364 }
365 return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
366 }
367
368} //StateImpl
369>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java
new file mode 100644
index 00000000..3386a99b
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java
@@ -0,0 +1,77 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/StatechartImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
8
9import org.eclipse.emf.ecore.EClass;
10
11/**
12 * <!-- begin-user-doc -->
13 * An implementation of the model object '<em><b>Statechart</b></em>'.
14 * <!-- end-user-doc -->
15 *
16 * @generated
17 */
18public class StatechartImpl extends CompositeElementImpl implements Statechart {
19 /**
20 * <!-- begin-user-doc -->
21 * <!-- end-user-doc -->
22 * @generated
23 */
24 protected StatechartImpl() {
25 super();
26 }
27
28 /**
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 @Override
34 protected EClass eStaticClass() {
35 return YakindummPackage.Literals.STATECHART;
36 }
37
38} //StatechartImpl
39=======
40/**
41 */
42package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
43
44import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart;
45import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
46
47import org.eclipse.emf.ecore.EClass;
48
49/**
50 * <!-- begin-user-doc -->
51 * An implementation of the model object '<em><b>Statechart</b></em>'.
52 * <!-- end-user-doc -->
53 *
54 * @generated
55 */
56public class StatechartImpl extends CompositeElementImpl implements Statechart {
57 /**
58 * <!-- begin-user-doc -->
59 * <!-- end-user-doc -->
60 * @generated
61 */
62 protected StatechartImpl() {
63 super();
64 }
65
66 /**
67 * <!-- begin-user-doc -->
68 * <!-- end-user-doc -->
69 * @generated
70 */
71 @Override
72 protected EClass eStaticClass() {
73 return YakinduPackage.Literals.STATECHART;
74 }
75
76} //StatechartImpl
77>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java
new file mode 100644
index 00000000..83bb7263
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java
@@ -0,0 +1,571 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/TransitionImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex;
8import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
9
10import org.eclipse.emf.common.notify.Notification;
11import org.eclipse.emf.common.notify.NotificationChain;
12
13import org.eclipse.emf.ecore.EClass;
14import org.eclipse.emf.ecore.InternalEObject;
15
16import org.eclipse.emf.ecore.impl.ENotificationImpl;
17import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
18
19import org.eclipse.emf.ecore.util.EcoreUtil;
20
21/**
22 * <!-- begin-user-doc -->
23 * An implementation of the model object '<em><b>Transition</b></em>'.
24 * <!-- end-user-doc -->
25 * <p>
26 * The following features are implemented:
27 * </p>
28 * <ul>
29 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl#getTarget <em>Target</em>}</li>
30 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.TransitionImpl#getSource <em>Source</em>}</li>
31 * </ul>
32 *
33 * @generated
34 */
35public class TransitionImpl extends MinimalEObjectImpl.Container implements Transition {
36 /**
37 * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @see #getTarget()
41 * @generated
42 * @ordered
43 */
44 protected Vertex target;
45
46 /**
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @generated
50 */
51 protected TransitionImpl() {
52 super();
53 }
54
55 /**
56 * <!-- begin-user-doc -->
57 * <!-- end-user-doc -->
58 * @generated
59 */
60 @Override
61 protected EClass eStaticClass() {
62 return YakindummPackage.Literals.TRANSITION;
63 }
64
65 /**
66 * <!-- begin-user-doc -->
67 * <!-- end-user-doc -->
68 * @generated
69 */
70 public Vertex getTarget() {
71 if (target != null && target.eIsProxy()) {
72 InternalEObject oldTarget = (InternalEObject)target;
73 target = (Vertex)eResolveProxy(oldTarget);
74 if (target != oldTarget) {
75 if (eNotificationRequired())
76 eNotify(new ENotificationImpl(this, Notification.RESOLVE, YakindummPackage.TRANSITION__TARGET, oldTarget, target));
77 }
78 }
79 return target;
80 }
81
82 /**
83 * <!-- begin-user-doc -->
84 * <!-- end-user-doc -->
85 * @generated
86 */
87 public Vertex basicGetTarget() {
88 return target;
89 }
90
91 /**
92 * <!-- begin-user-doc -->
93 * <!-- end-user-doc -->
94 * @generated
95 */
96 public NotificationChain basicSetTarget(Vertex newTarget, NotificationChain msgs) {
97 Vertex oldTarget = target;
98 target = newTarget;
99 if (eNotificationRequired()) {
100 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, YakindummPackage.TRANSITION__TARGET, oldTarget, newTarget);
101 if (msgs == null) msgs = notification; else msgs.add(notification);
102 }
103 return msgs;
104 }
105
106 /**
107 * <!-- begin-user-doc -->
108 * <!-- end-user-doc -->
109 * @generated
110 */
111 public void setTarget(Vertex newTarget) {
112 if (newTarget != target) {
113 NotificationChain msgs = null;
114 if (target != null)
115 msgs = ((InternalEObject)target).eInverseRemove(this, YakindummPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
116 if (newTarget != null)
117 msgs = ((InternalEObject)newTarget).eInverseAdd(this, YakindummPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
118 msgs = basicSetTarget(newTarget, msgs);
119 if (msgs != null) msgs.dispatch();
120 }
121 else if (eNotificationRequired())
122 eNotify(new ENotificationImpl(this, Notification.SET, YakindummPackage.TRANSITION__TARGET, newTarget, newTarget));
123 }
124
125 /**
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @generated
129 */
130 public Vertex getSource() {
131 if (eContainerFeatureID() != YakindummPackage.TRANSITION__SOURCE) return null;
132 return (Vertex)eInternalContainer();
133 }
134
135 /**
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @generated
139 */
140 public NotificationChain basicSetSource(Vertex newSource, NotificationChain msgs) {
141 msgs = eBasicSetContainer((InternalEObject)newSource, YakindummPackage.TRANSITION__SOURCE, msgs);
142 return msgs;
143 }
144
145 /**
146 * <!-- begin-user-doc -->
147 * <!-- end-user-doc -->
148 * @generated
149 */
150 public void setSource(Vertex newSource) {
151 if (newSource != eInternalContainer() || (eContainerFeatureID() != YakindummPackage.TRANSITION__SOURCE && newSource != null)) {
152 if (EcoreUtil.isAncestor(this, newSource))
153 throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
154 NotificationChain msgs = null;
155 if (eInternalContainer() != null)
156 msgs = eBasicRemoveFromContainer(msgs);
157 if (newSource != null)
158 msgs = ((InternalEObject)newSource).eInverseAdd(this, YakindummPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs);
159 msgs = basicSetSource(newSource, msgs);
160 if (msgs != null) msgs.dispatch();
161 }
162 else if (eNotificationRequired())
163 eNotify(new ENotificationImpl(this, Notification.SET, YakindummPackage.TRANSITION__SOURCE, newSource, newSource));
164 }
165
166 /**
167 * <!-- begin-user-doc -->
168 * <!-- end-user-doc -->
169 * @generated
170 */
171 @Override
172 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
173 switch (featureID) {
174 case YakindummPackage.TRANSITION__TARGET:
175 if (target != null)
176 msgs = ((InternalEObject)target).eInverseRemove(this, YakindummPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
177 return basicSetTarget((Vertex)otherEnd, msgs);
178 case YakindummPackage.TRANSITION__SOURCE:
179 if (eInternalContainer() != null)
180 msgs = eBasicRemoveFromContainer(msgs);
181 return basicSetSource((Vertex)otherEnd, msgs);
182 }
183 return super.eInverseAdd(otherEnd, featureID, msgs);
184 }
185
186 /**
187 * <!-- begin-user-doc -->
188 * <!-- end-user-doc -->
189 * @generated
190 */
191 @Override
192 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
193 switch (featureID) {
194 case YakindummPackage.TRANSITION__TARGET:
195 return basicSetTarget(null, msgs);
196 case YakindummPackage.TRANSITION__SOURCE:
197 return basicSetSource(null, msgs);
198 }
199 return super.eInverseRemove(otherEnd, featureID, msgs);
200 }
201
202 /**
203 * <!-- begin-user-doc -->
204 * <!-- end-user-doc -->
205 * @generated
206 */
207 @Override
208 public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
209 switch (eContainerFeatureID()) {
210 case YakindummPackage.TRANSITION__SOURCE:
211 return eInternalContainer().eInverseRemove(this, YakindummPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs);
212 }
213 return super.eBasicRemoveFromContainerFeature(msgs);
214 }
215
216 /**
217 * <!-- begin-user-doc -->
218 * <!-- end-user-doc -->
219 * @generated
220 */
221 @Override
222 public Object eGet(int featureID, boolean resolve, boolean coreType) {
223 switch (featureID) {
224 case YakindummPackage.TRANSITION__TARGET:
225 if (resolve) return getTarget();
226 return basicGetTarget();
227 case YakindummPackage.TRANSITION__SOURCE:
228 return getSource();
229 }
230 return super.eGet(featureID, resolve, coreType);
231 }
232
233 /**
234 * <!-- begin-user-doc -->
235 * <!-- end-user-doc -->
236 * @generated
237 */
238 @Override
239 public void eSet(int featureID, Object newValue) {
240 switch (featureID) {
241 case YakindummPackage.TRANSITION__TARGET:
242 setTarget((Vertex)newValue);
243 return;
244 case YakindummPackage.TRANSITION__SOURCE:
245 setSource((Vertex)newValue);
246 return;
247 }
248 super.eSet(featureID, newValue);
249 }
250
251 /**
252 * <!-- begin-user-doc -->
253 * <!-- end-user-doc -->
254 * @generated
255 */
256 @Override
257 public void eUnset(int featureID) {
258 switch (featureID) {
259 case YakindummPackage.TRANSITION__TARGET:
260 setTarget((Vertex)null);
261 return;
262 case YakindummPackage.TRANSITION__SOURCE:
263 setSource((Vertex)null);
264 return;
265 }
266 super.eUnset(featureID);
267 }
268
269 /**
270 * <!-- begin-user-doc -->
271 * <!-- end-user-doc -->
272 * @generated
273 */
274 @Override
275 public boolean eIsSet(int featureID) {
276 switch (featureID) {
277 case YakindummPackage.TRANSITION__TARGET:
278 return target != null;
279 case YakindummPackage.TRANSITION__SOURCE:
280 return getSource() != null;
281 }
282 return super.eIsSet(featureID);
283 }
284
285} //TransitionImpl
286=======
287/**
288 */
289package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
290
291import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
292import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
293import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
294
295import org.eclipse.emf.common.notify.Notification;
296import org.eclipse.emf.common.notify.NotificationChain;
297
298import org.eclipse.emf.ecore.EClass;
299import org.eclipse.emf.ecore.InternalEObject;
300
301import org.eclipse.emf.ecore.impl.ENotificationImpl;
302import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
303
304import org.eclipse.emf.ecore.util.EcoreUtil;
305
306/**
307 * <!-- begin-user-doc -->
308 * An implementation of the model object '<em><b>Transition</b></em>'.
309 * <!-- end-user-doc -->
310 * <p>
311 * The following features are implemented:
312 * </p>
313 * <ul>
314 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl#getTarget <em>Target</em>}</li>
315 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.TransitionImpl#getSource <em>Source</em>}</li>
316 * </ul>
317 *
318 * @generated
319 */
320public class TransitionImpl extends MinimalEObjectImpl.Container implements Transition {
321 /**
322 * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
323 * <!-- begin-user-doc -->
324 * <!-- end-user-doc -->
325 * @see #getTarget()
326 * @generated
327 * @ordered
328 */
329 protected Vertex target;
330
331 /**
332 * <!-- begin-user-doc -->
333 * <!-- end-user-doc -->
334 * @generated
335 */
336 protected TransitionImpl() {
337 super();
338 }
339
340 /**
341 * <!-- begin-user-doc -->
342 * <!-- end-user-doc -->
343 * @generated
344 */
345 @Override
346 protected EClass eStaticClass() {
347 return YakinduPackage.Literals.TRANSITION;
348 }
349
350 /**
351 * <!-- begin-user-doc -->
352 * <!-- end-user-doc -->
353 * @generated
354 */
355 public Vertex getTarget() {
356 if (target != null && target.eIsProxy()) {
357 InternalEObject oldTarget = (InternalEObject)target;
358 target = (Vertex)eResolveProxy(oldTarget);
359 if (target != oldTarget) {
360 if (eNotificationRequired())
361 eNotify(new ENotificationImpl(this, Notification.RESOLVE, YakinduPackage.TRANSITION__TARGET, oldTarget, target));
362 }
363 }
364 return target;
365 }
366
367 /**
368 * <!-- begin-user-doc -->
369 * <!-- end-user-doc -->
370 * @generated
371 */
372 public Vertex basicGetTarget() {
373 return target;
374 }
375
376 /**
377 * <!-- begin-user-doc -->
378 * <!-- end-user-doc -->
379 * @generated
380 */
381 public NotificationChain basicSetTarget(Vertex newTarget, NotificationChain msgs) {
382 Vertex oldTarget = target;
383 target = newTarget;
384 if (eNotificationRequired()) {
385 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__TARGET, oldTarget, newTarget);
386 if (msgs == null) msgs = notification; else msgs.add(notification);
387 }
388 return msgs;
389 }
390
391 /**
392 * <!-- begin-user-doc -->
393 * <!-- end-user-doc -->
394 * @generated
395 */
396 public void setTarget(Vertex newTarget) {
397 if (newTarget != target) {
398 NotificationChain msgs = null;
399 if (target != null)
400 msgs = ((InternalEObject)target).eInverseRemove(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
401 if (newTarget != null)
402 msgs = ((InternalEObject)newTarget).eInverseAdd(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
403 msgs = basicSetTarget(newTarget, msgs);
404 if (msgs != null) msgs.dispatch();
405 }
406 else if (eNotificationRequired())
407 eNotify(new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__TARGET, newTarget, newTarget));
408 }
409
410 /**
411 * <!-- begin-user-doc -->
412 * <!-- end-user-doc -->
413 * @generated
414 */
415 public Vertex getSource() {
416 if (eContainerFeatureID() != YakinduPackage.TRANSITION__SOURCE) return null;
417 return (Vertex)eInternalContainer();
418 }
419
420 /**
421 * <!-- begin-user-doc -->
422 * <!-- end-user-doc -->
423 * @generated
424 */
425 public NotificationChain basicSetSource(Vertex newSource, NotificationChain msgs) {
426 msgs = eBasicSetContainer((InternalEObject)newSource, YakinduPackage.TRANSITION__SOURCE, msgs);
427 return msgs;
428 }
429
430 /**
431 * <!-- begin-user-doc -->
432 * <!-- end-user-doc -->
433 * @generated
434 */
435 public void setSource(Vertex newSource) {
436 if (newSource != eInternalContainer() || (eContainerFeatureID() != YakinduPackage.TRANSITION__SOURCE && newSource != null)) {
437 if (EcoreUtil.isAncestor(this, newSource))
438 throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
439 NotificationChain msgs = null;
440 if (eInternalContainer() != null)
441 msgs = eBasicRemoveFromContainer(msgs);
442 if (newSource != null)
443 msgs = ((InternalEObject)newSource).eInverseAdd(this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs);
444 msgs = basicSetSource(newSource, msgs);
445 if (msgs != null) msgs.dispatch();
446 }
447 else if (eNotificationRequired())
448 eNotify(new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__SOURCE, newSource, newSource));
449 }
450
451 /**
452 * <!-- begin-user-doc -->
453 * <!-- end-user-doc -->
454 * @generated
455 */
456 @Override
457 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
458 switch (featureID) {
459 case YakinduPackage.TRANSITION__TARGET:
460 if (target != null)
461 msgs = ((InternalEObject)target).eInverseRemove(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs);
462 return basicSetTarget((Vertex)otherEnd, msgs);
463 case YakinduPackage.TRANSITION__SOURCE:
464 if (eInternalContainer() != null)
465 msgs = eBasicRemoveFromContainer(msgs);
466 return basicSetSource((Vertex)otherEnd, msgs);
467 }
468 return super.eInverseAdd(otherEnd, featureID, msgs);
469 }
470
471 /**
472 * <!-- begin-user-doc -->
473 * <!-- end-user-doc -->
474 * @generated
475 */
476 @Override
477 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
478 switch (featureID) {
479 case YakinduPackage.TRANSITION__TARGET:
480 return basicSetTarget(null, msgs);
481 case YakinduPackage.TRANSITION__SOURCE:
482 return basicSetSource(null, msgs);
483 }
484 return super.eInverseRemove(otherEnd, featureID, msgs);
485 }
486
487 /**
488 * <!-- begin-user-doc -->
489 * <!-- end-user-doc -->
490 * @generated
491 */
492 @Override
493 public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
494 switch (eContainerFeatureID()) {
495 case YakinduPackage.TRANSITION__SOURCE:
496 return eInternalContainer().eInverseRemove(this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs);
497 }
498 return super.eBasicRemoveFromContainerFeature(msgs);
499 }
500
501 /**
502 * <!-- begin-user-doc -->
503 * <!-- end-user-doc -->
504 * @generated
505 */
506 @Override
507 public Object eGet(int featureID, boolean resolve, boolean coreType) {
508 switch (featureID) {
509 case YakinduPackage.TRANSITION__TARGET:
510 if (resolve) return getTarget();
511 return basicGetTarget();
512 case YakinduPackage.TRANSITION__SOURCE:
513 return getSource();
514 }
515 return super.eGet(featureID, resolve, coreType);
516 }
517
518 /**
519 * <!-- begin-user-doc -->
520 * <!-- end-user-doc -->
521 * @generated
522 */
523 @Override
524 public void eSet(int featureID, Object newValue) {
525 switch (featureID) {
526 case YakinduPackage.TRANSITION__TARGET:
527 setTarget((Vertex)newValue);
528 return;
529 case YakinduPackage.TRANSITION__SOURCE:
530 setSource((Vertex)newValue);
531 return;
532 }
533 super.eSet(featureID, newValue);
534 }
535
536 /**
537 * <!-- begin-user-doc -->
538 * <!-- end-user-doc -->
539 * @generated
540 */
541 @Override
542 public void eUnset(int featureID) {
543 switch (featureID) {
544 case YakinduPackage.TRANSITION__TARGET:
545 setTarget((Vertex)null);
546 return;
547 case YakinduPackage.TRANSITION__SOURCE:
548 setSource((Vertex)null);
549 return;
550 }
551 super.eUnset(featureID);
552 }
553
554 /**
555 * <!-- begin-user-doc -->
556 * <!-- end-user-doc -->
557 * @generated
558 */
559 @Override
560 public boolean eIsSet(int featureID) {
561 switch (featureID) {
562 case YakinduPackage.TRANSITION__TARGET:
563 return target != null;
564 case YakinduPackage.TRANSITION__SOURCE:
565 return getSource() != null;
566 }
567 return super.eIsSet(featureID);
568 }
569
570} //TransitionImpl
571>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java
new file mode 100644
index 00000000..5e78c566
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java
@@ -0,0 +1,415 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/VertexImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex;
8import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
9
10import java.util.Collection;
11
12import org.eclipse.emf.common.notify.NotificationChain;
13
14import org.eclipse.emf.common.util.EList;
15
16import org.eclipse.emf.ecore.EClass;
17import org.eclipse.emf.ecore.InternalEObject;
18
19import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
20
21import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
22import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
23import org.eclipse.emf.ecore.util.InternalEList;
24
25/**
26 * <!-- begin-user-doc -->
27 * An implementation of the model object '<em><b>Vertex</b></em>'.
28 * <!-- end-user-doc -->
29 * <p>
30 * The following features are implemented:
31 * </p>
32 * <ul>
33 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl#getIncomingTransitions <em>Incoming Transitions</em>}</li>
34 * <li>{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl.VertexImpl#getOutgoingTransitions <em>Outgoing Transitions</em>}</li>
35 * </ul>
36 *
37 * @generated
38 */
39public abstract class VertexImpl extends MinimalEObjectImpl.Container implements Vertex {
40 /**
41 * The cached value of the '{@link #getIncomingTransitions() <em>Incoming Transitions</em>}' reference list.
42 * <!-- begin-user-doc -->
43 * <!-- end-user-doc -->
44 * @see #getIncomingTransitions()
45 * @generated
46 * @ordered
47 */
48 protected EList<Transition> incomingTransitions;
49
50 /**
51 * The cached value of the '{@link #getOutgoingTransitions() <em>Outgoing Transitions</em>}' containment reference list.
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @see #getOutgoingTransitions()
55 * @generated
56 * @ordered
57 */
58 protected EList<Transition> outgoingTransitions;
59
60 /**
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @generated
64 */
65 protected VertexImpl() {
66 super();
67 }
68
69 /**
70 * <!-- begin-user-doc -->
71 * <!-- end-user-doc -->
72 * @generated
73 */
74 @Override
75 protected EClass eStaticClass() {
76 return YakindummPackage.Literals.VERTEX;
77 }
78
79 /**
80 * <!-- begin-user-doc -->
81 * <!-- end-user-doc -->
82 * @generated
83 */
84 public EList<Transition> getIncomingTransitions() {
85 if (incomingTransitions == null) {
86 incomingTransitions = new EObjectWithInverseResolvingEList<Transition>(Transition.class, this, YakindummPackage.VERTEX__INCOMING_TRANSITIONS, YakindummPackage.TRANSITION__TARGET);
87 }
88 return incomingTransitions;
89 }
90
91 /**
92 * <!-- begin-user-doc -->
93 * <!-- end-user-doc -->
94 * @generated
95 */
96 public EList<Transition> getOutgoingTransitions() {
97 if (outgoingTransitions == null) {
98 outgoingTransitions = new EObjectContainmentWithInverseEList<Transition>(Transition.class, this, YakindummPackage.VERTEX__OUTGOING_TRANSITIONS, YakindummPackage.TRANSITION__SOURCE);
99 }
100 return outgoingTransitions;
101 }
102
103 /**
104 * <!-- begin-user-doc -->
105 * <!-- end-user-doc -->
106 * @generated
107 */
108 @SuppressWarnings("unchecked")
109 @Override
110 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
111 switch (featureID) {
112 case YakindummPackage.VERTEX__INCOMING_TRANSITIONS:
113 return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingTransitions()).basicAdd(otherEnd, msgs);
114 case YakindummPackage.VERTEX__OUTGOING_TRANSITIONS:
115 return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutgoingTransitions()).basicAdd(otherEnd, msgs);
116 }
117 return super.eInverseAdd(otherEnd, featureID, msgs);
118 }
119
120 /**
121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc -->
123 * @generated
124 */
125 @Override
126 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
127 switch (featureID) {
128 case YakindummPackage.VERTEX__INCOMING_TRANSITIONS:
129 return ((InternalEList<?>)getIncomingTransitions()).basicRemove(otherEnd, msgs);
130 case YakindummPackage.VERTEX__OUTGOING_TRANSITIONS:
131 return ((InternalEList<?>)getOutgoingTransitions()).basicRemove(otherEnd, msgs);
132 }
133 return super.eInverseRemove(otherEnd, featureID, msgs);
134 }
135
136 /**
137 * <!-- begin-user-doc -->
138 * <!-- end-user-doc -->
139 * @generated
140 */
141 @Override
142 public Object eGet(int featureID, boolean resolve, boolean coreType) {
143 switch (featureID) {
144 case YakindummPackage.VERTEX__INCOMING_TRANSITIONS:
145 return getIncomingTransitions();
146 case YakindummPackage.VERTEX__OUTGOING_TRANSITIONS:
147 return getOutgoingTransitions();
148 }
149 return super.eGet(featureID, resolve, coreType);
150 }
151
152 /**
153 * <!-- begin-user-doc -->
154 * <!-- end-user-doc -->
155 * @generated
156 */
157 @SuppressWarnings("unchecked")
158 @Override
159 public void eSet(int featureID, Object newValue) {
160 switch (featureID) {
161 case YakindummPackage.VERTEX__INCOMING_TRANSITIONS:
162 getIncomingTransitions().clear();
163 getIncomingTransitions().addAll((Collection<? extends Transition>)newValue);
164 return;
165 case YakindummPackage.VERTEX__OUTGOING_TRANSITIONS:
166 getOutgoingTransitions().clear();
167 getOutgoingTransitions().addAll((Collection<? extends Transition>)newValue);
168 return;
169 }
170 super.eSet(featureID, newValue);
171 }
172
173 /**
174 * <!-- begin-user-doc -->
175 * <!-- end-user-doc -->
176 * @generated
177 */
178 @Override
179 public void eUnset(int featureID) {
180 switch (featureID) {
181 case YakindummPackage.VERTEX__INCOMING_TRANSITIONS:
182 getIncomingTransitions().clear();
183 return;
184 case YakindummPackage.VERTEX__OUTGOING_TRANSITIONS:
185 getOutgoingTransitions().clear();
186 return;
187 }
188 super.eUnset(featureID);
189 }
190
191 /**
192 * <!-- begin-user-doc -->
193 * <!-- end-user-doc -->
194 * @generated
195 */
196 @Override
197 public boolean eIsSet(int featureID) {
198 switch (featureID) {
199 case YakindummPackage.VERTEX__INCOMING_TRANSITIONS:
200 return incomingTransitions != null && !incomingTransitions.isEmpty();
201 case YakindummPackage.VERTEX__OUTGOING_TRANSITIONS:
202 return outgoingTransitions != null && !outgoingTransitions.isEmpty();
203 }
204 return super.eIsSet(featureID);
205 }
206
207} //VertexImpl
208=======
209/**
210 */
211package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
212
213import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
214import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
215import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
216
217import java.util.Collection;
218
219import org.eclipse.emf.common.notify.NotificationChain;
220
221import org.eclipse.emf.common.util.EList;
222
223import org.eclipse.emf.ecore.EClass;
224import org.eclipse.emf.ecore.InternalEObject;
225
226import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
227
228import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
229import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
230import org.eclipse.emf.ecore.util.InternalEList;
231
232/**
233 * <!-- begin-user-doc -->
234 * An implementation of the model object '<em><b>Vertex</b></em>'.
235 * <!-- end-user-doc -->
236 * <p>
237 * The following features are implemented:
238 * </p>
239 * <ul>
240 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl#getIncomingTransitions <em>Incoming Transitions</em>}</li>
241 * <li>{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl.VertexImpl#getOutgoingTransitions <em>Outgoing Transitions</em>}</li>
242 * </ul>
243 *
244 * @generated
245 */
246public abstract class VertexImpl extends MinimalEObjectImpl.Container implements Vertex {
247 /**
248 * The cached value of the '{@link #getIncomingTransitions() <em>Incoming Transitions</em>}' reference list.
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @see #getIncomingTransitions()
252 * @generated
253 * @ordered
254 */
255 protected EList<Transition> incomingTransitions;
256
257 /**
258 * The cached value of the '{@link #getOutgoingTransitions() <em>Outgoing Transitions</em>}' containment reference list.
259 * <!-- begin-user-doc -->
260 * <!-- end-user-doc -->
261 * @see #getOutgoingTransitions()
262 * @generated
263 * @ordered
264 */
265 protected EList<Transition> outgoingTransitions;
266
267 /**
268 * <!-- begin-user-doc -->
269 * <!-- end-user-doc -->
270 * @generated
271 */
272 protected VertexImpl() {
273 super();
274 }
275
276 /**
277 * <!-- begin-user-doc -->
278 * <!-- end-user-doc -->
279 * @generated
280 */
281 @Override
282 protected EClass eStaticClass() {
283 return YakinduPackage.Literals.VERTEX;
284 }
285
286 /**
287 * <!-- begin-user-doc -->
288 * <!-- end-user-doc -->
289 * @generated
290 */
291 public EList<Transition> getIncomingTransitions() {
292 if (incomingTransitions == null) {
293 incomingTransitions = new EObjectWithInverseResolvingEList<Transition>(Transition.class, this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, YakinduPackage.TRANSITION__TARGET);
294 }
295 return incomingTransitions;
296 }
297
298 /**
299 * <!-- begin-user-doc -->
300 * <!-- end-user-doc -->
301 * @generated
302 */
303 public EList<Transition> getOutgoingTransitions() {
304 if (outgoingTransitions == null) {
305 outgoingTransitions = new EObjectContainmentWithInverseEList<Transition>(Transition.class, this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, YakinduPackage.TRANSITION__SOURCE);
306 }
307 return outgoingTransitions;
308 }
309
310 /**
311 * <!-- begin-user-doc -->
312 * <!-- end-user-doc -->
313 * @generated
314 */
315 @SuppressWarnings("unchecked")
316 @Override
317 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
318 switch (featureID) {
319 case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
320 return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingTransitions()).basicAdd(otherEnd, msgs);
321 case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
322 return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutgoingTransitions()).basicAdd(otherEnd, msgs);
323 }
324 return super.eInverseAdd(otherEnd, featureID, msgs);
325 }
326
327 /**
328 * <!-- begin-user-doc -->
329 * <!-- end-user-doc -->
330 * @generated
331 */
332 @Override
333 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
334 switch (featureID) {
335 case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
336 return ((InternalEList<?>)getIncomingTransitions()).basicRemove(otherEnd, msgs);
337 case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
338 return ((InternalEList<?>)getOutgoingTransitions()).basicRemove(otherEnd, msgs);
339 }
340 return super.eInverseRemove(otherEnd, featureID, msgs);
341 }
342
343 /**
344 * <!-- begin-user-doc -->
345 * <!-- end-user-doc -->
346 * @generated
347 */
348 @Override
349 public Object eGet(int featureID, boolean resolve, boolean coreType) {
350 switch (featureID) {
351 case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
352 return getIncomingTransitions();
353 case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
354 return getOutgoingTransitions();
355 }
356 return super.eGet(featureID, resolve, coreType);
357 }
358
359 /**
360 * <!-- begin-user-doc -->
361 * <!-- end-user-doc -->
362 * @generated
363 */
364 @SuppressWarnings("unchecked")
365 @Override
366 public void eSet(int featureID, Object newValue) {
367 switch (featureID) {
368 case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
369 getIncomingTransitions().clear();
370 getIncomingTransitions().addAll((Collection<? extends Transition>)newValue);
371 return;
372 case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
373 getOutgoingTransitions().clear();
374 getOutgoingTransitions().addAll((Collection<? extends Transition>)newValue);
375 return;
376 }
377 super.eSet(featureID, newValue);
378 }
379
380 /**
381 * <!-- begin-user-doc -->
382 * <!-- end-user-doc -->
383 * @generated
384 */
385 @Override
386 public void eUnset(int featureID) {
387 switch (featureID) {
388 case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
389 getIncomingTransitions().clear();
390 return;
391 case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
392 getOutgoingTransitions().clear();
393 return;
394 }
395 super.eUnset(featureID);
396 }
397
398 /**
399 * <!-- begin-user-doc -->
400 * <!-- end-user-doc -->
401 * @generated
402 */
403 @Override
404 public boolean eIsSet(int featureID) {
405 switch (featureID) {
406 case YakinduPackage.VERTEX__INCOMING_TRANSITIONS:
407 return incomingTransitions != null && !incomingTransitions.isEmpty();
408 case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS:
409 return outgoingTransitions != null && !outgoingTransitions.isEmpty();
410 }
411 return super.eIsSet(featureID);
412 }
413
414} //VertexImpl
415>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java
new file mode 100644
index 00000000..1aa8b67a
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java
@@ -0,0 +1,409 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*;
7
8import org.eclipse.emf.ecore.EClass;
9import org.eclipse.emf.ecore.EDataType;
10import org.eclipse.emf.ecore.EObject;
11import org.eclipse.emf.ecore.EPackage;
12
13import org.eclipse.emf.ecore.impl.EFactoryImpl;
14
15import org.eclipse.emf.ecore.plugin.EcorePlugin;
16
17/**
18 * <!-- begin-user-doc -->
19 * An implementation of the model <b>Factory</b>.
20 * <!-- end-user-doc -->
21 * @generated
22 */
23public class YakindummFactoryImpl extends EFactoryImpl implements YakindummFactory {
24 /**
25 * Creates the default factory implementation.
26 * <!-- begin-user-doc -->
27 * <!-- end-user-doc -->
28 * @generated
29 */
30 public static YakindummFactory init() {
31 try {
32 YakindummFactory theYakindummFactory = (YakindummFactory)EPackage.Registry.INSTANCE.getEFactory(YakindummPackage.eNS_URI);
33 if (theYakindummFactory != null) {
34 return theYakindummFactory;
35 }
36 }
37 catch (Exception exception) {
38 EcorePlugin.INSTANCE.log(exception);
39 }
40 return new YakindummFactoryImpl();
41 }
42
43 /**
44 * Creates an instance of the factory.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @generated
48 */
49 public YakindummFactoryImpl() {
50 super();
51 }
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 @Override
59 public EObject create(EClass eClass) {
60 switch (eClass.getClassifierID()) {
61 case YakindummPackage.REGION: return createRegion();
62 case YakindummPackage.TRANSITION: return createTransition();
63 case YakindummPackage.STATECHART: return createStatechart();
64 case YakindummPackage.ENTRY: return createEntry();
65 case YakindummPackage.STATE: return createState();
66 case YakindummPackage.CHOICE: return createChoice();
67 case YakindummPackage.EXIT: return createExit();
68 case YakindummPackage.FINAL_STATE: return createFinalState();
69 default:
70 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
71 }
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 @Override
80 public Object createFromString(EDataType eDataType, String initialValue) {
81 switch (eDataType.getClassifierID()) {
82 case YakindummPackage.ENTRY_TYPE:
83 return createEntryTypeFromString(eDataType, initialValue);
84 default:
85 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
86 }
87 }
88
89 /**
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @generated
93 */
94 @Override
95 public String convertToString(EDataType eDataType, Object instanceValue) {
96 switch (eDataType.getClassifierID()) {
97 case YakindummPackage.ENTRY_TYPE:
98 return convertEntryTypeToString(eDataType, instanceValue);
99 default:
100 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
101 }
102 }
103
104 /**
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @generated
108 */
109 public Region createRegion() {
110 RegionImpl region = new RegionImpl();
111 return region;
112 }
113
114 /**
115 * <!-- begin-user-doc -->
116 * <!-- end-user-doc -->
117 * @generated
118 */
119 public Transition createTransition() {
120 TransitionImpl transition = new TransitionImpl();
121 return transition;
122 }
123
124 /**
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @generated
128 */
129 public Statechart createStatechart() {
130 StatechartImpl statechart = new StatechartImpl();
131 return statechart;
132 }
133
134 /**
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @generated
138 */
139 public Entry createEntry() {
140 EntryImpl entry = new EntryImpl();
141 return entry;
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 public State createState() {
150 StateImpl state = new StateImpl();
151 return state;
152 }
153
154 /**
155 * <!-- begin-user-doc -->
156 * <!-- end-user-doc -->
157 * @generated
158 */
159 public Choice createChoice() {
160 ChoiceImpl choice = new ChoiceImpl();
161 return choice;
162 }
163
164 /**
165 * <!-- begin-user-doc -->
166 * <!-- end-user-doc -->
167 * @generated
168 */
169 public Exit createExit() {
170 ExitImpl exit = new ExitImpl();
171 return exit;
172 }
173
174 /**
175 * <!-- begin-user-doc -->
176 * <!-- end-user-doc -->
177 * @generated
178 */
179 public FinalState createFinalState() {
180 FinalStateImpl finalState = new FinalStateImpl();
181 return finalState;
182 }
183
184 /**
185 * <!-- begin-user-doc -->
186 * <!-- end-user-doc -->
187 * @generated
188 */
189 public EntryType createEntryTypeFromString(EDataType eDataType, String initialValue) {
190 EntryType result = EntryType.get(initialValue);
191 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
192 return result;
193 }
194
195 /**
196 * <!-- begin-user-doc -->
197 * <!-- end-user-doc -->
198 * @generated
199 */
200 public String convertEntryTypeToString(EDataType eDataType, Object instanceValue) {
201 return instanceValue == null ? null : instanceValue.toString();
202 }
203
204 /**
205 * <!-- begin-user-doc -->
206 * <!-- end-user-doc -->
207 * @generated
208 */
209 public YakindummPackage getYakindummPackage() {
210 return (YakindummPackage)getEPackage();
211 }
212
213 /**
214 * <!-- begin-user-doc -->
215 * <!-- end-user-doc -->
216 * @deprecated
217 * @generated
218 */
219 @Deprecated
220 public static YakindummPackage getPackage() {
221 return YakindummPackage.eINSTANCE;
222 }
223
224} //YakindummFactoryImpl
225=======
226/**
227 */
228package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
229
230import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
231
232import org.eclipse.emf.ecore.EClass;
233import org.eclipse.emf.ecore.EObject;
234import org.eclipse.emf.ecore.EPackage;
235
236import org.eclipse.emf.ecore.impl.EFactoryImpl;
237
238import org.eclipse.emf.ecore.plugin.EcorePlugin;
239
240/**
241 * <!-- begin-user-doc -->
242 * An implementation of the model <b>Factory</b>.
243 * <!-- end-user-doc -->
244 * @generated
245 */
246public class YakinduFactoryImpl extends EFactoryImpl implements YakinduFactory {
247 /**
248 * Creates the default factory implementation.
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 public static YakinduFactory init() {
254 try {
255 YakinduFactory theYakinduFactory = (YakinduFactory)EPackage.Registry.INSTANCE.getEFactory(YakinduPackage.eNS_URI);
256 if (theYakinduFactory != null) {
257 return theYakinduFactory;
258 }
259 }
260 catch (Exception exception) {
261 EcorePlugin.INSTANCE.log(exception);
262 }
263 return new YakinduFactoryImpl();
264 }
265
266 /**
267 * Creates an instance of the factory.
268 * <!-- begin-user-doc -->
269 * <!-- end-user-doc -->
270 * @generated
271 */
272 public YakinduFactoryImpl() {
273 super();
274 }
275
276 /**
277 * <!-- begin-user-doc -->
278 * <!-- end-user-doc -->
279 * @generated
280 */
281 @Override
282 public EObject create(EClass eClass) {
283 switch (eClass.getClassifierID()) {
284 case YakinduPackage.REGION: return createRegion();
285 case YakinduPackage.TRANSITION: return createTransition();
286 case YakinduPackage.STATECHART: return createStatechart();
287 case YakinduPackage.ENTRY: return createEntry();
288 case YakinduPackage.SYNCHRONIZATION: return createSynchronization();
289 case YakinduPackage.STATE: return createState();
290 case YakinduPackage.CHOICE: return createChoice();
291 case YakinduPackage.EXIT: return createExit();
292 case YakinduPackage.FINAL_STATE: return createFinalState();
293 default:
294 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
295 }
296 }
297
298 /**
299 * <!-- begin-user-doc -->
300 * <!-- end-user-doc -->
301 * @generated
302 */
303 public Region createRegion() {
304 RegionImpl region = new RegionImpl();
305 return region;
306 }
307
308 /**
309 * <!-- begin-user-doc -->
310 * <!-- end-user-doc -->
311 * @generated
312 */
313 public Transition createTransition() {
314 TransitionImpl transition = new TransitionImpl();
315 return transition;
316 }
317
318 /**
319 * <!-- begin-user-doc -->
320 * <!-- end-user-doc -->
321 * @generated
322 */
323 public Statechart createStatechart() {
324 StatechartImpl statechart = new StatechartImpl();
325 return statechart;
326 }
327
328 /**
329 * <!-- begin-user-doc -->
330 * <!-- end-user-doc -->
331 * @generated
332 */
333 public Entry createEntry() {
334 EntryImpl entry = new EntryImpl();
335 return entry;
336 }
337
338 /**
339 * <!-- begin-user-doc -->
340 * <!-- end-user-doc -->
341 * @generated
342 */
343 public Synchronization createSynchronization() {
344 SynchronizationImpl synchronization = new SynchronizationImpl();
345 return synchronization;
346 }
347
348 /**
349 * <!-- begin-user-doc -->
350 * <!-- end-user-doc -->
351 * @generated
352 */
353 public State createState() {
354 StateImpl state = new StateImpl();
355 return state;
356 }
357
358 /**
359 * <!-- begin-user-doc -->
360 * <!-- end-user-doc -->
361 * @generated
362 */
363 public Choice createChoice() {
364 ChoiceImpl choice = new ChoiceImpl();
365 return choice;
366 }
367
368 /**
369 * <!-- begin-user-doc -->
370 * <!-- end-user-doc -->
371 * @generated
372 */
373 public Exit createExit() {
374 ExitImpl exit = new ExitImpl();
375 return exit;
376 }
377
378 /**
379 * <!-- begin-user-doc -->
380 * <!-- end-user-doc -->
381 * @generated
382 */
383 public FinalState createFinalState() {
384 FinalStateImpl finalState = new FinalStateImpl();
385 return finalState;
386 }
387
388 /**
389 * <!-- begin-user-doc -->
390 * <!-- end-user-doc -->
391 * @generated
392 */
393 public YakinduPackage getYakinduPackage() {
394 return (YakinduPackage)getEPackage();
395 }
396
397 /**
398 * <!-- begin-user-doc -->
399 * <!-- end-user-doc -->
400 * @deprecated
401 * @generated
402 */
403 @Deprecated
404 public static YakinduPackage getPackage() {
405 return YakinduPackage.eINSTANCE;
406 }
407
408} //YakinduFactoryImpl
409>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java
new file mode 100644
index 00000000..87ae07f4
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java
@@ -0,0 +1,1008 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement;
8import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry;
9import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType;
10import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit;
11import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState;
12import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate;
13import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region;
14import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState;
15import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State;
16import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart;
17import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition;
18import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex;
19import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummFactory;
20import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
21
22import org.eclipse.emf.ecore.EAttribute;
23import org.eclipse.emf.ecore.EClass;
24import org.eclipse.emf.ecore.EEnum;
25import org.eclipse.emf.ecore.EPackage;
26import org.eclipse.emf.ecore.EReference;
27
28import org.eclipse.emf.ecore.impl.EPackageImpl;
29
30/**
31 * <!-- begin-user-doc -->
32 * An implementation of the model <b>Package</b>.
33 * <!-- end-user-doc -->
34 * @generated
35 */
36public class YakindummPackageImpl extends EPackageImpl implements YakindummPackage {
37 /**
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @generated
41 */
42 private EClass pseudostateEClass = null;
43
44 /**
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @generated
48 */
49 private EClass vertexEClass = null;
50
51 /**
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @generated
55 */
56 private EClass regionEClass = null;
57
58 /**
59 * <!-- begin-user-doc -->
60 * <!-- end-user-doc -->
61 * @generated
62 */
63 private EClass transitionEClass = null;
64
65 /**
66 * <!-- begin-user-doc -->
67 * <!-- end-user-doc -->
68 * @generated
69 */
70 private EClass statechartEClass = null;
71
72 /**
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 */
77 private EClass entryEClass = null;
78
79 /**
80 * <!-- begin-user-doc -->
81 * <!-- end-user-doc -->
82 * @generated
83 */
84 private EClass stateEClass = null;
85
86 /**
87 * <!-- begin-user-doc -->
88 * <!-- end-user-doc -->
89 * @generated
90 */
91 private EClass regularStateEClass = null;
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 private EClass compositeElementEClass = null;
99
100 /**
101 * <!-- begin-user-doc -->
102 * <!-- end-user-doc -->
103 * @generated
104 */
105 private EClass choiceEClass = null;
106
107 /**
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 */
112 private EClass exitEClass = null;
113
114 /**
115 * <!-- begin-user-doc -->
116 * <!-- end-user-doc -->
117 * @generated
118 */
119 private EClass finalStateEClass = null;
120
121 /**
122 * <!-- begin-user-doc -->
123 * <!-- end-user-doc -->
124 * @generated
125 */
126 private EEnum entryTypeEEnum = null;
127
128 /**
129 * Creates an instance of the model <b>Package</b>, registered with
130 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
131 * package URI value.
132 * <p>Note: the correct way to create the package is via the static
133 * factory method {@link #init init()}, which also performs
134 * initialization of the package, or returns the registered package,
135 * if one already exists.
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @see org.eclipse.emf.ecore.EPackage.Registry
139 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#eNS_URI
140 * @see #init()
141 * @generated
142 */
143 private YakindummPackageImpl() {
144 super(eNS_URI, YakindummFactory.eINSTANCE);
145 }
146
147 /**
148 * <!-- begin-user-doc -->
149 * <!-- end-user-doc -->
150 * @generated
151 */
152 private static boolean isInited = false;
153
154 /**
155 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
156 *
157 * <p>This method is used to initialize {@link YakindummPackage#eINSTANCE} when that field is accessed.
158 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
159 * <!-- begin-user-doc -->
160 * <!-- end-user-doc -->
161 * @see #eNS_URI
162 * @see #createPackageContents()
163 * @see #initializePackageContents()
164 * @generated
165 */
166 public static YakindummPackage init() {
167 if (isInited) return (YakindummPackage)EPackage.Registry.INSTANCE.getEPackage(YakindummPackage.eNS_URI);
168
169 // Obtain or create and register package
170 Object registeredYakindummPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
171 YakindummPackageImpl theYakindummPackage = registeredYakindummPackage instanceof YakindummPackageImpl ? (YakindummPackageImpl)registeredYakindummPackage : new YakindummPackageImpl();
172
173 isInited = true;
174
175 // Create package meta-data objects
176 theYakindummPackage.createPackageContents();
177
178 // Initialize created meta-data
179 theYakindummPackage.initializePackageContents();
180
181 // Mark meta-data to indicate it can't be changed
182 theYakindummPackage.freeze();
183
184 // Update the registry and return the package
185 EPackage.Registry.INSTANCE.put(YakindummPackage.eNS_URI, theYakindummPackage);
186 return theYakindummPackage;
187 }
188
189 /**
190 * <!-- begin-user-doc -->
191 * <!-- end-user-doc -->
192 * @generated
193 */
194 public EClass getPseudostate() {
195 return pseudostateEClass;
196 }
197
198 /**
199 * <!-- begin-user-doc -->
200 * <!-- end-user-doc -->
201 * @generated
202 */
203 public EClass getVertex() {
204 return vertexEClass;
205 }
206
207 /**
208 * <!-- begin-user-doc -->
209 * <!-- end-user-doc -->
210 * @generated
211 */
212 public EReference getVertex_IncomingTransitions() {
213 return (EReference)vertexEClass.getEStructuralFeatures().get(0);
214 }
215
216 /**
217 * <!-- begin-user-doc -->
218 * <!-- end-user-doc -->
219 * @generated
220 */
221 public EReference getVertex_OutgoingTransitions() {
222 return (EReference)vertexEClass.getEStructuralFeatures().get(1);
223 }
224
225 /**
226 * <!-- begin-user-doc -->
227 * <!-- end-user-doc -->
228 * @generated
229 */
230 public EClass getRegion() {
231 return regionEClass;
232 }
233
234 /**
235 * <!-- begin-user-doc -->
236 * <!-- end-user-doc -->
237 * @generated
238 */
239 public EReference getRegion_Vertices() {
240 return (EReference)regionEClass.getEStructuralFeatures().get(0);
241 }
242
243 /**
244 * <!-- begin-user-doc -->
245 * <!-- end-user-doc -->
246 * @generated
247 */
248 public EClass getTransition() {
249 return transitionEClass;
250 }
251
252 /**
253 * <!-- begin-user-doc -->
254 * <!-- end-user-doc -->
255 * @generated
256 */
257 public EReference getTransition_Target() {
258 return (EReference)transitionEClass.getEStructuralFeatures().get(0);
259 }
260
261 /**
262 * <!-- begin-user-doc -->
263 * <!-- end-user-doc -->
264 * @generated
265 */
266 public EReference getTransition_Source() {
267 return (EReference)transitionEClass.getEStructuralFeatures().get(1);
268 }
269
270 /**
271 * <!-- begin-user-doc -->
272 * <!-- end-user-doc -->
273 * @generated
274 */
275 public EClass getStatechart() {
276 return statechartEClass;
277 }
278
279 /**
280 * <!-- begin-user-doc -->
281 * <!-- end-user-doc -->
282 * @generated
283 */
284 public EClass getEntry() {
285 return entryEClass;
286 }
287
288 /**
289 * <!-- begin-user-doc -->
290 * <!-- end-user-doc -->
291 * @generated
292 */
293 public EAttribute getEntry_Type() {
294 return (EAttribute)entryEClass.getEStructuralFeatures().get(0);
295 }
296
297 /**
298 * <!-- begin-user-doc -->
299 * <!-- end-user-doc -->
300 * @generated
301 */
302 public EClass getState() {
303 return stateEClass;
304 }
305
306 /**
307 * <!-- begin-user-doc -->
308 * <!-- end-user-doc -->
309 * @generated
310 */
311 public EClass getRegularState() {
312 return regularStateEClass;
313 }
314
315 /**
316 * <!-- begin-user-doc -->
317 * <!-- end-user-doc -->
318 * @generated
319 */
320 public EClass getCompositeElement() {
321 return compositeElementEClass;
322 }
323
324 /**
325 * <!-- begin-user-doc -->
326 * <!-- end-user-doc -->
327 * @generated
328 */
329 public EReference getCompositeElement_Regions() {
330 return (EReference)compositeElementEClass.getEStructuralFeatures().get(0);
331 }
332
333 /**
334 * <!-- begin-user-doc -->
335 * <!-- end-user-doc -->
336 * @generated
337 */
338 public EClass getChoice() {
339 return choiceEClass;
340 }
341
342 /**
343 * <!-- begin-user-doc -->
344 * <!-- end-user-doc -->
345 * @generated
346 */
347 public EClass getExit() {
348 return exitEClass;
349 }
350
351 /**
352 * <!-- begin-user-doc -->
353 * <!-- end-user-doc -->
354 * @generated
355 */
356 public EClass getFinalState() {
357 return finalStateEClass;
358 }
359
360 /**
361 * <!-- begin-user-doc -->
362 * <!-- end-user-doc -->
363 * @generated
364 */
365 public EEnum getEntryType() {
366 return entryTypeEEnum;
367 }
368
369 /**
370 * <!-- begin-user-doc -->
371 * <!-- end-user-doc -->
372 * @generated
373 */
374 public YakindummFactory getYakindummFactory() {
375 return (YakindummFactory)getEFactoryInstance();
376 }
377
378 /**
379 * <!-- begin-user-doc -->
380 * <!-- end-user-doc -->
381 * @generated
382 */
383 private boolean isCreated = false;
384
385 /**
386 * Creates the meta-model objects for the package. This method is
387 * guarded to have no affect on any invocation but its first.
388 * <!-- begin-user-doc -->
389 * <!-- end-user-doc -->
390 * @generated
391 */
392 public void createPackageContents() {
393 if (isCreated) return;
394 isCreated = true;
395
396 // Create classes and their features
397 pseudostateEClass = createEClass(PSEUDOSTATE);
398
399 vertexEClass = createEClass(VERTEX);
400 createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS);
401 createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS);
402
403 regionEClass = createEClass(REGION);
404 createEReference(regionEClass, REGION__VERTICES);
405
406 transitionEClass = createEClass(TRANSITION);
407 createEReference(transitionEClass, TRANSITION__TARGET);
408 createEReference(transitionEClass, TRANSITION__SOURCE);
409
410 statechartEClass = createEClass(STATECHART);
411
412 entryEClass = createEClass(ENTRY);
413 createEAttribute(entryEClass, ENTRY__TYPE);
414
415 stateEClass = createEClass(STATE);
416
417 regularStateEClass = createEClass(REGULAR_STATE);
418
419 compositeElementEClass = createEClass(COMPOSITE_ELEMENT);
420 createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS);
421
422 choiceEClass = createEClass(CHOICE);
423
424 exitEClass = createEClass(EXIT);
425
426 finalStateEClass = createEClass(FINAL_STATE);
427
428 // Create enums
429 entryTypeEEnum = createEEnum(ENTRY_TYPE);
430 }
431
432 /**
433 * <!-- begin-user-doc -->
434 * <!-- end-user-doc -->
435 * @generated
436 */
437 private boolean isInitialized = false;
438
439 /**
440 * Complete the initialization of the package and its meta-model. This
441 * method is guarded to have no affect on any invocation but its first.
442 * <!-- begin-user-doc -->
443 * <!-- end-user-doc -->
444 * @generated
445 */
446 public void initializePackageContents() {
447 if (isInitialized) return;
448 isInitialized = true;
449
450 // Initialize package
451 setName(eNAME);
452 setNsPrefix(eNS_PREFIX);
453 setNsURI(eNS_URI);
454
455 // Create type parameters
456
457 // Set bounds for type parameters
458
459 // Add supertypes to classes
460 pseudostateEClass.getESuperTypes().add(this.getVertex());
461 statechartEClass.getESuperTypes().add(this.getCompositeElement());
462 entryEClass.getESuperTypes().add(this.getPseudostate());
463 stateEClass.getESuperTypes().add(this.getRegularState());
464 stateEClass.getESuperTypes().add(this.getCompositeElement());
465 regularStateEClass.getESuperTypes().add(this.getVertex());
466 choiceEClass.getESuperTypes().add(this.getPseudostate());
467 exitEClass.getESuperTypes().add(this.getPseudostate());
468 finalStateEClass.getESuperTypes().add(this.getRegularState());
469
470 // Initialize classes, features, and operations; add parameters
471 initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
472
473 initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
474 initEReference(getVertex_IncomingTransitions(), this.getTransition(), this.getTransition_Target(), "incomingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
475 initEReference(getVertex_OutgoingTransitions(), this.getTransition(), this.getTransition_Source(), "outgoingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
476
477 initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
478 initEReference(getRegion_Vertices(), this.getVertex(), null, "vertices", null, 0, -1, Region.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
479
480 initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
481 initEReference(getTransition_Target(), this.getVertex(), this.getVertex_IncomingTransitions(), "target", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
482 initEReference(getTransition_Source(), this.getVertex(), this.getVertex_OutgoingTransitions(), "source", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
483
484 initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
485
486 initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
487 initEAttribute(getEntry_Type(), this.getEntryType(), "Type", null, 1, 1, Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
488
489 initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
490
491 initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
492
493 initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
494 initEReference(getCompositeElement_Regions(), this.getRegion(), null, "regions", null, 0, -1, CompositeElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
495
496 initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
497
498 initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
499
500 initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
501
502 // Initialize enums and add enum literals
503 initEEnum(entryTypeEEnum, EntryType.class, "EntryType");
504 addEEnumLiteral(entryTypeEEnum, EntryType.NORMAL);
505 addEEnumLiteral(entryTypeEEnum, EntryType.HISTORY);
506 addEEnumLiteral(entryTypeEEnum, EntryType.DEEP_HISTORY);
507
508 // Create resource
509 createResource(eNS_URI);
510 }
511
512} //YakindummPackageImpl
513=======
514/**
515 */
516package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
517
518import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice;
519import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
520import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry;
521import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit;
522import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState;
523import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate;
524import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
525import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState;
526import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State;
527import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart;
528import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization;
529import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
530import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
531import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory;
532import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
533
534import org.eclipse.emf.ecore.EClass;
535import org.eclipse.emf.ecore.EPackage;
536import org.eclipse.emf.ecore.EReference;
537
538import org.eclipse.emf.ecore.impl.EPackageImpl;
539
540/**
541 * <!-- begin-user-doc -->
542 * An implementation of the model <b>Package</b>.
543 * <!-- end-user-doc -->
544 * @generated
545 */
546public class YakinduPackageImpl extends EPackageImpl implements YakinduPackage {
547 /**
548 * <!-- begin-user-doc -->
549 * <!-- end-user-doc -->
550 * @generated
551 */
552 private EClass pseudostateEClass = null;
553
554 /**
555 * <!-- begin-user-doc -->
556 * <!-- end-user-doc -->
557 * @generated
558 */
559 private EClass vertexEClass = null;
560
561 /**
562 * <!-- begin-user-doc -->
563 * <!-- end-user-doc -->
564 * @generated
565 */
566 private EClass regionEClass = null;
567
568 /**
569 * <!-- begin-user-doc -->
570 * <!-- end-user-doc -->
571 * @generated
572 */
573 private EClass transitionEClass = null;
574
575 /**
576 * <!-- begin-user-doc -->
577 * <!-- end-user-doc -->
578 * @generated
579 */
580 private EClass statechartEClass = null;
581
582 /**
583 * <!-- begin-user-doc -->
584 * <!-- end-user-doc -->
585 * @generated
586 */
587 private EClass entryEClass = null;
588
589 /**
590 * <!-- begin-user-doc -->
591 * <!-- end-user-doc -->
592 * @generated
593 */
594 private EClass synchronizationEClass = null;
595
596 /**
597 * <!-- begin-user-doc -->
598 * <!-- end-user-doc -->
599 * @generated
600 */
601 private EClass stateEClass = null;
602
603 /**
604 * <!-- begin-user-doc -->
605 * <!-- end-user-doc -->
606 * @generated
607 */
608 private EClass regularStateEClass = null;
609
610 /**
611 * <!-- begin-user-doc -->
612 * <!-- end-user-doc -->
613 * @generated
614 */
615 private EClass compositeElementEClass = null;
616
617 /**
618 * <!-- begin-user-doc -->
619 * <!-- end-user-doc -->
620 * @generated
621 */
622 private EClass choiceEClass = null;
623
624 /**
625 * <!-- begin-user-doc -->
626 * <!-- end-user-doc -->
627 * @generated
628 */
629 private EClass exitEClass = null;
630
631 /**
632 * <!-- begin-user-doc -->
633 * <!-- end-user-doc -->
634 * @generated
635 */
636 private EClass finalStateEClass = null;
637
638 /**
639 * Creates an instance of the model <b>Package</b>, registered with
640 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
641 * package URI value.
642 * <p>Note: the correct way to create the package is via the static
643 * factory method {@link #init init()}, which also performs
644 * initialization of the package, or returns the registered package,
645 * if one already exists.
646 * <!-- begin-user-doc -->
647 * <!-- end-user-doc -->
648 * @see org.eclipse.emf.ecore.EPackage.Registry
649 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#eNS_URI
650 * @see #init()
651 * @generated
652 */
653 private YakinduPackageImpl() {
654 super(eNS_URI, YakinduFactory.eINSTANCE);
655 }
656
657 /**
658 * <!-- begin-user-doc -->
659 * <!-- end-user-doc -->
660 * @generated
661 */
662 private static boolean isInited = false;
663
664 /**
665 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
666 *
667 * <p>This method is used to initialize {@link YakinduPackage#eINSTANCE} when that field is accessed.
668 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
669 * <!-- begin-user-doc -->
670 * <!-- end-user-doc -->
671 * @see #eNS_URI
672 * @see #createPackageContents()
673 * @see #initializePackageContents()
674 * @generated
675 */
676 public static YakinduPackage init() {
677 if (isInited) return (YakinduPackage)EPackage.Registry.INSTANCE.getEPackage(YakinduPackage.eNS_URI);
678
679 // Obtain or create and register package
680 Object registeredYakinduPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
681 YakinduPackageImpl theYakinduPackage = registeredYakinduPackage instanceof YakinduPackageImpl ? (YakinduPackageImpl)registeredYakinduPackage : new YakinduPackageImpl();
682
683 isInited = true;
684
685 // Create package meta-data objects
686 theYakinduPackage.createPackageContents();
687
688 // Initialize created meta-data
689 theYakinduPackage.initializePackageContents();
690
691 // Mark meta-data to indicate it can't be changed
692 theYakinduPackage.freeze();
693
694 // Update the registry and return the package
695 EPackage.Registry.INSTANCE.put(YakinduPackage.eNS_URI, theYakinduPackage);
696 return theYakinduPackage;
697 }
698
699 /**
700 * <!-- begin-user-doc -->
701 * <!-- end-user-doc -->
702 * @generated
703 */
704 public EClass getPseudostate() {
705 return pseudostateEClass;
706 }
707
708 /**
709 * <!-- begin-user-doc -->
710 * <!-- end-user-doc -->
711 * @generated
712 */
713 public EClass getVertex() {
714 return vertexEClass;
715 }
716
717 /**
718 * <!-- begin-user-doc -->
719 * <!-- end-user-doc -->
720 * @generated
721 */
722 public EReference getVertex_IncomingTransitions() {
723 return (EReference)vertexEClass.getEStructuralFeatures().get(0);
724 }
725
726 /**
727 * <!-- begin-user-doc -->
728 * <!-- end-user-doc -->
729 * @generated
730 */
731 public EReference getVertex_OutgoingTransitions() {
732 return (EReference)vertexEClass.getEStructuralFeatures().get(1);
733 }
734
735 /**
736 * <!-- begin-user-doc -->
737 * <!-- end-user-doc -->
738 * @generated
739 */
740 public EClass getRegion() {
741 return regionEClass;
742 }
743
744 /**
745 * <!-- begin-user-doc -->
746 * <!-- end-user-doc -->
747 * @generated
748 */
749 public EReference getRegion_Vertices() {
750 return (EReference)regionEClass.getEStructuralFeatures().get(0);
751 }
752
753 /**
754 * <!-- begin-user-doc -->
755 * <!-- end-user-doc -->
756 * @generated
757 */
758 public EClass getTransition() {
759 return transitionEClass;
760 }
761
762 /**
763 * <!-- begin-user-doc -->
764 * <!-- end-user-doc -->
765 * @generated
766 */
767 public EReference getTransition_Target() {
768 return (EReference)transitionEClass.getEStructuralFeatures().get(0);
769 }
770
771 /**
772 * <!-- begin-user-doc -->
773 * <!-- end-user-doc -->
774 * @generated
775 */
776 public EReference getTransition_Source() {
777 return (EReference)transitionEClass.getEStructuralFeatures().get(1);
778 }
779
780 /**
781 * <!-- begin-user-doc -->
782 * <!-- end-user-doc -->
783 * @generated
784 */
785 public EClass getStatechart() {
786 return statechartEClass;
787 }
788
789 /**
790 * <!-- begin-user-doc -->
791 * <!-- end-user-doc -->
792 * @generated
793 */
794 public EClass getEntry() {
795 return entryEClass;
796 }
797
798 /**
799 * <!-- begin-user-doc -->
800 * <!-- end-user-doc -->
801 * @generated
802 */
803 public EClass getSynchronization() {
804 return synchronizationEClass;
805 }
806
807 /**
808 * <!-- begin-user-doc -->
809 * <!-- end-user-doc -->
810 * @generated
811 */
812 public EClass getState() {
813 return stateEClass;
814 }
815
816 /**
817 * <!-- begin-user-doc -->
818 * <!-- end-user-doc -->
819 * @generated
820 */
821 public EClass getRegularState() {
822 return regularStateEClass;
823 }
824
825 /**
826 * <!-- begin-user-doc -->
827 * <!-- end-user-doc -->
828 * @generated
829 */
830 public EClass getCompositeElement() {
831 return compositeElementEClass;
832 }
833
834 /**
835 * <!-- begin-user-doc -->
836 * <!-- end-user-doc -->
837 * @generated
838 */
839 public EReference getCompositeElement_Regions() {
840 return (EReference)compositeElementEClass.getEStructuralFeatures().get(0);
841 }
842
843 /**
844 * <!-- begin-user-doc -->
845 * <!-- end-user-doc -->
846 * @generated
847 */
848 public EClass getChoice() {
849 return choiceEClass;
850 }
851
852 /**
853 * <!-- begin-user-doc -->
854 * <!-- end-user-doc -->
855 * @generated
856 */
857 public EClass getExit() {
858 return exitEClass;
859 }
860
861 /**
862 * <!-- begin-user-doc -->
863 * <!-- end-user-doc -->
864 * @generated
865 */
866 public EClass getFinalState() {
867 return finalStateEClass;
868 }
869
870 /**
871 * <!-- begin-user-doc -->
872 * <!-- end-user-doc -->
873 * @generated
874 */
875 public YakinduFactory getYakinduFactory() {
876 return (YakinduFactory)getEFactoryInstance();
877 }
878
879 /**
880 * <!-- begin-user-doc -->
881 * <!-- end-user-doc -->
882 * @generated
883 */
884 private boolean isCreated = false;
885
886 /**
887 * Creates the meta-model objects for the package. This method is
888 * guarded to have no affect on any invocation but its first.
889 * <!-- begin-user-doc -->
890 * <!-- end-user-doc -->
891 * @generated
892 */
893 public void createPackageContents() {
894 if (isCreated) return;
895 isCreated = true;
896
897 // Create classes and their features
898 pseudostateEClass = createEClass(PSEUDOSTATE);
899
900 vertexEClass = createEClass(VERTEX);
901 createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS);
902 createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS);
903
904 regionEClass = createEClass(REGION);
905 createEReference(regionEClass, REGION__VERTICES);
906
907 transitionEClass = createEClass(TRANSITION);
908 createEReference(transitionEClass, TRANSITION__TARGET);
909 createEReference(transitionEClass, TRANSITION__SOURCE);
910
911 statechartEClass = createEClass(STATECHART);
912
913 entryEClass = createEClass(ENTRY);
914
915 synchronizationEClass = createEClass(SYNCHRONIZATION);
916
917 stateEClass = createEClass(STATE);
918
919 regularStateEClass = createEClass(REGULAR_STATE);
920
921 compositeElementEClass = createEClass(COMPOSITE_ELEMENT);
922 createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS);
923
924 choiceEClass = createEClass(CHOICE);
925
926 exitEClass = createEClass(EXIT);
927
928 finalStateEClass = createEClass(FINAL_STATE);
929 }
930
931 /**
932 * <!-- begin-user-doc -->
933 * <!-- end-user-doc -->
934 * @generated
935 */
936 private boolean isInitialized = false;
937
938 /**
939 * Complete the initialization of the package and its meta-model. This
940 * method is guarded to have no affect on any invocation but its first.
941 * <!-- begin-user-doc -->
942 * <!-- end-user-doc -->
943 * @generated
944 */
945 public void initializePackageContents() {
946 if (isInitialized) return;
947 isInitialized = true;
948
949 // Initialize package
950 setName(eNAME);
951 setNsPrefix(eNS_PREFIX);
952 setNsURI(eNS_URI);
953
954 // Create type parameters
955
956 // Set bounds for type parameters
957
958 // Add supertypes to classes
959 pseudostateEClass.getESuperTypes().add(this.getVertex());
960 statechartEClass.getESuperTypes().add(this.getCompositeElement());
961 entryEClass.getESuperTypes().add(this.getPseudostate());
962 synchronizationEClass.getESuperTypes().add(this.getPseudostate());
963 stateEClass.getESuperTypes().add(this.getRegularState());
964 stateEClass.getESuperTypes().add(this.getCompositeElement());
965 regularStateEClass.getESuperTypes().add(this.getVertex());
966 choiceEClass.getESuperTypes().add(this.getPseudostate());
967 exitEClass.getESuperTypes().add(this.getPseudostate());
968 finalStateEClass.getESuperTypes().add(this.getRegularState());
969
970 // Initialize classes, features, and operations; add parameters
971 initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
972
973 initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
974 initEReference(getVertex_IncomingTransitions(), this.getTransition(), this.getTransition_Target(), "incomingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
975 initEReference(getVertex_OutgoingTransitions(), this.getTransition(), this.getTransition_Source(), "outgoingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
976
977 initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
978 initEReference(getRegion_Vertices(), this.getVertex(), null, "vertices", null, 0, -1, Region.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
979
980 initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
981 initEReference(getTransition_Target(), this.getVertex(), this.getVertex_IncomingTransitions(), "target", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
982 initEReference(getTransition_Source(), this.getVertex(), this.getVertex_OutgoingTransitions(), "source", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
983
984 initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
985
986 initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
987
988 initEClass(synchronizationEClass, Synchronization.class, "Synchronization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
989
990 initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
991
992 initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
993
994 initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
995 initEReference(getCompositeElement_Regions(), this.getRegion(), null, "regions", null, 0, -1, CompositeElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
996
997 initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
998
999 initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1000
1001 initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1002
1003 // Create resource
1004 createResource(eNS_URI);
1005 }
1006
1007} //YakinduPackageImpl
1008>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java
new file mode 100644
index 00000000..1aa8b67a
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java
@@ -0,0 +1,409 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummFactoryImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*;
7
8import org.eclipse.emf.ecore.EClass;
9import org.eclipse.emf.ecore.EDataType;
10import org.eclipse.emf.ecore.EObject;
11import org.eclipse.emf.ecore.EPackage;
12
13import org.eclipse.emf.ecore.impl.EFactoryImpl;
14
15import org.eclipse.emf.ecore.plugin.EcorePlugin;
16
17/**
18 * <!-- begin-user-doc -->
19 * An implementation of the model <b>Factory</b>.
20 * <!-- end-user-doc -->
21 * @generated
22 */
23public class YakindummFactoryImpl extends EFactoryImpl implements YakindummFactory {
24 /**
25 * Creates the default factory implementation.
26 * <!-- begin-user-doc -->
27 * <!-- end-user-doc -->
28 * @generated
29 */
30 public static YakindummFactory init() {
31 try {
32 YakindummFactory theYakindummFactory = (YakindummFactory)EPackage.Registry.INSTANCE.getEFactory(YakindummPackage.eNS_URI);
33 if (theYakindummFactory != null) {
34 return theYakindummFactory;
35 }
36 }
37 catch (Exception exception) {
38 EcorePlugin.INSTANCE.log(exception);
39 }
40 return new YakindummFactoryImpl();
41 }
42
43 /**
44 * Creates an instance of the factory.
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @generated
48 */
49 public YakindummFactoryImpl() {
50 super();
51 }
52
53 /**
54 * <!-- begin-user-doc -->
55 * <!-- end-user-doc -->
56 * @generated
57 */
58 @Override
59 public EObject create(EClass eClass) {
60 switch (eClass.getClassifierID()) {
61 case YakindummPackage.REGION: return createRegion();
62 case YakindummPackage.TRANSITION: return createTransition();
63 case YakindummPackage.STATECHART: return createStatechart();
64 case YakindummPackage.ENTRY: return createEntry();
65 case YakindummPackage.STATE: return createState();
66 case YakindummPackage.CHOICE: return createChoice();
67 case YakindummPackage.EXIT: return createExit();
68 case YakindummPackage.FINAL_STATE: return createFinalState();
69 default:
70 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
71 }
72 }
73
74 /**
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @generated
78 */
79 @Override
80 public Object createFromString(EDataType eDataType, String initialValue) {
81 switch (eDataType.getClassifierID()) {
82 case YakindummPackage.ENTRY_TYPE:
83 return createEntryTypeFromString(eDataType, initialValue);
84 default:
85 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
86 }
87 }
88
89 /**
90 * <!-- begin-user-doc -->
91 * <!-- end-user-doc -->
92 * @generated
93 */
94 @Override
95 public String convertToString(EDataType eDataType, Object instanceValue) {
96 switch (eDataType.getClassifierID()) {
97 case YakindummPackage.ENTRY_TYPE:
98 return convertEntryTypeToString(eDataType, instanceValue);
99 default:
100 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
101 }
102 }
103
104 /**
105 * <!-- begin-user-doc -->
106 * <!-- end-user-doc -->
107 * @generated
108 */
109 public Region createRegion() {
110 RegionImpl region = new RegionImpl();
111 return region;
112 }
113
114 /**
115 * <!-- begin-user-doc -->
116 * <!-- end-user-doc -->
117 * @generated
118 */
119 public Transition createTransition() {
120 TransitionImpl transition = new TransitionImpl();
121 return transition;
122 }
123
124 /**
125 * <!-- begin-user-doc -->
126 * <!-- end-user-doc -->
127 * @generated
128 */
129 public Statechart createStatechart() {
130 StatechartImpl statechart = new StatechartImpl();
131 return statechart;
132 }
133
134 /**
135 * <!-- begin-user-doc -->
136 * <!-- end-user-doc -->
137 * @generated
138 */
139 public Entry createEntry() {
140 EntryImpl entry = new EntryImpl();
141 return entry;
142 }
143
144 /**
145 * <!-- begin-user-doc -->
146 * <!-- end-user-doc -->
147 * @generated
148 */
149 public State createState() {
150 StateImpl state = new StateImpl();
151 return state;
152 }
153
154 /**
155 * <!-- begin-user-doc -->
156 * <!-- end-user-doc -->
157 * @generated
158 */
159 public Choice createChoice() {
160 ChoiceImpl choice = new ChoiceImpl();
161 return choice;
162 }
163
164 /**
165 * <!-- begin-user-doc -->
166 * <!-- end-user-doc -->
167 * @generated
168 */
169 public Exit createExit() {
170 ExitImpl exit = new ExitImpl();
171 return exit;
172 }
173
174 /**
175 * <!-- begin-user-doc -->
176 * <!-- end-user-doc -->
177 * @generated
178 */
179 public FinalState createFinalState() {
180 FinalStateImpl finalState = new FinalStateImpl();
181 return finalState;
182 }
183
184 /**
185 * <!-- begin-user-doc -->
186 * <!-- end-user-doc -->
187 * @generated
188 */
189 public EntryType createEntryTypeFromString(EDataType eDataType, String initialValue) {
190 EntryType result = EntryType.get(initialValue);
191 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
192 return result;
193 }
194
195 /**
196 * <!-- begin-user-doc -->
197 * <!-- end-user-doc -->
198 * @generated
199 */
200 public String convertEntryTypeToString(EDataType eDataType, Object instanceValue) {
201 return instanceValue == null ? null : instanceValue.toString();
202 }
203
204 /**
205 * <!-- begin-user-doc -->
206 * <!-- end-user-doc -->
207 * @generated
208 */
209 public YakindummPackage getYakindummPackage() {
210 return (YakindummPackage)getEPackage();
211 }
212
213 /**
214 * <!-- begin-user-doc -->
215 * <!-- end-user-doc -->
216 * @deprecated
217 * @generated
218 */
219 @Deprecated
220 public static YakindummPackage getPackage() {
221 return YakindummPackage.eINSTANCE;
222 }
223
224} //YakindummFactoryImpl
225=======
226/**
227 */
228package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
229
230import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
231
232import org.eclipse.emf.ecore.EClass;
233import org.eclipse.emf.ecore.EObject;
234import org.eclipse.emf.ecore.EPackage;
235
236import org.eclipse.emf.ecore.impl.EFactoryImpl;
237
238import org.eclipse.emf.ecore.plugin.EcorePlugin;
239
240/**
241 * <!-- begin-user-doc -->
242 * An implementation of the model <b>Factory</b>.
243 * <!-- end-user-doc -->
244 * @generated
245 */
246public class YakinduFactoryImpl extends EFactoryImpl implements YakinduFactory {
247 /**
248 * Creates the default factory implementation.
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 public static YakinduFactory init() {
254 try {
255 YakinduFactory theYakinduFactory = (YakinduFactory)EPackage.Registry.INSTANCE.getEFactory(YakinduPackage.eNS_URI);
256 if (theYakinduFactory != null) {
257 return theYakinduFactory;
258 }
259 }
260 catch (Exception exception) {
261 EcorePlugin.INSTANCE.log(exception);
262 }
263 return new YakinduFactoryImpl();
264 }
265
266 /**
267 * Creates an instance of the factory.
268 * <!-- begin-user-doc -->
269 * <!-- end-user-doc -->
270 * @generated
271 */
272 public YakinduFactoryImpl() {
273 super();
274 }
275
276 /**
277 * <!-- begin-user-doc -->
278 * <!-- end-user-doc -->
279 * @generated
280 */
281 @Override
282 public EObject create(EClass eClass) {
283 switch (eClass.getClassifierID()) {
284 case YakinduPackage.REGION: return createRegion();
285 case YakinduPackage.TRANSITION: return createTransition();
286 case YakinduPackage.STATECHART: return createStatechart();
287 case YakinduPackage.ENTRY: return createEntry();
288 case YakinduPackage.SYNCHRONIZATION: return createSynchronization();
289 case YakinduPackage.STATE: return createState();
290 case YakinduPackage.CHOICE: return createChoice();
291 case YakinduPackage.EXIT: return createExit();
292 case YakinduPackage.FINAL_STATE: return createFinalState();
293 default:
294 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
295 }
296 }
297
298 /**
299 * <!-- begin-user-doc -->
300 * <!-- end-user-doc -->
301 * @generated
302 */
303 public Region createRegion() {
304 RegionImpl region = new RegionImpl();
305 return region;
306 }
307
308 /**
309 * <!-- begin-user-doc -->
310 * <!-- end-user-doc -->
311 * @generated
312 */
313 public Transition createTransition() {
314 TransitionImpl transition = new TransitionImpl();
315 return transition;
316 }
317
318 /**
319 * <!-- begin-user-doc -->
320 * <!-- end-user-doc -->
321 * @generated
322 */
323 public Statechart createStatechart() {
324 StatechartImpl statechart = new StatechartImpl();
325 return statechart;
326 }
327
328 /**
329 * <!-- begin-user-doc -->
330 * <!-- end-user-doc -->
331 * @generated
332 */
333 public Entry createEntry() {
334 EntryImpl entry = new EntryImpl();
335 return entry;
336 }
337
338 /**
339 * <!-- begin-user-doc -->
340 * <!-- end-user-doc -->
341 * @generated
342 */
343 public Synchronization createSynchronization() {
344 SynchronizationImpl synchronization = new SynchronizationImpl();
345 return synchronization;
346 }
347
348 /**
349 * <!-- begin-user-doc -->
350 * <!-- end-user-doc -->
351 * @generated
352 */
353 public State createState() {
354 StateImpl state = new StateImpl();
355 return state;
356 }
357
358 /**
359 * <!-- begin-user-doc -->
360 * <!-- end-user-doc -->
361 * @generated
362 */
363 public Choice createChoice() {
364 ChoiceImpl choice = new ChoiceImpl();
365 return choice;
366 }
367
368 /**
369 * <!-- begin-user-doc -->
370 * <!-- end-user-doc -->
371 * @generated
372 */
373 public Exit createExit() {
374 ExitImpl exit = new ExitImpl();
375 return exit;
376 }
377
378 /**
379 * <!-- begin-user-doc -->
380 * <!-- end-user-doc -->
381 * @generated
382 */
383 public FinalState createFinalState() {
384 FinalStateImpl finalState = new FinalStateImpl();
385 return finalState;
386 }
387
388 /**
389 * <!-- begin-user-doc -->
390 * <!-- end-user-doc -->
391 * @generated
392 */
393 public YakinduPackage getYakinduPackage() {
394 return (YakinduPackage)getEPackage();
395 }
396
397 /**
398 * <!-- begin-user-doc -->
399 * <!-- end-user-doc -->
400 * @deprecated
401 * @generated
402 */
403 @Deprecated
404 public static YakinduPackage getPackage() {
405 return YakinduPackage.eINSTANCE;
406 }
407
408} //YakinduFactoryImpl
409>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduFactoryImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java
new file mode 100644
index 00000000..87ae07f4
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java
@@ -0,0 +1,1008 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakindummPackageImpl.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.impl;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice;
7import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement;
8import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry;
9import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.EntryType;
10import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit;
11import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState;
12import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate;
13import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region;
14import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState;
15import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State;
16import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart;
17import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition;
18import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex;
19import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummFactory;
20import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage;
21
22import org.eclipse.emf.ecore.EAttribute;
23import org.eclipse.emf.ecore.EClass;
24import org.eclipse.emf.ecore.EEnum;
25import org.eclipse.emf.ecore.EPackage;
26import org.eclipse.emf.ecore.EReference;
27
28import org.eclipse.emf.ecore.impl.EPackageImpl;
29
30/**
31 * <!-- begin-user-doc -->
32 * An implementation of the model <b>Package</b>.
33 * <!-- end-user-doc -->
34 * @generated
35 */
36public class YakindummPackageImpl extends EPackageImpl implements YakindummPackage {
37 /**
38 * <!-- begin-user-doc -->
39 * <!-- end-user-doc -->
40 * @generated
41 */
42 private EClass pseudostateEClass = null;
43
44 /**
45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc -->
47 * @generated
48 */
49 private EClass vertexEClass = null;
50
51 /**
52 * <!-- begin-user-doc -->
53 * <!-- end-user-doc -->
54 * @generated
55 */
56 private EClass regionEClass = null;
57
58 /**
59 * <!-- begin-user-doc -->
60 * <!-- end-user-doc -->
61 * @generated
62 */
63 private EClass transitionEClass = null;
64
65 /**
66 * <!-- begin-user-doc -->
67 * <!-- end-user-doc -->
68 * @generated
69 */
70 private EClass statechartEClass = null;
71
72 /**
73 * <!-- begin-user-doc -->
74 * <!-- end-user-doc -->
75 * @generated
76 */
77 private EClass entryEClass = null;
78
79 /**
80 * <!-- begin-user-doc -->
81 * <!-- end-user-doc -->
82 * @generated
83 */
84 private EClass stateEClass = null;
85
86 /**
87 * <!-- begin-user-doc -->
88 * <!-- end-user-doc -->
89 * @generated
90 */
91 private EClass regularStateEClass = null;
92
93 /**
94 * <!-- begin-user-doc -->
95 * <!-- end-user-doc -->
96 * @generated
97 */
98 private EClass compositeElementEClass = null;
99
100 /**
101 * <!-- begin-user-doc -->
102 * <!-- end-user-doc -->
103 * @generated
104 */
105 private EClass choiceEClass = null;
106
107 /**
108 * <!-- begin-user-doc -->
109 * <!-- end-user-doc -->
110 * @generated
111 */
112 private EClass exitEClass = null;
113
114 /**
115 * <!-- begin-user-doc -->
116 * <!-- end-user-doc -->
117 * @generated
118 */
119 private EClass finalStateEClass = null;
120
121 /**
122 * <!-- begin-user-doc -->
123 * <!-- end-user-doc -->
124 * @generated
125 */
126 private EEnum entryTypeEEnum = null;
127
128 /**
129 * Creates an instance of the model <b>Package</b>, registered with
130 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
131 * package URI value.
132 * <p>Note: the correct way to create the package is via the static
133 * factory method {@link #init init()}, which also performs
134 * initialization of the package, or returns the registered package,
135 * if one already exists.
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @see org.eclipse.emf.ecore.EPackage.Registry
139 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage#eNS_URI
140 * @see #init()
141 * @generated
142 */
143 private YakindummPackageImpl() {
144 super(eNS_URI, YakindummFactory.eINSTANCE);
145 }
146
147 /**
148 * <!-- begin-user-doc -->
149 * <!-- end-user-doc -->
150 * @generated
151 */
152 private static boolean isInited = false;
153
154 /**
155 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
156 *
157 * <p>This method is used to initialize {@link YakindummPackage#eINSTANCE} when that field is accessed.
158 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
159 * <!-- begin-user-doc -->
160 * <!-- end-user-doc -->
161 * @see #eNS_URI
162 * @see #createPackageContents()
163 * @see #initializePackageContents()
164 * @generated
165 */
166 public static YakindummPackage init() {
167 if (isInited) return (YakindummPackage)EPackage.Registry.INSTANCE.getEPackage(YakindummPackage.eNS_URI);
168
169 // Obtain or create and register package
170 Object registeredYakindummPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
171 YakindummPackageImpl theYakindummPackage = registeredYakindummPackage instanceof YakindummPackageImpl ? (YakindummPackageImpl)registeredYakindummPackage : new YakindummPackageImpl();
172
173 isInited = true;
174
175 // Create package meta-data objects
176 theYakindummPackage.createPackageContents();
177
178 // Initialize created meta-data
179 theYakindummPackage.initializePackageContents();
180
181 // Mark meta-data to indicate it can't be changed
182 theYakindummPackage.freeze();
183
184 // Update the registry and return the package
185 EPackage.Registry.INSTANCE.put(YakindummPackage.eNS_URI, theYakindummPackage);
186 return theYakindummPackage;
187 }
188
189 /**
190 * <!-- begin-user-doc -->
191 * <!-- end-user-doc -->
192 * @generated
193 */
194 public EClass getPseudostate() {
195 return pseudostateEClass;
196 }
197
198 /**
199 * <!-- begin-user-doc -->
200 * <!-- end-user-doc -->
201 * @generated
202 */
203 public EClass getVertex() {
204 return vertexEClass;
205 }
206
207 /**
208 * <!-- begin-user-doc -->
209 * <!-- end-user-doc -->
210 * @generated
211 */
212 public EReference getVertex_IncomingTransitions() {
213 return (EReference)vertexEClass.getEStructuralFeatures().get(0);
214 }
215
216 /**
217 * <!-- begin-user-doc -->
218 * <!-- end-user-doc -->
219 * @generated
220 */
221 public EReference getVertex_OutgoingTransitions() {
222 return (EReference)vertexEClass.getEStructuralFeatures().get(1);
223 }
224
225 /**
226 * <!-- begin-user-doc -->
227 * <!-- end-user-doc -->
228 * @generated
229 */
230 public EClass getRegion() {
231 return regionEClass;
232 }
233
234 /**
235 * <!-- begin-user-doc -->
236 * <!-- end-user-doc -->
237 * @generated
238 */
239 public EReference getRegion_Vertices() {
240 return (EReference)regionEClass.getEStructuralFeatures().get(0);
241 }
242
243 /**
244 * <!-- begin-user-doc -->
245 * <!-- end-user-doc -->
246 * @generated
247 */
248 public EClass getTransition() {
249 return transitionEClass;
250 }
251
252 /**
253 * <!-- begin-user-doc -->
254 * <!-- end-user-doc -->
255 * @generated
256 */
257 public EReference getTransition_Target() {
258 return (EReference)transitionEClass.getEStructuralFeatures().get(0);
259 }
260
261 /**
262 * <!-- begin-user-doc -->
263 * <!-- end-user-doc -->
264 * @generated
265 */
266 public EReference getTransition_Source() {
267 return (EReference)transitionEClass.getEStructuralFeatures().get(1);
268 }
269
270 /**
271 * <!-- begin-user-doc -->
272 * <!-- end-user-doc -->
273 * @generated
274 */
275 public EClass getStatechart() {
276 return statechartEClass;
277 }
278
279 /**
280 * <!-- begin-user-doc -->
281 * <!-- end-user-doc -->
282 * @generated
283 */
284 public EClass getEntry() {
285 return entryEClass;
286 }
287
288 /**
289 * <!-- begin-user-doc -->
290 * <!-- end-user-doc -->
291 * @generated
292 */
293 public EAttribute getEntry_Type() {
294 return (EAttribute)entryEClass.getEStructuralFeatures().get(0);
295 }
296
297 /**
298 * <!-- begin-user-doc -->
299 * <!-- end-user-doc -->
300 * @generated
301 */
302 public EClass getState() {
303 return stateEClass;
304 }
305
306 /**
307 * <!-- begin-user-doc -->
308 * <!-- end-user-doc -->
309 * @generated
310 */
311 public EClass getRegularState() {
312 return regularStateEClass;
313 }
314
315 /**
316 * <!-- begin-user-doc -->
317 * <!-- end-user-doc -->
318 * @generated
319 */
320 public EClass getCompositeElement() {
321 return compositeElementEClass;
322 }
323
324 /**
325 * <!-- begin-user-doc -->
326 * <!-- end-user-doc -->
327 * @generated
328 */
329 public EReference getCompositeElement_Regions() {
330 return (EReference)compositeElementEClass.getEStructuralFeatures().get(0);
331 }
332
333 /**
334 * <!-- begin-user-doc -->
335 * <!-- end-user-doc -->
336 * @generated
337 */
338 public EClass getChoice() {
339 return choiceEClass;
340 }
341
342 /**
343 * <!-- begin-user-doc -->
344 * <!-- end-user-doc -->
345 * @generated
346 */
347 public EClass getExit() {
348 return exitEClass;
349 }
350
351 /**
352 * <!-- begin-user-doc -->
353 * <!-- end-user-doc -->
354 * @generated
355 */
356 public EClass getFinalState() {
357 return finalStateEClass;
358 }
359
360 /**
361 * <!-- begin-user-doc -->
362 * <!-- end-user-doc -->
363 * @generated
364 */
365 public EEnum getEntryType() {
366 return entryTypeEEnum;
367 }
368
369 /**
370 * <!-- begin-user-doc -->
371 * <!-- end-user-doc -->
372 * @generated
373 */
374 public YakindummFactory getYakindummFactory() {
375 return (YakindummFactory)getEFactoryInstance();
376 }
377
378 /**
379 * <!-- begin-user-doc -->
380 * <!-- end-user-doc -->
381 * @generated
382 */
383 private boolean isCreated = false;
384
385 /**
386 * Creates the meta-model objects for the package. This method is
387 * guarded to have no affect on any invocation but its first.
388 * <!-- begin-user-doc -->
389 * <!-- end-user-doc -->
390 * @generated
391 */
392 public void createPackageContents() {
393 if (isCreated) return;
394 isCreated = true;
395
396 // Create classes and their features
397 pseudostateEClass = createEClass(PSEUDOSTATE);
398
399 vertexEClass = createEClass(VERTEX);
400 createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS);
401 createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS);
402
403 regionEClass = createEClass(REGION);
404 createEReference(regionEClass, REGION__VERTICES);
405
406 transitionEClass = createEClass(TRANSITION);
407 createEReference(transitionEClass, TRANSITION__TARGET);
408 createEReference(transitionEClass, TRANSITION__SOURCE);
409
410 statechartEClass = createEClass(STATECHART);
411
412 entryEClass = createEClass(ENTRY);
413 createEAttribute(entryEClass, ENTRY__TYPE);
414
415 stateEClass = createEClass(STATE);
416
417 regularStateEClass = createEClass(REGULAR_STATE);
418
419 compositeElementEClass = createEClass(COMPOSITE_ELEMENT);
420 createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS);
421
422 choiceEClass = createEClass(CHOICE);
423
424 exitEClass = createEClass(EXIT);
425
426 finalStateEClass = createEClass(FINAL_STATE);
427
428 // Create enums
429 entryTypeEEnum = createEEnum(ENTRY_TYPE);
430 }
431
432 /**
433 * <!-- begin-user-doc -->
434 * <!-- end-user-doc -->
435 * @generated
436 */
437 private boolean isInitialized = false;
438
439 /**
440 * Complete the initialization of the package and its meta-model. This
441 * method is guarded to have no affect on any invocation but its first.
442 * <!-- begin-user-doc -->
443 * <!-- end-user-doc -->
444 * @generated
445 */
446 public void initializePackageContents() {
447 if (isInitialized) return;
448 isInitialized = true;
449
450 // Initialize package
451 setName(eNAME);
452 setNsPrefix(eNS_PREFIX);
453 setNsURI(eNS_URI);
454
455 // Create type parameters
456
457 // Set bounds for type parameters
458
459 // Add supertypes to classes
460 pseudostateEClass.getESuperTypes().add(this.getVertex());
461 statechartEClass.getESuperTypes().add(this.getCompositeElement());
462 entryEClass.getESuperTypes().add(this.getPseudostate());
463 stateEClass.getESuperTypes().add(this.getRegularState());
464 stateEClass.getESuperTypes().add(this.getCompositeElement());
465 regularStateEClass.getESuperTypes().add(this.getVertex());
466 choiceEClass.getESuperTypes().add(this.getPseudostate());
467 exitEClass.getESuperTypes().add(this.getPseudostate());
468 finalStateEClass.getESuperTypes().add(this.getRegularState());
469
470 // Initialize classes, features, and operations; add parameters
471 initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
472
473 initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
474 initEReference(getVertex_IncomingTransitions(), this.getTransition(), this.getTransition_Target(), "incomingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
475 initEReference(getVertex_OutgoingTransitions(), this.getTransition(), this.getTransition_Source(), "outgoingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
476
477 initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
478 initEReference(getRegion_Vertices(), this.getVertex(), null, "vertices", null, 0, -1, Region.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
479
480 initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
481 initEReference(getTransition_Target(), this.getVertex(), this.getVertex_IncomingTransitions(), "target", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
482 initEReference(getTransition_Source(), this.getVertex(), this.getVertex_OutgoingTransitions(), "source", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
483
484 initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
485
486 initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
487 initEAttribute(getEntry_Type(), this.getEntryType(), "Type", null, 1, 1, Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
488
489 initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
490
491 initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
492
493 initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
494 initEReference(getCompositeElement_Regions(), this.getRegion(), null, "regions", null, 0, -1, CompositeElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
495
496 initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
497
498 initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
499
500 initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
501
502 // Initialize enums and add enum literals
503 initEEnum(entryTypeEEnum, EntryType.class, "EntryType");
504 addEEnumLiteral(entryTypeEEnum, EntryType.NORMAL);
505 addEEnumLiteral(entryTypeEEnum, EntryType.HISTORY);
506 addEEnumLiteral(entryTypeEEnum, EntryType.DEEP_HISTORY);
507
508 // Create resource
509 createResource(eNS_URI);
510 }
511
512} //YakindummPackageImpl
513=======
514/**
515 */
516package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl;
517
518import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice;
519import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement;
520import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry;
521import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit;
522import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState;
523import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate;
524import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region;
525import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState;
526import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State;
527import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart;
528import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization;
529import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition;
530import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex;
531import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory;
532import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage;
533
534import org.eclipse.emf.ecore.EClass;
535import org.eclipse.emf.ecore.EPackage;
536import org.eclipse.emf.ecore.EReference;
537
538import org.eclipse.emf.ecore.impl.EPackageImpl;
539
540/**
541 * <!-- begin-user-doc -->
542 * An implementation of the model <b>Package</b>.
543 * <!-- end-user-doc -->
544 * @generated
545 */
546public class YakinduPackageImpl extends EPackageImpl implements YakinduPackage {
547 /**
548 * <!-- begin-user-doc -->
549 * <!-- end-user-doc -->
550 * @generated
551 */
552 private EClass pseudostateEClass = null;
553
554 /**
555 * <!-- begin-user-doc -->
556 * <!-- end-user-doc -->
557 * @generated
558 */
559 private EClass vertexEClass = null;
560
561 /**
562 * <!-- begin-user-doc -->
563 * <!-- end-user-doc -->
564 * @generated
565 */
566 private EClass regionEClass = null;
567
568 /**
569 * <!-- begin-user-doc -->
570 * <!-- end-user-doc -->
571 * @generated
572 */
573 private EClass transitionEClass = null;
574
575 /**
576 * <!-- begin-user-doc -->
577 * <!-- end-user-doc -->
578 * @generated
579 */
580 private EClass statechartEClass = null;
581
582 /**
583 * <!-- begin-user-doc -->
584 * <!-- end-user-doc -->
585 * @generated
586 */
587 private EClass entryEClass = null;
588
589 /**
590 * <!-- begin-user-doc -->
591 * <!-- end-user-doc -->
592 * @generated
593 */
594 private EClass synchronizationEClass = null;
595
596 /**
597 * <!-- begin-user-doc -->
598 * <!-- end-user-doc -->
599 * @generated
600 */
601 private EClass stateEClass = null;
602
603 /**
604 * <!-- begin-user-doc -->
605 * <!-- end-user-doc -->
606 * @generated
607 */
608 private EClass regularStateEClass = null;
609
610 /**
611 * <!-- begin-user-doc -->
612 * <!-- end-user-doc -->
613 * @generated
614 */
615 private EClass compositeElementEClass = null;
616
617 /**
618 * <!-- begin-user-doc -->
619 * <!-- end-user-doc -->
620 * @generated
621 */
622 private EClass choiceEClass = null;
623
624 /**
625 * <!-- begin-user-doc -->
626 * <!-- end-user-doc -->
627 * @generated
628 */
629 private EClass exitEClass = null;
630
631 /**
632 * <!-- begin-user-doc -->
633 * <!-- end-user-doc -->
634 * @generated
635 */
636 private EClass finalStateEClass = null;
637
638 /**
639 * Creates an instance of the model <b>Package</b>, registered with
640 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
641 * package URI value.
642 * <p>Note: the correct way to create the package is via the static
643 * factory method {@link #init init()}, which also performs
644 * initialization of the package, or returns the registered package,
645 * if one already exists.
646 * <!-- begin-user-doc -->
647 * <!-- end-user-doc -->
648 * @see org.eclipse.emf.ecore.EPackage.Registry
649 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#eNS_URI
650 * @see #init()
651 * @generated
652 */
653 private YakinduPackageImpl() {
654 super(eNS_URI, YakinduFactory.eINSTANCE);
655 }
656
657 /**
658 * <!-- begin-user-doc -->
659 * <!-- end-user-doc -->
660 * @generated
661 */
662 private static boolean isInited = false;
663
664 /**
665 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
666 *
667 * <p>This method is used to initialize {@link YakinduPackage#eINSTANCE} when that field is accessed.
668 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
669 * <!-- begin-user-doc -->
670 * <!-- end-user-doc -->
671 * @see #eNS_URI
672 * @see #createPackageContents()
673 * @see #initializePackageContents()
674 * @generated
675 */
676 public static YakinduPackage init() {
677 if (isInited) return (YakinduPackage)EPackage.Registry.INSTANCE.getEPackage(YakinduPackage.eNS_URI);
678
679 // Obtain or create and register package
680 Object registeredYakinduPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
681 YakinduPackageImpl theYakinduPackage = registeredYakinduPackage instanceof YakinduPackageImpl ? (YakinduPackageImpl)registeredYakinduPackage : new YakinduPackageImpl();
682
683 isInited = true;
684
685 // Create package meta-data objects
686 theYakinduPackage.createPackageContents();
687
688 // Initialize created meta-data
689 theYakinduPackage.initializePackageContents();
690
691 // Mark meta-data to indicate it can't be changed
692 theYakinduPackage.freeze();
693
694 // Update the registry and return the package
695 EPackage.Registry.INSTANCE.put(YakinduPackage.eNS_URI, theYakinduPackage);
696 return theYakinduPackage;
697 }
698
699 /**
700 * <!-- begin-user-doc -->
701 * <!-- end-user-doc -->
702 * @generated
703 */
704 public EClass getPseudostate() {
705 return pseudostateEClass;
706 }
707
708 /**
709 * <!-- begin-user-doc -->
710 * <!-- end-user-doc -->
711 * @generated
712 */
713 public EClass getVertex() {
714 return vertexEClass;
715 }
716
717 /**
718 * <!-- begin-user-doc -->
719 * <!-- end-user-doc -->
720 * @generated
721 */
722 public EReference getVertex_IncomingTransitions() {
723 return (EReference)vertexEClass.getEStructuralFeatures().get(0);
724 }
725
726 /**
727 * <!-- begin-user-doc -->
728 * <!-- end-user-doc -->
729 * @generated
730 */
731 public EReference getVertex_OutgoingTransitions() {
732 return (EReference)vertexEClass.getEStructuralFeatures().get(1);
733 }
734
735 /**
736 * <!-- begin-user-doc -->
737 * <!-- end-user-doc -->
738 * @generated
739 */
740 public EClass getRegion() {
741 return regionEClass;
742 }
743
744 /**
745 * <!-- begin-user-doc -->
746 * <!-- end-user-doc -->
747 * @generated
748 */
749 public EReference getRegion_Vertices() {
750 return (EReference)regionEClass.getEStructuralFeatures().get(0);
751 }
752
753 /**
754 * <!-- begin-user-doc -->
755 * <!-- end-user-doc -->
756 * @generated
757 */
758 public EClass getTransition() {
759 return transitionEClass;
760 }
761
762 /**
763 * <!-- begin-user-doc -->
764 * <!-- end-user-doc -->
765 * @generated
766 */
767 public EReference getTransition_Target() {
768 return (EReference)transitionEClass.getEStructuralFeatures().get(0);
769 }
770
771 /**
772 * <!-- begin-user-doc -->
773 * <!-- end-user-doc -->
774 * @generated
775 */
776 public EReference getTransition_Source() {
777 return (EReference)transitionEClass.getEStructuralFeatures().get(1);
778 }
779
780 /**
781 * <!-- begin-user-doc -->
782 * <!-- end-user-doc -->
783 * @generated
784 */
785 public EClass getStatechart() {
786 return statechartEClass;
787 }
788
789 /**
790 * <!-- begin-user-doc -->
791 * <!-- end-user-doc -->
792 * @generated
793 */
794 public EClass getEntry() {
795 return entryEClass;
796 }
797
798 /**
799 * <!-- begin-user-doc -->
800 * <!-- end-user-doc -->
801 * @generated
802 */
803 public EClass getSynchronization() {
804 return synchronizationEClass;
805 }
806
807 /**
808 * <!-- begin-user-doc -->
809 * <!-- end-user-doc -->
810 * @generated
811 */
812 public EClass getState() {
813 return stateEClass;
814 }
815
816 /**
817 * <!-- begin-user-doc -->
818 * <!-- end-user-doc -->
819 * @generated
820 */
821 public EClass getRegularState() {
822 return regularStateEClass;
823 }
824
825 /**
826 * <!-- begin-user-doc -->
827 * <!-- end-user-doc -->
828 * @generated
829 */
830 public EClass getCompositeElement() {
831 return compositeElementEClass;
832 }
833
834 /**
835 * <!-- begin-user-doc -->
836 * <!-- end-user-doc -->
837 * @generated
838 */
839 public EReference getCompositeElement_Regions() {
840 return (EReference)compositeElementEClass.getEStructuralFeatures().get(0);
841 }
842
843 /**
844 * <!-- begin-user-doc -->
845 * <!-- end-user-doc -->
846 * @generated
847 */
848 public EClass getChoice() {
849 return choiceEClass;
850 }
851
852 /**
853 * <!-- begin-user-doc -->
854 * <!-- end-user-doc -->
855 * @generated
856 */
857 public EClass getExit() {
858 return exitEClass;
859 }
860
861 /**
862 * <!-- begin-user-doc -->
863 * <!-- end-user-doc -->
864 * @generated
865 */
866 public EClass getFinalState() {
867 return finalStateEClass;
868 }
869
870 /**
871 * <!-- begin-user-doc -->
872 * <!-- end-user-doc -->
873 * @generated
874 */
875 public YakinduFactory getYakinduFactory() {
876 return (YakinduFactory)getEFactoryInstance();
877 }
878
879 /**
880 * <!-- begin-user-doc -->
881 * <!-- end-user-doc -->
882 * @generated
883 */
884 private boolean isCreated = false;
885
886 /**
887 * Creates the meta-model objects for the package. This method is
888 * guarded to have no affect on any invocation but its first.
889 * <!-- begin-user-doc -->
890 * <!-- end-user-doc -->
891 * @generated
892 */
893 public void createPackageContents() {
894 if (isCreated) return;
895 isCreated = true;
896
897 // Create classes and their features
898 pseudostateEClass = createEClass(PSEUDOSTATE);
899
900 vertexEClass = createEClass(VERTEX);
901 createEReference(vertexEClass, VERTEX__INCOMING_TRANSITIONS);
902 createEReference(vertexEClass, VERTEX__OUTGOING_TRANSITIONS);
903
904 regionEClass = createEClass(REGION);
905 createEReference(regionEClass, REGION__VERTICES);
906
907 transitionEClass = createEClass(TRANSITION);
908 createEReference(transitionEClass, TRANSITION__TARGET);
909 createEReference(transitionEClass, TRANSITION__SOURCE);
910
911 statechartEClass = createEClass(STATECHART);
912
913 entryEClass = createEClass(ENTRY);
914
915 synchronizationEClass = createEClass(SYNCHRONIZATION);
916
917 stateEClass = createEClass(STATE);
918
919 regularStateEClass = createEClass(REGULAR_STATE);
920
921 compositeElementEClass = createEClass(COMPOSITE_ELEMENT);
922 createEReference(compositeElementEClass, COMPOSITE_ELEMENT__REGIONS);
923
924 choiceEClass = createEClass(CHOICE);
925
926 exitEClass = createEClass(EXIT);
927
928 finalStateEClass = createEClass(FINAL_STATE);
929 }
930
931 /**
932 * <!-- begin-user-doc -->
933 * <!-- end-user-doc -->
934 * @generated
935 */
936 private boolean isInitialized = false;
937
938 /**
939 * Complete the initialization of the package and its meta-model. This
940 * method is guarded to have no affect on any invocation but its first.
941 * <!-- begin-user-doc -->
942 * <!-- end-user-doc -->
943 * @generated
944 */
945 public void initializePackageContents() {
946 if (isInitialized) return;
947 isInitialized = true;
948
949 // Initialize package
950 setName(eNAME);
951 setNsPrefix(eNS_PREFIX);
952 setNsURI(eNS_URI);
953
954 // Create type parameters
955
956 // Set bounds for type parameters
957
958 // Add supertypes to classes
959 pseudostateEClass.getESuperTypes().add(this.getVertex());
960 statechartEClass.getESuperTypes().add(this.getCompositeElement());
961 entryEClass.getESuperTypes().add(this.getPseudostate());
962 synchronizationEClass.getESuperTypes().add(this.getPseudostate());
963 stateEClass.getESuperTypes().add(this.getRegularState());
964 stateEClass.getESuperTypes().add(this.getCompositeElement());
965 regularStateEClass.getESuperTypes().add(this.getVertex());
966 choiceEClass.getESuperTypes().add(this.getPseudostate());
967 exitEClass.getESuperTypes().add(this.getPseudostate());
968 finalStateEClass.getESuperTypes().add(this.getRegularState());
969
970 // Initialize classes, features, and operations; add parameters
971 initEClass(pseudostateEClass, Pseudostate.class, "Pseudostate", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
972
973 initEClass(vertexEClass, Vertex.class, "Vertex", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
974 initEReference(getVertex_IncomingTransitions(), this.getTransition(), this.getTransition_Target(), "incomingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
975 initEReference(getVertex_OutgoingTransitions(), this.getTransition(), this.getTransition_Source(), "outgoingTransitions", null, 0, -1, Vertex.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
976
977 initEClass(regionEClass, Region.class, "Region", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
978 initEReference(getRegion_Vertices(), this.getVertex(), null, "vertices", null, 0, -1, Region.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
979
980 initEClass(transitionEClass, Transition.class, "Transition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
981 initEReference(getTransition_Target(), this.getVertex(), this.getVertex_IncomingTransitions(), "target", null, 1, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
982 initEReference(getTransition_Source(), this.getVertex(), this.getVertex_OutgoingTransitions(), "source", null, 0, 1, Transition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
983
984 initEClass(statechartEClass, Statechart.class, "Statechart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
985
986 initEClass(entryEClass, Entry.class, "Entry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
987
988 initEClass(synchronizationEClass, Synchronization.class, "Synchronization", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
989
990 initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
991
992 initEClass(regularStateEClass, RegularState.class, "RegularState", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
993
994 initEClass(compositeElementEClass, CompositeElement.class, "CompositeElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
995 initEReference(getCompositeElement_Regions(), this.getRegion(), null, "regions", null, 0, -1, CompositeElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
996
997 initEClass(choiceEClass, Choice.class, "Choice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
998
999 initEClass(exitEClass, Exit.class, "Exit", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1000
1001 initEClass(finalStateEClass, FinalState.class, "FinalState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1002
1003 // Create resource
1004 createResource(eNS_URI);
1005 }
1006
1007} //YakinduPackageImpl
1008>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/impl/YakinduPackageImpl.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java
new file mode 100644
index 00000000..fb33ef42
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java
@@ -0,0 +1,657 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*;
7
8import org.eclipse.emf.common.notify.Adapter;
9import org.eclipse.emf.common.notify.Notifier;
10
11import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
12
13import org.eclipse.emf.ecore.EObject;
14
15/**
16 * <!-- begin-user-doc -->
17 * The <b>Adapter Factory</b> for the model.
18 * It provides an adapter <code>createXXX</code> method for each class of the model.
19 * <!-- end-user-doc -->
20 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
21 * @generated
22 */
23public class YakindummAdapterFactory extends AdapterFactoryImpl {
24 /**
25 * The cached model package.
26 * <!-- begin-user-doc -->
27 * <!-- end-user-doc -->
28 * @generated
29 */
30 protected static YakindummPackage modelPackage;
31
32 /**
33 * Creates an instance of the adapter factory.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @generated
37 */
38 public YakindummAdapterFactory() {
39 if (modelPackage == null) {
40 modelPackage = YakindummPackage.eINSTANCE;
41 }
42 }
43
44 /**
45 * Returns whether this factory is applicable for the type of the object.
46 * <!-- begin-user-doc -->
47 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
48 * <!-- end-user-doc -->
49 * @return whether this factory is applicable for the type of the object.
50 * @generated
51 */
52 @Override
53 public boolean isFactoryForType(Object object) {
54 if (object == modelPackage) {
55 return true;
56 }
57 if (object instanceof EObject) {
58 return ((EObject)object).eClass().getEPackage() == modelPackage;
59 }
60 return false;
61 }
62
63 /**
64 * The switch that delegates to the <code>createXXX</code> methods.
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @generated
68 */
69 protected YakindummSwitch<Adapter> modelSwitch =
70 new YakindummSwitch<Adapter>() {
71 @Override
72 public Adapter casePseudostate(Pseudostate object) {
73 return createPseudostateAdapter();
74 }
75 @Override
76 public Adapter caseVertex(Vertex object) {
77 return createVertexAdapter();
78 }
79 @Override
80 public Adapter caseRegion(Region object) {
81 return createRegionAdapter();
82 }
83 @Override
84 public Adapter caseTransition(Transition object) {
85 return createTransitionAdapter();
86 }
87 @Override
88 public Adapter caseStatechart(Statechart object) {
89 return createStatechartAdapter();
90 }
91 @Override
92 public Adapter caseEntry(Entry object) {
93 return createEntryAdapter();
94 }
95 @Override
96 public Adapter caseState(State object) {
97 return createStateAdapter();
98 }
99 @Override
100 public Adapter caseRegularState(RegularState object) {
101 return createRegularStateAdapter();
102 }
103 @Override
104 public Adapter caseCompositeElement(CompositeElement object) {
105 return createCompositeElementAdapter();
106 }
107 @Override
108 public Adapter caseChoice(Choice object) {
109 return createChoiceAdapter();
110 }
111 @Override
112 public Adapter caseExit(Exit object) {
113 return createExitAdapter();
114 }
115 @Override
116 public Adapter caseFinalState(FinalState object) {
117 return createFinalStateAdapter();
118 }
119 @Override
120 public Adapter defaultCase(EObject object) {
121 return createEObjectAdapter();
122 }
123 };
124
125 /**
126 * Creates an adapter for the <code>target</code>.
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @param target the object to adapt.
130 * @return the adapter for the <code>target</code>.
131 * @generated
132 */
133 @Override
134 public Adapter createAdapter(Notifier target) {
135 return modelSwitch.doSwitch((EObject)target);
136 }
137
138
139 /**
140 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate <em>Pseudostate</em>}'.
141 * <!-- begin-user-doc -->
142 * This default implementation returns null so that we can easily ignore cases;
143 * it's useful to ignore a case when inheritance will catch all the cases anyway.
144 * <!-- end-user-doc -->
145 * @return the new adapter.
146 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate
147 * @generated
148 */
149 public Adapter createPseudostateAdapter() {
150 return null;
151 }
152
153 /**
154 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex <em>Vertex</em>}'.
155 * <!-- begin-user-doc -->
156 * This default implementation returns null so that we can easily ignore cases;
157 * it's useful to ignore a case when inheritance will catch all the cases anyway.
158 * <!-- end-user-doc -->
159 * @return the new adapter.
160 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex
161 * @generated
162 */
163 public Adapter createVertexAdapter() {
164 return null;
165 }
166
167 /**
168 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region <em>Region</em>}'.
169 * <!-- begin-user-doc -->
170 * This default implementation returns null so that we can easily ignore cases;
171 * it's useful to ignore a case when inheritance will catch all the cases anyway.
172 * <!-- end-user-doc -->
173 * @return the new adapter.
174 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region
175 * @generated
176 */
177 public Adapter createRegionAdapter() {
178 return null;
179 }
180
181 /**
182 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition <em>Transition</em>}'.
183 * <!-- begin-user-doc -->
184 * This default implementation returns null so that we can easily ignore cases;
185 * it's useful to ignore a case when inheritance will catch all the cases anyway.
186 * <!-- end-user-doc -->
187 * @return the new adapter.
188 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition
189 * @generated
190 */
191 public Adapter createTransitionAdapter() {
192 return null;
193 }
194
195 /**
196 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart <em>Statechart</em>}'.
197 * <!-- begin-user-doc -->
198 * This default implementation returns null so that we can easily ignore cases;
199 * it's useful to ignore a case when inheritance will catch all the cases anyway.
200 * <!-- end-user-doc -->
201 * @return the new adapter.
202 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart
203 * @generated
204 */
205 public Adapter createStatechartAdapter() {
206 return null;
207 }
208
209 /**
210 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry <em>Entry</em>}'.
211 * <!-- begin-user-doc -->
212 * This default implementation returns null so that we can easily ignore cases;
213 * it's useful to ignore a case when inheritance will catch all the cases anyway.
214 * <!-- end-user-doc -->
215 * @return the new adapter.
216 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry
217 * @generated
218 */
219 public Adapter createEntryAdapter() {
220 return null;
221 }
222
223 /**
224 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State <em>State</em>}'.
225 * <!-- begin-user-doc -->
226 * This default implementation returns null so that we can easily ignore cases;
227 * it's useful to ignore a case when inheritance will catch all the cases anyway.
228 * <!-- end-user-doc -->
229 * @return the new adapter.
230 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State
231 * @generated
232 */
233 public Adapter createStateAdapter() {
234 return null;
235 }
236
237 /**
238 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState <em>Regular State</em>}'.
239 * <!-- begin-user-doc -->
240 * This default implementation returns null so that we can easily ignore cases;
241 * it's useful to ignore a case when inheritance will catch all the cases anyway.
242 * <!-- end-user-doc -->
243 * @return the new adapter.
244 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState
245 * @generated
246 */
247 public Adapter createRegularStateAdapter() {
248 return null;
249 }
250
251 /**
252 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement <em>Composite Element</em>}'.
253 * <!-- begin-user-doc -->
254 * This default implementation returns null so that we can easily ignore cases;
255 * it's useful to ignore a case when inheritance will catch all the cases anyway.
256 * <!-- end-user-doc -->
257 * @return the new adapter.
258 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement
259 * @generated
260 */
261 public Adapter createCompositeElementAdapter() {
262 return null;
263 }
264
265 /**
266 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice <em>Choice</em>}'.
267 * <!-- begin-user-doc -->
268 * This default implementation returns null so that we can easily ignore cases;
269 * it's useful to ignore a case when inheritance will catch all the cases anyway.
270 * <!-- end-user-doc -->
271 * @return the new adapter.
272 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice
273 * @generated
274 */
275 public Adapter createChoiceAdapter() {
276 return null;
277 }
278
279 /**
280 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit <em>Exit</em>}'.
281 * <!-- begin-user-doc -->
282 * This default implementation returns null so that we can easily ignore cases;
283 * it's useful to ignore a case when inheritance will catch all the cases anyway.
284 * <!-- end-user-doc -->
285 * @return the new adapter.
286 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit
287 * @generated
288 */
289 public Adapter createExitAdapter() {
290 return null;
291 }
292
293 /**
294 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState <em>Final State</em>}'.
295 * <!-- begin-user-doc -->
296 * This default implementation returns null so that we can easily ignore cases;
297 * it's useful to ignore a case when inheritance will catch all the cases anyway.
298 * <!-- end-user-doc -->
299 * @return the new adapter.
300 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState
301 * @generated
302 */
303 public Adapter createFinalStateAdapter() {
304 return null;
305 }
306
307 /**
308 * Creates a new adapter for the default case.
309 * <!-- begin-user-doc -->
310 * This default implementation returns null.
311 * <!-- end-user-doc -->
312 * @return the new adapter.
313 * @generated
314 */
315 public Adapter createEObjectAdapter() {
316 return null;
317 }
318
319} //YakindummAdapterFactory
320=======
321/**
322 */
323package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util;
324
325import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
326
327import org.eclipse.emf.common.notify.Adapter;
328import org.eclipse.emf.common.notify.Notifier;
329
330import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
331
332import org.eclipse.emf.ecore.EObject;
333
334/**
335 * <!-- begin-user-doc -->
336 * The <b>Adapter Factory</b> for the model.
337 * It provides an adapter <code>createXXX</code> method for each class of the model.
338 * <!-- end-user-doc -->
339 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
340 * @generated
341 */
342public class YakinduAdapterFactory extends AdapterFactoryImpl {
343 /**
344 * The cached model package.
345 * <!-- begin-user-doc -->
346 * <!-- end-user-doc -->
347 * @generated
348 */
349 protected static YakinduPackage modelPackage;
350
351 /**
352 * Creates an instance of the adapter factory.
353 * <!-- begin-user-doc -->
354 * <!-- end-user-doc -->
355 * @generated
356 */
357 public YakinduAdapterFactory() {
358 if (modelPackage == null) {
359 modelPackage = YakinduPackage.eINSTANCE;
360 }
361 }
362
363 /**
364 * Returns whether this factory is applicable for the type of the object.
365 * <!-- begin-user-doc -->
366 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
367 * <!-- end-user-doc -->
368 * @return whether this factory is applicable for the type of the object.
369 * @generated
370 */
371 @Override
372 public boolean isFactoryForType(Object object) {
373 if (object == modelPackage) {
374 return true;
375 }
376 if (object instanceof EObject) {
377 return ((EObject)object).eClass().getEPackage() == modelPackage;
378 }
379 return false;
380 }
381
382 /**
383 * The switch that delegates to the <code>createXXX</code> methods.
384 * <!-- begin-user-doc -->
385 * <!-- end-user-doc -->
386 * @generated
387 */
388 protected YakinduSwitch<Adapter> modelSwitch =
389 new YakinduSwitch<Adapter>() {
390 @Override
391 public Adapter casePseudostate(Pseudostate object) {
392 return createPseudostateAdapter();
393 }
394 @Override
395 public Adapter caseVertex(Vertex object) {
396 return createVertexAdapter();
397 }
398 @Override
399 public Adapter caseRegion(Region object) {
400 return createRegionAdapter();
401 }
402 @Override
403 public Adapter caseTransition(Transition object) {
404 return createTransitionAdapter();
405 }
406 @Override
407 public Adapter caseStatechart(Statechart object) {
408 return createStatechartAdapter();
409 }
410 @Override
411 public Adapter caseEntry(Entry object) {
412 return createEntryAdapter();
413 }
414 @Override
415 public Adapter caseSynchronization(Synchronization object) {
416 return createSynchronizationAdapter();
417 }
418 @Override
419 public Adapter caseState(State object) {
420 return createStateAdapter();
421 }
422 @Override
423 public Adapter caseRegularState(RegularState object) {
424 return createRegularStateAdapter();
425 }
426 @Override
427 public Adapter caseCompositeElement(CompositeElement object) {
428 return createCompositeElementAdapter();
429 }
430 @Override
431 public Adapter caseChoice(Choice object) {
432 return createChoiceAdapter();
433 }
434 @Override
435 public Adapter caseExit(Exit object) {
436 return createExitAdapter();
437 }
438 @Override
439 public Adapter caseFinalState(FinalState object) {
440 return createFinalStateAdapter();
441 }
442 @Override
443 public Adapter defaultCase(EObject object) {
444 return createEObjectAdapter();
445 }
446 };
447
448 /**
449 * Creates an adapter for the <code>target</code>.
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @param target the object to adapt.
453 * @return the adapter for the <code>target</code>.
454 * @generated
455 */
456 @Override
457 public Adapter createAdapter(Notifier target) {
458 return modelSwitch.doSwitch((EObject)target);
459 }
460
461
462 /**
463 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</em>}'.
464 * <!-- begin-user-doc -->
465 * This default implementation returns null so that we can easily ignore cases;
466 * it's useful to ignore a case when inheritance will catch all the cases anyway.
467 * <!-- end-user-doc -->
468 * @return the new adapter.
469 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate
470 * @generated
471 */
472 public Adapter createPseudostateAdapter() {
473 return null;
474 }
475
476 /**
477 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'.
478 * <!-- begin-user-doc -->
479 * This default implementation returns null so that we can easily ignore cases;
480 * it's useful to ignore a case when inheritance will catch all the cases anyway.
481 * <!-- end-user-doc -->
482 * @return the new adapter.
483 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex
484 * @generated
485 */
486 public Adapter createVertexAdapter() {
487 return null;
488 }
489
490 /**
491 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'.
492 * <!-- begin-user-doc -->
493 * This default implementation returns null so that we can easily ignore cases;
494 * it's useful to ignore a case when inheritance will catch all the cases anyway.
495 * <!-- end-user-doc -->
496 * @return the new adapter.
497 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region
498 * @generated
499 */
500 public Adapter createRegionAdapter() {
501 return null;
502 }
503
504 /**
505 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'.
506 * <!-- begin-user-doc -->
507 * This default implementation returns null so that we can easily ignore cases;
508 * it's useful to ignore a case when inheritance will catch all the cases anyway.
509 * <!-- end-user-doc -->
510 * @return the new adapter.
511 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition
512 * @generated
513 */
514 public Adapter createTransitionAdapter() {
515 return null;
516 }
517
518 /**
519 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'.
520 * <!-- begin-user-doc -->
521 * This default implementation returns null so that we can easily ignore cases;
522 * it's useful to ignore a case when inheritance will catch all the cases anyway.
523 * <!-- end-user-doc -->
524 * @return the new adapter.
525 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart
526 * @generated
527 */
528 public Adapter createStatechartAdapter() {
529 return null;
530 }
531
532 /**
533 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'.
534 * <!-- begin-user-doc -->
535 * This default implementation returns null so that we can easily ignore cases;
536 * it's useful to ignore a case when inheritance will catch all the cases anyway.
537 * <!-- end-user-doc -->
538 * @return the new adapter.
539 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry
540 * @generated
541 */
542 public Adapter createEntryAdapter() {
543 return null;
544 }
545
546 /**
547 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'.
548 * <!-- begin-user-doc -->
549 * This default implementation returns null so that we can easily ignore cases;
550 * it's useful to ignore a case when inheritance will catch all the cases anyway.
551 * <!-- end-user-doc -->
552 * @return the new adapter.
553 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization
554 * @generated
555 */
556 public Adapter createSynchronizationAdapter() {
557 return null;
558 }
559
560 /**
561 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'.
562 * <!-- begin-user-doc -->
563 * This default implementation returns null so that we can easily ignore cases;
564 * it's useful to ignore a case when inheritance will catch all the cases anyway.
565 * <!-- end-user-doc -->
566 * @return the new adapter.
567 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State
568 * @generated
569 */
570 public Adapter createStateAdapter() {
571 return null;
572 }
573
574 /**
575 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'.
576 * <!-- begin-user-doc -->
577 * This default implementation returns null so that we can easily ignore cases;
578 * it's useful to ignore a case when inheritance will catch all the cases anyway.
579 * <!-- end-user-doc -->
580 * @return the new adapter.
581 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState
582 * @generated
583 */
584 public Adapter createRegularStateAdapter() {
585 return null;
586 }
587
588 /**
589 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'.
590 * <!-- begin-user-doc -->
591 * This default implementation returns null so that we can easily ignore cases;
592 * it's useful to ignore a case when inheritance will catch all the cases anyway.
593 * <!-- end-user-doc -->
594 * @return the new adapter.
595 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement
596 * @generated
597 */
598 public Adapter createCompositeElementAdapter() {
599 return null;
600 }
601
602 /**
603 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'.
604 * <!-- begin-user-doc -->
605 * This default implementation returns null so that we can easily ignore cases;
606 * it's useful to ignore a case when inheritance will catch all the cases anyway.
607 * <!-- end-user-doc -->
608 * @return the new adapter.
609 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice
610 * @generated
611 */
612 public Adapter createChoiceAdapter() {
613 return null;
614 }
615
616 /**
617 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'.
618 * <!-- begin-user-doc -->
619 * This default implementation returns null so that we can easily ignore cases;
620 * it's useful to ignore a case when inheritance will catch all the cases anyway.
621 * <!-- end-user-doc -->
622 * @return the new adapter.
623 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit
624 * @generated
625 */
626 public Adapter createExitAdapter() {
627 return null;
628 }
629
630 /**
631 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'.
632 * <!-- begin-user-doc -->
633 * This default implementation returns null so that we can easily ignore cases;
634 * it's useful to ignore a case when inheritance will catch all the cases anyway.
635 * <!-- end-user-doc -->
636 * @return the new adapter.
637 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState
638 * @generated
639 */
640 public Adapter createFinalStateAdapter() {
641 return null;
642 }
643
644 /**
645 * Creates a new adapter for the default case.
646 * <!-- begin-user-doc -->
647 * This default implementation returns null.
648 * <!-- end-user-doc -->
649 * @return the new adapter.
650 * @generated
651 */
652 public Adapter createEObjectAdapter() {
653 return null;
654 }
655
656} //YakinduAdapterFactory
657>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java
new file mode 100644
index 00000000..4cc0e8a8
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java
@@ -0,0 +1,736 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*;
7
8import org.eclipse.emf.ecore.EObject;
9import org.eclipse.emf.ecore.EPackage;
10
11import org.eclipse.emf.ecore.util.Switch;
12
13/**
14 * <!-- begin-user-doc -->
15 * The <b>Switch</b> for the model's inheritance hierarchy.
16 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
17 * to invoke the <code>caseXXX</code> method for each class of the model,
18 * starting with the actual class of the object
19 * and proceeding up the inheritance hierarchy
20 * until a non-null result is returned,
21 * which is the result of the switch.
22 * <!-- end-user-doc -->
23 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
24 * @generated
25 */
26public class YakindummSwitch<T> extends Switch<T> {
27 /**
28 * The cached model package
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 protected static YakindummPackage modelPackage;
34
35 /**
36 * Creates an instance of the switch.
37 * <!-- begin-user-doc -->
38 * <!-- end-user-doc -->
39 * @generated
40 */
41 public YakindummSwitch() {
42 if (modelPackage == null) {
43 modelPackage = YakindummPackage.eINSTANCE;
44 }
45 }
46
47 /**
48 * Checks whether this is a switch for the given package.
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @param ePackage the package in question.
52 * @return whether this is a switch for the given package.
53 * @generated
54 */
55 @Override
56 protected boolean isSwitchFor(EPackage ePackage) {
57 return ePackage == modelPackage;
58 }
59
60 /**
61 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @return the first non-null result returned by a <code>caseXXX</code> call.
65 * @generated
66 */
67 @Override
68 protected T doSwitch(int classifierID, EObject theEObject) {
69 switch (classifierID) {
70 case YakindummPackage.PSEUDOSTATE: {
71 Pseudostate pseudostate = (Pseudostate)theEObject;
72 T result = casePseudostate(pseudostate);
73 if (result == null) result = caseVertex(pseudostate);
74 if (result == null) result = defaultCase(theEObject);
75 return result;
76 }
77 case YakindummPackage.VERTEX: {
78 Vertex vertex = (Vertex)theEObject;
79 T result = caseVertex(vertex);
80 if (result == null) result = defaultCase(theEObject);
81 return result;
82 }
83 case YakindummPackage.REGION: {
84 Region region = (Region)theEObject;
85 T result = caseRegion(region);
86 if (result == null) result = defaultCase(theEObject);
87 return result;
88 }
89 case YakindummPackage.TRANSITION: {
90 Transition transition = (Transition)theEObject;
91 T result = caseTransition(transition);
92 if (result == null) result = defaultCase(theEObject);
93 return result;
94 }
95 case YakindummPackage.STATECHART: {
96 Statechart statechart = (Statechart)theEObject;
97 T result = caseStatechart(statechart);
98 if (result == null) result = caseCompositeElement(statechart);
99 if (result == null) result = defaultCase(theEObject);
100 return result;
101 }
102 case YakindummPackage.ENTRY: {
103 Entry entry = (Entry)theEObject;
104 T result = caseEntry(entry);
105 if (result == null) result = casePseudostate(entry);
106 if (result == null) result = caseVertex(entry);
107 if (result == null) result = defaultCase(theEObject);
108 return result;
109 }
110 case YakindummPackage.STATE: {
111 State state = (State)theEObject;
112 T result = caseState(state);
113 if (result == null) result = caseRegularState(state);
114 if (result == null) result = caseCompositeElement(state);
115 if (result == null) result = caseVertex(state);
116 if (result == null) result = defaultCase(theEObject);
117 return result;
118 }
119 case YakindummPackage.REGULAR_STATE: {
120 RegularState regularState = (RegularState)theEObject;
121 T result = caseRegularState(regularState);
122 if (result == null) result = caseVertex(regularState);
123 if (result == null) result = defaultCase(theEObject);
124 return result;
125 }
126 case YakindummPackage.COMPOSITE_ELEMENT: {
127 CompositeElement compositeElement = (CompositeElement)theEObject;
128 T result = caseCompositeElement(compositeElement);
129 if (result == null) result = defaultCase(theEObject);
130 return result;
131 }
132 case YakindummPackage.CHOICE: {
133 Choice choice = (Choice)theEObject;
134 T result = caseChoice(choice);
135 if (result == null) result = casePseudostate(choice);
136 if (result == null) result = caseVertex(choice);
137 if (result == null) result = defaultCase(theEObject);
138 return result;
139 }
140 case YakindummPackage.EXIT: {
141 Exit exit = (Exit)theEObject;
142 T result = caseExit(exit);
143 if (result == null) result = casePseudostate(exit);
144 if (result == null) result = caseVertex(exit);
145 if (result == null) result = defaultCase(theEObject);
146 return result;
147 }
148 case YakindummPackage.FINAL_STATE: {
149 FinalState finalState = (FinalState)theEObject;
150 T result = caseFinalState(finalState);
151 if (result == null) result = caseRegularState(finalState);
152 if (result == null) result = caseVertex(finalState);
153 if (result == null) result = defaultCase(theEObject);
154 return result;
155 }
156 default: return defaultCase(theEObject);
157 }
158 }
159
160 /**
161 * Returns the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
162 * <!-- begin-user-doc -->
163 * This implementation returns null;
164 * returning a non-null result will terminate the switch.
165 * <!-- end-user-doc -->
166 * @param object the target of the switch.
167 * @return the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
168 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
169 * @generated
170 */
171 public T casePseudostate(Pseudostate object) {
172 return null;
173 }
174
175 /**
176 * Returns the result of interpreting the object as an instance of '<em>Vertex</em>'.
177 * <!-- begin-user-doc -->
178 * This implementation returns null;
179 * returning a non-null result will terminate the switch.
180 * <!-- end-user-doc -->
181 * @param object the target of the switch.
182 * @return the result of interpreting the object as an instance of '<em>Vertex</em>'.
183 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
184 * @generated
185 */
186 public T caseVertex(Vertex object) {
187 return null;
188 }
189
190 /**
191 * Returns the result of interpreting the object as an instance of '<em>Region</em>'.
192 * <!-- begin-user-doc -->
193 * This implementation returns null;
194 * returning a non-null result will terminate the switch.
195 * <!-- end-user-doc -->
196 * @param object the target of the switch.
197 * @return the result of interpreting the object as an instance of '<em>Region</em>'.
198 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
199 * @generated
200 */
201 public T caseRegion(Region object) {
202 return null;
203 }
204
205 /**
206 * Returns the result of interpreting the object as an instance of '<em>Transition</em>'.
207 * <!-- begin-user-doc -->
208 * This implementation returns null;
209 * returning a non-null result will terminate the switch.
210 * <!-- end-user-doc -->
211 * @param object the target of the switch.
212 * @return the result of interpreting the object as an instance of '<em>Transition</em>'.
213 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
214 * @generated
215 */
216 public T caseTransition(Transition object) {
217 return null;
218 }
219
220 /**
221 * Returns the result of interpreting the object as an instance of '<em>Statechart</em>'.
222 * <!-- begin-user-doc -->
223 * This implementation returns null;
224 * returning a non-null result will terminate the switch.
225 * <!-- end-user-doc -->
226 * @param object the target of the switch.
227 * @return the result of interpreting the object as an instance of '<em>Statechart</em>'.
228 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
229 * @generated
230 */
231 public T caseStatechart(Statechart object) {
232 return null;
233 }
234
235 /**
236 * Returns the result of interpreting the object as an instance of '<em>Entry</em>'.
237 * <!-- begin-user-doc -->
238 * This implementation returns null;
239 * returning a non-null result will terminate the switch.
240 * <!-- end-user-doc -->
241 * @param object the target of the switch.
242 * @return the result of interpreting the object as an instance of '<em>Entry</em>'.
243 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
244 * @generated
245 */
246 public T caseEntry(Entry object) {
247 return null;
248 }
249
250 /**
251 * Returns the result of interpreting the object as an instance of '<em>State</em>'.
252 * <!-- begin-user-doc -->
253 * This implementation returns null;
254 * returning a non-null result will terminate the switch.
255 * <!-- end-user-doc -->
256 * @param object the target of the switch.
257 * @return the result of interpreting the object as an instance of '<em>State</em>'.
258 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
259 * @generated
260 */
261 public T caseState(State object) {
262 return null;
263 }
264
265 /**
266 * Returns the result of interpreting the object as an instance of '<em>Regular State</em>'.
267 * <!-- begin-user-doc -->
268 * This implementation returns null;
269 * returning a non-null result will terminate the switch.
270 * <!-- end-user-doc -->
271 * @param object the target of the switch.
272 * @return the result of interpreting the object as an instance of '<em>Regular State</em>'.
273 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
274 * @generated
275 */
276 public T caseRegularState(RegularState object) {
277 return null;
278 }
279
280 /**
281 * Returns the result of interpreting the object as an instance of '<em>Composite Element</em>'.
282 * <!-- begin-user-doc -->
283 * This implementation returns null;
284 * returning a non-null result will terminate the switch.
285 * <!-- end-user-doc -->
286 * @param object the target of the switch.
287 * @return the result of interpreting the object as an instance of '<em>Composite Element</em>'.
288 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
289 * @generated
290 */
291 public T caseCompositeElement(CompositeElement object) {
292 return null;
293 }
294
295 /**
296 * Returns the result of interpreting the object as an instance of '<em>Choice</em>'.
297 * <!-- begin-user-doc -->
298 * This implementation returns null;
299 * returning a non-null result will terminate the switch.
300 * <!-- end-user-doc -->
301 * @param object the target of the switch.
302 * @return the result of interpreting the object as an instance of '<em>Choice</em>'.
303 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
304 * @generated
305 */
306 public T caseChoice(Choice object) {
307 return null;
308 }
309
310 /**
311 * Returns the result of interpreting the object as an instance of '<em>Exit</em>'.
312 * <!-- begin-user-doc -->
313 * This implementation returns null;
314 * returning a non-null result will terminate the switch.
315 * <!-- end-user-doc -->
316 * @param object the target of the switch.
317 * @return the result of interpreting the object as an instance of '<em>Exit</em>'.
318 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
319 * @generated
320 */
321 public T caseExit(Exit object) {
322 return null;
323 }
324
325 /**
326 * Returns the result of interpreting the object as an instance of '<em>Final State</em>'.
327 * <!-- begin-user-doc -->
328 * This implementation returns null;
329 * returning a non-null result will terminate the switch.
330 * <!-- end-user-doc -->
331 * @param object the target of the switch.
332 * @return the result of interpreting the object as an instance of '<em>Final State</em>'.
333 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
334 * @generated
335 */
336 public T caseFinalState(FinalState object) {
337 return null;
338 }
339
340 /**
341 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
342 * <!-- begin-user-doc -->
343 * This implementation returns null;
344 * returning a non-null result will terminate the switch, but this is the last case anyway.
345 * <!-- end-user-doc -->
346 * @param object the target of the switch.
347 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
348 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
349 * @generated
350 */
351 @Override
352 public T defaultCase(EObject object) {
353 return null;
354 }
355
356} //YakindummSwitch
357=======
358/**
359 */
360package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util;
361
362import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
363
364import org.eclipse.emf.ecore.EObject;
365import org.eclipse.emf.ecore.EPackage;
366
367import org.eclipse.emf.ecore.util.Switch;
368
369/**
370 * <!-- begin-user-doc -->
371 * The <b>Switch</b> for the model's inheritance hierarchy.
372 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
373 * to invoke the <code>caseXXX</code> method for each class of the model,
374 * starting with the actual class of the object
375 * and proceeding up the inheritance hierarchy
376 * until a non-null result is returned,
377 * which is the result of the switch.
378 * <!-- end-user-doc -->
379 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
380 * @generated
381 */
382public class YakinduSwitch<T> extends Switch<T> {
383 /**
384 * The cached model package
385 * <!-- begin-user-doc -->
386 * <!-- end-user-doc -->
387 * @generated
388 */
389 protected static YakinduPackage modelPackage;
390
391 /**
392 * Creates an instance of the switch.
393 * <!-- begin-user-doc -->
394 * <!-- end-user-doc -->
395 * @generated
396 */
397 public YakinduSwitch() {
398 if (modelPackage == null) {
399 modelPackage = YakinduPackage.eINSTANCE;
400 }
401 }
402
403 /**
404 * Checks whether this is a switch for the given package.
405 * <!-- begin-user-doc -->
406 * <!-- end-user-doc -->
407 * @param ePackage the package in question.
408 * @return whether this is a switch for the given package.
409 * @generated
410 */
411 @Override
412 protected boolean isSwitchFor(EPackage ePackage) {
413 return ePackage == modelPackage;
414 }
415
416 /**
417 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
418 * <!-- begin-user-doc -->
419 * <!-- end-user-doc -->
420 * @return the first non-null result returned by a <code>caseXXX</code> call.
421 * @generated
422 */
423 @Override
424 protected T doSwitch(int classifierID, EObject theEObject) {
425 switch (classifierID) {
426 case YakinduPackage.PSEUDOSTATE: {
427 Pseudostate pseudostate = (Pseudostate)theEObject;
428 T result = casePseudostate(pseudostate);
429 if (result == null) result = caseVertex(pseudostate);
430 if (result == null) result = defaultCase(theEObject);
431 return result;
432 }
433 case YakinduPackage.VERTEX: {
434 Vertex vertex = (Vertex)theEObject;
435 T result = caseVertex(vertex);
436 if (result == null) result = defaultCase(theEObject);
437 return result;
438 }
439 case YakinduPackage.REGION: {
440 Region region = (Region)theEObject;
441 T result = caseRegion(region);
442 if (result == null) result = defaultCase(theEObject);
443 return result;
444 }
445 case YakinduPackage.TRANSITION: {
446 Transition transition = (Transition)theEObject;
447 T result = caseTransition(transition);
448 if (result == null) result = defaultCase(theEObject);
449 return result;
450 }
451 case YakinduPackage.STATECHART: {
452 Statechart statechart = (Statechart)theEObject;
453 T result = caseStatechart(statechart);
454 if (result == null) result = caseCompositeElement(statechart);
455 if (result == null) result = defaultCase(theEObject);
456 return result;
457 }
458 case YakinduPackage.ENTRY: {
459 Entry entry = (Entry)theEObject;
460 T result = caseEntry(entry);
461 if (result == null) result = casePseudostate(entry);
462 if (result == null) result = caseVertex(entry);
463 if (result == null) result = defaultCase(theEObject);
464 return result;
465 }
466 case YakinduPackage.SYNCHRONIZATION: {
467 Synchronization synchronization = (Synchronization)theEObject;
468 T result = caseSynchronization(synchronization);
469 if (result == null) result = casePseudostate(synchronization);
470 if (result == null) result = caseVertex(synchronization);
471 if (result == null) result = defaultCase(theEObject);
472 return result;
473 }
474 case YakinduPackage.STATE: {
475 State state = (State)theEObject;
476 T result = caseState(state);
477 if (result == null) result = caseRegularState(state);
478 if (result == null) result = caseCompositeElement(state);
479 if (result == null) result = caseVertex(state);
480 if (result == null) result = defaultCase(theEObject);
481 return result;
482 }
483 case YakinduPackage.REGULAR_STATE: {
484 RegularState regularState = (RegularState)theEObject;
485 T result = caseRegularState(regularState);
486 if (result == null) result = caseVertex(regularState);
487 if (result == null) result = defaultCase(theEObject);
488 return result;
489 }
490 case YakinduPackage.COMPOSITE_ELEMENT: {
491 CompositeElement compositeElement = (CompositeElement)theEObject;
492 T result = caseCompositeElement(compositeElement);
493 if (result == null) result = defaultCase(theEObject);
494 return result;
495 }
496 case YakinduPackage.CHOICE: {
497 Choice choice = (Choice)theEObject;
498 T result = caseChoice(choice);
499 if (result == null) result = casePseudostate(choice);
500 if (result == null) result = caseVertex(choice);
501 if (result == null) result = defaultCase(theEObject);
502 return result;
503 }
504 case YakinduPackage.EXIT: {
505 Exit exit = (Exit)theEObject;
506 T result = caseExit(exit);
507 if (result == null) result = casePseudostate(exit);
508 if (result == null) result = caseVertex(exit);
509 if (result == null) result = defaultCase(theEObject);
510 return result;
511 }
512 case YakinduPackage.FINAL_STATE: {
513 FinalState finalState = (FinalState)theEObject;
514 T result = caseFinalState(finalState);
515 if (result == null) result = caseRegularState(finalState);
516 if (result == null) result = caseVertex(finalState);
517 if (result == null) result = defaultCase(theEObject);
518 return result;
519 }
520 default: return defaultCase(theEObject);
521 }
522 }
523
524 /**
525 * Returns the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
526 * <!-- begin-user-doc -->
527 * This implementation returns null;
528 * returning a non-null result will terminate the switch.
529 * <!-- end-user-doc -->
530 * @param object the target of the switch.
531 * @return the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
532 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
533 * @generated
534 */
535 public T casePseudostate(Pseudostate object) {
536 return null;
537 }
538
539 /**
540 * Returns the result of interpreting the object as an instance of '<em>Vertex</em>'.
541 * <!-- begin-user-doc -->
542 * This implementation returns null;
543 * returning a non-null result will terminate the switch.
544 * <!-- end-user-doc -->
545 * @param object the target of the switch.
546 * @return the result of interpreting the object as an instance of '<em>Vertex</em>'.
547 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
548 * @generated
549 */
550 public T caseVertex(Vertex object) {
551 return null;
552 }
553
554 /**
555 * Returns the result of interpreting the object as an instance of '<em>Region</em>'.
556 * <!-- begin-user-doc -->
557 * This implementation returns null;
558 * returning a non-null result will terminate the switch.
559 * <!-- end-user-doc -->
560 * @param object the target of the switch.
561 * @return the result of interpreting the object as an instance of '<em>Region</em>'.
562 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
563 * @generated
564 */
565 public T caseRegion(Region object) {
566 return null;
567 }
568
569 /**
570 * Returns the result of interpreting the object as an instance of '<em>Transition</em>'.
571 * <!-- begin-user-doc -->
572 * This implementation returns null;
573 * returning a non-null result will terminate the switch.
574 * <!-- end-user-doc -->
575 * @param object the target of the switch.
576 * @return the result of interpreting the object as an instance of '<em>Transition</em>'.
577 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
578 * @generated
579 */
580 public T caseTransition(Transition object) {
581 return null;
582 }
583
584 /**
585 * Returns the result of interpreting the object as an instance of '<em>Statechart</em>'.
586 * <!-- begin-user-doc -->
587 * This implementation returns null;
588 * returning a non-null result will terminate the switch.
589 * <!-- end-user-doc -->
590 * @param object the target of the switch.
591 * @return the result of interpreting the object as an instance of '<em>Statechart</em>'.
592 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
593 * @generated
594 */
595 public T caseStatechart(Statechart object) {
596 return null;
597 }
598
599 /**
600 * Returns the result of interpreting the object as an instance of '<em>Entry</em>'.
601 * <!-- begin-user-doc -->
602 * This implementation returns null;
603 * returning a non-null result will terminate the switch.
604 * <!-- end-user-doc -->
605 * @param object the target of the switch.
606 * @return the result of interpreting the object as an instance of '<em>Entry</em>'.
607 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
608 * @generated
609 */
610 public T caseEntry(Entry object) {
611 return null;
612 }
613
614 /**
615 * Returns the result of interpreting the object as an instance of '<em>Synchronization</em>'.
616 * <!-- begin-user-doc -->
617 * This implementation returns null;
618 * returning a non-null result will terminate the switch.
619 * <!-- end-user-doc -->
620 * @param object the target of the switch.
621 * @return the result of interpreting the object as an instance of '<em>Synchronization</em>'.
622 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
623 * @generated
624 */
625 public T caseSynchronization(Synchronization object) {
626 return null;
627 }
628
629 /**
630 * Returns the result of interpreting the object as an instance of '<em>State</em>'.
631 * <!-- begin-user-doc -->
632 * This implementation returns null;
633 * returning a non-null result will terminate the switch.
634 * <!-- end-user-doc -->
635 * @param object the target of the switch.
636 * @return the result of interpreting the object as an instance of '<em>State</em>'.
637 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
638 * @generated
639 */
640 public T caseState(State object) {
641 return null;
642 }
643
644 /**
645 * Returns the result of interpreting the object as an instance of '<em>Regular State</em>'.
646 * <!-- begin-user-doc -->
647 * This implementation returns null;
648 * returning a non-null result will terminate the switch.
649 * <!-- end-user-doc -->
650 * @param object the target of the switch.
651 * @return the result of interpreting the object as an instance of '<em>Regular State</em>'.
652 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
653 * @generated
654 */
655 public T caseRegularState(RegularState object) {
656 return null;
657 }
658
659 /**
660 * Returns the result of interpreting the object as an instance of '<em>Composite Element</em>'.
661 * <!-- begin-user-doc -->
662 * This implementation returns null;
663 * returning a non-null result will terminate the switch.
664 * <!-- end-user-doc -->
665 * @param object the target of the switch.
666 * @return the result of interpreting the object as an instance of '<em>Composite Element</em>'.
667 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
668 * @generated
669 */
670 public T caseCompositeElement(CompositeElement object) {
671 return null;
672 }
673
674 /**
675 * Returns the result of interpreting the object as an instance of '<em>Choice</em>'.
676 * <!-- begin-user-doc -->
677 * This implementation returns null;
678 * returning a non-null result will terminate the switch.
679 * <!-- end-user-doc -->
680 * @param object the target of the switch.
681 * @return the result of interpreting the object as an instance of '<em>Choice</em>'.
682 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
683 * @generated
684 */
685 public T caseChoice(Choice object) {
686 return null;
687 }
688
689 /**
690 * Returns the result of interpreting the object as an instance of '<em>Exit</em>'.
691 * <!-- begin-user-doc -->
692 * This implementation returns null;
693 * returning a non-null result will terminate the switch.
694 * <!-- end-user-doc -->
695 * @param object the target of the switch.
696 * @return the result of interpreting the object as an instance of '<em>Exit</em>'.
697 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
698 * @generated
699 */
700 public T caseExit(Exit object) {
701 return null;
702 }
703
704 /**
705 * Returns the result of interpreting the object as an instance of '<em>Final State</em>'.
706 * <!-- begin-user-doc -->
707 * This implementation returns null;
708 * returning a non-null result will terminate the switch.
709 * <!-- end-user-doc -->
710 * @param object the target of the switch.
711 * @return the result of interpreting the object as an instance of '<em>Final State</em>'.
712 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
713 * @generated
714 */
715 public T caseFinalState(FinalState object) {
716 return null;
717 }
718
719 /**
720 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
721 * <!-- begin-user-doc -->
722 * This implementation returns null;
723 * returning a non-null result will terminate the switch, but this is the last case anyway.
724 * <!-- end-user-doc -->
725 * @param object the target of the switch.
726 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
727 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
728 * @generated
729 */
730 @Override
731 public T defaultCase(EObject object) {
732 return null;
733 }
734
735} //YakinduSwitch
736>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java
new file mode 100644
index 00000000..fb33ef42
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java
@@ -0,0 +1,657 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*;
7
8import org.eclipse.emf.common.notify.Adapter;
9import org.eclipse.emf.common.notify.Notifier;
10
11import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
12
13import org.eclipse.emf.ecore.EObject;
14
15/**
16 * <!-- begin-user-doc -->
17 * The <b>Adapter Factory</b> for the model.
18 * It provides an adapter <code>createXXX</code> method for each class of the model.
19 * <!-- end-user-doc -->
20 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
21 * @generated
22 */
23public class YakindummAdapterFactory extends AdapterFactoryImpl {
24 /**
25 * The cached model package.
26 * <!-- begin-user-doc -->
27 * <!-- end-user-doc -->
28 * @generated
29 */
30 protected static YakindummPackage modelPackage;
31
32 /**
33 * Creates an instance of the adapter factory.
34 * <!-- begin-user-doc -->
35 * <!-- end-user-doc -->
36 * @generated
37 */
38 public YakindummAdapterFactory() {
39 if (modelPackage == null) {
40 modelPackage = YakindummPackage.eINSTANCE;
41 }
42 }
43
44 /**
45 * Returns whether this factory is applicable for the type of the object.
46 * <!-- begin-user-doc -->
47 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
48 * <!-- end-user-doc -->
49 * @return whether this factory is applicable for the type of the object.
50 * @generated
51 */
52 @Override
53 public boolean isFactoryForType(Object object) {
54 if (object == modelPackage) {
55 return true;
56 }
57 if (object instanceof EObject) {
58 return ((EObject)object).eClass().getEPackage() == modelPackage;
59 }
60 return false;
61 }
62
63 /**
64 * The switch that delegates to the <code>createXXX</code> methods.
65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc -->
67 * @generated
68 */
69 protected YakindummSwitch<Adapter> modelSwitch =
70 new YakindummSwitch<Adapter>() {
71 @Override
72 public Adapter casePseudostate(Pseudostate object) {
73 return createPseudostateAdapter();
74 }
75 @Override
76 public Adapter caseVertex(Vertex object) {
77 return createVertexAdapter();
78 }
79 @Override
80 public Adapter caseRegion(Region object) {
81 return createRegionAdapter();
82 }
83 @Override
84 public Adapter caseTransition(Transition object) {
85 return createTransitionAdapter();
86 }
87 @Override
88 public Adapter caseStatechart(Statechart object) {
89 return createStatechartAdapter();
90 }
91 @Override
92 public Adapter caseEntry(Entry object) {
93 return createEntryAdapter();
94 }
95 @Override
96 public Adapter caseState(State object) {
97 return createStateAdapter();
98 }
99 @Override
100 public Adapter caseRegularState(RegularState object) {
101 return createRegularStateAdapter();
102 }
103 @Override
104 public Adapter caseCompositeElement(CompositeElement object) {
105 return createCompositeElementAdapter();
106 }
107 @Override
108 public Adapter caseChoice(Choice object) {
109 return createChoiceAdapter();
110 }
111 @Override
112 public Adapter caseExit(Exit object) {
113 return createExitAdapter();
114 }
115 @Override
116 public Adapter caseFinalState(FinalState object) {
117 return createFinalStateAdapter();
118 }
119 @Override
120 public Adapter defaultCase(EObject object) {
121 return createEObjectAdapter();
122 }
123 };
124
125 /**
126 * Creates an adapter for the <code>target</code>.
127 * <!-- begin-user-doc -->
128 * <!-- end-user-doc -->
129 * @param target the object to adapt.
130 * @return the adapter for the <code>target</code>.
131 * @generated
132 */
133 @Override
134 public Adapter createAdapter(Notifier target) {
135 return modelSwitch.doSwitch((EObject)target);
136 }
137
138
139 /**
140 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate <em>Pseudostate</em>}'.
141 * <!-- begin-user-doc -->
142 * This default implementation returns null so that we can easily ignore cases;
143 * it's useful to ignore a case when inheritance will catch all the cases anyway.
144 * <!-- end-user-doc -->
145 * @return the new adapter.
146 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate
147 * @generated
148 */
149 public Adapter createPseudostateAdapter() {
150 return null;
151 }
152
153 /**
154 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex <em>Vertex</em>}'.
155 * <!-- begin-user-doc -->
156 * This default implementation returns null so that we can easily ignore cases;
157 * it's useful to ignore a case when inheritance will catch all the cases anyway.
158 * <!-- end-user-doc -->
159 * @return the new adapter.
160 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex
161 * @generated
162 */
163 public Adapter createVertexAdapter() {
164 return null;
165 }
166
167 /**
168 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region <em>Region</em>}'.
169 * <!-- begin-user-doc -->
170 * This default implementation returns null so that we can easily ignore cases;
171 * it's useful to ignore a case when inheritance will catch all the cases anyway.
172 * <!-- end-user-doc -->
173 * @return the new adapter.
174 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region
175 * @generated
176 */
177 public Adapter createRegionAdapter() {
178 return null;
179 }
180
181 /**
182 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition <em>Transition</em>}'.
183 * <!-- begin-user-doc -->
184 * This default implementation returns null so that we can easily ignore cases;
185 * it's useful to ignore a case when inheritance will catch all the cases anyway.
186 * <!-- end-user-doc -->
187 * @return the new adapter.
188 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition
189 * @generated
190 */
191 public Adapter createTransitionAdapter() {
192 return null;
193 }
194
195 /**
196 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart <em>Statechart</em>}'.
197 * <!-- begin-user-doc -->
198 * This default implementation returns null so that we can easily ignore cases;
199 * it's useful to ignore a case when inheritance will catch all the cases anyway.
200 * <!-- end-user-doc -->
201 * @return the new adapter.
202 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart
203 * @generated
204 */
205 public Adapter createStatechartAdapter() {
206 return null;
207 }
208
209 /**
210 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry <em>Entry</em>}'.
211 * <!-- begin-user-doc -->
212 * This default implementation returns null so that we can easily ignore cases;
213 * it's useful to ignore a case when inheritance will catch all the cases anyway.
214 * <!-- end-user-doc -->
215 * @return the new adapter.
216 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry
217 * @generated
218 */
219 public Adapter createEntryAdapter() {
220 return null;
221 }
222
223 /**
224 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State <em>State</em>}'.
225 * <!-- begin-user-doc -->
226 * This default implementation returns null so that we can easily ignore cases;
227 * it's useful to ignore a case when inheritance will catch all the cases anyway.
228 * <!-- end-user-doc -->
229 * @return the new adapter.
230 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State
231 * @generated
232 */
233 public Adapter createStateAdapter() {
234 return null;
235 }
236
237 /**
238 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState <em>Regular State</em>}'.
239 * <!-- begin-user-doc -->
240 * This default implementation returns null so that we can easily ignore cases;
241 * it's useful to ignore a case when inheritance will catch all the cases anyway.
242 * <!-- end-user-doc -->
243 * @return the new adapter.
244 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState
245 * @generated
246 */
247 public Adapter createRegularStateAdapter() {
248 return null;
249 }
250
251 /**
252 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement <em>Composite Element</em>}'.
253 * <!-- begin-user-doc -->
254 * This default implementation returns null so that we can easily ignore cases;
255 * it's useful to ignore a case when inheritance will catch all the cases anyway.
256 * <!-- end-user-doc -->
257 * @return the new adapter.
258 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement
259 * @generated
260 */
261 public Adapter createCompositeElementAdapter() {
262 return null;
263 }
264
265 /**
266 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice <em>Choice</em>}'.
267 * <!-- begin-user-doc -->
268 * This default implementation returns null so that we can easily ignore cases;
269 * it's useful to ignore a case when inheritance will catch all the cases anyway.
270 * <!-- end-user-doc -->
271 * @return the new adapter.
272 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice
273 * @generated
274 */
275 public Adapter createChoiceAdapter() {
276 return null;
277 }
278
279 /**
280 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit <em>Exit</em>}'.
281 * <!-- begin-user-doc -->
282 * This default implementation returns null so that we can easily ignore cases;
283 * it's useful to ignore a case when inheritance will catch all the cases anyway.
284 * <!-- end-user-doc -->
285 * @return the new adapter.
286 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit
287 * @generated
288 */
289 public Adapter createExitAdapter() {
290 return null;
291 }
292
293 /**
294 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState <em>Final State</em>}'.
295 * <!-- begin-user-doc -->
296 * This default implementation returns null so that we can easily ignore cases;
297 * it's useful to ignore a case when inheritance will catch all the cases anyway.
298 * <!-- end-user-doc -->
299 * @return the new adapter.
300 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState
301 * @generated
302 */
303 public Adapter createFinalStateAdapter() {
304 return null;
305 }
306
307 /**
308 * Creates a new adapter for the default case.
309 * <!-- begin-user-doc -->
310 * This default implementation returns null.
311 * <!-- end-user-doc -->
312 * @return the new adapter.
313 * @generated
314 */
315 public Adapter createEObjectAdapter() {
316 return null;
317 }
318
319} //YakindummAdapterFactory
320=======
321/**
322 */
323package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util;
324
325import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
326
327import org.eclipse.emf.common.notify.Adapter;
328import org.eclipse.emf.common.notify.Notifier;
329
330import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
331
332import org.eclipse.emf.ecore.EObject;
333
334/**
335 * <!-- begin-user-doc -->
336 * The <b>Adapter Factory</b> for the model.
337 * It provides an adapter <code>createXXX</code> method for each class of the model.
338 * <!-- end-user-doc -->
339 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
340 * @generated
341 */
342public class YakinduAdapterFactory extends AdapterFactoryImpl {
343 /**
344 * The cached model package.
345 * <!-- begin-user-doc -->
346 * <!-- end-user-doc -->
347 * @generated
348 */
349 protected static YakinduPackage modelPackage;
350
351 /**
352 * Creates an instance of the adapter factory.
353 * <!-- begin-user-doc -->
354 * <!-- end-user-doc -->
355 * @generated
356 */
357 public YakinduAdapterFactory() {
358 if (modelPackage == null) {
359 modelPackage = YakinduPackage.eINSTANCE;
360 }
361 }
362
363 /**
364 * Returns whether this factory is applicable for the type of the object.
365 * <!-- begin-user-doc -->
366 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
367 * <!-- end-user-doc -->
368 * @return whether this factory is applicable for the type of the object.
369 * @generated
370 */
371 @Override
372 public boolean isFactoryForType(Object object) {
373 if (object == modelPackage) {
374 return true;
375 }
376 if (object instanceof EObject) {
377 return ((EObject)object).eClass().getEPackage() == modelPackage;
378 }
379 return false;
380 }
381
382 /**
383 * The switch that delegates to the <code>createXXX</code> methods.
384 * <!-- begin-user-doc -->
385 * <!-- end-user-doc -->
386 * @generated
387 */
388 protected YakinduSwitch<Adapter> modelSwitch =
389 new YakinduSwitch<Adapter>() {
390 @Override
391 public Adapter casePseudostate(Pseudostate object) {
392 return createPseudostateAdapter();
393 }
394 @Override
395 public Adapter caseVertex(Vertex object) {
396 return createVertexAdapter();
397 }
398 @Override
399 public Adapter caseRegion(Region object) {
400 return createRegionAdapter();
401 }
402 @Override
403 public Adapter caseTransition(Transition object) {
404 return createTransitionAdapter();
405 }
406 @Override
407 public Adapter caseStatechart(Statechart object) {
408 return createStatechartAdapter();
409 }
410 @Override
411 public Adapter caseEntry(Entry object) {
412 return createEntryAdapter();
413 }
414 @Override
415 public Adapter caseSynchronization(Synchronization object) {
416 return createSynchronizationAdapter();
417 }
418 @Override
419 public Adapter caseState(State object) {
420 return createStateAdapter();
421 }
422 @Override
423 public Adapter caseRegularState(RegularState object) {
424 return createRegularStateAdapter();
425 }
426 @Override
427 public Adapter caseCompositeElement(CompositeElement object) {
428 return createCompositeElementAdapter();
429 }
430 @Override
431 public Adapter caseChoice(Choice object) {
432 return createChoiceAdapter();
433 }
434 @Override
435 public Adapter caseExit(Exit object) {
436 return createExitAdapter();
437 }
438 @Override
439 public Adapter caseFinalState(FinalState object) {
440 return createFinalStateAdapter();
441 }
442 @Override
443 public Adapter defaultCase(EObject object) {
444 return createEObjectAdapter();
445 }
446 };
447
448 /**
449 * Creates an adapter for the <code>target</code>.
450 * <!-- begin-user-doc -->
451 * <!-- end-user-doc -->
452 * @param target the object to adapt.
453 * @return the adapter for the <code>target</code>.
454 * @generated
455 */
456 @Override
457 public Adapter createAdapter(Notifier target) {
458 return modelSwitch.doSwitch((EObject)target);
459 }
460
461
462 /**
463 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate <em>Pseudostate</em>}'.
464 * <!-- begin-user-doc -->
465 * This default implementation returns null so that we can easily ignore cases;
466 * it's useful to ignore a case when inheritance will catch all the cases anyway.
467 * <!-- end-user-doc -->
468 * @return the new adapter.
469 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate
470 * @generated
471 */
472 public Adapter createPseudostateAdapter() {
473 return null;
474 }
475
476 /**
477 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex <em>Vertex</em>}'.
478 * <!-- begin-user-doc -->
479 * This default implementation returns null so that we can easily ignore cases;
480 * it's useful to ignore a case when inheritance will catch all the cases anyway.
481 * <!-- end-user-doc -->
482 * @return the new adapter.
483 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex
484 * @generated
485 */
486 public Adapter createVertexAdapter() {
487 return null;
488 }
489
490 /**
491 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region <em>Region</em>}'.
492 * <!-- begin-user-doc -->
493 * This default implementation returns null so that we can easily ignore cases;
494 * it's useful to ignore a case when inheritance will catch all the cases anyway.
495 * <!-- end-user-doc -->
496 * @return the new adapter.
497 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region
498 * @generated
499 */
500 public Adapter createRegionAdapter() {
501 return null;
502 }
503
504 /**
505 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition <em>Transition</em>}'.
506 * <!-- begin-user-doc -->
507 * This default implementation returns null so that we can easily ignore cases;
508 * it's useful to ignore a case when inheritance will catch all the cases anyway.
509 * <!-- end-user-doc -->
510 * @return the new adapter.
511 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition
512 * @generated
513 */
514 public Adapter createTransitionAdapter() {
515 return null;
516 }
517
518 /**
519 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart <em>Statechart</em>}'.
520 * <!-- begin-user-doc -->
521 * This default implementation returns null so that we can easily ignore cases;
522 * it's useful to ignore a case when inheritance will catch all the cases anyway.
523 * <!-- end-user-doc -->
524 * @return the new adapter.
525 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart
526 * @generated
527 */
528 public Adapter createStatechartAdapter() {
529 return null;
530 }
531
532 /**
533 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry <em>Entry</em>}'.
534 * <!-- begin-user-doc -->
535 * This default implementation returns null so that we can easily ignore cases;
536 * it's useful to ignore a case when inheritance will catch all the cases anyway.
537 * <!-- end-user-doc -->
538 * @return the new adapter.
539 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry
540 * @generated
541 */
542 public Adapter createEntryAdapter() {
543 return null;
544 }
545
546 /**
547 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization <em>Synchronization</em>}'.
548 * <!-- begin-user-doc -->
549 * This default implementation returns null so that we can easily ignore cases;
550 * it's useful to ignore a case when inheritance will catch all the cases anyway.
551 * <!-- end-user-doc -->
552 * @return the new adapter.
553 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization
554 * @generated
555 */
556 public Adapter createSynchronizationAdapter() {
557 return null;
558 }
559
560 /**
561 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State <em>State</em>}'.
562 * <!-- begin-user-doc -->
563 * This default implementation returns null so that we can easily ignore cases;
564 * it's useful to ignore a case when inheritance will catch all the cases anyway.
565 * <!-- end-user-doc -->
566 * @return the new adapter.
567 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State
568 * @generated
569 */
570 public Adapter createStateAdapter() {
571 return null;
572 }
573
574 /**
575 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState <em>Regular State</em>}'.
576 * <!-- begin-user-doc -->
577 * This default implementation returns null so that we can easily ignore cases;
578 * it's useful to ignore a case when inheritance will catch all the cases anyway.
579 * <!-- end-user-doc -->
580 * @return the new adapter.
581 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState
582 * @generated
583 */
584 public Adapter createRegularStateAdapter() {
585 return null;
586 }
587
588 /**
589 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement <em>Composite Element</em>}'.
590 * <!-- begin-user-doc -->
591 * This default implementation returns null so that we can easily ignore cases;
592 * it's useful to ignore a case when inheritance will catch all the cases anyway.
593 * <!-- end-user-doc -->
594 * @return the new adapter.
595 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement
596 * @generated
597 */
598 public Adapter createCompositeElementAdapter() {
599 return null;
600 }
601
602 /**
603 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice <em>Choice</em>}'.
604 * <!-- begin-user-doc -->
605 * This default implementation returns null so that we can easily ignore cases;
606 * it's useful to ignore a case when inheritance will catch all the cases anyway.
607 * <!-- end-user-doc -->
608 * @return the new adapter.
609 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice
610 * @generated
611 */
612 public Adapter createChoiceAdapter() {
613 return null;
614 }
615
616 /**
617 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit <em>Exit</em>}'.
618 * <!-- begin-user-doc -->
619 * This default implementation returns null so that we can easily ignore cases;
620 * it's useful to ignore a case when inheritance will catch all the cases anyway.
621 * <!-- end-user-doc -->
622 * @return the new adapter.
623 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit
624 * @generated
625 */
626 public Adapter createExitAdapter() {
627 return null;
628 }
629
630 /**
631 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState <em>Final State</em>}'.
632 * <!-- begin-user-doc -->
633 * This default implementation returns null so that we can easily ignore cases;
634 * it's useful to ignore a case when inheritance will catch all the cases anyway.
635 * <!-- end-user-doc -->
636 * @return the new adapter.
637 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState
638 * @generated
639 */
640 public Adapter createFinalStateAdapter() {
641 return null;
642 }
643
644 /**
645 * Creates a new adapter for the default case.
646 * <!-- begin-user-doc -->
647 * This default implementation returns null.
648 * <!-- end-user-doc -->
649 * @return the new adapter.
650 * @generated
651 */
652 public Adapter createEObjectAdapter() {
653 return null;
654 }
655
656} //YakinduAdapterFactory
657>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduAdapterFactory.java
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java
new file mode 100644
index 00000000..4cc0e8a8
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java
@@ -0,0 +1,736 @@
1<<<<<<< HEAD:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java
2/**
3 */
4package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util;
5
6import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*;
7
8import org.eclipse.emf.ecore.EObject;
9import org.eclipse.emf.ecore.EPackage;
10
11import org.eclipse.emf.ecore.util.Switch;
12
13/**
14 * <!-- begin-user-doc -->
15 * The <b>Switch</b> for the model's inheritance hierarchy.
16 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
17 * to invoke the <code>caseXXX</code> method for each class of the model,
18 * starting with the actual class of the object
19 * and proceeding up the inheritance hierarchy
20 * until a non-null result is returned,
21 * which is the result of the switch.
22 * <!-- end-user-doc -->
23 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
24 * @generated
25 */
26public class YakindummSwitch<T> extends Switch<T> {
27 /**
28 * The cached model package
29 * <!-- begin-user-doc -->
30 * <!-- end-user-doc -->
31 * @generated
32 */
33 protected static YakindummPackage modelPackage;
34
35 /**
36 * Creates an instance of the switch.
37 * <!-- begin-user-doc -->
38 * <!-- end-user-doc -->
39 * @generated
40 */
41 public YakindummSwitch() {
42 if (modelPackage == null) {
43 modelPackage = YakindummPackage.eINSTANCE;
44 }
45 }
46
47 /**
48 * Checks whether this is a switch for the given package.
49 * <!-- begin-user-doc -->
50 * <!-- end-user-doc -->
51 * @param ePackage the package in question.
52 * @return whether this is a switch for the given package.
53 * @generated
54 */
55 @Override
56 protected boolean isSwitchFor(EPackage ePackage) {
57 return ePackage == modelPackage;
58 }
59
60 /**
61 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
62 * <!-- begin-user-doc -->
63 * <!-- end-user-doc -->
64 * @return the first non-null result returned by a <code>caseXXX</code> call.
65 * @generated
66 */
67 @Override
68 protected T doSwitch(int classifierID, EObject theEObject) {
69 switch (classifierID) {
70 case YakindummPackage.PSEUDOSTATE: {
71 Pseudostate pseudostate = (Pseudostate)theEObject;
72 T result = casePseudostate(pseudostate);
73 if (result == null) result = caseVertex(pseudostate);
74 if (result == null) result = defaultCase(theEObject);
75 return result;
76 }
77 case YakindummPackage.VERTEX: {
78 Vertex vertex = (Vertex)theEObject;
79 T result = caseVertex(vertex);
80 if (result == null) result = defaultCase(theEObject);
81 return result;
82 }
83 case YakindummPackage.REGION: {
84 Region region = (Region)theEObject;
85 T result = caseRegion(region);
86 if (result == null) result = defaultCase(theEObject);
87 return result;
88 }
89 case YakindummPackage.TRANSITION: {
90 Transition transition = (Transition)theEObject;
91 T result = caseTransition(transition);
92 if (result == null) result = defaultCase(theEObject);
93 return result;
94 }
95 case YakindummPackage.STATECHART: {
96 Statechart statechart = (Statechart)theEObject;
97 T result = caseStatechart(statechart);
98 if (result == null) result = caseCompositeElement(statechart);
99 if (result == null) result = defaultCase(theEObject);
100 return result;
101 }
102 case YakindummPackage.ENTRY: {
103 Entry entry = (Entry)theEObject;
104 T result = caseEntry(entry);
105 if (result == null) result = casePseudostate(entry);
106 if (result == null) result = caseVertex(entry);
107 if (result == null) result = defaultCase(theEObject);
108 return result;
109 }
110 case YakindummPackage.STATE: {
111 State state = (State)theEObject;
112 T result = caseState(state);
113 if (result == null) result = caseRegularState(state);
114 if (result == null) result = caseCompositeElement(state);
115 if (result == null) result = caseVertex(state);
116 if (result == null) result = defaultCase(theEObject);
117 return result;
118 }
119 case YakindummPackage.REGULAR_STATE: {
120 RegularState regularState = (RegularState)theEObject;
121 T result = caseRegularState(regularState);
122 if (result == null) result = caseVertex(regularState);
123 if (result == null) result = defaultCase(theEObject);
124 return result;
125 }
126 case YakindummPackage.COMPOSITE_ELEMENT: {
127 CompositeElement compositeElement = (CompositeElement)theEObject;
128 T result = caseCompositeElement(compositeElement);
129 if (result == null) result = defaultCase(theEObject);
130 return result;
131 }
132 case YakindummPackage.CHOICE: {
133 Choice choice = (Choice)theEObject;
134 T result = caseChoice(choice);
135 if (result == null) result = casePseudostate(choice);
136 if (result == null) result = caseVertex(choice);
137 if (result == null) result = defaultCase(theEObject);
138 return result;
139 }
140 case YakindummPackage.EXIT: {
141 Exit exit = (Exit)theEObject;
142 T result = caseExit(exit);
143 if (result == null) result = casePseudostate(exit);
144 if (result == null) result = caseVertex(exit);
145 if (result == null) result = defaultCase(theEObject);
146 return result;
147 }
148 case YakindummPackage.FINAL_STATE: {
149 FinalState finalState = (FinalState)theEObject;
150 T result = caseFinalState(finalState);
151 if (result == null) result = caseRegularState(finalState);
152 if (result == null) result = caseVertex(finalState);
153 if (result == null) result = defaultCase(theEObject);
154 return result;
155 }
156 default: return defaultCase(theEObject);
157 }
158 }
159
160 /**
161 * Returns the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
162 * <!-- begin-user-doc -->
163 * This implementation returns null;
164 * returning a non-null result will terminate the switch.
165 * <!-- end-user-doc -->
166 * @param object the target of the switch.
167 * @return the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
168 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
169 * @generated
170 */
171 public T casePseudostate(Pseudostate object) {
172 return null;
173 }
174
175 /**
176 * Returns the result of interpreting the object as an instance of '<em>Vertex</em>'.
177 * <!-- begin-user-doc -->
178 * This implementation returns null;
179 * returning a non-null result will terminate the switch.
180 * <!-- end-user-doc -->
181 * @param object the target of the switch.
182 * @return the result of interpreting the object as an instance of '<em>Vertex</em>'.
183 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
184 * @generated
185 */
186 public T caseVertex(Vertex object) {
187 return null;
188 }
189
190 /**
191 * Returns the result of interpreting the object as an instance of '<em>Region</em>'.
192 * <!-- begin-user-doc -->
193 * This implementation returns null;
194 * returning a non-null result will terminate the switch.
195 * <!-- end-user-doc -->
196 * @param object the target of the switch.
197 * @return the result of interpreting the object as an instance of '<em>Region</em>'.
198 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
199 * @generated
200 */
201 public T caseRegion(Region object) {
202 return null;
203 }
204
205 /**
206 * Returns the result of interpreting the object as an instance of '<em>Transition</em>'.
207 * <!-- begin-user-doc -->
208 * This implementation returns null;
209 * returning a non-null result will terminate the switch.
210 * <!-- end-user-doc -->
211 * @param object the target of the switch.
212 * @return the result of interpreting the object as an instance of '<em>Transition</em>'.
213 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
214 * @generated
215 */
216 public T caseTransition(Transition object) {
217 return null;
218 }
219
220 /**
221 * Returns the result of interpreting the object as an instance of '<em>Statechart</em>'.
222 * <!-- begin-user-doc -->
223 * This implementation returns null;
224 * returning a non-null result will terminate the switch.
225 * <!-- end-user-doc -->
226 * @param object the target of the switch.
227 * @return the result of interpreting the object as an instance of '<em>Statechart</em>'.
228 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
229 * @generated
230 */
231 public T caseStatechart(Statechart object) {
232 return null;
233 }
234
235 /**
236 * Returns the result of interpreting the object as an instance of '<em>Entry</em>'.
237 * <!-- begin-user-doc -->
238 * This implementation returns null;
239 * returning a non-null result will terminate the switch.
240 * <!-- end-user-doc -->
241 * @param object the target of the switch.
242 * @return the result of interpreting the object as an instance of '<em>Entry</em>'.
243 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
244 * @generated
245 */
246 public T caseEntry(Entry object) {
247 return null;
248 }
249
250 /**
251 * Returns the result of interpreting the object as an instance of '<em>State</em>'.
252 * <!-- begin-user-doc -->
253 * This implementation returns null;
254 * returning a non-null result will terminate the switch.
255 * <!-- end-user-doc -->
256 * @param object the target of the switch.
257 * @return the result of interpreting the object as an instance of '<em>State</em>'.
258 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
259 * @generated
260 */
261 public T caseState(State object) {
262 return null;
263 }
264
265 /**
266 * Returns the result of interpreting the object as an instance of '<em>Regular State</em>'.
267 * <!-- begin-user-doc -->
268 * This implementation returns null;
269 * returning a non-null result will terminate the switch.
270 * <!-- end-user-doc -->
271 * @param object the target of the switch.
272 * @return the result of interpreting the object as an instance of '<em>Regular State</em>'.
273 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
274 * @generated
275 */
276 public T caseRegularState(RegularState object) {
277 return null;
278 }
279
280 /**
281 * Returns the result of interpreting the object as an instance of '<em>Composite Element</em>'.
282 * <!-- begin-user-doc -->
283 * This implementation returns null;
284 * returning a non-null result will terminate the switch.
285 * <!-- end-user-doc -->
286 * @param object the target of the switch.
287 * @return the result of interpreting the object as an instance of '<em>Composite Element</em>'.
288 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
289 * @generated
290 */
291 public T caseCompositeElement(CompositeElement object) {
292 return null;
293 }
294
295 /**
296 * Returns the result of interpreting the object as an instance of '<em>Choice</em>'.
297 * <!-- begin-user-doc -->
298 * This implementation returns null;
299 * returning a non-null result will terminate the switch.
300 * <!-- end-user-doc -->
301 * @param object the target of the switch.
302 * @return the result of interpreting the object as an instance of '<em>Choice</em>'.
303 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
304 * @generated
305 */
306 public T caseChoice(Choice object) {
307 return null;
308 }
309
310 /**
311 * Returns the result of interpreting the object as an instance of '<em>Exit</em>'.
312 * <!-- begin-user-doc -->
313 * This implementation returns null;
314 * returning a non-null result will terminate the switch.
315 * <!-- end-user-doc -->
316 * @param object the target of the switch.
317 * @return the result of interpreting the object as an instance of '<em>Exit</em>'.
318 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
319 * @generated
320 */
321 public T caseExit(Exit object) {
322 return null;
323 }
324
325 /**
326 * Returns the result of interpreting the object as an instance of '<em>Final State</em>'.
327 * <!-- begin-user-doc -->
328 * This implementation returns null;
329 * returning a non-null result will terminate the switch.
330 * <!-- end-user-doc -->
331 * @param object the target of the switch.
332 * @return the result of interpreting the object as an instance of '<em>Final State</em>'.
333 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
334 * @generated
335 */
336 public T caseFinalState(FinalState object) {
337 return null;
338 }
339
340 /**
341 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
342 * <!-- begin-user-doc -->
343 * This implementation returns null;
344 * returning a non-null result will terminate the switch, but this is the last case anyway.
345 * <!-- end-user-doc -->
346 * @param object the target of the switch.
347 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
348 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
349 * @generated
350 */
351 @Override
352 public T defaultCase(EObject object) {
353 return null;
354 }
355
356} //YakindummSwitch
357=======
358/**
359 */
360package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.util;
361
362import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.*;
363
364import org.eclipse.emf.ecore.EObject;
365import org.eclipse.emf.ecore.EPackage;
366
367import org.eclipse.emf.ecore.util.Switch;
368
369/**
370 * <!-- begin-user-doc -->
371 * The <b>Switch</b> for the model's inheritance hierarchy.
372 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
373 * to invoke the <code>caseXXX</code> method for each class of the model,
374 * starting with the actual class of the object
375 * and proceeding up the inheritance hierarchy
376 * until a non-null result is returned,
377 * which is the result of the switch.
378 * <!-- end-user-doc -->
379 * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage
380 * @generated
381 */
382public class YakinduSwitch<T> extends Switch<T> {
383 /**
384 * The cached model package
385 * <!-- begin-user-doc -->
386 * <!-- end-user-doc -->
387 * @generated
388 */
389 protected static YakinduPackage modelPackage;
390
391 /**
392 * Creates an instance of the switch.
393 * <!-- begin-user-doc -->
394 * <!-- end-user-doc -->
395 * @generated
396 */
397 public YakinduSwitch() {
398 if (modelPackage == null) {
399 modelPackage = YakinduPackage.eINSTANCE;
400 }
401 }
402
403 /**
404 * Checks whether this is a switch for the given package.
405 * <!-- begin-user-doc -->
406 * <!-- end-user-doc -->
407 * @param ePackage the package in question.
408 * @return whether this is a switch for the given package.
409 * @generated
410 */
411 @Override
412 protected boolean isSwitchFor(EPackage ePackage) {
413 return ePackage == modelPackage;
414 }
415
416 /**
417 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
418 * <!-- begin-user-doc -->
419 * <!-- end-user-doc -->
420 * @return the first non-null result returned by a <code>caseXXX</code> call.
421 * @generated
422 */
423 @Override
424 protected T doSwitch(int classifierID, EObject theEObject) {
425 switch (classifierID) {
426 case YakinduPackage.PSEUDOSTATE: {
427 Pseudostate pseudostate = (Pseudostate)theEObject;
428 T result = casePseudostate(pseudostate);
429 if (result == null) result = caseVertex(pseudostate);
430 if (result == null) result = defaultCase(theEObject);
431 return result;
432 }
433 case YakinduPackage.VERTEX: {
434 Vertex vertex = (Vertex)theEObject;
435 T result = caseVertex(vertex);
436 if (result == null) result = defaultCase(theEObject);
437 return result;
438 }
439 case YakinduPackage.REGION: {
440 Region region = (Region)theEObject;
441 T result = caseRegion(region);
442 if (result == null) result = defaultCase(theEObject);
443 return result;
444 }
445 case YakinduPackage.TRANSITION: {
446 Transition transition = (Transition)theEObject;
447 T result = caseTransition(transition);
448 if (result == null) result = defaultCase(theEObject);
449 return result;
450 }
451 case YakinduPackage.STATECHART: {
452 Statechart statechart = (Statechart)theEObject;
453 T result = caseStatechart(statechart);
454 if (result == null) result = caseCompositeElement(statechart);
455 if (result == null) result = defaultCase(theEObject);
456 return result;
457 }
458 case YakinduPackage.ENTRY: {
459 Entry entry = (Entry)theEObject;
460 T result = caseEntry(entry);
461 if (result == null) result = casePseudostate(entry);
462 if (result == null) result = caseVertex(entry);
463 if (result == null) result = defaultCase(theEObject);
464 return result;
465 }
466 case YakinduPackage.SYNCHRONIZATION: {
467 Synchronization synchronization = (Synchronization)theEObject;
468 T result = caseSynchronization(synchronization);
469 if (result == null) result = casePseudostate(synchronization);
470 if (result == null) result = caseVertex(synchronization);
471 if (result == null) result = defaultCase(theEObject);
472 return result;
473 }
474 case YakinduPackage.STATE: {
475 State state = (State)theEObject;
476 T result = caseState(state);
477 if (result == null) result = caseRegularState(state);
478 if (result == null) result = caseCompositeElement(state);
479 if (result == null) result = caseVertex(state);
480 if (result == null) result = defaultCase(theEObject);
481 return result;
482 }
483 case YakinduPackage.REGULAR_STATE: {
484 RegularState regularState = (RegularState)theEObject;
485 T result = caseRegularState(regularState);
486 if (result == null) result = caseVertex(regularState);
487 if (result == null) result = defaultCase(theEObject);
488 return result;
489 }
490 case YakinduPackage.COMPOSITE_ELEMENT: {
491 CompositeElement compositeElement = (CompositeElement)theEObject;
492 T result = caseCompositeElement(compositeElement);
493 if (result == null) result = defaultCase(theEObject);
494 return result;
495 }
496 case YakinduPackage.CHOICE: {
497 Choice choice = (Choice)theEObject;
498 T result = caseChoice(choice);
499 if (result == null) result = casePseudostate(choice);
500 if (result == null) result = caseVertex(choice);
501 if (result == null) result = defaultCase(theEObject);
502 return result;
503 }
504 case YakinduPackage.EXIT: {
505 Exit exit = (Exit)theEObject;
506 T result = caseExit(exit);
507 if (result == null) result = casePseudostate(exit);
508 if (result == null) result = caseVertex(exit);
509 if (result == null) result = defaultCase(theEObject);
510 return result;
511 }
512 case YakinduPackage.FINAL_STATE: {
513 FinalState finalState = (FinalState)theEObject;
514 T result = caseFinalState(finalState);
515 if (result == null) result = caseRegularState(finalState);
516 if (result == null) result = caseVertex(finalState);
517 if (result == null) result = defaultCase(theEObject);
518 return result;
519 }
520 default: return defaultCase(theEObject);
521 }
522 }
523
524 /**
525 * Returns the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
526 * <!-- begin-user-doc -->
527 * This implementation returns null;
528 * returning a non-null result will terminate the switch.
529 * <!-- end-user-doc -->
530 * @param object the target of the switch.
531 * @return the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
532 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
533 * @generated
534 */
535 public T casePseudostate(Pseudostate object) {
536 return null;
537 }
538
539 /**
540 * Returns the result of interpreting the object as an instance of '<em>Vertex</em>'.
541 * <!-- begin-user-doc -->
542 * This implementation returns null;
543 * returning a non-null result will terminate the switch.
544 * <!-- end-user-doc -->
545 * @param object the target of the switch.
546 * @return the result of interpreting the object as an instance of '<em>Vertex</em>'.
547 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
548 * @generated
549 */
550 public T caseVertex(Vertex object) {
551 return null;
552 }
553
554 /**
555 * Returns the result of interpreting the object as an instance of '<em>Region</em>'.
556 * <!-- begin-user-doc -->
557 * This implementation returns null;
558 * returning a non-null result will terminate the switch.
559 * <!-- end-user-doc -->
560 * @param object the target of the switch.
561 * @return the result of interpreting the object as an instance of '<em>Region</em>'.
562 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
563 * @generated
564 */
565 public T caseRegion(Region object) {
566 return null;
567 }
568
569 /**
570 * Returns the result of interpreting the object as an instance of '<em>Transition</em>'.
571 * <!-- begin-user-doc -->
572 * This implementation returns null;
573 * returning a non-null result will terminate the switch.
574 * <!-- end-user-doc -->
575 * @param object the target of the switch.
576 * @return the result of interpreting the object as an instance of '<em>Transition</em>'.
577 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
578 * @generated
579 */
580 public T caseTransition(Transition object) {
581 return null;
582 }
583
584 /**
585 * Returns the result of interpreting the object as an instance of '<em>Statechart</em>'.
586 * <!-- begin-user-doc -->
587 * This implementation returns null;
588 * returning a non-null result will terminate the switch.
589 * <!-- end-user-doc -->
590 * @param object the target of the switch.
591 * @return the result of interpreting the object as an instance of '<em>Statechart</em>'.
592 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
593 * @generated
594 */
595 public T caseStatechart(Statechart object) {
596 return null;
597 }
598
599 /**
600 * Returns the result of interpreting the object as an instance of '<em>Entry</em>'.
601 * <!-- begin-user-doc -->
602 * This implementation returns null;
603 * returning a non-null result will terminate the switch.
604 * <!-- end-user-doc -->
605 * @param object the target of the switch.
606 * @return the result of interpreting the object as an instance of '<em>Entry</em>'.
607 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
608 * @generated
609 */
610 public T caseEntry(Entry object) {
611 return null;
612 }
613
614 /**
615 * Returns the result of interpreting the object as an instance of '<em>Synchronization</em>'.
616 * <!-- begin-user-doc -->
617 * This implementation returns null;
618 * returning a non-null result will terminate the switch.
619 * <!-- end-user-doc -->
620 * @param object the target of the switch.
621 * @return the result of interpreting the object as an instance of '<em>Synchronization</em>'.
622 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
623 * @generated
624 */
625 public T caseSynchronization(Synchronization object) {
626 return null;
627 }
628
629 /**
630 * Returns the result of interpreting the object as an instance of '<em>State</em>'.
631 * <!-- begin-user-doc -->
632 * This implementation returns null;
633 * returning a non-null result will terminate the switch.
634 * <!-- end-user-doc -->
635 * @param object the target of the switch.
636 * @return the result of interpreting the object as an instance of '<em>State</em>'.
637 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
638 * @generated
639 */
640 public T caseState(State object) {
641 return null;
642 }
643
644 /**
645 * Returns the result of interpreting the object as an instance of '<em>Regular State</em>'.
646 * <!-- begin-user-doc -->
647 * This implementation returns null;
648 * returning a non-null result will terminate the switch.
649 * <!-- end-user-doc -->
650 * @param object the target of the switch.
651 * @return the result of interpreting the object as an instance of '<em>Regular State</em>'.
652 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
653 * @generated
654 */
655 public T caseRegularState(RegularState object) {
656 return null;
657 }
658
659 /**
660 * Returns the result of interpreting the object as an instance of '<em>Composite Element</em>'.
661 * <!-- begin-user-doc -->
662 * This implementation returns null;
663 * returning a non-null result will terminate the switch.
664 * <!-- end-user-doc -->
665 * @param object the target of the switch.
666 * @return the result of interpreting the object as an instance of '<em>Composite Element</em>'.
667 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
668 * @generated
669 */
670 public T caseCompositeElement(CompositeElement object) {
671 return null;
672 }
673
674 /**
675 * Returns the result of interpreting the object as an instance of '<em>Choice</em>'.
676 * <!-- begin-user-doc -->
677 * This implementation returns null;
678 * returning a non-null result will terminate the switch.
679 * <!-- end-user-doc -->
680 * @param object the target of the switch.
681 * @return the result of interpreting the object as an instance of '<em>Choice</em>'.
682 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
683 * @generated
684 */
685 public T caseChoice(Choice object) {
686 return null;
687 }
688
689 /**
690 * Returns the result of interpreting the object as an instance of '<em>Exit</em>'.
691 * <!-- begin-user-doc -->
692 * This implementation returns null;
693 * returning a non-null result will terminate the switch.
694 * <!-- end-user-doc -->
695 * @param object the target of the switch.
696 * @return the result of interpreting the object as an instance of '<em>Exit</em>'.
697 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
698 * @generated
699 */
700 public T caseExit(Exit object) {
701 return null;
702 }
703
704 /**
705 * Returns the result of interpreting the object as an instance of '<em>Final State</em>'.
706 * <!-- begin-user-doc -->
707 * This implementation returns null;
708 * returning a non-null result will terminate the switch.
709 * <!-- end-user-doc -->
710 * @param object the target of the switch.
711 * @return the result of interpreting the object as an instance of '<em>Final State</em>'.
712 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
713 * @generated
714 */
715 public T caseFinalState(FinalState object) {
716 return null;
717 }
718
719 /**
720 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
721 * <!-- begin-user-doc -->
722 * This implementation returns null;
723 * returning a non-null result will terminate the switch, but this is the last case anyway.
724 * <!-- end-user-doc -->
725 * @param object the target of the switch.
726 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
727 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
728 * @generated
729 */
730 @Override
731 public T defaultCase(EObject object) {
732 return null;
733 }
734
735} //YakinduSwitch
736>>>>>>> f1f2a1fa... Pre-realisticBranchCreation Commit:Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakinduSwitch.java