diff options
Diffstat (limited to 'language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util')
2 files changed, 0 insertions, 1748 deletions
diff --git a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemAdapterFactory.java b/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemAdapterFactory.java deleted file mode 100644 index 07246d70..00000000 --- a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemAdapterFactory.java +++ /dev/null | |||
@@ -1,784 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package org.eclipse.viatra.solver.language.model.problem.util; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Adapter; | ||
6 | import org.eclipse.emf.common.notify.Notifier; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EObject; | ||
11 | |||
12 | import org.eclipse.viatra.solver.language.model.problem.*; | ||
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 org.eclipse.viatra.solver.language.model.problem.ProblemPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class ProblemAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static ProblemPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public ProblemAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = ProblemPackage.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 ProblemSwitch<Adapter> modelSwitch = new ProblemSwitch<Adapter>() { | ||
69 | @Override | ||
70 | public Adapter caseProblem(Problem object) { | ||
71 | return createProblemAdapter(); | ||
72 | } | ||
73 | |||
74 | @Override | ||
75 | public Adapter caseRelation(Relation object) { | ||
76 | return createRelationAdapter(); | ||
77 | } | ||
78 | |||
79 | @Override | ||
80 | public Adapter caseClassDeclaration(ClassDeclaration object) { | ||
81 | return createClassDeclarationAdapter(); | ||
82 | } | ||
83 | |||
84 | @Override | ||
85 | public Adapter caseReferenceDeclaration(ReferenceDeclaration object) { | ||
86 | return createReferenceDeclarationAdapter(); | ||
87 | } | ||
88 | |||
89 | @Override | ||
90 | public Adapter caseNamedElement(NamedElement object) { | ||
91 | return createNamedElementAdapter(); | ||
92 | } | ||
93 | |||
94 | @Override | ||
95 | public Adapter casePredicateDefinition(PredicateDefinition object) { | ||
96 | return createPredicateDefinitionAdapter(); | ||
97 | } | ||
98 | |||
99 | @Override | ||
100 | public Adapter caseParameter(Parameter object) { | ||
101 | return createParameterAdapter(); | ||
102 | } | ||
103 | |||
104 | @Override | ||
105 | public Adapter caseVariable(Variable object) { | ||
106 | return createVariableAdapter(); | ||
107 | } | ||
108 | |||
109 | @Override | ||
110 | public Adapter caseConjunction(Conjunction object) { | ||
111 | return createConjunctionAdapter(); | ||
112 | } | ||
113 | |||
114 | @Override | ||
115 | public Adapter caseLiteral(Literal object) { | ||
116 | return createLiteralAdapter(); | ||
117 | } | ||
118 | |||
119 | @Override | ||
120 | public Adapter caseAtom(Atom object) { | ||
121 | return createAtomAdapter(); | ||
122 | } | ||
123 | |||
124 | @Override | ||
125 | public Adapter caseImplicitVariable(ImplicitVariable object) { | ||
126 | return createImplicitVariableAdapter(); | ||
127 | } | ||
128 | |||
129 | @Override | ||
130 | public Adapter caseNegativeLiteral(NegativeLiteral object) { | ||
131 | return createNegativeLiteralAdapter(); | ||
132 | } | ||
133 | |||
134 | @Override | ||
135 | public Adapter caseExistentialQuantifier(ExistentialQuantifier object) { | ||
136 | return createExistentialQuantifierAdapter(); | ||
137 | } | ||
138 | |||
139 | @Override | ||
140 | public Adapter caseAssertion(Assertion object) { | ||
141 | return createAssertionAdapter(); | ||
142 | } | ||
143 | |||
144 | @Override | ||
145 | public Adapter caseNode(Node object) { | ||
146 | return createNodeAdapter(); | ||
147 | } | ||
148 | |||
149 | @Override | ||
150 | public Adapter caseScopeDeclaration(ScopeDeclaration object) { | ||
151 | return createScopeDeclarationAdapter(); | ||
152 | } | ||
153 | |||
154 | @Override | ||
155 | public Adapter caseStatement(Statement object) { | ||
156 | return createStatementAdapter(); | ||
157 | } | ||
158 | |||
159 | @Override | ||
160 | public Adapter caseTypeScope(TypeScope object) { | ||
161 | return createTypeScopeAdapter(); | ||
162 | } | ||
163 | |||
164 | @Override | ||
165 | public Adapter caseMultiplicity(Multiplicity object) { | ||
166 | return createMultiplicityAdapter(); | ||
167 | } | ||
168 | |||
169 | @Override | ||
170 | public Adapter caseRangeMultiplicity(RangeMultiplicity object) { | ||
171 | return createRangeMultiplicityAdapter(); | ||
172 | } | ||
173 | |||
174 | @Override | ||
175 | public Adapter caseExactMultiplicity(ExactMultiplicity object) { | ||
176 | return createExactMultiplicityAdapter(); | ||
177 | } | ||
178 | |||
179 | @Override | ||
180 | public Adapter caseUnboundedMultiplicity(UnboundedMultiplicity object) { | ||
181 | return createUnboundedMultiplicityAdapter(); | ||
182 | } | ||
183 | |||
184 | @Override | ||
185 | public Adapter caseVariableOrNodeArgument(VariableOrNodeArgument object) { | ||
186 | return createVariableOrNodeArgumentAdapter(); | ||
187 | } | ||
188 | |||
189 | @Override | ||
190 | public Adapter caseEnumDeclaration(EnumDeclaration object) { | ||
191 | return createEnumDeclarationAdapter(); | ||
192 | } | ||
193 | |||
194 | @Override | ||
195 | public Adapter caseVariableOrNode(VariableOrNode object) { | ||
196 | return createVariableOrNodeAdapter(); | ||
197 | } | ||
198 | |||
199 | @Override | ||
200 | public Adapter caseConstant(Constant object) { | ||
201 | return createConstantAdapter(); | ||
202 | } | ||
203 | |||
204 | @Override | ||
205 | public Adapter caseIntConstant(IntConstant object) { | ||
206 | return createIntConstantAdapter(); | ||
207 | } | ||
208 | |||
209 | @Override | ||
210 | public Adapter caseRealConstant(RealConstant object) { | ||
211 | return createRealConstantAdapter(); | ||
212 | } | ||
213 | |||
214 | @Override | ||
215 | public Adapter caseStringConstant(StringConstant object) { | ||
216 | return createStringConstantAdapter(); | ||
217 | } | ||
218 | |||
219 | @Override | ||
220 | public Adapter caseConstantArgument(ConstantArgument object) { | ||
221 | return createConstantArgumentAdapter(); | ||
222 | } | ||
223 | |||
224 | @Override | ||
225 | public Adapter caseArgument(Argument object) { | ||
226 | return createArgumentAdapter(); | ||
227 | } | ||
228 | |||
229 | @Override | ||
230 | public Adapter caseNodeAssertionArgument(NodeAssertionArgument object) { | ||
231 | return createNodeAssertionArgumentAdapter(); | ||
232 | } | ||
233 | |||
234 | @Override | ||
235 | public Adapter caseAssertionArgument(AssertionArgument object) { | ||
236 | return createAssertionArgumentAdapter(); | ||
237 | } | ||
238 | |||
239 | @Override | ||
240 | public Adapter caseConstantAssertionArgument(ConstantAssertionArgument object) { | ||
241 | return createConstantAssertionArgumentAdapter(); | ||
242 | } | ||
243 | |||
244 | @Override | ||
245 | public Adapter caseNodeValueAssertion(NodeValueAssertion object) { | ||
246 | return createNodeValueAssertionAdapter(); | ||
247 | } | ||
248 | |||
249 | @Override | ||
250 | public Adapter defaultCase(EObject object) { | ||
251 | return createEObjectAdapter(); | ||
252 | } | ||
253 | }; | ||
254 | |||
255 | /** | ||
256 | * Creates an adapter for the <code>target</code>. | ||
257 | * <!-- begin-user-doc --> | ||
258 | * <!-- end-user-doc --> | ||
259 | * @param target the object to adapt. | ||
260 | * @return the adapter for the <code>target</code>. | ||
261 | * @generated | ||
262 | */ | ||
263 | @Override | ||
264 | public Adapter createAdapter(Notifier target) { | ||
265 | return modelSwitch.doSwitch((EObject) target); | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Problem <em>Problem</em>}'. | ||
270 | * <!-- begin-user-doc --> | ||
271 | * This default implementation returns null so that we can easily ignore cases; | ||
272 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
273 | * <!-- end-user-doc --> | ||
274 | * @return the new adapter. | ||
275 | * @see org.eclipse.viatra.solver.language.model.problem.Problem | ||
276 | * @generated | ||
277 | */ | ||
278 | public Adapter createProblemAdapter() { | ||
279 | return null; | ||
280 | } | ||
281 | |||
282 | /** | ||
283 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Relation <em>Relation</em>}'. | ||
284 | * <!-- begin-user-doc --> | ||
285 | * This default implementation returns null so that we can easily ignore cases; | ||
286 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
287 | * <!-- end-user-doc --> | ||
288 | * @return the new adapter. | ||
289 | * @see org.eclipse.viatra.solver.language.model.problem.Relation | ||
290 | * @generated | ||
291 | */ | ||
292 | public Adapter createRelationAdapter() { | ||
293 | return null; | ||
294 | } | ||
295 | |||
296 | /** | ||
297 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ClassDeclaration <em>Class Declaration</em>}'. | ||
298 | * <!-- begin-user-doc --> | ||
299 | * This default implementation returns null so that we can easily ignore cases; | ||
300 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
301 | * <!-- end-user-doc --> | ||
302 | * @return the new adapter. | ||
303 | * @see org.eclipse.viatra.solver.language.model.problem.ClassDeclaration | ||
304 | * @generated | ||
305 | */ | ||
306 | public Adapter createClassDeclarationAdapter() { | ||
307 | return null; | ||
308 | } | ||
309 | |||
310 | /** | ||
311 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ReferenceDeclaration <em>Reference Declaration</em>}'. | ||
312 | * <!-- begin-user-doc --> | ||
313 | * This default implementation returns null so that we can easily ignore cases; | ||
314 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
315 | * <!-- end-user-doc --> | ||
316 | * @return the new adapter. | ||
317 | * @see org.eclipse.viatra.solver.language.model.problem.ReferenceDeclaration | ||
318 | * @generated | ||
319 | */ | ||
320 | public Adapter createReferenceDeclarationAdapter() { | ||
321 | return null; | ||
322 | } | ||
323 | |||
324 | /** | ||
325 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.NamedElement <em>Named Element</em>}'. | ||
326 | * <!-- begin-user-doc --> | ||
327 | * This default implementation returns null so that we can easily ignore cases; | ||
328 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
329 | * <!-- end-user-doc --> | ||
330 | * @return the new adapter. | ||
331 | * @see org.eclipse.viatra.solver.language.model.problem.NamedElement | ||
332 | * @generated | ||
333 | */ | ||
334 | public Adapter createNamedElementAdapter() { | ||
335 | return null; | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.PredicateDefinition <em>Predicate Definition</em>}'. | ||
340 | * <!-- begin-user-doc --> | ||
341 | * This default implementation returns null so that we can easily ignore cases; | ||
342 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
343 | * <!-- end-user-doc --> | ||
344 | * @return the new adapter. | ||
345 | * @see org.eclipse.viatra.solver.language.model.problem.PredicateDefinition | ||
346 | * @generated | ||
347 | */ | ||
348 | public Adapter createPredicateDefinitionAdapter() { | ||
349 | return null; | ||
350 | } | ||
351 | |||
352 | /** | ||
353 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Parameter <em>Parameter</em>}'. | ||
354 | * <!-- begin-user-doc --> | ||
355 | * This default implementation returns null so that we can easily ignore cases; | ||
356 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
357 | * <!-- end-user-doc --> | ||
358 | * @return the new adapter. | ||
359 | * @see org.eclipse.viatra.solver.language.model.problem.Parameter | ||
360 | * @generated | ||
361 | */ | ||
362 | public Adapter createParameterAdapter() { | ||
363 | return null; | ||
364 | } | ||
365 | |||
366 | /** | ||
367 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Variable <em>Variable</em>}'. | ||
368 | * <!-- begin-user-doc --> | ||
369 | * This default implementation returns null so that we can easily ignore cases; | ||
370 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
371 | * <!-- end-user-doc --> | ||
372 | * @return the new adapter. | ||
373 | * @see org.eclipse.viatra.solver.language.model.problem.Variable | ||
374 | * @generated | ||
375 | */ | ||
376 | public Adapter createVariableAdapter() { | ||
377 | return null; | ||
378 | } | ||
379 | |||
380 | /** | ||
381 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Conjunction <em>Conjunction</em>}'. | ||
382 | * <!-- begin-user-doc --> | ||
383 | * This default implementation returns null so that we can easily ignore cases; | ||
384 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
385 | * <!-- end-user-doc --> | ||
386 | * @return the new adapter. | ||
387 | * @see org.eclipse.viatra.solver.language.model.problem.Conjunction | ||
388 | * @generated | ||
389 | */ | ||
390 | public Adapter createConjunctionAdapter() { | ||
391 | return null; | ||
392 | } | ||
393 | |||
394 | /** | ||
395 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Literal <em>Literal</em>}'. | ||
396 | * <!-- begin-user-doc --> | ||
397 | * This default implementation returns null so that we can easily ignore cases; | ||
398 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
399 | * <!-- end-user-doc --> | ||
400 | * @return the new adapter. | ||
401 | * @see org.eclipse.viatra.solver.language.model.problem.Literal | ||
402 | * @generated | ||
403 | */ | ||
404 | public Adapter createLiteralAdapter() { | ||
405 | return null; | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Atom <em>Atom</em>}'. | ||
410 | * <!-- begin-user-doc --> | ||
411 | * This default implementation returns null so that we can easily ignore cases; | ||
412 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
413 | * <!-- end-user-doc --> | ||
414 | * @return the new adapter. | ||
415 | * @see org.eclipse.viatra.solver.language.model.problem.Atom | ||
416 | * @generated | ||
417 | */ | ||
418 | public Adapter createAtomAdapter() { | ||
419 | return null; | ||
420 | } | ||
421 | |||
422 | /** | ||
423 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ImplicitVariable <em>Implicit Variable</em>}'. | ||
424 | * <!-- begin-user-doc --> | ||
425 | * This default implementation returns null so that we can easily ignore cases; | ||
426 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
427 | * <!-- end-user-doc --> | ||
428 | * @return the new adapter. | ||
429 | * @see org.eclipse.viatra.solver.language.model.problem.ImplicitVariable | ||
430 | * @generated | ||
431 | */ | ||
432 | public Adapter createImplicitVariableAdapter() { | ||
433 | return null; | ||
434 | } | ||
435 | |||
436 | /** | ||
437 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.NegativeLiteral <em>Negative Literal</em>}'. | ||
438 | * <!-- begin-user-doc --> | ||
439 | * This default implementation returns null so that we can easily ignore cases; | ||
440 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
441 | * <!-- end-user-doc --> | ||
442 | * @return the new adapter. | ||
443 | * @see org.eclipse.viatra.solver.language.model.problem.NegativeLiteral | ||
444 | * @generated | ||
445 | */ | ||
446 | public Adapter createNegativeLiteralAdapter() { | ||
447 | return null; | ||
448 | } | ||
449 | |||
450 | /** | ||
451 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ExistentialQuantifier <em>Existential Quantifier</em>}'. | ||
452 | * <!-- begin-user-doc --> | ||
453 | * This default implementation returns null so that we can easily ignore cases; | ||
454 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
455 | * <!-- end-user-doc --> | ||
456 | * @return the new adapter. | ||
457 | * @see org.eclipse.viatra.solver.language.model.problem.ExistentialQuantifier | ||
458 | * @generated | ||
459 | */ | ||
460 | public Adapter createExistentialQuantifierAdapter() { | ||
461 | return null; | ||
462 | } | ||
463 | |||
464 | /** | ||
465 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Assertion <em>Assertion</em>}'. | ||
466 | * <!-- begin-user-doc --> | ||
467 | * This default implementation returns null so that we can easily ignore cases; | ||
468 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
469 | * <!-- end-user-doc --> | ||
470 | * @return the new adapter. | ||
471 | * @see org.eclipse.viatra.solver.language.model.problem.Assertion | ||
472 | * @generated | ||
473 | */ | ||
474 | public Adapter createAssertionAdapter() { | ||
475 | return null; | ||
476 | } | ||
477 | |||
478 | /** | ||
479 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Node <em>Node</em>}'. | ||
480 | * <!-- begin-user-doc --> | ||
481 | * This default implementation returns null so that we can easily ignore cases; | ||
482 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
483 | * <!-- end-user-doc --> | ||
484 | * @return the new adapter. | ||
485 | * @see org.eclipse.viatra.solver.language.model.problem.Node | ||
486 | * @generated | ||
487 | */ | ||
488 | public Adapter createNodeAdapter() { | ||
489 | return null; | ||
490 | } | ||
491 | |||
492 | /** | ||
493 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ScopeDeclaration <em>Scope Declaration</em>}'. | ||
494 | * <!-- begin-user-doc --> | ||
495 | * This default implementation returns null so that we can easily ignore cases; | ||
496 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
497 | * <!-- end-user-doc --> | ||
498 | * @return the new adapter. | ||
499 | * @see org.eclipse.viatra.solver.language.model.problem.ScopeDeclaration | ||
500 | * @generated | ||
501 | */ | ||
502 | public Adapter createScopeDeclarationAdapter() { | ||
503 | return null; | ||
504 | } | ||
505 | |||
506 | /** | ||
507 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Statement <em>Statement</em>}'. | ||
508 | * <!-- begin-user-doc --> | ||
509 | * This default implementation returns null so that we can easily ignore cases; | ||
510 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
511 | * <!-- end-user-doc --> | ||
512 | * @return the new adapter. | ||
513 | * @see org.eclipse.viatra.solver.language.model.problem.Statement | ||
514 | * @generated | ||
515 | */ | ||
516 | public Adapter createStatementAdapter() { | ||
517 | return null; | ||
518 | } | ||
519 | |||
520 | /** | ||
521 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.TypeScope <em>Type Scope</em>}'. | ||
522 | * <!-- begin-user-doc --> | ||
523 | * This default implementation returns null so that we can easily ignore cases; | ||
524 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
525 | * <!-- end-user-doc --> | ||
526 | * @return the new adapter. | ||
527 | * @see org.eclipse.viatra.solver.language.model.problem.TypeScope | ||
528 | * @generated | ||
529 | */ | ||
530 | public Adapter createTypeScopeAdapter() { | ||
531 | return null; | ||
532 | } | ||
533 | |||
534 | /** | ||
535 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Multiplicity <em>Multiplicity</em>}'. | ||
536 | * <!-- begin-user-doc --> | ||
537 | * This default implementation returns null so that we can easily ignore cases; | ||
538 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
539 | * <!-- end-user-doc --> | ||
540 | * @return the new adapter. | ||
541 | * @see org.eclipse.viatra.solver.language.model.problem.Multiplicity | ||
542 | * @generated | ||
543 | */ | ||
544 | public Adapter createMultiplicityAdapter() { | ||
545 | return null; | ||
546 | } | ||
547 | |||
548 | /** | ||
549 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.RangeMultiplicity <em>Range Multiplicity</em>}'. | ||
550 | * <!-- begin-user-doc --> | ||
551 | * This default implementation returns null so that we can easily ignore cases; | ||
552 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
553 | * <!-- end-user-doc --> | ||
554 | * @return the new adapter. | ||
555 | * @see org.eclipse.viatra.solver.language.model.problem.RangeMultiplicity | ||
556 | * @generated | ||
557 | */ | ||
558 | public Adapter createRangeMultiplicityAdapter() { | ||
559 | return null; | ||
560 | } | ||
561 | |||
562 | /** | ||
563 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ExactMultiplicity <em>Exact Multiplicity</em>}'. | ||
564 | * <!-- begin-user-doc --> | ||
565 | * This default implementation returns null so that we can easily ignore cases; | ||
566 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
567 | * <!-- end-user-doc --> | ||
568 | * @return the new adapter. | ||
569 | * @see org.eclipse.viatra.solver.language.model.problem.ExactMultiplicity | ||
570 | * @generated | ||
571 | */ | ||
572 | public Adapter createExactMultiplicityAdapter() { | ||
573 | return null; | ||
574 | } | ||
575 | |||
576 | /** | ||
577 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.UnboundedMultiplicity <em>Unbounded Multiplicity</em>}'. | ||
578 | * <!-- begin-user-doc --> | ||
579 | * This default implementation returns null so that we can easily ignore cases; | ||
580 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
581 | * <!-- end-user-doc --> | ||
582 | * @return the new adapter. | ||
583 | * @see org.eclipse.viatra.solver.language.model.problem.UnboundedMultiplicity | ||
584 | * @generated | ||
585 | */ | ||
586 | public Adapter createUnboundedMultiplicityAdapter() { | ||
587 | return null; | ||
588 | } | ||
589 | |||
590 | /** | ||
591 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.VariableOrNodeArgument <em>Variable Or Node Argument</em>}'. | ||
592 | * <!-- begin-user-doc --> | ||
593 | * This default implementation returns null so that we can easily ignore cases; | ||
594 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
595 | * <!-- end-user-doc --> | ||
596 | * @return the new adapter. | ||
597 | * @see org.eclipse.viatra.solver.language.model.problem.VariableOrNodeArgument | ||
598 | * @generated | ||
599 | */ | ||
600 | public Adapter createVariableOrNodeArgumentAdapter() { | ||
601 | return null; | ||
602 | } | ||
603 | |||
604 | /** | ||
605 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Argument <em>Argument</em>}'. | ||
606 | * <!-- begin-user-doc --> | ||
607 | * This default implementation returns null so that we can easily ignore cases; | ||
608 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
609 | * <!-- end-user-doc --> | ||
610 | * @return the new adapter. | ||
611 | * @see org.eclipse.viatra.solver.language.model.problem.Argument | ||
612 | * @generated | ||
613 | */ | ||
614 | public Adapter createArgumentAdapter() { | ||
615 | return null; | ||
616 | } | ||
617 | |||
618 | /** | ||
619 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.NodeAssertionArgument <em>Node Assertion Argument</em>}'. | ||
620 | * <!-- begin-user-doc --> | ||
621 | * This default implementation returns null so that we can easily ignore cases; | ||
622 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
623 | * <!-- end-user-doc --> | ||
624 | * @return the new adapter. | ||
625 | * @see org.eclipse.viatra.solver.language.model.problem.NodeAssertionArgument | ||
626 | * @generated | ||
627 | */ | ||
628 | public Adapter createNodeAssertionArgumentAdapter() { | ||
629 | return null; | ||
630 | } | ||
631 | |||
632 | /** | ||
633 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.AssertionArgument <em>Assertion Argument</em>}'. | ||
634 | * <!-- begin-user-doc --> | ||
635 | * This default implementation returns null so that we can easily ignore cases; | ||
636 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
637 | * <!-- end-user-doc --> | ||
638 | * @return the new adapter. | ||
639 | * @see org.eclipse.viatra.solver.language.model.problem.AssertionArgument | ||
640 | * @generated | ||
641 | */ | ||
642 | public Adapter createAssertionArgumentAdapter() { | ||
643 | return null; | ||
644 | } | ||
645 | |||
646 | /** | ||
647 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ConstantAssertionArgument <em>Constant Assertion Argument</em>}'. | ||
648 | * <!-- begin-user-doc --> | ||
649 | * This default implementation returns null so that we can easily ignore cases; | ||
650 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
651 | * <!-- end-user-doc --> | ||
652 | * @return the new adapter. | ||
653 | * @see org.eclipse.viatra.solver.language.model.problem.ConstantAssertionArgument | ||
654 | * @generated | ||
655 | */ | ||
656 | public Adapter createConstantAssertionArgumentAdapter() { | ||
657 | return null; | ||
658 | } | ||
659 | |||
660 | /** | ||
661 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.NodeValueAssertion <em>Node Value Assertion</em>}'. | ||
662 | * <!-- begin-user-doc --> | ||
663 | * This default implementation returns null so that we can easily ignore cases; | ||
664 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
665 | * <!-- end-user-doc --> | ||
666 | * @return the new adapter. | ||
667 | * @see org.eclipse.viatra.solver.language.model.problem.NodeValueAssertion | ||
668 | * @generated | ||
669 | */ | ||
670 | public Adapter createNodeValueAssertionAdapter() { | ||
671 | return null; | ||
672 | } | ||
673 | |||
674 | /** | ||
675 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.EnumDeclaration <em>Enum Declaration</em>}'. | ||
676 | * <!-- begin-user-doc --> | ||
677 | * This default implementation returns null so that we can easily ignore cases; | ||
678 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
679 | * <!-- end-user-doc --> | ||
680 | * @return the new adapter. | ||
681 | * @see org.eclipse.viatra.solver.language.model.problem.EnumDeclaration | ||
682 | * @generated | ||
683 | */ | ||
684 | public Adapter createEnumDeclarationAdapter() { | ||
685 | return null; | ||
686 | } | ||
687 | |||
688 | /** | ||
689 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.VariableOrNode <em>Variable Or Node</em>}'. | ||
690 | * <!-- begin-user-doc --> | ||
691 | * This default implementation returns null so that we can easily ignore cases; | ||
692 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
693 | * <!-- end-user-doc --> | ||
694 | * @return the new adapter. | ||
695 | * @see org.eclipse.viatra.solver.language.model.problem.VariableOrNode | ||
696 | * @generated | ||
697 | */ | ||
698 | public Adapter createVariableOrNodeAdapter() { | ||
699 | return null; | ||
700 | } | ||
701 | |||
702 | /** | ||
703 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.Constant <em>Constant</em>}'. | ||
704 | * <!-- begin-user-doc --> | ||
705 | * This default implementation returns null so that we can easily ignore cases; | ||
706 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
707 | * <!-- end-user-doc --> | ||
708 | * @return the new adapter. | ||
709 | * @see org.eclipse.viatra.solver.language.model.problem.Constant | ||
710 | * @generated | ||
711 | */ | ||
712 | public Adapter createConstantAdapter() { | ||
713 | return null; | ||
714 | } | ||
715 | |||
716 | /** | ||
717 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.IntConstant <em>Int Constant</em>}'. | ||
718 | * <!-- begin-user-doc --> | ||
719 | * This default implementation returns null so that we can easily ignore cases; | ||
720 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
721 | * <!-- end-user-doc --> | ||
722 | * @return the new adapter. | ||
723 | * @see org.eclipse.viatra.solver.language.model.problem.IntConstant | ||
724 | * @generated | ||
725 | */ | ||
726 | public Adapter createIntConstantAdapter() { | ||
727 | return null; | ||
728 | } | ||
729 | |||
730 | /** | ||
731 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.RealConstant <em>Real Constant</em>}'. | ||
732 | * <!-- begin-user-doc --> | ||
733 | * This default implementation returns null so that we can easily ignore cases; | ||
734 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
735 | * <!-- end-user-doc --> | ||
736 | * @return the new adapter. | ||
737 | * @see org.eclipse.viatra.solver.language.model.problem.RealConstant | ||
738 | * @generated | ||
739 | */ | ||
740 | public Adapter createRealConstantAdapter() { | ||
741 | return null; | ||
742 | } | ||
743 | |||
744 | /** | ||
745 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.StringConstant <em>String Constant</em>}'. | ||
746 | * <!-- begin-user-doc --> | ||
747 | * This default implementation returns null so that we can easily ignore cases; | ||
748 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
749 | * <!-- end-user-doc --> | ||
750 | * @return the new adapter. | ||
751 | * @see org.eclipse.viatra.solver.language.model.problem.StringConstant | ||
752 | * @generated | ||
753 | */ | ||
754 | public Adapter createStringConstantAdapter() { | ||
755 | return null; | ||
756 | } | ||
757 | |||
758 | /** | ||
759 | * Creates a new adapter for an object of class '{@link org.eclipse.viatra.solver.language.model.problem.ConstantArgument <em>Constant Argument</em>}'. | ||
760 | * <!-- begin-user-doc --> | ||
761 | * This default implementation returns null so that we can easily ignore cases; | ||
762 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
763 | * <!-- end-user-doc --> | ||
764 | * @return the new adapter. | ||
765 | * @see org.eclipse.viatra.solver.language.model.problem.ConstantArgument | ||
766 | * @generated | ||
767 | */ | ||
768 | public Adapter createConstantArgumentAdapter() { | ||
769 | return null; | ||
770 | } | ||
771 | |||
772 | /** | ||
773 | * Creates a new adapter for the default case. | ||
774 | * <!-- begin-user-doc --> | ||
775 | * This default implementation returns null. | ||
776 | * <!-- end-user-doc --> | ||
777 | * @return the new adapter. | ||
778 | * @generated | ||
779 | */ | ||
780 | public Adapter createEObjectAdapter() { | ||
781 | return null; | ||
782 | } | ||
783 | |||
784 | } //ProblemAdapterFactory | ||
diff --git a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java b/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java deleted file mode 100644 index 837d3a03..00000000 --- a/language-model/src/main/emf-gen/org/eclipse/viatra/solver/language/model/problem/util/ProblemSwitch.java +++ /dev/null | |||
@@ -1,964 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package org.eclipse.viatra.solver.language.model.problem.util; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | import org.eclipse.emf.ecore.EPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.util.Switch; | ||
9 | |||
10 | import org.eclipse.viatra.solver.language.model.problem.*; | ||
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 org.eclipse.viatra.solver.language.model.problem.ProblemPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class ProblemSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static ProblemPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public ProblemSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = ProblemPackage.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 ProblemPackage.PROBLEM: { | ||
70 | Problem problem = (Problem) theEObject; | ||
71 | T result = caseProblem(problem); | ||
72 | if (result == null) | ||
73 | result = caseNamedElement(problem); | ||
74 | if (result == null) | ||
75 | result = defaultCase(theEObject); | ||
76 | return result; | ||
77 | } | ||
78 | case ProblemPackage.RELATION: { | ||
79 | Relation relation = (Relation) theEObject; | ||
80 | T result = caseRelation(relation); | ||
81 | if (result == null) | ||
82 | result = caseNamedElement(relation); | ||
83 | if (result == null) | ||
84 | result = defaultCase(theEObject); | ||
85 | return result; | ||
86 | } | ||
87 | case ProblemPackage.CLASS_DECLARATION: { | ||
88 | ClassDeclaration classDeclaration = (ClassDeclaration) theEObject; | ||
89 | T result = caseClassDeclaration(classDeclaration); | ||
90 | if (result == null) | ||
91 | result = caseRelation(classDeclaration); | ||
92 | if (result == null) | ||
93 | result = caseStatement(classDeclaration); | ||
94 | if (result == null) | ||
95 | result = caseNamedElement(classDeclaration); | ||
96 | if (result == null) | ||
97 | result = defaultCase(theEObject); | ||
98 | return result; | ||
99 | } | ||
100 | case ProblemPackage.REFERENCE_DECLARATION: { | ||
101 | ReferenceDeclaration referenceDeclaration = (ReferenceDeclaration) theEObject; | ||
102 | T result = caseReferenceDeclaration(referenceDeclaration); | ||
103 | if (result == null) | ||
104 | result = caseRelation(referenceDeclaration); | ||
105 | if (result == null) | ||
106 | result = caseNamedElement(referenceDeclaration); | ||
107 | if (result == null) | ||
108 | result = defaultCase(theEObject); | ||
109 | return result; | ||
110 | } | ||
111 | case ProblemPackage.NAMED_ELEMENT: { | ||
112 | NamedElement namedElement = (NamedElement) theEObject; | ||
113 | T result = caseNamedElement(namedElement); | ||
114 | if (result == null) | ||
115 | result = defaultCase(theEObject); | ||
116 | return result; | ||
117 | } | ||
118 | case ProblemPackage.PREDICATE_DEFINITION: { | ||
119 | PredicateDefinition predicateDefinition = (PredicateDefinition) theEObject; | ||
120 | T result = casePredicateDefinition(predicateDefinition); | ||
121 | if (result == null) | ||
122 | result = caseRelation(predicateDefinition); | ||
123 | if (result == null) | ||
124 | result = caseStatement(predicateDefinition); | ||
125 | if (result == null) | ||
126 | result = caseNamedElement(predicateDefinition); | ||
127 | if (result == null) | ||
128 | result = defaultCase(theEObject); | ||
129 | return result; | ||
130 | } | ||
131 | case ProblemPackage.PARAMETER: { | ||
132 | Parameter parameter = (Parameter) theEObject; | ||
133 | T result = caseParameter(parameter); | ||
134 | if (result == null) | ||
135 | result = caseVariable(parameter); | ||
136 | if (result == null) | ||
137 | result = caseVariableOrNode(parameter); | ||
138 | if (result == null) | ||
139 | result = caseNamedElement(parameter); | ||
140 | if (result == null) | ||
141 | result = defaultCase(theEObject); | ||
142 | return result; | ||
143 | } | ||
144 | case ProblemPackage.VARIABLE: { | ||
145 | Variable variable = (Variable) theEObject; | ||
146 | T result = caseVariable(variable); | ||
147 | if (result == null) | ||
148 | result = caseVariableOrNode(variable); | ||
149 | if (result == null) | ||
150 | result = caseNamedElement(variable); | ||
151 | if (result == null) | ||
152 | result = defaultCase(theEObject); | ||
153 | return result; | ||
154 | } | ||
155 | case ProblemPackage.CONJUNCTION: { | ||
156 | Conjunction conjunction = (Conjunction) theEObject; | ||
157 | T result = caseConjunction(conjunction); | ||
158 | if (result == null) | ||
159 | result = caseExistentialQuantifier(conjunction); | ||
160 | if (result == null) | ||
161 | result = defaultCase(theEObject); | ||
162 | return result; | ||
163 | } | ||
164 | case ProblemPackage.LITERAL: { | ||
165 | Literal literal = (Literal) theEObject; | ||
166 | T result = caseLiteral(literal); | ||
167 | if (result == null) | ||
168 | result = defaultCase(theEObject); | ||
169 | return result; | ||
170 | } | ||
171 | case ProblemPackage.ATOM: { | ||
172 | Atom atom = (Atom) theEObject; | ||
173 | T result = caseAtom(atom); | ||
174 | if (result == null) | ||
175 | result = caseLiteral(atom); | ||
176 | if (result == null) | ||
177 | result = defaultCase(theEObject); | ||
178 | return result; | ||
179 | } | ||
180 | case ProblemPackage.IMPLICIT_VARIABLE: { | ||
181 | ImplicitVariable implicitVariable = (ImplicitVariable) theEObject; | ||
182 | T result = caseImplicitVariable(implicitVariable); | ||
183 | if (result == null) | ||
184 | result = caseVariable(implicitVariable); | ||
185 | if (result == null) | ||
186 | result = caseVariableOrNode(implicitVariable); | ||
187 | if (result == null) | ||
188 | result = caseNamedElement(implicitVariable); | ||
189 | if (result == null) | ||
190 | result = defaultCase(theEObject); | ||
191 | return result; | ||
192 | } | ||
193 | case ProblemPackage.NEGATIVE_LITERAL: { | ||
194 | NegativeLiteral negativeLiteral = (NegativeLiteral) theEObject; | ||
195 | T result = caseNegativeLiteral(negativeLiteral); | ||
196 | if (result == null) | ||
197 | result = caseExistentialQuantifier(negativeLiteral); | ||
198 | if (result == null) | ||
199 | result = caseLiteral(negativeLiteral); | ||
200 | if (result == null) | ||
201 | result = defaultCase(theEObject); | ||
202 | return result; | ||
203 | } | ||
204 | case ProblemPackage.EXISTENTIAL_QUANTIFIER: { | ||
205 | ExistentialQuantifier existentialQuantifier = (ExistentialQuantifier) theEObject; | ||
206 | T result = caseExistentialQuantifier(existentialQuantifier); | ||
207 | if (result == null) | ||
208 | result = defaultCase(theEObject); | ||
209 | return result; | ||
210 | } | ||
211 | case ProblemPackage.ASSERTION: { | ||
212 | Assertion assertion = (Assertion) theEObject; | ||
213 | T result = caseAssertion(assertion); | ||
214 | if (result == null) | ||
215 | result = caseStatement(assertion); | ||
216 | if (result == null) | ||
217 | result = defaultCase(theEObject); | ||
218 | return result; | ||
219 | } | ||
220 | case ProblemPackage.NODE: { | ||
221 | Node node = (Node) theEObject; | ||
222 | T result = caseNode(node); | ||
223 | if (result == null) | ||
224 | result = caseVariableOrNode(node); | ||
225 | if (result == null) | ||
226 | result = caseNamedElement(node); | ||
227 | if (result == null) | ||
228 | result = defaultCase(theEObject); | ||
229 | return result; | ||
230 | } | ||
231 | case ProblemPackage.SCOPE_DECLARATION: { | ||
232 | ScopeDeclaration scopeDeclaration = (ScopeDeclaration) theEObject; | ||
233 | T result = caseScopeDeclaration(scopeDeclaration); | ||
234 | if (result == null) | ||
235 | result = caseStatement(scopeDeclaration); | ||
236 | if (result == null) | ||
237 | result = defaultCase(theEObject); | ||
238 | return result; | ||
239 | } | ||
240 | case ProblemPackage.STATEMENT: { | ||
241 | Statement statement = (Statement) theEObject; | ||
242 | T result = caseStatement(statement); | ||
243 | if (result == null) | ||
244 | result = defaultCase(theEObject); | ||
245 | return result; | ||
246 | } | ||
247 | case ProblemPackage.TYPE_SCOPE: { | ||
248 | TypeScope typeScope = (TypeScope) theEObject; | ||
249 | T result = caseTypeScope(typeScope); | ||
250 | if (result == null) | ||
251 | result = defaultCase(theEObject); | ||
252 | return result; | ||
253 | } | ||
254 | case ProblemPackage.MULTIPLICITY: { | ||
255 | Multiplicity multiplicity = (Multiplicity) theEObject; | ||
256 | T result = caseMultiplicity(multiplicity); | ||
257 | if (result == null) | ||
258 | result = defaultCase(theEObject); | ||
259 | return result; | ||
260 | } | ||
261 | case ProblemPackage.RANGE_MULTIPLICITY: { | ||
262 | RangeMultiplicity rangeMultiplicity = (RangeMultiplicity) theEObject; | ||
263 | T result = caseRangeMultiplicity(rangeMultiplicity); | ||
264 | if (result == null) | ||
265 | result = caseMultiplicity(rangeMultiplicity); | ||
266 | if (result == null) | ||
267 | result = defaultCase(theEObject); | ||
268 | return result; | ||
269 | } | ||
270 | case ProblemPackage.EXACT_MULTIPLICITY: { | ||
271 | ExactMultiplicity exactMultiplicity = (ExactMultiplicity) theEObject; | ||
272 | T result = caseExactMultiplicity(exactMultiplicity); | ||
273 | if (result == null) | ||
274 | result = caseMultiplicity(exactMultiplicity); | ||
275 | if (result == null) | ||
276 | result = defaultCase(theEObject); | ||
277 | return result; | ||
278 | } | ||
279 | case ProblemPackage.UNBOUNDED_MULTIPLICITY: { | ||
280 | UnboundedMultiplicity unboundedMultiplicity = (UnboundedMultiplicity) theEObject; | ||
281 | T result = caseUnboundedMultiplicity(unboundedMultiplicity); | ||
282 | if (result == null) | ||
283 | result = caseMultiplicity(unboundedMultiplicity); | ||
284 | if (result == null) | ||
285 | result = defaultCase(theEObject); | ||
286 | return result; | ||
287 | } | ||
288 | case ProblemPackage.VARIABLE_OR_NODE_ARGUMENT: { | ||
289 | VariableOrNodeArgument variableOrNodeArgument = (VariableOrNodeArgument) theEObject; | ||
290 | T result = caseVariableOrNodeArgument(variableOrNodeArgument); | ||
291 | if (result == null) | ||
292 | result = caseArgument(variableOrNodeArgument); | ||
293 | if (result == null) | ||
294 | result = defaultCase(theEObject); | ||
295 | return result; | ||
296 | } | ||
297 | case ProblemPackage.ENUM_DECLARATION: { | ||
298 | EnumDeclaration enumDeclaration = (EnumDeclaration) theEObject; | ||
299 | T result = caseEnumDeclaration(enumDeclaration); | ||
300 | if (result == null) | ||
301 | result = caseRelation(enumDeclaration); | ||
302 | if (result == null) | ||
303 | result = caseStatement(enumDeclaration); | ||
304 | if (result == null) | ||
305 | result = caseNamedElement(enumDeclaration); | ||
306 | if (result == null) | ||
307 | result = defaultCase(theEObject); | ||
308 | return result; | ||
309 | } | ||
310 | case ProblemPackage.VARIABLE_OR_NODE: { | ||
311 | VariableOrNode variableOrNode = (VariableOrNode) theEObject; | ||
312 | T result = caseVariableOrNode(variableOrNode); | ||
313 | if (result == null) | ||
314 | result = caseNamedElement(variableOrNode); | ||
315 | if (result == null) | ||
316 | result = defaultCase(theEObject); | ||
317 | return result; | ||
318 | } | ||
319 | case ProblemPackage.CONSTANT: { | ||
320 | Constant constant = (Constant) theEObject; | ||
321 | T result = caseConstant(constant); | ||
322 | if (result == null) | ||
323 | result = defaultCase(theEObject); | ||
324 | return result; | ||
325 | } | ||
326 | case ProblemPackage.INT_CONSTANT: { | ||
327 | IntConstant intConstant = (IntConstant) theEObject; | ||
328 | T result = caseIntConstant(intConstant); | ||
329 | if (result == null) | ||
330 | result = caseConstant(intConstant); | ||
331 | if (result == null) | ||
332 | result = defaultCase(theEObject); | ||
333 | return result; | ||
334 | } | ||
335 | case ProblemPackage.REAL_CONSTANT: { | ||
336 | RealConstant realConstant = (RealConstant) theEObject; | ||
337 | T result = caseRealConstant(realConstant); | ||
338 | if (result == null) | ||
339 | result = caseConstant(realConstant); | ||
340 | if (result == null) | ||
341 | result = defaultCase(theEObject); | ||
342 | return result; | ||
343 | } | ||
344 | case ProblemPackage.STRING_CONSTANT: { | ||
345 | StringConstant stringConstant = (StringConstant) theEObject; | ||
346 | T result = caseStringConstant(stringConstant); | ||
347 | if (result == null) | ||
348 | result = caseConstant(stringConstant); | ||
349 | if (result == null) | ||
350 | result = defaultCase(theEObject); | ||
351 | return result; | ||
352 | } | ||
353 | case ProblemPackage.CONSTANT_ARGUMENT: { | ||
354 | ConstantArgument constantArgument = (ConstantArgument) theEObject; | ||
355 | T result = caseConstantArgument(constantArgument); | ||
356 | if (result == null) | ||
357 | result = caseArgument(constantArgument); | ||
358 | if (result == null) | ||
359 | result = defaultCase(theEObject); | ||
360 | return result; | ||
361 | } | ||
362 | case ProblemPackage.ARGUMENT: { | ||
363 | Argument argument = (Argument) theEObject; | ||
364 | T result = caseArgument(argument); | ||
365 | if (result == null) | ||
366 | result = defaultCase(theEObject); | ||
367 | return result; | ||
368 | } | ||
369 | case ProblemPackage.NODE_ASSERTION_ARGUMENT: { | ||
370 | NodeAssertionArgument nodeAssertionArgument = (NodeAssertionArgument) theEObject; | ||
371 | T result = caseNodeAssertionArgument(nodeAssertionArgument); | ||
372 | if (result == null) | ||
373 | result = caseAssertionArgument(nodeAssertionArgument); | ||
374 | if (result == null) | ||
375 | result = defaultCase(theEObject); | ||
376 | return result; | ||
377 | } | ||
378 | case ProblemPackage.ASSERTION_ARGUMENT: { | ||
379 | AssertionArgument assertionArgument = (AssertionArgument) theEObject; | ||
380 | T result = caseAssertionArgument(assertionArgument); | ||
381 | if (result == null) | ||
382 | result = defaultCase(theEObject); | ||
383 | return result; | ||
384 | } | ||
385 | case ProblemPackage.CONSTANT_ASSERTION_ARGUMENT: { | ||
386 | ConstantAssertionArgument constantAssertionArgument = (ConstantAssertionArgument) theEObject; | ||
387 | T result = caseConstantAssertionArgument(constantAssertionArgument); | ||
388 | if (result == null) | ||
389 | result = caseAssertionArgument(constantAssertionArgument); | ||
390 | if (result == null) | ||
391 | result = defaultCase(theEObject); | ||
392 | return result; | ||
393 | } | ||
394 | case ProblemPackage.NODE_VALUE_ASSERTION: { | ||
395 | NodeValueAssertion nodeValueAssertion = (NodeValueAssertion) theEObject; | ||
396 | T result = caseNodeValueAssertion(nodeValueAssertion); | ||
397 | if (result == null) | ||
398 | result = caseStatement(nodeValueAssertion); | ||
399 | if (result == null) | ||
400 | result = defaultCase(theEObject); | ||
401 | return result; | ||
402 | } | ||
403 | default: | ||
404 | return defaultCase(theEObject); | ||
405 | } | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * Returns the result of interpreting the object as an instance of '<em>Problem</em>'. | ||
410 | * <!-- begin-user-doc --> | ||
411 | * This implementation returns null; | ||
412 | * returning a non-null result will terminate the switch. | ||
413 | * <!-- end-user-doc --> | ||
414 | * @param object the target of the switch. | ||
415 | * @return the result of interpreting the object as an instance of '<em>Problem</em>'. | ||
416 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
417 | * @generated | ||
418 | */ | ||
419 | public T caseProblem(Problem object) { | ||
420 | return null; | ||
421 | } | ||
422 | |||
423 | /** | ||
424 | * Returns the result of interpreting the object as an instance of '<em>Relation</em>'. | ||
425 | * <!-- begin-user-doc --> | ||
426 | * This implementation returns null; | ||
427 | * returning a non-null result will terminate the switch. | ||
428 | * <!-- end-user-doc --> | ||
429 | * @param object the target of the switch. | ||
430 | * @return the result of interpreting the object as an instance of '<em>Relation</em>'. | ||
431 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
432 | * @generated | ||
433 | */ | ||
434 | public T caseRelation(Relation object) { | ||
435 | return null; | ||
436 | } | ||
437 | |||
438 | /** | ||
439 | * Returns the result of interpreting the object as an instance of '<em>Class Declaration</em>'. | ||
440 | * <!-- begin-user-doc --> | ||
441 | * This implementation returns null; | ||
442 | * returning a non-null result will terminate the switch. | ||
443 | * <!-- end-user-doc --> | ||
444 | * @param object the target of the switch. | ||
445 | * @return the result of interpreting the object as an instance of '<em>Class Declaration</em>'. | ||
446 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
447 | * @generated | ||
448 | */ | ||
449 | public T caseClassDeclaration(ClassDeclaration object) { | ||
450 | return null; | ||
451 | } | ||
452 | |||
453 | /** | ||
454 | * Returns the result of interpreting the object as an instance of '<em>Reference Declaration</em>'. | ||
455 | * <!-- begin-user-doc --> | ||
456 | * This implementation returns null; | ||
457 | * returning a non-null result will terminate the switch. | ||
458 | * <!-- end-user-doc --> | ||
459 | * @param object the target of the switch. | ||
460 | * @return the result of interpreting the object as an instance of '<em>Reference Declaration</em>'. | ||
461 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
462 | * @generated | ||
463 | */ | ||
464 | public T caseReferenceDeclaration(ReferenceDeclaration object) { | ||
465 | return null; | ||
466 | } | ||
467 | |||
468 | /** | ||
469 | * Returns the result of interpreting the object as an instance of '<em>Named Element</em>'. | ||
470 | * <!-- begin-user-doc --> | ||
471 | * This implementation returns null; | ||
472 | * returning a non-null result will terminate the switch. | ||
473 | * <!-- end-user-doc --> | ||
474 | * @param object the target of the switch. | ||
475 | * @return the result of interpreting the object as an instance of '<em>Named Element</em>'. | ||
476 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
477 | * @generated | ||
478 | */ | ||
479 | public T caseNamedElement(NamedElement object) { | ||
480 | return null; | ||
481 | } | ||
482 | |||
483 | /** | ||
484 | * Returns the result of interpreting the object as an instance of '<em>Predicate Definition</em>'. | ||
485 | * <!-- begin-user-doc --> | ||
486 | * This implementation returns null; | ||
487 | * returning a non-null result will terminate the switch. | ||
488 | * <!-- end-user-doc --> | ||
489 | * @param object the target of the switch. | ||
490 | * @return the result of interpreting the object as an instance of '<em>Predicate Definition</em>'. | ||
491 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
492 | * @generated | ||
493 | */ | ||
494 | public T casePredicateDefinition(PredicateDefinition object) { | ||
495 | return null; | ||
496 | } | ||
497 | |||
498 | /** | ||
499 | * Returns the result of interpreting the object as an instance of '<em>Parameter</em>'. | ||
500 | * <!-- begin-user-doc --> | ||
501 | * This implementation returns null; | ||
502 | * returning a non-null result will terminate the switch. | ||
503 | * <!-- end-user-doc --> | ||
504 | * @param object the target of the switch. | ||
505 | * @return the result of interpreting the object as an instance of '<em>Parameter</em>'. | ||
506 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
507 | * @generated | ||
508 | */ | ||
509 | public T caseParameter(Parameter object) { | ||
510 | return null; | ||
511 | } | ||
512 | |||
513 | /** | ||
514 | * Returns the result of interpreting the object as an instance of '<em>Variable</em>'. | ||
515 | * <!-- begin-user-doc --> | ||
516 | * This implementation returns null; | ||
517 | * returning a non-null result will terminate the switch. | ||
518 | * <!-- end-user-doc --> | ||
519 | * @param object the target of the switch. | ||
520 | * @return the result of interpreting the object as an instance of '<em>Variable</em>'. | ||
521 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
522 | * @generated | ||
523 | */ | ||
524 | public T caseVariable(Variable object) { | ||
525 | return null; | ||
526 | } | ||
527 | |||
528 | /** | ||
529 | * Returns the result of interpreting the object as an instance of '<em>Conjunction</em>'. | ||
530 | * <!-- begin-user-doc --> | ||
531 | * This implementation returns null; | ||
532 | * returning a non-null result will terminate the switch. | ||
533 | * <!-- end-user-doc --> | ||
534 | * @param object the target of the switch. | ||
535 | * @return the result of interpreting the object as an instance of '<em>Conjunction</em>'. | ||
536 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
537 | * @generated | ||
538 | */ | ||
539 | public T caseConjunction(Conjunction object) { | ||
540 | return null; | ||
541 | } | ||
542 | |||
543 | /** | ||
544 | * Returns the result of interpreting the object as an instance of '<em>Literal</em>'. | ||
545 | * <!-- begin-user-doc --> | ||
546 | * This implementation returns null; | ||
547 | * returning a non-null result will terminate the switch. | ||
548 | * <!-- end-user-doc --> | ||
549 | * @param object the target of the switch. | ||
550 | * @return the result of interpreting the object as an instance of '<em>Literal</em>'. | ||
551 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
552 | * @generated | ||
553 | */ | ||
554 | public T caseLiteral(Literal object) { | ||
555 | return null; | ||
556 | } | ||
557 | |||
558 | /** | ||
559 | * Returns the result of interpreting the object as an instance of '<em>Atom</em>'. | ||
560 | * <!-- begin-user-doc --> | ||
561 | * This implementation returns null; | ||
562 | * returning a non-null result will terminate the switch. | ||
563 | * <!-- end-user-doc --> | ||
564 | * @param object the target of the switch. | ||
565 | * @return the result of interpreting the object as an instance of '<em>Atom</em>'. | ||
566 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
567 | * @generated | ||
568 | */ | ||
569 | public T caseAtom(Atom object) { | ||
570 | return null; | ||
571 | } | ||
572 | |||
573 | /** | ||
574 | * Returns the result of interpreting the object as an instance of '<em>Implicit Variable</em>'. | ||
575 | * <!-- begin-user-doc --> | ||
576 | * This implementation returns null; | ||
577 | * returning a non-null result will terminate the switch. | ||
578 | * <!-- end-user-doc --> | ||
579 | * @param object the target of the switch. | ||
580 | * @return the result of interpreting the object as an instance of '<em>Implicit Variable</em>'. | ||
581 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
582 | * @generated | ||
583 | */ | ||
584 | public T caseImplicitVariable(ImplicitVariable object) { | ||
585 | return null; | ||
586 | } | ||
587 | |||
588 | /** | ||
589 | * Returns the result of interpreting the object as an instance of '<em>Negative Literal</em>'. | ||
590 | * <!-- begin-user-doc --> | ||
591 | * This implementation returns null; | ||
592 | * returning a non-null result will terminate the switch. | ||
593 | * <!-- end-user-doc --> | ||
594 | * @param object the target of the switch. | ||
595 | * @return the result of interpreting the object as an instance of '<em>Negative Literal</em>'. | ||
596 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
597 | * @generated | ||
598 | */ | ||
599 | public T caseNegativeLiteral(NegativeLiteral object) { | ||
600 | return null; | ||
601 | } | ||
602 | |||
603 | /** | ||
604 | * Returns the result of interpreting the object as an instance of '<em>Existential Quantifier</em>'. | ||
605 | * <!-- begin-user-doc --> | ||
606 | * This implementation returns null; | ||
607 | * returning a non-null result will terminate the switch. | ||
608 | * <!-- end-user-doc --> | ||
609 | * @param object the target of the switch. | ||
610 | * @return the result of interpreting the object as an instance of '<em>Existential Quantifier</em>'. | ||
611 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
612 | * @generated | ||
613 | */ | ||
614 | public T caseExistentialQuantifier(ExistentialQuantifier object) { | ||
615 | return null; | ||
616 | } | ||
617 | |||
618 | /** | ||
619 | * Returns the result of interpreting the object as an instance of '<em>Assertion</em>'. | ||
620 | * <!-- begin-user-doc --> | ||
621 | * This implementation returns null; | ||
622 | * returning a non-null result will terminate the switch. | ||
623 | * <!-- end-user-doc --> | ||
624 | * @param object the target of the switch. | ||
625 | * @return the result of interpreting the object as an instance of '<em>Assertion</em>'. | ||
626 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
627 | * @generated | ||
628 | */ | ||
629 | public T caseAssertion(Assertion object) { | ||
630 | return null; | ||
631 | } | ||
632 | |||
633 | /** | ||
634 | * Returns the result of interpreting the object as an instance of '<em>Node</em>'. | ||
635 | * <!-- begin-user-doc --> | ||
636 | * This implementation returns null; | ||
637 | * returning a non-null result will terminate the switch. | ||
638 | * <!-- end-user-doc --> | ||
639 | * @param object the target of the switch. | ||
640 | * @return the result of interpreting the object as an instance of '<em>Node</em>'. | ||
641 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
642 | * @generated | ||
643 | */ | ||
644 | public T caseNode(Node object) { | ||
645 | return null; | ||
646 | } | ||
647 | |||
648 | /** | ||
649 | * Returns the result of interpreting the object as an instance of '<em>Scope Declaration</em>'. | ||
650 | * <!-- begin-user-doc --> | ||
651 | * This implementation returns null; | ||
652 | * returning a non-null result will terminate the switch. | ||
653 | * <!-- end-user-doc --> | ||
654 | * @param object the target of the switch. | ||
655 | * @return the result of interpreting the object as an instance of '<em>Scope Declaration</em>'. | ||
656 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
657 | * @generated | ||
658 | */ | ||
659 | public T caseScopeDeclaration(ScopeDeclaration object) { | ||
660 | return null; | ||
661 | } | ||
662 | |||
663 | /** | ||
664 | * Returns the result of interpreting the object as an instance of '<em>Statement</em>'. | ||
665 | * <!-- begin-user-doc --> | ||
666 | * This implementation returns null; | ||
667 | * returning a non-null result will terminate the switch. | ||
668 | * <!-- end-user-doc --> | ||
669 | * @param object the target of the switch. | ||
670 | * @return the result of interpreting the object as an instance of '<em>Statement</em>'. | ||
671 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
672 | * @generated | ||
673 | */ | ||
674 | public T caseStatement(Statement object) { | ||
675 | return null; | ||
676 | } | ||
677 | |||
678 | /** | ||
679 | * Returns the result of interpreting the object as an instance of '<em>Type Scope</em>'. | ||
680 | * <!-- begin-user-doc --> | ||
681 | * This implementation returns null; | ||
682 | * returning a non-null result will terminate the switch. | ||
683 | * <!-- end-user-doc --> | ||
684 | * @param object the target of the switch. | ||
685 | * @return the result of interpreting the object as an instance of '<em>Type Scope</em>'. | ||
686 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
687 | * @generated | ||
688 | */ | ||
689 | public T caseTypeScope(TypeScope object) { | ||
690 | return null; | ||
691 | } | ||
692 | |||
693 | /** | ||
694 | * Returns the result of interpreting the object as an instance of '<em>Multiplicity</em>'. | ||
695 | * <!-- begin-user-doc --> | ||
696 | * This implementation returns null; | ||
697 | * returning a non-null result will terminate the switch. | ||
698 | * <!-- end-user-doc --> | ||
699 | * @param object the target of the switch. | ||
700 | * @return the result of interpreting the object as an instance of '<em>Multiplicity</em>'. | ||
701 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
702 | * @generated | ||
703 | */ | ||
704 | public T caseMultiplicity(Multiplicity object) { | ||
705 | return null; | ||
706 | } | ||
707 | |||
708 | /** | ||
709 | * Returns the result of interpreting the object as an instance of '<em>Range Multiplicity</em>'. | ||
710 | * <!-- begin-user-doc --> | ||
711 | * This implementation returns null; | ||
712 | * returning a non-null result will terminate the switch. | ||
713 | * <!-- end-user-doc --> | ||
714 | * @param object the target of the switch. | ||
715 | * @return the result of interpreting the object as an instance of '<em>Range Multiplicity</em>'. | ||
716 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
717 | * @generated | ||
718 | */ | ||
719 | public T caseRangeMultiplicity(RangeMultiplicity object) { | ||
720 | return null; | ||
721 | } | ||
722 | |||
723 | /** | ||
724 | * Returns the result of interpreting the object as an instance of '<em>Exact Multiplicity</em>'. | ||
725 | * <!-- begin-user-doc --> | ||
726 | * This implementation returns null; | ||
727 | * returning a non-null result will terminate the switch. | ||
728 | * <!-- end-user-doc --> | ||
729 | * @param object the target of the switch. | ||
730 | * @return the result of interpreting the object as an instance of '<em>Exact Multiplicity</em>'. | ||
731 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
732 | * @generated | ||
733 | */ | ||
734 | public T caseExactMultiplicity(ExactMultiplicity object) { | ||
735 | return null; | ||
736 | } | ||
737 | |||
738 | /** | ||
739 | * Returns the result of interpreting the object as an instance of '<em>Unbounded Multiplicity</em>'. | ||
740 | * <!-- begin-user-doc --> | ||
741 | * This implementation returns null; | ||
742 | * returning a non-null result will terminate the switch. | ||
743 | * <!-- end-user-doc --> | ||
744 | * @param object the target of the switch. | ||
745 | * @return the result of interpreting the object as an instance of '<em>Unbounded Multiplicity</em>'. | ||
746 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
747 | * @generated | ||
748 | */ | ||
749 | public T caseUnboundedMultiplicity(UnboundedMultiplicity object) { | ||
750 | return null; | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * Returns the result of interpreting the object as an instance of '<em>Variable Or Node Argument</em>'. | ||
755 | * <!-- begin-user-doc --> | ||
756 | * This implementation returns null; | ||
757 | * returning a non-null result will terminate the switch. | ||
758 | * <!-- end-user-doc --> | ||
759 | * @param object the target of the switch. | ||
760 | * @return the result of interpreting the object as an instance of '<em>Variable Or Node Argument</em>'. | ||
761 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
762 | * @generated | ||
763 | */ | ||
764 | public T caseVariableOrNodeArgument(VariableOrNodeArgument object) { | ||
765 | return null; | ||
766 | } | ||
767 | |||
768 | /** | ||
769 | * Returns the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
770 | * <!-- begin-user-doc --> | ||
771 | * This implementation returns null; | ||
772 | * returning a non-null result will terminate the switch. | ||
773 | * <!-- end-user-doc --> | ||
774 | * @param object the target of the switch. | ||
775 | * @return the result of interpreting the object as an instance of '<em>Argument</em>'. | ||
776 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
777 | * @generated | ||
778 | */ | ||
779 | public T caseArgument(Argument object) { | ||
780 | return null; | ||
781 | } | ||
782 | |||
783 | /** | ||
784 | * Returns the result of interpreting the object as an instance of '<em>Node Assertion Argument</em>'. | ||
785 | * <!-- begin-user-doc --> | ||
786 | * This implementation returns null; | ||
787 | * returning a non-null result will terminate the switch. | ||
788 | * <!-- end-user-doc --> | ||
789 | * @param object the target of the switch. | ||
790 | * @return the result of interpreting the object as an instance of '<em>Node Assertion Argument</em>'. | ||
791 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
792 | * @generated | ||
793 | */ | ||
794 | public T caseNodeAssertionArgument(NodeAssertionArgument object) { | ||
795 | return null; | ||
796 | } | ||
797 | |||
798 | /** | ||
799 | * Returns the result of interpreting the object as an instance of '<em>Assertion Argument</em>'. | ||
800 | * <!-- begin-user-doc --> | ||
801 | * This implementation returns null; | ||
802 | * returning a non-null result will terminate the switch. | ||
803 | * <!-- end-user-doc --> | ||
804 | * @param object the target of the switch. | ||
805 | * @return the result of interpreting the object as an instance of '<em>Assertion Argument</em>'. | ||
806 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
807 | * @generated | ||
808 | */ | ||
809 | public T caseAssertionArgument(AssertionArgument object) { | ||
810 | return null; | ||
811 | } | ||
812 | |||
813 | /** | ||
814 | * Returns the result of interpreting the object as an instance of '<em>Constant Assertion Argument</em>'. | ||
815 | * <!-- begin-user-doc --> | ||
816 | * This implementation returns null; | ||
817 | * returning a non-null result will terminate the switch. | ||
818 | * <!-- end-user-doc --> | ||
819 | * @param object the target of the switch. | ||
820 | * @return the result of interpreting the object as an instance of '<em>Constant Assertion Argument</em>'. | ||
821 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
822 | * @generated | ||
823 | */ | ||
824 | public T caseConstantAssertionArgument(ConstantAssertionArgument object) { | ||
825 | return null; | ||
826 | } | ||
827 | |||
828 | /** | ||
829 | * Returns the result of interpreting the object as an instance of '<em>Node Value Assertion</em>'. | ||
830 | * <!-- begin-user-doc --> | ||
831 | * This implementation returns null; | ||
832 | * returning a non-null result will terminate the switch. | ||
833 | * <!-- end-user-doc --> | ||
834 | * @param object the target of the switch. | ||
835 | * @return the result of interpreting the object as an instance of '<em>Node Value Assertion</em>'. | ||
836 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
837 | * @generated | ||
838 | */ | ||
839 | public T caseNodeValueAssertion(NodeValueAssertion object) { | ||
840 | return null; | ||
841 | } | ||
842 | |||
843 | /** | ||
844 | * Returns the result of interpreting the object as an instance of '<em>Enum Declaration</em>'. | ||
845 | * <!-- begin-user-doc --> | ||
846 | * This implementation returns null; | ||
847 | * returning a non-null result will terminate the switch. | ||
848 | * <!-- end-user-doc --> | ||
849 | * @param object the target of the switch. | ||
850 | * @return the result of interpreting the object as an instance of '<em>Enum Declaration</em>'. | ||
851 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
852 | * @generated | ||
853 | */ | ||
854 | public T caseEnumDeclaration(EnumDeclaration object) { | ||
855 | return null; | ||
856 | } | ||
857 | |||
858 | /** | ||
859 | * Returns the result of interpreting the object as an instance of '<em>Variable Or Node</em>'. | ||
860 | * <!-- begin-user-doc --> | ||
861 | * This implementation returns null; | ||
862 | * returning a non-null result will terminate the switch. | ||
863 | * <!-- end-user-doc --> | ||
864 | * @param object the target of the switch. | ||
865 | * @return the result of interpreting the object as an instance of '<em>Variable Or Node</em>'. | ||
866 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
867 | * @generated | ||
868 | */ | ||
869 | public T caseVariableOrNode(VariableOrNode object) { | ||
870 | return null; | ||
871 | } | ||
872 | |||
873 | /** | ||
874 | * Returns the result of interpreting the object as an instance of '<em>Constant</em>'. | ||
875 | * <!-- begin-user-doc --> | ||
876 | * This implementation returns null; | ||
877 | * returning a non-null result will terminate the switch. | ||
878 | * <!-- end-user-doc --> | ||
879 | * @param object the target of the switch. | ||
880 | * @return the result of interpreting the object as an instance of '<em>Constant</em>'. | ||
881 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
882 | * @generated | ||
883 | */ | ||
884 | public T caseConstant(Constant object) { | ||
885 | return null; | ||
886 | } | ||
887 | |||
888 | /** | ||
889 | * Returns the result of interpreting the object as an instance of '<em>Int Constant</em>'. | ||
890 | * <!-- begin-user-doc --> | ||
891 | * This implementation returns null; | ||
892 | * returning a non-null result will terminate the switch. | ||
893 | * <!-- end-user-doc --> | ||
894 | * @param object the target of the switch. | ||
895 | * @return the result of interpreting the object as an instance of '<em>Int Constant</em>'. | ||
896 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
897 | * @generated | ||
898 | */ | ||
899 | public T caseIntConstant(IntConstant object) { | ||
900 | return null; | ||
901 | } | ||
902 | |||
903 | /** | ||
904 | * Returns the result of interpreting the object as an instance of '<em>Real Constant</em>'. | ||
905 | * <!-- begin-user-doc --> | ||
906 | * This implementation returns null; | ||
907 | * returning a non-null result will terminate the switch. | ||
908 | * <!-- end-user-doc --> | ||
909 | * @param object the target of the switch. | ||
910 | * @return the result of interpreting the object as an instance of '<em>Real Constant</em>'. | ||
911 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
912 | * @generated | ||
913 | */ | ||
914 | public T caseRealConstant(RealConstant object) { | ||
915 | return null; | ||
916 | } | ||
917 | |||
918 | /** | ||
919 | * Returns the result of interpreting the object as an instance of '<em>String Constant</em>'. | ||
920 | * <!-- begin-user-doc --> | ||
921 | * This implementation returns null; | ||
922 | * returning a non-null result will terminate the switch. | ||
923 | * <!-- end-user-doc --> | ||
924 | * @param object the target of the switch. | ||
925 | * @return the result of interpreting the object as an instance of '<em>String Constant</em>'. | ||
926 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
927 | * @generated | ||
928 | */ | ||
929 | public T caseStringConstant(StringConstant object) { | ||
930 | return null; | ||
931 | } | ||
932 | |||
933 | /** | ||
934 | * Returns the result of interpreting the object as an instance of '<em>Constant Argument</em>'. | ||
935 | * <!-- begin-user-doc --> | ||
936 | * This implementation returns null; | ||
937 | * returning a non-null result will terminate the switch. | ||
938 | * <!-- end-user-doc --> | ||
939 | * @param object the target of the switch. | ||
940 | * @return the result of interpreting the object as an instance of '<em>Constant Argument</em>'. | ||
941 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
942 | * @generated | ||
943 | */ | ||
944 | public T caseConstantArgument(ConstantArgument object) { | ||
945 | return null; | ||
946 | } | ||
947 | |||
948 | /** | ||
949 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
950 | * <!-- begin-user-doc --> | ||
951 | * This implementation returns null; | ||
952 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
953 | * <!-- end-user-doc --> | ||
954 | * @param object the target of the switch. | ||
955 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
956 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
957 | * @generated | ||
958 | */ | ||
959 | @Override | ||
960 | public T defaultCase(EObject object) { | ||
961 | return null; | ||
962 | } | ||
963 | |||
964 | } //ProblemSwitch | ||