diff options
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util')
-rw-r--r-- | Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduAdapterFactory.java (renamed from Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduAdapterFactory.java) | 16 | ||||
-rw-r--r-- | Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduSwitch.java (renamed from Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduSwitch.java) | 38 |
2 files changed, 27 insertions, 27 deletions
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduAdapterFactory.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduAdapterFactory.java index b8fafb35..566f01e5 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduAdapterFactory.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduAdapterFactory.java | |||
@@ -16,17 +16,17 @@ import org.eclipse.emf.ecore.EObject; | |||
16 | * The <b>Adapter Factory</b> for the model. | 16 | * The <b>Adapter Factory</b> for the model. |
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | 17 | * It provides an adapter <code>createXXX</code> method for each class of the model. |
18 | * <!-- end-user-doc --> | 18 | * <!-- end-user-doc --> |
19 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage | 19 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage |
20 | * @generated | 20 | * @generated |
21 | */ | 21 | */ |
22 | public class yakinduAdapterFactory extends AdapterFactoryImpl { | 22 | public class YakinduAdapterFactory extends AdapterFactoryImpl { |
23 | /** | 23 | /** |
24 | * The cached model package. | 24 | * The cached model package. |
25 | * <!-- begin-user-doc --> | 25 | * <!-- begin-user-doc --> |
26 | * <!-- end-user-doc --> | 26 | * <!-- end-user-doc --> |
27 | * @generated | 27 | * @generated |
28 | */ | 28 | */ |
29 | protected static yakinduPackage modelPackage; | 29 | protected static YakinduPackage modelPackage; |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * Creates an instance of the adapter factory. | 32 | * Creates an instance of the adapter factory. |
@@ -34,9 +34,9 @@ public class yakinduAdapterFactory extends AdapterFactoryImpl { | |||
34 | * <!-- end-user-doc --> | 34 | * <!-- end-user-doc --> |
35 | * @generated | 35 | * @generated |
36 | */ | 36 | */ |
37 | public yakinduAdapterFactory() { | 37 | public YakinduAdapterFactory() { |
38 | if (modelPackage == null) { | 38 | if (modelPackage == null) { |
39 | modelPackage = yakinduPackage.eINSTANCE; | 39 | modelPackage = YakinduPackage.eINSTANCE; |
40 | } | 40 | } |
41 | } | 41 | } |
42 | 42 | ||
@@ -65,8 +65,8 @@ public class yakinduAdapterFactory extends AdapterFactoryImpl { | |||
65 | * <!-- end-user-doc --> | 65 | * <!-- end-user-doc --> |
66 | * @generated | 66 | * @generated |
67 | */ | 67 | */ |
68 | protected yakinduSwitch<Adapter> modelSwitch = | 68 | protected YakinduSwitch<Adapter> modelSwitch = |
69 | new yakinduSwitch<Adapter>() { | 69 | new YakinduSwitch<Adapter>() { |
70 | @Override | 70 | @Override |
71 | public Adapter casePseudostate(Pseudostate object) { | 71 | public Adapter casePseudostate(Pseudostate object) { |
72 | return createPseudostateAdapter(); | 72 | return createPseudostateAdapter(); |
@@ -333,4 +333,4 @@ public class yakinduAdapterFactory extends AdapterFactoryImpl { | |||
333 | return null; | 333 | return null; |
334 | } | 334 | } |
335 | 335 | ||
336 | } //yakinduAdapterFactory | 336 | } //YakinduAdapterFactory |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduSwitch.java b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduSwitch.java index fbc6f821..fdaff54d 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/yakinduSwitch.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.standalone.test/src/ca/mcgill/ecse/dslreasoner/standalone/test/yakindu/util/YakinduSwitch.java | |||
@@ -19,17 +19,17 @@ import org.eclipse.emf.ecore.util.Switch; | |||
19 | * until a non-null result is returned, | 19 | * until a non-null result is returned, |
20 | * which is the result of the switch. | 20 | * which is the result of the switch. |
21 | * <!-- end-user-doc --> | 21 | * <!-- end-user-doc --> |
22 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.yakinduPackage | 22 | * @see ca.mcgill.ecse.dslreasoner.standalone.test.yakindu.YakinduPackage |
23 | * @generated | 23 | * @generated |
24 | */ | 24 | */ |
25 | public class yakinduSwitch<T> extends Switch<T> { | 25 | public class YakinduSwitch<T> extends Switch<T> { |
26 | /** | 26 | /** |
27 | * The cached model package | 27 | * The cached model package |
28 | * <!-- begin-user-doc --> | 28 | * <!-- begin-user-doc --> |
29 | * <!-- end-user-doc --> | 29 | * <!-- end-user-doc --> |
30 | * @generated | 30 | * @generated |
31 | */ | 31 | */ |
32 | protected static yakinduPackage modelPackage; | 32 | protected static YakinduPackage modelPackage; |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * Creates an instance of the switch. | 35 | * Creates an instance of the switch. |
@@ -37,9 +37,9 @@ public class yakinduSwitch<T> extends Switch<T> { | |||
37 | * <!-- end-user-doc --> | 37 | * <!-- end-user-doc --> |
38 | * @generated | 38 | * @generated |
39 | */ | 39 | */ |
40 | public yakinduSwitch() { | 40 | public YakinduSwitch() { |
41 | if (modelPackage == null) { | 41 | if (modelPackage == null) { |
42 | modelPackage = yakinduPackage.eINSTANCE; | 42 | modelPackage = YakinduPackage.eINSTANCE; |
43 | } | 43 | } |
44 | } | 44 | } |
45 | 45 | ||
@@ -66,39 +66,39 @@ public class yakinduSwitch<T> extends Switch<T> { | |||
66 | @Override | 66 | @Override |
67 | protected T doSwitch(int classifierID, EObject theEObject) { | 67 | protected T doSwitch(int classifierID, EObject theEObject) { |
68 | switch (classifierID) { | 68 | switch (classifierID) { |
69 | case yakinduPackage.PSEUDOSTATE: { | 69 | case YakinduPackage.PSEUDOSTATE: { |
70 | Pseudostate pseudostate = (Pseudostate)theEObject; | 70 | Pseudostate pseudostate = (Pseudostate)theEObject; |
71 | T result = casePseudostate(pseudostate); | 71 | T result = casePseudostate(pseudostate); |
72 | if (result == null) result = caseVertex(pseudostate); | 72 | if (result == null) result = caseVertex(pseudostate); |
73 | if (result == null) result = defaultCase(theEObject); | 73 | if (result == null) result = defaultCase(theEObject); |
74 | return result; | 74 | return result; |
75 | } | 75 | } |
76 | case yakinduPackage.VERTEX: { | 76 | case YakinduPackage.VERTEX: { |
77 | Vertex vertex = (Vertex)theEObject; | 77 | Vertex vertex = (Vertex)theEObject; |
78 | T result = caseVertex(vertex); | 78 | T result = caseVertex(vertex); |
79 | if (result == null) result = defaultCase(theEObject); | 79 | if (result == null) result = defaultCase(theEObject); |
80 | return result; | 80 | return result; |
81 | } | 81 | } |
82 | case yakinduPackage.REGION: { | 82 | case YakinduPackage.REGION: { |
83 | Region region = (Region)theEObject; | 83 | Region region = (Region)theEObject; |
84 | T result = caseRegion(region); | 84 | T result = caseRegion(region); |
85 | if (result == null) result = defaultCase(theEObject); | 85 | if (result == null) result = defaultCase(theEObject); |
86 | return result; | 86 | return result; |
87 | } | 87 | } |
88 | case yakinduPackage.TRANSITION: { | 88 | case YakinduPackage.TRANSITION: { |
89 | Transition transition = (Transition)theEObject; | 89 | Transition transition = (Transition)theEObject; |
90 | T result = caseTransition(transition); | 90 | T result = caseTransition(transition); |
91 | if (result == null) result = defaultCase(theEObject); | 91 | if (result == null) result = defaultCase(theEObject); |
92 | return result; | 92 | return result; |
93 | } | 93 | } |
94 | case yakinduPackage.STATECHART: { | 94 | case YakinduPackage.STATECHART: { |
95 | Statechart statechart = (Statechart)theEObject; | 95 | Statechart statechart = (Statechart)theEObject; |
96 | T result = caseStatechart(statechart); | 96 | T result = caseStatechart(statechart); |
97 | if (result == null) result = caseCompositeElement(statechart); | 97 | if (result == null) result = caseCompositeElement(statechart); |
98 | if (result == null) result = defaultCase(theEObject); | 98 | if (result == null) result = defaultCase(theEObject); |
99 | return result; | 99 | return result; |
100 | } | 100 | } |
101 | case yakinduPackage.ENTRY: { | 101 | case YakinduPackage.ENTRY: { |
102 | Entry entry = (Entry)theEObject; | 102 | Entry entry = (Entry)theEObject; |
103 | T result = caseEntry(entry); | 103 | T result = caseEntry(entry); |
104 | if (result == null) result = casePseudostate(entry); | 104 | if (result == null) result = casePseudostate(entry); |
@@ -106,7 +106,7 @@ public class yakinduSwitch<T> extends Switch<T> { | |||
106 | if (result == null) result = defaultCase(theEObject); | 106 | if (result == null) result = defaultCase(theEObject); |
107 | return result; | 107 | return result; |
108 | } | 108 | } |
109 | case yakinduPackage.SYNCHRONIZATION: { | 109 | case YakinduPackage.SYNCHRONIZATION: { |
110 | Synchronization synchronization = (Synchronization)theEObject; | 110 | Synchronization synchronization = (Synchronization)theEObject; |
111 | T result = caseSynchronization(synchronization); | 111 | T result = caseSynchronization(synchronization); |
112 | if (result == null) result = casePseudostate(synchronization); | 112 | if (result == null) result = casePseudostate(synchronization); |
@@ -114,7 +114,7 @@ public class yakinduSwitch<T> extends Switch<T> { | |||
114 | if (result == null) result = defaultCase(theEObject); | 114 | if (result == null) result = defaultCase(theEObject); |
115 | return result; | 115 | return result; |
116 | } | 116 | } |
117 | case yakinduPackage.STATE: { | 117 | case YakinduPackage.STATE: { |
118 | State state = (State)theEObject; | 118 | State state = (State)theEObject; |
119 | T result = caseState(state); | 119 | T result = caseState(state); |
120 | if (result == null) result = caseRegularState(state); | 120 | if (result == null) result = caseRegularState(state); |
@@ -123,20 +123,20 @@ public class yakinduSwitch<T> extends Switch<T> { | |||
123 | if (result == null) result = defaultCase(theEObject); | 123 | if (result == null) result = defaultCase(theEObject); |
124 | return result; | 124 | return result; |
125 | } | 125 | } |
126 | case yakinduPackage.REGULAR_STATE: { | 126 | case YakinduPackage.REGULAR_STATE: { |
127 | RegularState regularState = (RegularState)theEObject; | 127 | RegularState regularState = (RegularState)theEObject; |
128 | T result = caseRegularState(regularState); | 128 | T result = caseRegularState(regularState); |
129 | if (result == null) result = caseVertex(regularState); | 129 | if (result == null) result = caseVertex(regularState); |
130 | if (result == null) result = defaultCase(theEObject); | 130 | if (result == null) result = defaultCase(theEObject); |
131 | return result; | 131 | return result; |
132 | } | 132 | } |
133 | case yakinduPackage.COMPOSITE_ELEMENT: { | 133 | case YakinduPackage.COMPOSITE_ELEMENT: { |
134 | CompositeElement compositeElement = (CompositeElement)theEObject; | 134 | CompositeElement compositeElement = (CompositeElement)theEObject; |
135 | T result = caseCompositeElement(compositeElement); | 135 | T result = caseCompositeElement(compositeElement); |
136 | if (result == null) result = defaultCase(theEObject); | 136 | if (result == null) result = defaultCase(theEObject); |
137 | return result; | 137 | return result; |
138 | } | 138 | } |
139 | case yakinduPackage.CHOICE: { | 139 | case YakinduPackage.CHOICE: { |
140 | Choice choice = (Choice)theEObject; | 140 | Choice choice = (Choice)theEObject; |
141 | T result = caseChoice(choice); | 141 | T result = caseChoice(choice); |
142 | if (result == null) result = casePseudostate(choice); | 142 | if (result == null) result = casePseudostate(choice); |
@@ -144,7 +144,7 @@ public class yakinduSwitch<T> extends Switch<T> { | |||
144 | if (result == null) result = defaultCase(theEObject); | 144 | if (result == null) result = defaultCase(theEObject); |
145 | return result; | 145 | return result; |
146 | } | 146 | } |
147 | case yakinduPackage.EXIT: { | 147 | case YakinduPackage.EXIT: { |
148 | Exit exit = (Exit)theEObject; | 148 | Exit exit = (Exit)theEObject; |
149 | T result = caseExit(exit); | 149 | T result = caseExit(exit); |
150 | if (result == null) result = casePseudostate(exit); | 150 | if (result == null) result = casePseudostate(exit); |
@@ -152,7 +152,7 @@ public class yakinduSwitch<T> extends Switch<T> { | |||
152 | if (result == null) result = defaultCase(theEObject); | 152 | if (result == null) result = defaultCase(theEObject); |
153 | return result; | 153 | return result; |
154 | } | 154 | } |
155 | case yakinduPackage.FINAL_STATE: { | 155 | case YakinduPackage.FINAL_STATE: { |
156 | FinalState finalState = (FinalState)theEObject; | 156 | FinalState finalState = (FinalState)theEObject; |
157 | T result = caseFinalState(finalState); | 157 | T result = caseFinalState(finalState); |
158 | if (result == null) result = caseRegularState(finalState); | 158 | if (result == null) result = caseRegularState(finalState); |
@@ -375,4 +375,4 @@ public class yakinduSwitch<T> extends Switch<T> { | |||
375 | return null; | 375 | return null; |
376 | } | 376 | } |
377 | 377 | ||
378 | } //yakinduSwitch | 378 | } //YakinduSwitch |