aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util')
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java318
-rw-r--r--Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java355
2 files changed, 673 insertions, 0 deletions
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..b3373dfd
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummAdapterFactory.java
@@ -0,0 +1,318 @@
1/**
2 */
3package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util;
4
5import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*;
6
7import org.eclipse.emf.common.notify.Adapter;
8import org.eclipse.emf.common.notify.Notifier;
9
10import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
11
12import org.eclipse.emf.ecore.EObject;
13
14/**
15 * <!-- begin-user-doc -->
16 * The <b>Adapter Factory</b> for the model.
17 * It provides an adapter <code>createXXX</code> method for each class of the model.
18 * <!-- end-user-doc -->
19 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
20 * @generated
21 */
22public class YakindummAdapterFactory extends AdapterFactoryImpl {
23 /**
24 * The cached model package.
25 * <!-- begin-user-doc -->
26 * <!-- end-user-doc -->
27 * @generated
28 */
29 protected static YakindummPackage modelPackage;
30
31 /**
32 * Creates an instance of the adapter factory.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @generated
36 */
37 public YakindummAdapterFactory() {
38 if (modelPackage == null) {
39 modelPackage = YakindummPackage.eINSTANCE;
40 }
41 }
42
43 /**
44 * Returns whether this factory is applicable for the type of the object.
45 * <!-- begin-user-doc -->
46 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
47 * <!-- end-user-doc -->
48 * @return whether this factory is applicable for the type of the object.
49 * @generated
50 */
51 @Override
52 public boolean isFactoryForType(Object object) {
53 if (object == modelPackage) {
54 return true;
55 }
56 if (object instanceof EObject) {
57 return ((EObject)object).eClass().getEPackage() == modelPackage;
58 }
59 return false;
60 }
61
62 /**
63 * The switch that delegates to the <code>createXXX</code> methods.
64 * <!-- begin-user-doc -->
65 * <!-- end-user-doc -->
66 * @generated
67 */
68 protected YakindummSwitch<Adapter> modelSwitch =
69 new YakindummSwitch<Adapter>() {
70 @Override
71 public Adapter casePseudostate(Pseudostate object) {
72 return createPseudostateAdapter();
73 }
74 @Override
75 public Adapter caseVertex(Vertex object) {
76 return createVertexAdapter();
77 }
78 @Override
79 public Adapter caseRegion(Region object) {
80 return createRegionAdapter();
81 }
82 @Override
83 public Adapter caseTransition(Transition object) {
84 return createTransitionAdapter();
85 }
86 @Override
87 public Adapter caseStatechart(Statechart object) {
88 return createStatechartAdapter();
89 }
90 @Override
91 public Adapter caseEntry(Entry object) {
92 return createEntryAdapter();
93 }
94 @Override
95 public Adapter caseState(State object) {
96 return createStateAdapter();
97 }
98 @Override
99 public Adapter caseRegularState(RegularState object) {
100 return createRegularStateAdapter();
101 }
102 @Override
103 public Adapter caseCompositeElement(CompositeElement object) {
104 return createCompositeElementAdapter();
105 }
106 @Override
107 public Adapter caseChoice(Choice object) {
108 return createChoiceAdapter();
109 }
110 @Override
111 public Adapter caseExit(Exit object) {
112 return createExitAdapter();
113 }
114 @Override
115 public Adapter caseFinalState(FinalState object) {
116 return createFinalStateAdapter();
117 }
118 @Override
119 public Adapter defaultCase(EObject object) {
120 return createEObjectAdapter();
121 }
122 };
123
124 /**
125 * Creates an adapter for the <code>target</code>.
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @param target the object to adapt.
129 * @return the adapter for the <code>target</code>.
130 * @generated
131 */
132 @Override
133 public Adapter createAdapter(Notifier target) {
134 return modelSwitch.doSwitch((EObject)target);
135 }
136
137
138 /**
139 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate <em>Pseudostate</em>}'.
140 * <!-- begin-user-doc -->
141 * This default implementation returns null so that we can easily ignore cases;
142 * it's useful to ignore a case when inheritance will catch all the cases anyway.
143 * <!-- end-user-doc -->
144 * @return the new adapter.
145 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Pseudostate
146 * @generated
147 */
148 public Adapter createPseudostateAdapter() {
149 return null;
150 }
151
152 /**
153 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex <em>Vertex</em>}'.
154 * <!-- begin-user-doc -->
155 * This default implementation returns null so that we can easily ignore cases;
156 * it's useful to ignore a case when inheritance will catch all the cases anyway.
157 * <!-- end-user-doc -->
158 * @return the new adapter.
159 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Vertex
160 * @generated
161 */
162 public Adapter createVertexAdapter() {
163 return null;
164 }
165
166 /**
167 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region <em>Region</em>}'.
168 * <!-- begin-user-doc -->
169 * This default implementation returns null so that we can easily ignore cases;
170 * it's useful to ignore a case when inheritance will catch all the cases anyway.
171 * <!-- end-user-doc -->
172 * @return the new adapter.
173 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Region
174 * @generated
175 */
176 public Adapter createRegionAdapter() {
177 return null;
178 }
179
180 /**
181 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition <em>Transition</em>}'.
182 * <!-- begin-user-doc -->
183 * This default implementation returns null so that we can easily ignore cases;
184 * it's useful to ignore a case when inheritance will catch all the cases anyway.
185 * <!-- end-user-doc -->
186 * @return the new adapter.
187 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Transition
188 * @generated
189 */
190 public Adapter createTransitionAdapter() {
191 return null;
192 }
193
194 /**
195 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart <em>Statechart</em>}'.
196 * <!-- begin-user-doc -->
197 * This default implementation returns null so that we can easily ignore cases;
198 * it's useful to ignore a case when inheritance will catch all the cases anyway.
199 * <!-- end-user-doc -->
200 * @return the new adapter.
201 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Statechart
202 * @generated
203 */
204 public Adapter createStatechartAdapter() {
205 return null;
206 }
207
208 /**
209 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry <em>Entry</em>}'.
210 * <!-- begin-user-doc -->
211 * This default implementation returns null so that we can easily ignore cases;
212 * it's useful to ignore a case when inheritance will catch all the cases anyway.
213 * <!-- end-user-doc -->
214 * @return the new adapter.
215 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Entry
216 * @generated
217 */
218 public Adapter createEntryAdapter() {
219 return null;
220 }
221
222 /**
223 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State <em>State</em>}'.
224 * <!-- begin-user-doc -->
225 * This default implementation returns null so that we can easily ignore cases;
226 * it's useful to ignore a case when inheritance will catch all the cases anyway.
227 * <!-- end-user-doc -->
228 * @return the new adapter.
229 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.State
230 * @generated
231 */
232 public Adapter createStateAdapter() {
233 return null;
234 }
235
236 /**
237 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState <em>Regular State</em>}'.
238 * <!-- begin-user-doc -->
239 * This default implementation returns null so that we can easily ignore cases;
240 * it's useful to ignore a case when inheritance will catch all the cases anyway.
241 * <!-- end-user-doc -->
242 * @return the new adapter.
243 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.RegularState
244 * @generated
245 */
246 public Adapter createRegularStateAdapter() {
247 return null;
248 }
249
250 /**
251 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement <em>Composite Element</em>}'.
252 * <!-- begin-user-doc -->
253 * This default implementation returns null so that we can easily ignore cases;
254 * it's useful to ignore a case when inheritance will catch all the cases anyway.
255 * <!-- end-user-doc -->
256 * @return the new adapter.
257 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.CompositeElement
258 * @generated
259 */
260 public Adapter createCompositeElementAdapter() {
261 return null;
262 }
263
264 /**
265 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice <em>Choice</em>}'.
266 * <!-- begin-user-doc -->
267 * This default implementation returns null so that we can easily ignore cases;
268 * it's useful to ignore a case when inheritance will catch all the cases anyway.
269 * <!-- end-user-doc -->
270 * @return the new adapter.
271 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Choice
272 * @generated
273 */
274 public Adapter createChoiceAdapter() {
275 return null;
276 }
277
278 /**
279 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit <em>Exit</em>}'.
280 * <!-- begin-user-doc -->
281 * This default implementation returns null so that we can easily ignore cases;
282 * it's useful to ignore a case when inheritance will catch all the cases anyway.
283 * <!-- end-user-doc -->
284 * @return the new adapter.
285 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.Exit
286 * @generated
287 */
288 public Adapter createExitAdapter() {
289 return null;
290 }
291
292 /**
293 * Creates a new adapter for an object of class '{@link ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState <em>Final State</em>}'.
294 * <!-- begin-user-doc -->
295 * This default implementation returns null so that we can easily ignore cases;
296 * it's useful to ignore a case when inheritance will catch all the cases anyway.
297 * <!-- end-user-doc -->
298 * @return the new adapter.
299 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.FinalState
300 * @generated
301 */
302 public Adapter createFinalStateAdapter() {
303 return null;
304 }
305
306 /**
307 * Creates a new adapter for the default case.
308 * <!-- begin-user-doc -->
309 * This default implementation returns null.
310 * <!-- end-user-doc -->
311 * @return the new adapter.
312 * @generated
313 */
314 public Adapter createEObjectAdapter() {
315 return null;
316 }
317
318} //YakindummAdapterFactory
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..422565c2
--- /dev/null
+++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/yakindumm/util/YakindummSwitch.java
@@ -0,0 +1,355 @@
1/**
2 */
3package ca.mcgill.ecse.dslreasoner.vampire.yakindumm.util;
4
5import ca.mcgill.ecse.dslreasoner.vampire.yakindumm.*;
6
7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.ecore.EPackage;
9
10import org.eclipse.emf.ecore.util.Switch;
11
12/**
13 * <!-- begin-user-doc -->
14 * The <b>Switch</b> for the model's inheritance hierarchy.
15 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
16 * to invoke the <code>caseXXX</code> method for each class of the model,
17 * starting with the actual class of the object
18 * and proceeding up the inheritance hierarchy
19 * until a non-null result is returned,
20 * which is the result of the switch.
21 * <!-- end-user-doc -->
22 * @see ca.mcgill.ecse.dslreasoner.vampire.yakindumm.YakindummPackage
23 * @generated
24 */
25public class YakindummSwitch<T> extends Switch<T> {
26 /**
27 * The cached model package
28 * <!-- begin-user-doc -->
29 * <!-- end-user-doc -->
30 * @generated
31 */
32 protected static YakindummPackage modelPackage;
33
34 /**
35 * Creates an instance of the switch.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @generated
39 */
40 public YakindummSwitch() {
41 if (modelPackage == null) {
42 modelPackage = YakindummPackage.eINSTANCE;
43 }
44 }
45
46 /**
47 * Checks whether this is a switch for the given package.
48 * <!-- begin-user-doc -->
49 * <!-- end-user-doc -->
50 * @param ePackage the package in question.
51 * @return whether this is a switch for the given package.
52 * @generated
53 */
54 @Override
55 protected boolean isSwitchFor(EPackage ePackage) {
56 return ePackage == modelPackage;
57 }
58
59 /**
60 * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
61 * <!-- begin-user-doc -->
62 * <!-- end-user-doc -->
63 * @return the first non-null result returned by a <code>caseXXX</code> call.
64 * @generated
65 */
66 @Override
67 protected T doSwitch(int classifierID, EObject theEObject) {
68 switch (classifierID) {
69 case YakindummPackage.PSEUDOSTATE: {
70 Pseudostate pseudostate = (Pseudostate)theEObject;
71 T result = casePseudostate(pseudostate);
72 if (result == null) result = caseVertex(pseudostate);
73 if (result == null) result = defaultCase(theEObject);
74 return result;
75 }
76 case YakindummPackage.VERTEX: {
77 Vertex vertex = (Vertex)theEObject;
78 T result = caseVertex(vertex);
79 if (result == null) result = defaultCase(theEObject);
80 return result;
81 }
82 case YakindummPackage.REGION: {
83 Region region = (Region)theEObject;
84 T result = caseRegion(region);
85 if (result == null) result = defaultCase(theEObject);
86 return result;
87 }
88 case YakindummPackage.TRANSITION: {
89 Transition transition = (Transition)theEObject;
90 T result = caseTransition(transition);
91 if (result == null) result = defaultCase(theEObject);
92 return result;
93 }
94 case YakindummPackage.STATECHART: {
95 Statechart statechart = (Statechart)theEObject;
96 T result = caseStatechart(statechart);
97 if (result == null) result = caseCompositeElement(statechart);
98 if (result == null) result = defaultCase(theEObject);
99 return result;
100 }
101 case YakindummPackage.ENTRY: {
102 Entry entry = (Entry)theEObject;
103 T result = caseEntry(entry);
104 if (result == null) result = casePseudostate(entry);
105 if (result == null) result = caseVertex(entry);
106 if (result == null) result = defaultCase(theEObject);
107 return result;
108 }
109 case YakindummPackage.STATE: {
110 State state = (State)theEObject;
111 T result = caseState(state);
112 if (result == null) result = caseRegularState(state);
113 if (result == null) result = caseCompositeElement(state);
114 if (result == null) result = caseVertex(state);
115 if (result == null) result = defaultCase(theEObject);
116 return result;
117 }
118 case YakindummPackage.REGULAR_STATE: {
119 RegularState regularState = (RegularState)theEObject;
120 T result = caseRegularState(regularState);
121 if (result == null) result = caseVertex(regularState);
122 if (result == null) result = defaultCase(theEObject);
123 return result;
124 }
125 case YakindummPackage.COMPOSITE_ELEMENT: {
126 CompositeElement compositeElement = (CompositeElement)theEObject;
127 T result = caseCompositeElement(compositeElement);
128 if (result == null) result = defaultCase(theEObject);
129 return result;
130 }
131 case YakindummPackage.CHOICE: {
132 Choice choice = (Choice)theEObject;
133 T result = caseChoice(choice);
134 if (result == null) result = casePseudostate(choice);
135 if (result == null) result = caseVertex(choice);
136 if (result == null) result = defaultCase(theEObject);
137 return result;
138 }
139 case YakindummPackage.EXIT: {
140 Exit exit = (Exit)theEObject;
141 T result = caseExit(exit);
142 if (result == null) result = casePseudostate(exit);
143 if (result == null) result = caseVertex(exit);
144 if (result == null) result = defaultCase(theEObject);
145 return result;
146 }
147 case YakindummPackage.FINAL_STATE: {
148 FinalState finalState = (FinalState)theEObject;
149 T result = caseFinalState(finalState);
150 if (result == null) result = caseRegularState(finalState);
151 if (result == null) result = caseVertex(finalState);
152 if (result == null) result = defaultCase(theEObject);
153 return result;
154 }
155 default: return defaultCase(theEObject);
156 }
157 }
158
159 /**
160 * Returns the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
161 * <!-- begin-user-doc -->
162 * This implementation returns null;
163 * returning a non-null result will terminate the switch.
164 * <!-- end-user-doc -->
165 * @param object the target of the switch.
166 * @return the result of interpreting the object as an instance of '<em>Pseudostate</em>'.
167 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
168 * @generated
169 */
170 public T casePseudostate(Pseudostate object) {
171 return null;
172 }
173
174 /**
175 * Returns the result of interpreting the object as an instance of '<em>Vertex</em>'.
176 * <!-- begin-user-doc -->
177 * This implementation returns null;
178 * returning a non-null result will terminate the switch.
179 * <!-- end-user-doc -->
180 * @param object the target of the switch.
181 * @return the result of interpreting the object as an instance of '<em>Vertex</em>'.
182 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
183 * @generated
184 */
185 public T caseVertex(Vertex object) {
186 return null;
187 }
188
189 /**
190 * Returns the result of interpreting the object as an instance of '<em>Region</em>'.
191 * <!-- begin-user-doc -->
192 * This implementation returns null;
193 * returning a non-null result will terminate the switch.
194 * <!-- end-user-doc -->
195 * @param object the target of the switch.
196 * @return the result of interpreting the object as an instance of '<em>Region</em>'.
197 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
198 * @generated
199 */
200 public T caseRegion(Region object) {
201 return null;
202 }
203
204 /**
205 * Returns the result of interpreting the object as an instance of '<em>Transition</em>'.
206 * <!-- begin-user-doc -->
207 * This implementation returns null;
208 * returning a non-null result will terminate the switch.
209 * <!-- end-user-doc -->
210 * @param object the target of the switch.
211 * @return the result of interpreting the object as an instance of '<em>Transition</em>'.
212 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
213 * @generated
214 */
215 public T caseTransition(Transition object) {
216 return null;
217 }
218
219 /**
220 * Returns the result of interpreting the object as an instance of '<em>Statechart</em>'.
221 * <!-- begin-user-doc -->
222 * This implementation returns null;
223 * returning a non-null result will terminate the switch.
224 * <!-- end-user-doc -->
225 * @param object the target of the switch.
226 * @return the result of interpreting the object as an instance of '<em>Statechart</em>'.
227 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
228 * @generated
229 */
230 public T caseStatechart(Statechart object) {
231 return null;
232 }
233
234 /**
235 * Returns the result of interpreting the object as an instance of '<em>Entry</em>'.
236 * <!-- begin-user-doc -->
237 * This implementation returns null;
238 * returning a non-null result will terminate the switch.
239 * <!-- end-user-doc -->
240 * @param object the target of the switch.
241 * @return the result of interpreting the object as an instance of '<em>Entry</em>'.
242 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
243 * @generated
244 */
245 public T caseEntry(Entry object) {
246 return null;
247 }
248
249 /**
250 * Returns the result of interpreting the object as an instance of '<em>State</em>'.
251 * <!-- begin-user-doc -->
252 * This implementation returns null;
253 * returning a non-null result will terminate the switch.
254 * <!-- end-user-doc -->
255 * @param object the target of the switch.
256 * @return the result of interpreting the object as an instance of '<em>State</em>'.
257 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
258 * @generated
259 */
260 public T caseState(State object) {
261 return null;
262 }
263
264 /**
265 * Returns the result of interpreting the object as an instance of '<em>Regular State</em>'.
266 * <!-- begin-user-doc -->
267 * This implementation returns null;
268 * returning a non-null result will terminate the switch.
269 * <!-- end-user-doc -->
270 * @param object the target of the switch.
271 * @return the result of interpreting the object as an instance of '<em>Regular State</em>'.
272 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
273 * @generated
274 */
275 public T caseRegularState(RegularState object) {
276 return null;
277 }
278
279 /**
280 * Returns the result of interpreting the object as an instance of '<em>Composite Element</em>'.
281 * <!-- begin-user-doc -->
282 * This implementation returns null;
283 * returning a non-null result will terminate the switch.
284 * <!-- end-user-doc -->
285 * @param object the target of the switch.
286 * @return the result of interpreting the object as an instance of '<em>Composite Element</em>'.
287 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
288 * @generated
289 */
290 public T caseCompositeElement(CompositeElement object) {
291 return null;
292 }
293
294 /**
295 * Returns the result of interpreting the object as an instance of '<em>Choice</em>'.
296 * <!-- begin-user-doc -->
297 * This implementation returns null;
298 * returning a non-null result will terminate the switch.
299 * <!-- end-user-doc -->
300 * @param object the target of the switch.
301 * @return the result of interpreting the object as an instance of '<em>Choice</em>'.
302 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
303 * @generated
304 */
305 public T caseChoice(Choice object) {
306 return null;
307 }
308
309 /**
310 * Returns the result of interpreting the object as an instance of '<em>Exit</em>'.
311 * <!-- begin-user-doc -->
312 * This implementation returns null;
313 * returning a non-null result will terminate the switch.
314 * <!-- end-user-doc -->
315 * @param object the target of the switch.
316 * @return the result of interpreting the object as an instance of '<em>Exit</em>'.
317 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
318 * @generated
319 */
320 public T caseExit(Exit object) {
321 return null;
322 }
323
324 /**
325 * Returns the result of interpreting the object as an instance of '<em>Final State</em>'.
326 * <!-- begin-user-doc -->
327 * This implementation returns null;
328 * returning a non-null result will terminate the switch.
329 * <!-- end-user-doc -->
330 * @param object the target of the switch.
331 * @return the result of interpreting the object as an instance of '<em>Final State</em>'.
332 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
333 * @generated
334 */
335 public T caseFinalState(FinalState object) {
336 return null;
337 }
338
339 /**
340 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
341 * <!-- begin-user-doc -->
342 * This implementation returns null;
343 * returning a non-null result will terminate the switch, but this is the last case anyway.
344 * <!-- end-user-doc -->
345 * @param object the target of the switch.
346 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
347 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
348 * @generated
349 */
350 @Override
351 public T defaultCase(EObject object) {
352 return null;
353 }
354
355} //YakindummSwitch