diff options
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl')
15 files changed, 126 insertions, 126 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java index 8fc4883b..b757b42f 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ChoiceImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | 3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; |
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Choice; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | 9 | ||
@@ -31,7 +31,7 @@ public class ChoiceImpl extends PseudostateImpl implements Choice { | |||
31 | */ | 31 | */ |
32 | @Override | 32 | @Override |
33 | protected EClass eStaticClass() { | 33 | protected EClass eStaticClass() { |
34 | return yakinduPackage.Literals.CHOICE; | 34 | return YakinduPackage.Literals.CHOICE; |
35 | } | 35 | } |
36 | 36 | ||
37 | } //ChoiceImpl | 37 | } //ChoiceImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java index 0218f9c7..8441ed27 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/CompositeElementImpl.java | |||
@@ -4,7 +4,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | |||
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; |
7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
8 | 8 | ||
9 | import java.util.Collection; | 9 | import java.util.Collection; |
10 | 10 | ||
@@ -60,7 +60,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container | |||
60 | */ | 60 | */ |
61 | @Override | 61 | @Override |
62 | protected EClass eStaticClass() { | 62 | protected EClass eStaticClass() { |
63 | return yakinduPackage.Literals.COMPOSITE_ELEMENT; | 63 | return YakinduPackage.Literals.COMPOSITE_ELEMENT; |
64 | } | 64 | } |
65 | 65 | ||
66 | /** | 66 | /** |
@@ -70,7 +70,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container | |||
70 | */ | 70 | */ |
71 | public EList<Region> getRegions() { | 71 | public EList<Region> getRegions() { |
72 | if (regions == null) { | 72 | if (regions == null) { |
73 | regions = new EObjectContainmentEList<Region>(Region.class, this, yakinduPackage.COMPOSITE_ELEMENT__REGIONS); | 73 | regions = new EObjectContainmentEList<Region>(Region.class, this, YakinduPackage.COMPOSITE_ELEMENT__REGIONS); |
74 | } | 74 | } |
75 | return regions; | 75 | return regions; |
76 | } | 76 | } |
@@ -83,7 +83,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container | |||
83 | @Override | 83 | @Override |
84 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 84 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
85 | switch (featureID) { | 85 | switch (featureID) { |
86 | case yakinduPackage.COMPOSITE_ELEMENT__REGIONS: | 86 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: |
87 | return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs); | 87 | return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs); |
88 | } | 88 | } |
89 | return super.eInverseRemove(otherEnd, featureID, msgs); | 89 | return super.eInverseRemove(otherEnd, featureID, msgs); |
@@ -97,7 +97,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container | |||
97 | @Override | 97 | @Override |
98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
99 | switch (featureID) { | 99 | switch (featureID) { |
100 | case yakinduPackage.COMPOSITE_ELEMENT__REGIONS: | 100 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: |
101 | return getRegions(); | 101 | return getRegions(); |
102 | } | 102 | } |
103 | return super.eGet(featureID, resolve, coreType); | 103 | return super.eGet(featureID, resolve, coreType); |
@@ -112,7 +112,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container | |||
112 | @Override | 112 | @Override |
113 | public void eSet(int featureID, Object newValue) { | 113 | public void eSet(int featureID, Object newValue) { |
114 | switch (featureID) { | 114 | switch (featureID) { |
115 | case yakinduPackage.COMPOSITE_ELEMENT__REGIONS: | 115 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: |
116 | getRegions().clear(); | 116 | getRegions().clear(); |
117 | getRegions().addAll((Collection<? extends Region>)newValue); | 117 | getRegions().addAll((Collection<? extends Region>)newValue); |
118 | return; | 118 | return; |
@@ -128,7 +128,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container | |||
128 | @Override | 128 | @Override |
129 | public void eUnset(int featureID) { | 129 | public void eUnset(int featureID) { |
130 | switch (featureID) { | 130 | switch (featureID) { |
131 | case yakinduPackage.COMPOSITE_ELEMENT__REGIONS: | 131 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: |
132 | getRegions().clear(); | 132 | getRegions().clear(); |
133 | return; | 133 | return; |
134 | } | 134 | } |
@@ -143,7 +143,7 @@ public abstract class CompositeElementImpl extends MinimalEObjectImpl.Container | |||
143 | @Override | 143 | @Override |
144 | public boolean eIsSet(int featureID) { | 144 | public boolean eIsSet(int featureID) { |
145 | switch (featureID) { | 145 | switch (featureID) { |
146 | case yakinduPackage.COMPOSITE_ELEMENT__REGIONS: | 146 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: |
147 | return regions != null && !regions.isEmpty(); | 147 | return regions != null && !regions.isEmpty(); |
148 | } | 148 | } |
149 | return super.eIsSet(featureID); | 149 | return super.eIsSet(featureID); |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/EntryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/EntryImpl.java index d0334475..0603c2a4 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/EntryImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/EntryImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | 3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; |
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Entry; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | 9 | ||
@@ -31,7 +31,7 @@ public class EntryImpl extends PseudostateImpl implements Entry { | |||
31 | */ | 31 | */ |
32 | @Override | 32 | @Override |
33 | protected EClass eStaticClass() { | 33 | protected EClass eStaticClass() { |
34 | return yakinduPackage.Literals.ENTRY; | 34 | return YakinduPackage.Literals.ENTRY; |
35 | } | 35 | } |
36 | 36 | ||
37 | } //EntryImpl | 37 | } //EntryImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java index d1448776..4859ef03 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/ExitImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | 3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; |
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Exit; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | 9 | ||
@@ -31,7 +31,7 @@ public class ExitImpl extends PseudostateImpl implements Exit { | |||
31 | */ | 31 | */ |
32 | @Override | 32 | @Override |
33 | protected EClass eStaticClass() { | 33 | protected EClass eStaticClass() { |
34 | return yakinduPackage.Literals.EXIT; | 34 | return YakinduPackage.Literals.EXIT; |
35 | } | 35 | } |
36 | 36 | ||
37 | } //ExitImpl | 37 | } //ExitImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java index 716c096e..c4d4e157 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/FinalStateImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | 3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; |
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.FinalState; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | 9 | ||
@@ -31,7 +31,7 @@ public class FinalStateImpl extends RegularStateImpl implements FinalState { | |||
31 | */ | 31 | */ |
32 | @Override | 32 | @Override |
33 | protected EClass eStaticClass() { | 33 | protected EClass eStaticClass() { |
34 | return yakinduPackage.Literals.FINAL_STATE; | 34 | return YakinduPackage.Literals.FINAL_STATE; |
35 | } | 35 | } |
36 | 36 | ||
37 | } //FinalStateImpl | 37 | } //FinalStateImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java index b9fc27f3..56c44b78 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/PseudostateImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | 3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; |
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Pseudostate; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | 9 | ||
@@ -31,7 +31,7 @@ public abstract class PseudostateImpl extends VertexImpl implements Pseudostate | |||
31 | */ | 31 | */ |
32 | @Override | 32 | @Override |
33 | protected EClass eStaticClass() { | 33 | protected EClass eStaticClass() { |
34 | return yakinduPackage.Literals.PSEUDOSTATE; | 34 | return YakinduPackage.Literals.PSEUDOSTATE; |
35 | } | 35 | } |
36 | 36 | ||
37 | } //PseudostateImpl | 37 | } //PseudostateImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java index fa873aeb..fa529ad6 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegionImpl.java | |||
@@ -4,7 +4,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | |||
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; |
7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
8 | 8 | ||
9 | import java.util.Collection; | 9 | import java.util.Collection; |
10 | 10 | ||
@@ -60,7 +60,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | |||
60 | */ | 60 | */ |
61 | @Override | 61 | @Override |
62 | protected EClass eStaticClass() { | 62 | protected EClass eStaticClass() { |
63 | return yakinduPackage.Literals.REGION; | 63 | return YakinduPackage.Literals.REGION; |
64 | } | 64 | } |
65 | 65 | ||
66 | /** | 66 | /** |
@@ -70,7 +70,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | |||
70 | */ | 70 | */ |
71 | public EList<Vertex> getVertices() { | 71 | public EList<Vertex> getVertices() { |
72 | if (vertices == null) { | 72 | if (vertices == null) { |
73 | vertices = new EObjectContainmentEList<Vertex>(Vertex.class, this, yakinduPackage.REGION__VERTICES); | 73 | vertices = new EObjectContainmentEList<Vertex>(Vertex.class, this, YakinduPackage.REGION__VERTICES); |
74 | } | 74 | } |
75 | return vertices; | 75 | return vertices; |
76 | } | 76 | } |
@@ -83,7 +83,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | |||
83 | @Override | 83 | @Override |
84 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 84 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
85 | switch (featureID) { | 85 | switch (featureID) { |
86 | case yakinduPackage.REGION__VERTICES: | 86 | case YakinduPackage.REGION__VERTICES: |
87 | return ((InternalEList<?>)getVertices()).basicRemove(otherEnd, msgs); | 87 | return ((InternalEList<?>)getVertices()).basicRemove(otherEnd, msgs); |
88 | } | 88 | } |
89 | return super.eInverseRemove(otherEnd, featureID, msgs); | 89 | return super.eInverseRemove(otherEnd, featureID, msgs); |
@@ -97,7 +97,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | |||
97 | @Override | 97 | @Override |
98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 98 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
99 | switch (featureID) { | 99 | switch (featureID) { |
100 | case yakinduPackage.REGION__VERTICES: | 100 | case YakinduPackage.REGION__VERTICES: |
101 | return getVertices(); | 101 | return getVertices(); |
102 | } | 102 | } |
103 | return super.eGet(featureID, resolve, coreType); | 103 | return super.eGet(featureID, resolve, coreType); |
@@ -112,7 +112,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | |||
112 | @Override | 112 | @Override |
113 | public void eSet(int featureID, Object newValue) { | 113 | public void eSet(int featureID, Object newValue) { |
114 | switch (featureID) { | 114 | switch (featureID) { |
115 | case yakinduPackage.REGION__VERTICES: | 115 | case YakinduPackage.REGION__VERTICES: |
116 | getVertices().clear(); | 116 | getVertices().clear(); |
117 | getVertices().addAll((Collection<? extends Vertex>)newValue); | 117 | getVertices().addAll((Collection<? extends Vertex>)newValue); |
118 | return; | 118 | return; |
@@ -128,7 +128,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | |||
128 | @Override | 128 | @Override |
129 | public void eUnset(int featureID) { | 129 | public void eUnset(int featureID) { |
130 | switch (featureID) { | 130 | switch (featureID) { |
131 | case yakinduPackage.REGION__VERTICES: | 131 | case YakinduPackage.REGION__VERTICES: |
132 | getVertices().clear(); | 132 | getVertices().clear(); |
133 | return; | 133 | return; |
134 | } | 134 | } |
@@ -143,7 +143,7 @@ public class RegionImpl extends MinimalEObjectImpl.Container implements Region { | |||
143 | @Override | 143 | @Override |
144 | public boolean eIsSet(int featureID) { | 144 | public boolean eIsSet(int featureID) { |
145 | switch (featureID) { | 145 | switch (featureID) { |
146 | case yakinduPackage.REGION__VERTICES: | 146 | case YakinduPackage.REGION__VERTICES: |
147 | return vertices != null && !vertices.isEmpty(); | 147 | return vertices != null && !vertices.isEmpty(); |
148 | } | 148 | } |
149 | return super.eIsSet(featureID); | 149 | return super.eIsSet(featureID); |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java index bbe21a14..5361d4d5 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/RegularStateImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | 3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; |
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.RegularState; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | 9 | ||
@@ -31,7 +31,7 @@ public abstract class RegularStateImpl extends VertexImpl implements RegularStat | |||
31 | */ | 31 | */ |
32 | @Override | 32 | @Override |
33 | protected EClass eStaticClass() { | 33 | protected EClass eStaticClass() { |
34 | return yakinduPackage.Literals.REGULAR_STATE; | 34 | return YakinduPackage.Literals.REGULAR_STATE; |
35 | } | 35 | } |
36 | 36 | ||
37 | } //RegularStateImpl | 37 | } //RegularStateImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java index 66ab2a8f..85938d63 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StateImpl.java | |||
@@ -5,7 +5,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | |||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.CompositeElement; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Region; |
7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State; | 7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.State; |
8 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 8 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
9 | 9 | ||
10 | import java.util.Collection; | 10 | import java.util.Collection; |
11 | 11 | ||
@@ -59,7 +59,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
59 | */ | 59 | */ |
60 | @Override | 60 | @Override |
61 | protected EClass eStaticClass() { | 61 | protected EClass eStaticClass() { |
62 | return yakinduPackage.Literals.STATE; | 62 | return YakinduPackage.Literals.STATE; |
63 | } | 63 | } |
64 | 64 | ||
65 | /** | 65 | /** |
@@ -69,7 +69,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
69 | */ | 69 | */ |
70 | public EList<Region> getRegions() { | 70 | public EList<Region> getRegions() { |
71 | if (regions == null) { | 71 | if (regions == null) { |
72 | regions = new EObjectContainmentEList<Region>(Region.class, this, yakinduPackage.STATE__REGIONS); | 72 | regions = new EObjectContainmentEList<Region>(Region.class, this, YakinduPackage.STATE__REGIONS); |
73 | } | 73 | } |
74 | return regions; | 74 | return regions; |
75 | } | 75 | } |
@@ -82,7 +82,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
82 | @Override | 82 | @Override |
83 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 83 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
84 | switch (featureID) { | 84 | switch (featureID) { |
85 | case yakinduPackage.STATE__REGIONS: | 85 | case YakinduPackage.STATE__REGIONS: |
86 | return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs); | 86 | return ((InternalEList<?>)getRegions()).basicRemove(otherEnd, msgs); |
87 | } | 87 | } |
88 | return super.eInverseRemove(otherEnd, featureID, msgs); | 88 | return super.eInverseRemove(otherEnd, featureID, msgs); |
@@ -96,7 +96,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
96 | @Override | 96 | @Override |
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
98 | switch (featureID) { | 98 | switch (featureID) { |
99 | case yakinduPackage.STATE__REGIONS: | 99 | case YakinduPackage.STATE__REGIONS: |
100 | return getRegions(); | 100 | return getRegions(); |
101 | } | 101 | } |
102 | return super.eGet(featureID, resolve, coreType); | 102 | return super.eGet(featureID, resolve, coreType); |
@@ -111,7 +111,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
111 | @Override | 111 | @Override |
112 | public void eSet(int featureID, Object newValue) { | 112 | public void eSet(int featureID, Object newValue) { |
113 | switch (featureID) { | 113 | switch (featureID) { |
114 | case yakinduPackage.STATE__REGIONS: | 114 | case YakinduPackage.STATE__REGIONS: |
115 | getRegions().clear(); | 115 | getRegions().clear(); |
116 | getRegions().addAll((Collection<? extends Region>)newValue); | 116 | getRegions().addAll((Collection<? extends Region>)newValue); |
117 | return; | 117 | return; |
@@ -127,7 +127,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
127 | @Override | 127 | @Override |
128 | public void eUnset(int featureID) { | 128 | public void eUnset(int featureID) { |
129 | switch (featureID) { | 129 | switch (featureID) { |
130 | case yakinduPackage.STATE__REGIONS: | 130 | case YakinduPackage.STATE__REGIONS: |
131 | getRegions().clear(); | 131 | getRegions().clear(); |
132 | return; | 132 | return; |
133 | } | 133 | } |
@@ -142,7 +142,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
142 | @Override | 142 | @Override |
143 | public boolean eIsSet(int featureID) { | 143 | public boolean eIsSet(int featureID) { |
144 | switch (featureID) { | 144 | switch (featureID) { |
145 | case yakinduPackage.STATE__REGIONS: | 145 | case YakinduPackage.STATE__REGIONS: |
146 | return regions != null && !regions.isEmpty(); | 146 | return regions != null && !regions.isEmpty(); |
147 | } | 147 | } |
148 | return super.eIsSet(featureID); | 148 | return super.eIsSet(featureID); |
@@ -157,7 +157,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
157 | public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { | 157 | public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { |
158 | if (baseClass == CompositeElement.class) { | 158 | if (baseClass == CompositeElement.class) { |
159 | switch (derivedFeatureID) { | 159 | switch (derivedFeatureID) { |
160 | case yakinduPackage.STATE__REGIONS: return yakinduPackage.COMPOSITE_ELEMENT__REGIONS; | 160 | case YakinduPackage.STATE__REGIONS: return YakinduPackage.COMPOSITE_ELEMENT__REGIONS; |
161 | default: return -1; | 161 | default: return -1; |
162 | } | 162 | } |
163 | } | 163 | } |
@@ -173,7 +173,7 @@ public class StateImpl extends RegularStateImpl implements State { | |||
173 | public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) { | 173 | public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) { |
174 | if (baseClass == CompositeElement.class) { | 174 | if (baseClass == CompositeElement.class) { |
175 | switch (baseFeatureID) { | 175 | switch (baseFeatureID) { |
176 | case yakinduPackage.COMPOSITE_ELEMENT__REGIONS: return yakinduPackage.STATE__REGIONS; | 176 | case YakinduPackage.COMPOSITE_ELEMENT__REGIONS: return YakinduPackage.STATE__REGIONS; |
177 | default: return -1; | 177 | default: return -1; |
178 | } | 178 | } |
179 | } | 179 | } |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java index 056820ca..a74110da 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/StatechartImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | 3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; |
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | 9 | ||
@@ -31,7 +31,7 @@ public class StatechartImpl extends CompositeElementImpl implements Statechart { | |||
31 | */ | 31 | */ |
32 | @Override | 32 | @Override |
33 | protected EClass eStaticClass() { | 33 | protected EClass eStaticClass() { |
34 | return yakinduPackage.Literals.STATECHART; | 34 | return YakinduPackage.Literals.STATECHART; |
35 | } | 35 | } |
36 | 36 | ||
37 | } //StatechartImpl | 37 | } //StatechartImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/SynchronizationImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/SynchronizationImpl.java index 28ef69ea..3b6cd8eb 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/SynchronizationImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/SynchronizationImpl.java | |||
@@ -3,7 +3,7 @@ | |||
3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | 3 | package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; |
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
7 | 7 | ||
8 | import org.eclipse.emf.ecore.EClass; | 8 | import org.eclipse.emf.ecore.EClass; |
9 | 9 | ||
@@ -31,7 +31,7 @@ public class SynchronizationImpl extends PseudostateImpl implements Synchronizat | |||
31 | */ | 31 | */ |
32 | @Override | 32 | @Override |
33 | protected EClass eStaticClass() { | 33 | protected EClass eStaticClass() { |
34 | return yakinduPackage.Literals.SYNCHRONIZATION; | 34 | return YakinduPackage.Literals.SYNCHRONIZATION; |
35 | } | 35 | } |
36 | 36 | ||
37 | } //SynchronizationImpl | 37 | } //SynchronizationImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java index ea1677ee..dfbca048 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/TransitionImpl.java | |||
@@ -4,7 +4,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | |||
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; |
7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
8 | 8 | ||
9 | import org.eclipse.emf.common.notify.Notification; | 9 | import org.eclipse.emf.common.notify.Notification; |
10 | import org.eclipse.emf.common.notify.NotificationChain; | 10 | import org.eclipse.emf.common.notify.NotificationChain; |
@@ -58,7 +58,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
58 | */ | 58 | */ |
59 | @Override | 59 | @Override |
60 | protected EClass eStaticClass() { | 60 | protected EClass eStaticClass() { |
61 | return yakinduPackage.Literals.TRANSITION; | 61 | return YakinduPackage.Literals.TRANSITION; |
62 | } | 62 | } |
63 | 63 | ||
64 | /** | 64 | /** |
@@ -72,7 +72,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
72 | target = (Vertex)eResolveProxy(oldTarget); | 72 | target = (Vertex)eResolveProxy(oldTarget); |
73 | if (target != oldTarget) { | 73 | if (target != oldTarget) { |
74 | if (eNotificationRequired()) | 74 | if (eNotificationRequired()) |
75 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, yakinduPackage.TRANSITION__TARGET, oldTarget, target)); | 75 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, YakinduPackage.TRANSITION__TARGET, oldTarget, target)); |
76 | } | 76 | } |
77 | } | 77 | } |
78 | return target; | 78 | return target; |
@@ -96,7 +96,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
96 | Vertex oldTarget = target; | 96 | Vertex oldTarget = target; |
97 | target = newTarget; | 97 | target = newTarget; |
98 | if (eNotificationRequired()) { | 98 | if (eNotificationRequired()) { |
99 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, yakinduPackage.TRANSITION__TARGET, oldTarget, newTarget); | 99 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__TARGET, oldTarget, newTarget); |
100 | if (msgs == null) msgs = notification; else msgs.add(notification); | 100 | if (msgs == null) msgs = notification; else msgs.add(notification); |
101 | } | 101 | } |
102 | return msgs; | 102 | return msgs; |
@@ -111,14 +111,14 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
111 | if (newTarget != target) { | 111 | if (newTarget != target) { |
112 | NotificationChain msgs = null; | 112 | NotificationChain msgs = null; |
113 | if (target != null) | 113 | if (target != null) |
114 | msgs = ((InternalEObject)target).eInverseRemove(this, yakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); | 114 | msgs = ((InternalEObject)target).eInverseRemove(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); |
115 | if (newTarget != null) | 115 | if (newTarget != null) |
116 | msgs = ((InternalEObject)newTarget).eInverseAdd(this, yakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); | 116 | msgs = ((InternalEObject)newTarget).eInverseAdd(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); |
117 | msgs = basicSetTarget(newTarget, msgs); | 117 | msgs = basicSetTarget(newTarget, msgs); |
118 | if (msgs != null) msgs.dispatch(); | 118 | if (msgs != null) msgs.dispatch(); |
119 | } | 119 | } |
120 | else if (eNotificationRequired()) | 120 | else if (eNotificationRequired()) |
121 | eNotify(new ENotificationImpl(this, Notification.SET, yakinduPackage.TRANSITION__TARGET, newTarget, newTarget)); | 121 | eNotify(new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__TARGET, newTarget, newTarget)); |
122 | } | 122 | } |
123 | 123 | ||
124 | /** | 124 | /** |
@@ -127,7 +127,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
127 | * @generated | 127 | * @generated |
128 | */ | 128 | */ |
129 | public Vertex getSource() { | 129 | public Vertex getSource() { |
130 | if (eContainerFeatureID() != yakinduPackage.TRANSITION__SOURCE) return null; | 130 | if (eContainerFeatureID() != YakinduPackage.TRANSITION__SOURCE) return null; |
131 | return (Vertex)eInternalContainer(); | 131 | return (Vertex)eInternalContainer(); |
132 | } | 132 | } |
133 | 133 | ||
@@ -137,7 +137,7 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
137 | * @generated | 137 | * @generated |
138 | */ | 138 | */ |
139 | public NotificationChain basicSetSource(Vertex newSource, NotificationChain msgs) { | 139 | public NotificationChain basicSetSource(Vertex newSource, NotificationChain msgs) { |
140 | msgs = eBasicSetContainer((InternalEObject)newSource, yakinduPackage.TRANSITION__SOURCE, msgs); | 140 | msgs = eBasicSetContainer((InternalEObject)newSource, YakinduPackage.TRANSITION__SOURCE, msgs); |
141 | return msgs; | 141 | return msgs; |
142 | } | 142 | } |
143 | 143 | ||
@@ -147,19 +147,19 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
147 | * @generated | 147 | * @generated |
148 | */ | 148 | */ |
149 | public void setSource(Vertex newSource) { | 149 | public void setSource(Vertex newSource) { |
150 | if (newSource != eInternalContainer() || (eContainerFeatureID() != yakinduPackage.TRANSITION__SOURCE && newSource != null)) { | 150 | if (newSource != eInternalContainer() || (eContainerFeatureID() != YakinduPackage.TRANSITION__SOURCE && newSource != null)) { |
151 | if (EcoreUtil.isAncestor(this, newSource)) | 151 | if (EcoreUtil.isAncestor(this, newSource)) |
152 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); | 152 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); |
153 | NotificationChain msgs = null; | 153 | NotificationChain msgs = null; |
154 | if (eInternalContainer() != null) | 154 | if (eInternalContainer() != null) |
155 | msgs = eBasicRemoveFromContainer(msgs); | 155 | msgs = eBasicRemoveFromContainer(msgs); |
156 | if (newSource != null) | 156 | if (newSource != null) |
157 | msgs = ((InternalEObject)newSource).eInverseAdd(this, yakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs); | 157 | msgs = ((InternalEObject)newSource).eInverseAdd(this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs); |
158 | msgs = basicSetSource(newSource, msgs); | 158 | msgs = basicSetSource(newSource, msgs); |
159 | if (msgs != null) msgs.dispatch(); | 159 | if (msgs != null) msgs.dispatch(); |
160 | } | 160 | } |
161 | else if (eNotificationRequired()) | 161 | else if (eNotificationRequired()) |
162 | eNotify(new ENotificationImpl(this, Notification.SET, yakinduPackage.TRANSITION__SOURCE, newSource, newSource)); | 162 | eNotify(new ENotificationImpl(this, Notification.SET, YakinduPackage.TRANSITION__SOURCE, newSource, newSource)); |
163 | } | 163 | } |
164 | 164 | ||
165 | /** | 165 | /** |
@@ -170,11 +170,11 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
170 | @Override | 170 | @Override |
171 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 171 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
172 | switch (featureID) { | 172 | switch (featureID) { |
173 | case yakinduPackage.TRANSITION__TARGET: | 173 | case YakinduPackage.TRANSITION__TARGET: |
174 | if (target != null) | 174 | if (target != null) |
175 | msgs = ((InternalEObject)target).eInverseRemove(this, yakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); | 175 | msgs = ((InternalEObject)target).eInverseRemove(this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, Vertex.class, msgs); |
176 | return basicSetTarget((Vertex)otherEnd, msgs); | 176 | return basicSetTarget((Vertex)otherEnd, msgs); |
177 | case yakinduPackage.TRANSITION__SOURCE: | 177 | case YakinduPackage.TRANSITION__SOURCE: |
178 | if (eInternalContainer() != null) | 178 | if (eInternalContainer() != null) |
179 | msgs = eBasicRemoveFromContainer(msgs); | 179 | msgs = eBasicRemoveFromContainer(msgs); |
180 | return basicSetSource((Vertex)otherEnd, msgs); | 180 | return basicSetSource((Vertex)otherEnd, msgs); |
@@ -190,9 +190,9 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
190 | @Override | 190 | @Override |
191 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 191 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
192 | switch (featureID) { | 192 | switch (featureID) { |
193 | case yakinduPackage.TRANSITION__TARGET: | 193 | case YakinduPackage.TRANSITION__TARGET: |
194 | return basicSetTarget(null, msgs); | 194 | return basicSetTarget(null, msgs); |
195 | case yakinduPackage.TRANSITION__SOURCE: | 195 | case YakinduPackage.TRANSITION__SOURCE: |
196 | return basicSetSource(null, msgs); | 196 | return basicSetSource(null, msgs); |
197 | } | 197 | } |
198 | return super.eInverseRemove(otherEnd, featureID, msgs); | 198 | return super.eInverseRemove(otherEnd, featureID, msgs); |
@@ -206,8 +206,8 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
206 | @Override | 206 | @Override |
207 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { | 207 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { |
208 | switch (eContainerFeatureID()) { | 208 | switch (eContainerFeatureID()) { |
209 | case yakinduPackage.TRANSITION__SOURCE: | 209 | case YakinduPackage.TRANSITION__SOURCE: |
210 | return eInternalContainer().eInverseRemove(this, yakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs); | 210 | return eInternalContainer().eInverseRemove(this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, Vertex.class, msgs); |
211 | } | 211 | } |
212 | return super.eBasicRemoveFromContainerFeature(msgs); | 212 | return super.eBasicRemoveFromContainerFeature(msgs); |
213 | } | 213 | } |
@@ -220,10 +220,10 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
220 | @Override | 220 | @Override |
221 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 221 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
222 | switch (featureID) { | 222 | switch (featureID) { |
223 | case yakinduPackage.TRANSITION__TARGET: | 223 | case YakinduPackage.TRANSITION__TARGET: |
224 | if (resolve) return getTarget(); | 224 | if (resolve) return getTarget(); |
225 | return basicGetTarget(); | 225 | return basicGetTarget(); |
226 | case yakinduPackage.TRANSITION__SOURCE: | 226 | case YakinduPackage.TRANSITION__SOURCE: |
227 | return getSource(); | 227 | return getSource(); |
228 | } | 228 | } |
229 | return super.eGet(featureID, resolve, coreType); | 229 | return super.eGet(featureID, resolve, coreType); |
@@ -237,10 +237,10 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
237 | @Override | 237 | @Override |
238 | public void eSet(int featureID, Object newValue) { | 238 | public void eSet(int featureID, Object newValue) { |
239 | switch (featureID) { | 239 | switch (featureID) { |
240 | case yakinduPackage.TRANSITION__TARGET: | 240 | case YakinduPackage.TRANSITION__TARGET: |
241 | setTarget((Vertex)newValue); | 241 | setTarget((Vertex)newValue); |
242 | return; | 242 | return; |
243 | case yakinduPackage.TRANSITION__SOURCE: | 243 | case YakinduPackage.TRANSITION__SOURCE: |
244 | setSource((Vertex)newValue); | 244 | setSource((Vertex)newValue); |
245 | return; | 245 | return; |
246 | } | 246 | } |
@@ -255,10 +255,10 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
255 | @Override | 255 | @Override |
256 | public void eUnset(int featureID) { | 256 | public void eUnset(int featureID) { |
257 | switch (featureID) { | 257 | switch (featureID) { |
258 | case yakinduPackage.TRANSITION__TARGET: | 258 | case YakinduPackage.TRANSITION__TARGET: |
259 | setTarget((Vertex)null); | 259 | setTarget((Vertex)null); |
260 | return; | 260 | return; |
261 | case yakinduPackage.TRANSITION__SOURCE: | 261 | case YakinduPackage.TRANSITION__SOURCE: |
262 | setSource((Vertex)null); | 262 | setSource((Vertex)null); |
263 | return; | 263 | return; |
264 | } | 264 | } |
@@ -273,9 +273,9 @@ public class TransitionImpl extends MinimalEObjectImpl.Container implements Tran | |||
273 | @Override | 273 | @Override |
274 | public boolean eIsSet(int featureID) { | 274 | public boolean eIsSet(int featureID) { |
275 | switch (featureID) { | 275 | switch (featureID) { |
276 | case yakinduPackage.TRANSITION__TARGET: | 276 | case YakinduPackage.TRANSITION__TARGET: |
277 | return target != null; | 277 | return target != null; |
278 | case yakinduPackage.TRANSITION__SOURCE: | 278 | case YakinduPackage.TRANSITION__SOURCE: |
279 | return getSource() != null; | 279 | return getSource() != null; |
280 | } | 280 | } |
281 | return super.eIsSet(featureID); | 281 | return super.eIsSet(featureID); |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java index 6f5b9ed3..6384fb51 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/VertexImpl.java | |||
@@ -4,7 +4,7 @@ package ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.impl; | |||
4 | 4 | ||
5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; | 5 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; |
6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | 6 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; |
7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 7 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
8 | 8 | ||
9 | import java.util.Collection; | 9 | import java.util.Collection; |
10 | 10 | ||
@@ -72,7 +72,7 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
72 | */ | 72 | */ |
73 | @Override | 73 | @Override |
74 | protected EClass eStaticClass() { | 74 | protected EClass eStaticClass() { |
75 | return yakinduPackage.Literals.VERTEX; | 75 | return YakinduPackage.Literals.VERTEX; |
76 | } | 76 | } |
77 | 77 | ||
78 | /** | 78 | /** |
@@ -82,7 +82,7 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
82 | */ | 82 | */ |
83 | public EList<Transition> getIncomingTransitions() { | 83 | public EList<Transition> getIncomingTransitions() { |
84 | if (incomingTransitions == null) { | 84 | if (incomingTransitions == null) { |
85 | incomingTransitions = new EObjectWithInverseResolvingEList<Transition>(Transition.class, this, yakinduPackage.VERTEX__INCOMING_TRANSITIONS, yakinduPackage.TRANSITION__TARGET); | 85 | incomingTransitions = new EObjectWithInverseResolvingEList<Transition>(Transition.class, this, YakinduPackage.VERTEX__INCOMING_TRANSITIONS, YakinduPackage.TRANSITION__TARGET); |
86 | } | 86 | } |
87 | return incomingTransitions; | 87 | return incomingTransitions; |
88 | } | 88 | } |
@@ -94,7 +94,7 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
94 | */ | 94 | */ |
95 | public EList<Transition> getOutgoingTransitions() { | 95 | public EList<Transition> getOutgoingTransitions() { |
96 | if (outgoingTransitions == null) { | 96 | if (outgoingTransitions == null) { |
97 | outgoingTransitions = new EObjectContainmentWithInverseEList<Transition>(Transition.class, this, yakinduPackage.VERTEX__OUTGOING_TRANSITIONS, yakinduPackage.TRANSITION__SOURCE); | 97 | outgoingTransitions = new EObjectContainmentWithInverseEList<Transition>(Transition.class, this, YakinduPackage.VERTEX__OUTGOING_TRANSITIONS, YakinduPackage.TRANSITION__SOURCE); |
98 | } | 98 | } |
99 | return outgoingTransitions; | 99 | return outgoingTransitions; |
100 | } | 100 | } |
@@ -108,9 +108,9 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
108 | @Override | 108 | @Override |
109 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 109 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
110 | switch (featureID) { | 110 | switch (featureID) { |
111 | case yakinduPackage.VERTEX__INCOMING_TRANSITIONS: | 111 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: |
112 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingTransitions()).basicAdd(otherEnd, msgs); | 112 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncomingTransitions()).basicAdd(otherEnd, msgs); |
113 | case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | 113 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: |
114 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutgoingTransitions()).basicAdd(otherEnd, msgs); | 114 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutgoingTransitions()).basicAdd(otherEnd, msgs); |
115 | } | 115 | } |
116 | return super.eInverseAdd(otherEnd, featureID, msgs); | 116 | return super.eInverseAdd(otherEnd, featureID, msgs); |
@@ -124,9 +124,9 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
124 | @Override | 124 | @Override |
125 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | 125 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { |
126 | switch (featureID) { | 126 | switch (featureID) { |
127 | case yakinduPackage.VERTEX__INCOMING_TRANSITIONS: | 127 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: |
128 | return ((InternalEList<?>)getIncomingTransitions()).basicRemove(otherEnd, msgs); | 128 | return ((InternalEList<?>)getIncomingTransitions()).basicRemove(otherEnd, msgs); |
129 | case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | 129 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: |
130 | return ((InternalEList<?>)getOutgoingTransitions()).basicRemove(otherEnd, msgs); | 130 | return ((InternalEList<?>)getOutgoingTransitions()).basicRemove(otherEnd, msgs); |
131 | } | 131 | } |
132 | return super.eInverseRemove(otherEnd, featureID, msgs); | 132 | return super.eInverseRemove(otherEnd, featureID, msgs); |
@@ -140,9 +140,9 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
140 | @Override | 140 | @Override |
141 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 141 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
142 | switch (featureID) { | 142 | switch (featureID) { |
143 | case yakinduPackage.VERTEX__INCOMING_TRANSITIONS: | 143 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: |
144 | return getIncomingTransitions(); | 144 | return getIncomingTransitions(); |
145 | case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | 145 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: |
146 | return getOutgoingTransitions(); | 146 | return getOutgoingTransitions(); |
147 | } | 147 | } |
148 | return super.eGet(featureID, resolve, coreType); | 148 | return super.eGet(featureID, resolve, coreType); |
@@ -157,11 +157,11 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
157 | @Override | 157 | @Override |
158 | public void eSet(int featureID, Object newValue) { | 158 | public void eSet(int featureID, Object newValue) { |
159 | switch (featureID) { | 159 | switch (featureID) { |
160 | case yakinduPackage.VERTEX__INCOMING_TRANSITIONS: | 160 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: |
161 | getIncomingTransitions().clear(); | 161 | getIncomingTransitions().clear(); |
162 | getIncomingTransitions().addAll((Collection<? extends Transition>)newValue); | 162 | getIncomingTransitions().addAll((Collection<? extends Transition>)newValue); |
163 | return; | 163 | return; |
164 | case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | 164 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: |
165 | getOutgoingTransitions().clear(); | 165 | getOutgoingTransitions().clear(); |
166 | getOutgoingTransitions().addAll((Collection<? extends Transition>)newValue); | 166 | getOutgoingTransitions().addAll((Collection<? extends Transition>)newValue); |
167 | return; | 167 | return; |
@@ -177,10 +177,10 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
177 | @Override | 177 | @Override |
178 | public void eUnset(int featureID) { | 178 | public void eUnset(int featureID) { |
179 | switch (featureID) { | 179 | switch (featureID) { |
180 | case yakinduPackage.VERTEX__INCOMING_TRANSITIONS: | 180 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: |
181 | getIncomingTransitions().clear(); | 181 | getIncomingTransitions().clear(); |
182 | return; | 182 | return; |
183 | case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | 183 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: |
184 | getOutgoingTransitions().clear(); | 184 | getOutgoingTransitions().clear(); |
185 | return; | 185 | return; |
186 | } | 186 | } |
@@ -195,9 +195,9 @@ public abstract class VertexImpl extends MinimalEObjectImpl.Container implements | |||
195 | @Override | 195 | @Override |
196 | public boolean eIsSet(int featureID) { | 196 | public boolean eIsSet(int featureID) { |
197 | switch (featureID) { | 197 | switch (featureID) { |
198 | case yakinduPackage.VERTEX__INCOMING_TRANSITIONS: | 198 | case YakinduPackage.VERTEX__INCOMING_TRANSITIONS: |
199 | return incomingTransitions != null && !incomingTransitions.isEmpty(); | 199 | return incomingTransitions != null && !incomingTransitions.isEmpty(); |
200 | case yakinduPackage.VERTEX__OUTGOING_TRANSITIONS: | 200 | case YakinduPackage.VERTEX__OUTGOING_TRANSITIONS: |
201 | return outgoingTransitions != null && !outgoingTransitions.isEmpty(); | 201 | return outgoingTransitions != null && !outgoingTransitions.isEmpty(); |
202 | } | 202 | } |
203 | return super.eIsSet(featureID); | 203 | return super.eIsSet(featureID); |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduFactoryImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduFactoryImpl.java index 5d004565..bd5ee1bd 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduFactoryImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduFactoryImpl.java | |||
@@ -18,24 +18,24 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; | |||
18 | * <!-- end-user-doc --> | 18 | * <!-- end-user-doc --> |
19 | * @generated | 19 | * @generated |
20 | */ | 20 | */ |
21 | public class yakinduFactoryImpl extends EFactoryImpl implements yakinduFactory { | 21 | public class YakinduFactoryImpl extends EFactoryImpl implements YakinduFactory { |
22 | /** | 22 | /** |
23 | * Creates the default factory implementation. | 23 | * Creates the default factory implementation. |
24 | * <!-- begin-user-doc --> | 24 | * <!-- begin-user-doc --> |
25 | * <!-- end-user-doc --> | 25 | * <!-- end-user-doc --> |
26 | * @generated | 26 | * @generated |
27 | */ | 27 | */ |
28 | public static yakinduFactory init() { | 28 | public static YakinduFactory init() { |
29 | try { | 29 | try { |
30 | yakinduFactory theyakinduFactory = (yakinduFactory)EPackage.Registry.INSTANCE.getEFactory(yakinduPackage.eNS_URI); | 30 | YakinduFactory theYakinduFactory = (YakinduFactory)EPackage.Registry.INSTANCE.getEFactory(YakinduPackage.eNS_URI); |
31 | if (theyakinduFactory != null) { | 31 | if (theYakinduFactory != null) { |
32 | return theyakinduFactory; | 32 | return theYakinduFactory; |
33 | } | 33 | } |
34 | } | 34 | } |
35 | catch (Exception exception) { | 35 | catch (Exception exception) { |
36 | EcorePlugin.INSTANCE.log(exception); | 36 | EcorePlugin.INSTANCE.log(exception); |
37 | } | 37 | } |
38 | return new yakinduFactoryImpl(); | 38 | return new YakinduFactoryImpl(); |
39 | } | 39 | } |
40 | 40 | ||
41 | /** | 41 | /** |
@@ -44,7 +44,7 @@ public class yakinduFactoryImpl extends EFactoryImpl implements yakinduFactory { | |||
44 | * <!-- end-user-doc --> | 44 | * <!-- end-user-doc --> |
45 | * @generated | 45 | * @generated |
46 | */ | 46 | */ |
47 | public yakinduFactoryImpl() { | 47 | public YakinduFactoryImpl() { |
48 | super(); | 48 | super(); |
49 | } | 49 | } |
50 | 50 | ||
@@ -56,15 +56,15 @@ public class yakinduFactoryImpl extends EFactoryImpl implements yakinduFactory { | |||
56 | @Override | 56 | @Override |
57 | public EObject create(EClass eClass) { | 57 | public EObject create(EClass eClass) { |
58 | switch (eClass.getClassifierID()) { | 58 | switch (eClass.getClassifierID()) { |
59 | case yakinduPackage.REGION: return createRegion(); | 59 | case YakinduPackage.REGION: return createRegion(); |
60 | case yakinduPackage.TRANSITION: return createTransition(); | 60 | case YakinduPackage.TRANSITION: return createTransition(); |
61 | case yakinduPackage.STATECHART: return createStatechart(); | 61 | case YakinduPackage.STATECHART: return createStatechart(); |
62 | case yakinduPackage.ENTRY: return createEntry(); | 62 | case YakinduPackage.ENTRY: return createEntry(); |
63 | case yakinduPackage.SYNCHRONIZATION: return createSynchronization(); | 63 | case YakinduPackage.SYNCHRONIZATION: return createSynchronization(); |
64 | case yakinduPackage.STATE: return createState(); | 64 | case YakinduPackage.STATE: return createState(); |
65 | case yakinduPackage.CHOICE: return createChoice(); | 65 | case YakinduPackage.CHOICE: return createChoice(); |
66 | case yakinduPackage.EXIT: return createExit(); | 66 | case YakinduPackage.EXIT: return createExit(); |
67 | case yakinduPackage.FINAL_STATE: return createFinalState(); | 67 | case YakinduPackage.FINAL_STATE: return createFinalState(); |
68 | default: | 68 | default: |
69 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | 69 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); |
70 | } | 70 | } |
@@ -165,8 +165,8 @@ public class yakinduFactoryImpl extends EFactoryImpl implements yakinduFactory { | |||
165 | * <!-- end-user-doc --> | 165 | * <!-- end-user-doc --> |
166 | * @generated | 166 | * @generated |
167 | */ | 167 | */ |
168 | public yakinduPackage getyakinduPackage() { | 168 | public YakinduPackage getYakinduPackage() { |
169 | return (yakinduPackage)getEPackage(); | 169 | return (YakinduPackage)getEPackage(); |
170 | } | 170 | } |
171 | 171 | ||
172 | /** | 172 | /** |
@@ -176,8 +176,8 @@ public class yakinduFactoryImpl extends EFactoryImpl implements yakinduFactory { | |||
176 | * @generated | 176 | * @generated |
177 | */ | 177 | */ |
178 | @Deprecated | 178 | @Deprecated |
179 | public static yakinduPackage getPackage() { | 179 | public static YakinduPackage getPackage() { |
180 | return yakinduPackage.eINSTANCE; | 180 | return YakinduPackage.eINSTANCE; |
181 | } | 181 | } |
182 | 182 | ||
183 | } //yakinduFactoryImpl | 183 | } //YakinduFactoryImpl |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduPackageImpl.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduPackageImpl.java index 2213e07f..0796c5d8 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/yakinduPackageImpl.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/impl/YakinduPackageImpl.java | |||
@@ -15,8 +15,8 @@ import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Statechart; | |||
15 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization; | 15 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Synchronization; |
16 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; | 16 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Transition; |
17 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; | 17 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.Vertex; |
18 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduFactory; | 18 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduFactory; |
19 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage; | 19 | import ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage; |
20 | 20 | ||
21 | import org.eclipse.emf.ecore.EClass; | 21 | import org.eclipse.emf.ecore.EClass; |
22 | import org.eclipse.emf.ecore.EPackage; | 22 | import org.eclipse.emf.ecore.EPackage; |
@@ -30,7 +30,7 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; | |||
30 | * <!-- end-user-doc --> | 30 | * <!-- end-user-doc --> |
31 | * @generated | 31 | * @generated |
32 | */ | 32 | */ |
33 | public class yakinduPackageImpl extends EPackageImpl implements yakinduPackage { | 33 | public class YakinduPackageImpl extends EPackageImpl implements YakinduPackage { |
34 | /** | 34 | /** |
35 | * <!-- begin-user-doc --> | 35 | * <!-- begin-user-doc --> |
36 | * <!-- end-user-doc --> | 36 | * <!-- end-user-doc --> |
@@ -133,12 +133,12 @@ public class yakinduPackageImpl extends EPackageImpl implements yakinduPackage { | |||
133 | * <!-- begin-user-doc --> | 133 | * <!-- begin-user-doc --> |
134 | * <!-- end-user-doc --> | 134 | * <!-- end-user-doc --> |
135 | * @see org.eclipse.emf.ecore.EPackage.Registry | 135 | * @see org.eclipse.emf.ecore.EPackage.Registry |
136 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage#eNS_URI | 136 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage#eNS_URI |
137 | * @see #init() | 137 | * @see #init() |
138 | * @generated | 138 | * @generated |
139 | */ | 139 | */ |
140 | private yakinduPackageImpl() { | 140 | private YakinduPackageImpl() { |
141 | super(eNS_URI, yakinduFactory.eINSTANCE); | 141 | super(eNS_URI, YakinduFactory.eINSTANCE); |
142 | } | 142 | } |
143 | 143 | ||
144 | /** | 144 | /** |
@@ -150,8 +150,8 @@ public class yakinduPackageImpl extends EPackageImpl implements yakinduPackage { | |||
150 | 150 | ||
151 | /** | 151 | /** |
152 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | 152 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
153 | * | 153 | * |
154 | * <p>This method is used to initialize {@link yakinduPackage#eINSTANCE} when that field is accessed. | 154 | * <p>This method is used to initialize {@link YakinduPackage#eINSTANCE} when that field is accessed. |
155 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | 155 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
156 | * <!-- begin-user-doc --> | 156 | * <!-- begin-user-doc --> |
157 | * <!-- end-user-doc --> | 157 | * <!-- end-user-doc --> |
@@ -160,27 +160,27 @@ public class yakinduPackageImpl extends EPackageImpl implements yakinduPackage { | |||
160 | * @see #initializePackageContents() | 160 | * @see #initializePackageContents() |
161 | * @generated | 161 | * @generated |
162 | */ | 162 | */ |
163 | public static yakinduPackage init() { | 163 | public static YakinduPackage init() { |
164 | if (isInited) return (yakinduPackage)EPackage.Registry.INSTANCE.getEPackage(yakinduPackage.eNS_URI); | 164 | if (isInited) return (YakinduPackage)EPackage.Registry.INSTANCE.getEPackage(YakinduPackage.eNS_URI); |
165 | 165 | ||
166 | // Obtain or create and register package | 166 | // Obtain or create and register package |
167 | yakinduPackageImpl theyakinduPackage = (yakinduPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof yakinduPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new yakinduPackageImpl()); | 167 | Object registeredYakinduPackage = EPackage.Registry.INSTANCE.get(eNS_URI); |
168 | YakinduPackageImpl theYakinduPackage = registeredYakinduPackage instanceof YakinduPackageImpl ? (YakinduPackageImpl)registeredYakinduPackage : new YakinduPackageImpl(); | ||
168 | 169 | ||
169 | isInited = true; | 170 | isInited = true; |
170 | 171 | ||
171 | // Create package meta-data objects | 172 | // Create package meta-data objects |
172 | theyakinduPackage.createPackageContents(); | 173 | theYakinduPackage.createPackageContents(); |
173 | 174 | ||
174 | // Initialize created meta-data | 175 | // Initialize created meta-data |
175 | theyakinduPackage.initializePackageContents(); | 176 | theYakinduPackage.initializePackageContents(); |
176 | 177 | ||
177 | // Mark meta-data to indicate it can't be changed | 178 | // Mark meta-data to indicate it can't be changed |
178 | theyakinduPackage.freeze(); | 179 | theYakinduPackage.freeze(); |
179 | 180 | ||
180 | |||
181 | // Update the registry and return the package | 181 | // Update the registry and return the package |
182 | EPackage.Registry.INSTANCE.put(yakinduPackage.eNS_URI, theyakinduPackage); | 182 | EPackage.Registry.INSTANCE.put(YakinduPackage.eNS_URI, theYakinduPackage); |
183 | return theyakinduPackage; | 183 | return theYakinduPackage; |
184 | } | 184 | } |
185 | 185 | ||
186 | /** | 186 | /** |
@@ -359,8 +359,8 @@ public class yakinduPackageImpl extends EPackageImpl implements yakinduPackage { | |||
359 | * <!-- end-user-doc --> | 359 | * <!-- end-user-doc --> |
360 | * @generated | 360 | * @generated |
361 | */ | 361 | */ |
362 | public yakinduFactory getyakinduFactory() { | 362 | public YakinduFactory getYakinduFactory() { |
363 | return (yakinduFactory)getEFactoryInstance(); | 363 | return (YakinduFactory)getEFactoryInstance(); |
364 | } | 364 | } |
365 | 365 | ||
366 | /** | 366 | /** |
@@ -491,4 +491,4 @@ public class yakinduPackageImpl extends EPackageImpl implements yakinduPackage { | |||
491 | createResource(eNS_URI); | 491 | createResource(eNS_URI); |
492 | } | 492 | } |
493 | 493 | ||
494 | } //yakinduPackageImpl | 494 | } //YakinduPackageImpl |