Skip to content

Package: TestSwitch

TestSwitch

nameinstructionbranchcomplexitylinemethod
TestSwitch()
M: 0 C: 7
100%
M: 1 C: 1
50%
M: 1 C: 1
50%
M: 0 C: 4
100%
M: 0 C: 1
100%
caseBook(Book)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseComputer(Computer)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseContainer(Container)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseContent(Content)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseCrossReferenceContainer(CrossReferenceContainer)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseCrossReferenceContent(CrossReferenceContent)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseLibrarian(Librarian)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseLibrary(Library)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseMainboard(Mainboard)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
casePerson(Person)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
casePowerBlock(PowerBlock)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseReferencer(Referencer)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableContent(TableContent)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableContentWithInnerChild(TableContentWithInnerChild)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableContentWithInnerChild2(TableContentWithInnerChild2)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableContentWithValidation(TableContentWithValidation)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableContentWithoutValidation(TableContentWithoutValidation)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableObject(TableObject)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableWithMultiplicity(TableWithMultiplicity)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableWithUnique(TableWithUnique)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseTableWithoutMultiplicity(TableWithoutMultiplicity)
M: 0 C: 2
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
caseTableWithoutMultiplicityConcrete(TableWithoutMultiplicityConcrete)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
caseWriter(Writer)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
defaultCase(EObject)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
doSwitch(int, EObject)
M: 367 C: 32
8%
M: 80 C: 6
7%
M: 53 C: 2
4%
M: 121 C: 12
9%
M: 0 C: 1
100%
isSwitchFor(EPackage)
M: 2 C: 5
71%
M: 1 C: 1
50%
M: 1 C: 1
50%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2019 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: * Christian W. Damus - bug 543190
14: *******************************************************************************/
15: package org.eclipse.emf.ecp.view.validation.test.model.util;
16:
17: import org.eclipse.emf.ecore.EObject;
18: import org.eclipse.emf.ecore.EPackage;
19: import org.eclipse.emf.ecore.util.Switch;
20: import org.eclipse.emf.ecp.view.validation.test.model.Book;
21: import org.eclipse.emf.ecp.view.validation.test.model.Computer;
22: import org.eclipse.emf.ecp.view.validation.test.model.Container;
23: import org.eclipse.emf.ecp.view.validation.test.model.Content;
24: import org.eclipse.emf.ecp.view.validation.test.model.CrossReferenceContainer;
25: import org.eclipse.emf.ecp.view.validation.test.model.CrossReferenceContent;
26: import org.eclipse.emf.ecp.view.validation.test.model.Librarian;
27: import org.eclipse.emf.ecp.view.validation.test.model.Library;
28: import org.eclipse.emf.ecp.view.validation.test.model.Mainboard;
29: import org.eclipse.emf.ecp.view.validation.test.model.Person;
30: import org.eclipse.emf.ecp.view.validation.test.model.PowerBlock;
31: import org.eclipse.emf.ecp.view.validation.test.model.Referencer;
32: import org.eclipse.emf.ecp.view.validation.test.model.TableContent;
33: import org.eclipse.emf.ecp.view.validation.test.model.TableContentWithInnerChild;
34: import org.eclipse.emf.ecp.view.validation.test.model.TableContentWithInnerChild2;
35: import org.eclipse.emf.ecp.view.validation.test.model.TableContentWithValidation;
36: import org.eclipse.emf.ecp.view.validation.test.model.TableContentWithoutValidation;
37: import org.eclipse.emf.ecp.view.validation.test.model.TableObject;
38: import org.eclipse.emf.ecp.view.validation.test.model.TableWithMultiplicity;
39: import org.eclipse.emf.ecp.view.validation.test.model.TableWithUnique;
40: import org.eclipse.emf.ecp.view.validation.test.model.TableWithoutMultiplicity;
41: import org.eclipse.emf.ecp.view.validation.test.model.TableWithoutMultiplicityConcrete;
42: import org.eclipse.emf.ecp.view.validation.test.model.TestPackage;
43: import org.eclipse.emf.ecp.view.validation.test.model.Writer;
44:
45: /**
46: * <!-- begin-user-doc -->
47: * The <b>Switch</b> for the model's inheritance hierarchy.
48: * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each
49: * class of the model,
50: * starting with the actual class of the object
51: * and proceeding up the inheritance hierarchy
52: * until a non-null result is returned,
53: * which is the result of the switch.
54: * <!-- end-user-doc -->
55: *
56: * @see org.eclipse.emf.ecp.view.validation.test.model.TestPackage
57: * @generated
58: */
59: public class TestSwitch<T> extends Switch<T> {
60:         /**
61:          * The cached model package
62:          * <!-- begin-user-doc -->
63:          * <!-- end-user-doc -->
64:          *
65:          * @generated
66:          */
67:         protected static TestPackage modelPackage;
68:
69:         /**
70:          * Creates an instance of the switch.
71:          * <!-- begin-user-doc -->
72:          * <!-- end-user-doc -->
73:          *
74:          * @generated
75:          */
76:         public TestSwitch() {
77:•                if (modelPackage == null) {
78:                         modelPackage = TestPackage.eINSTANCE;
79:                 }
80:         }
81:
82:         /**
83:          * Checks whether this is a switch for the given package.
84:          * <!-- begin-user-doc -->
85:          * <!-- end-user-doc -->
86:          *
87:          * @param ePackage the package in question.
88:          * @return whether this is a switch for the given package.
89:          * @generated
90:          */
91:         @Override
92:         protected boolean isSwitchFor(EPackage ePackage) {
93:•                return ePackage == modelPackage;
94:         }
95:
96:         /**
97:          * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that
98:          * result.
99:          * <!-- begin-user-doc -->
100:          * <!-- end-user-doc -->
101:          *
102:          * @return the first non-null result returned by a <code>caseXXX</code> call.
103:          * @generated
104:          */
105:         @Override
106:         protected T doSwitch(int classifierID, EObject theEObject) {
107:•                switch (classifierID) {
108:                 case TestPackage.LIBRARY: {
109:                         final Library library = (Library) theEObject;
110:                         T result = caseLibrary(library);
111:•                        if (result == null) {
112:                                 result = defaultCase(theEObject);
113:                         }
114:                         return result;
115:                 }
116:                 case TestPackage.WRITER: {
117:                         final Writer writer = (Writer) theEObject;
118:                         T result = caseWriter(writer);
119:•                        if (result == null) {
120:                                 result = defaultCase(theEObject);
121:                         }
122:                         return result;
123:                 }
124:                 case TestPackage.BOOK: {
125:                         final Book book = (Book) theEObject;
126:                         T result = caseBook(book);
127:•                        if (result == null) {
128:                                 result = defaultCase(theEObject);
129:                         }
130:                         return result;
131:                 }
132:                 case TestPackage.LIBRARIAN: {
133:                         final Librarian librarian = (Librarian) theEObject;
134:                         T result = caseLibrarian(librarian);
135:•                        if (result == null) {
136:                                 result = defaultCase(theEObject);
137:                         }
138:                         return result;
139:                 }
140:                 case TestPackage.COMPUTER: {
141:                         final Computer computer = (Computer) theEObject;
142:                         T result = caseComputer(computer);
143:•                        if (result == null) {
144:                                 result = defaultCase(theEObject);
145:                         }
146:                         return result;
147:                 }
148:                 case TestPackage.MAINBOARD: {
149:                         final Mainboard mainboard = (Mainboard) theEObject;
150:                         T result = caseMainboard(mainboard);
151:•                        if (result == null) {
152:                                 result = defaultCase(theEObject);
153:                         }
154:                         return result;
155:                 }
156:                 case TestPackage.POWER_BLOCK: {
157:                         final PowerBlock powerBlock = (PowerBlock) theEObject;
158:                         T result = casePowerBlock(powerBlock);
159:•                        if (result == null) {
160:                                 result = defaultCase(theEObject);
161:                         }
162:                         return result;
163:                 }
164:                 case TestPackage.CONTAINER: {
165:                         final Container container = (Container) theEObject;
166:                         T result = caseContainer(container);
167:•                        if (result == null) {
168:                                 result = defaultCase(theEObject);
169:                         }
170:                         return result;
171:                 }
172:                 case TestPackage.CONTENT: {
173:                         final Content content = (Content) theEObject;
174:                         T result = caseContent(content);
175:•                        if (result == null) {
176:                                 result = defaultCase(theEObject);
177:                         }
178:                         return result;
179:                 }
180:                 case TestPackage.TABLE_WITH_MULTIPLICITY: {
181:                         final TableWithMultiplicity tableWithMultiplicity = (TableWithMultiplicity) theEObject;
182:                         T result = caseTableWithMultiplicity(tableWithMultiplicity);
183:•                        if (result == null) {
184:                                 result = caseTableObject(tableWithMultiplicity);
185:                         }
186:•                        if (result == null) {
187:                                 result = defaultCase(theEObject);
188:                         }
189:                         return result;
190:                 }
191:                 case TestPackage.TABLE_CONTENT: {
192:                         final TableContent tableContent = (TableContent) theEObject;
193:                         T result = caseTableContent(tableContent);
194:•                        if (result == null) {
195:                                 result = defaultCase(theEObject);
196:                         }
197:                         return result;
198:                 }
199:                 case TestPackage.TABLE_CONTENT_WITHOUT_VALIDATION: {
200:                         final TableContentWithoutValidation tableContentWithoutValidation = (TableContentWithoutValidation) theEObject;
201:                         T result = caseTableContentWithoutValidation(tableContentWithoutValidation);
202:•                        if (result == null) {
203:                                 result = caseTableContent(tableContentWithoutValidation);
204:                         }
205:•                        if (result == null) {
206:                                 result = defaultCase(theEObject);
207:                         }
208:                         return result;
209:                 }
210:                 case TestPackage.TABLE_CONTENT_WITH_VALIDATION: {
211:                         final TableContentWithValidation tableContentWithValidation = (TableContentWithValidation) theEObject;
212:                         T result = caseTableContentWithValidation(tableContentWithValidation);
213:•                        if (result == null) {
214:                                 result = caseTableContent(tableContentWithValidation);
215:                         }
216:•                        if (result == null) {
217:                                 result = defaultCase(theEObject);
218:                         }
219:                         return result;
220:                 }
221:                 case TestPackage.TABLE_WITHOUT_MULTIPLICITY: {
222:                         final TableWithoutMultiplicity tableWithoutMultiplicity = (TableWithoutMultiplicity) theEObject;
223:                         T result = caseTableWithoutMultiplicity(tableWithoutMultiplicity);
224:•                        if (result == null) {
225:                                 result = caseTableObject(tableWithoutMultiplicity);
226:                         }
227:•                        if (result == null) {
228:                                 result = defaultCase(theEObject);
229:                         }
230:                         return result;
231:                 }
232:                 case TestPackage.TABLE_WITH_UNIQUE: {
233:                         final TableWithUnique tableWithUnique = (TableWithUnique) theEObject;
234:                         T result = caseTableWithUnique(tableWithUnique);
235:•                        if (result == null) {
236:                                 result = caseTableObject(tableWithUnique);
237:                         }
238:•                        if (result == null) {
239:                                 result = defaultCase(theEObject);
240:                         }
241:                         return result;
242:                 }
243:                 case TestPackage.TABLE_CONTENT_WITH_INNER_CHILD2: {
244:                         final TableContentWithInnerChild2 tableContentWithInnerChild2 = (TableContentWithInnerChild2) theEObject;
245:                         T result = caseTableContentWithInnerChild2(tableContentWithInnerChild2);
246:•                        if (result == null) {
247:                                 result = caseTableContent(tableContentWithInnerChild2);
248:                         }
249:•                        if (result == null) {
250:                                 result = defaultCase(theEObject);
251:                         }
252:                         return result;
253:                 }
254:                 case TestPackage.TABLE_CONTENT_WITH_INNER_CHILD: {
255:                         final TableContentWithInnerChild tableContentWithInnerChild = (TableContentWithInnerChild) theEObject;
256:                         T result = caseTableContentWithInnerChild(tableContentWithInnerChild);
257:•                        if (result == null) {
258:                                 result = caseTableContent(tableContentWithInnerChild);
259:                         }
260:•                        if (result == null) {
261:                                 result = defaultCase(theEObject);
262:                         }
263:                         return result;
264:                 }
265:                 case TestPackage.TABLE_WITHOUT_MULTIPLICITY_CONCRETE: {
266:                         final TableWithoutMultiplicityConcrete tableWithoutMultiplicityConcrete = (TableWithoutMultiplicityConcrete) theEObject;
267:                         T result = caseTableWithoutMultiplicityConcrete(tableWithoutMultiplicityConcrete);
268:•                        if (result == null) {
269:                                 result = caseTableObject(tableWithoutMultiplicityConcrete);
270:                         }
271:•                        if (result == null) {
272:                                 result = defaultCase(theEObject);
273:                         }
274:                         return result;
275:                 }
276:                 case TestPackage.REFERENCER: {
277:                         final Referencer referencer = (Referencer) theEObject;
278:                         T result = caseReferencer(referencer);
279:•                        if (result == null) {
280:                                 result = defaultCase(theEObject);
281:                         }
282:                         return result;
283:                 }
284:                 case TestPackage.CROSS_REFERENCE_CONTAINER: {
285:                         final CrossReferenceContainer crossReferenceContainer = (CrossReferenceContainer) theEObject;
286:                         T result = caseCrossReferenceContainer(crossReferenceContainer);
287:•                        if (result == null) {
288:                                 result = defaultCase(theEObject);
289:                         }
290:                         return result;
291:                 }
292:                 case TestPackage.CROSS_REFERENCE_CONTENT: {
293:                         final CrossReferenceContent crossReferenceContent = (CrossReferenceContent) theEObject;
294:                         T result = caseCrossReferenceContent(crossReferenceContent);
295:•                        if (result == null) {
296:                                 result = defaultCase(theEObject);
297:                         }
298:                         return result;
299:                 }
300:                 case TestPackage.PERSON: {
301:                         final Person person = (Person) theEObject;
302:                         T result = casePerson(person);
303:•                        if (result == null) {
304:                                 result = defaultCase(theEObject);
305:                         }
306:                         return result;
307:                 }
308:                 case TestPackage.TABLE_OBJECT: {
309:                         final TableObject tableObject = (TableObject) theEObject;
310:                         T result = caseTableObject(tableObject);
311:•                        if (result == null) {
312:                                 result = defaultCase(theEObject);
313:                         }
314:                         return result;
315:                 }
316:                 default:
317:                         return defaultCase(theEObject);
318:                 }
319:         }
320:
321:         /**
322:          * Returns the result of interpreting the object as an instance of '<em>Library</em>'.
323:          * <!-- begin-user-doc -->
324:          * This implementation returns null;
325:          * returning a non-null result will terminate the switch.
326:          * <!-- end-user-doc -->
327:          *
328:          * @param object the target of the switch.
329:          * @return the result of interpreting the object as an instance of '<em>Library</em>'.
330:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
331:          * @generated
332:          */
333:         public T caseLibrary(Library object) {
334:                 return null;
335:         }
336:
337:         /**
338:          * Returns the result of interpreting the object as an instance of '<em>Writer</em>'.
339:          * <!-- begin-user-doc -->
340:          * This implementation returns null;
341:          * returning a non-null result will terminate the switch.
342:          * <!-- end-user-doc -->
343:          *
344:          * @param object the target of the switch.
345:          * @return the result of interpreting the object as an instance of '<em>Writer</em>'.
346:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
347:          * @generated
348:          */
349:         public T caseWriter(Writer object) {
350:                 return null;
351:         }
352:
353:         /**
354:          * Returns the result of interpreting the object as an instance of '<em>Book</em>'.
355:          * <!-- begin-user-doc -->
356:          * This implementation returns null;
357:          * returning a non-null result will terminate the switch.
358:          * <!-- end-user-doc -->
359:          *
360:          * @param object the target of the switch.
361:          * @return the result of interpreting the object as an instance of '<em>Book</em>'.
362:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
363:          * @generated
364:          */
365:         public T caseBook(Book object) {
366:                 return null;
367:         }
368:
369:         /**
370:          * Returns the result of interpreting the object as an instance of '<em>Librarian</em>'.
371:          * <!-- begin-user-doc -->
372:          * This implementation returns null;
373:          * returning a non-null result will terminate the switch.
374:          * <!-- end-user-doc -->
375:          *
376:          * @param object the target of the switch.
377:          * @return the result of interpreting the object as an instance of '<em>Librarian</em>'.
378:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
379:          * @generated
380:          */
381:         public T caseLibrarian(Librarian object) {
382:                 return null;
383:         }
384:
385:         /**
386:          * Returns the result of interpreting the object as an instance of '<em>Computer</em>'.
387:          * <!-- begin-user-doc -->
388:          * This implementation returns null;
389:          * returning a non-null result will terminate the switch.
390:          * <!-- end-user-doc -->
391:          *
392:          * @param object the target of the switch.
393:          * @return the result of interpreting the object as an instance of '<em>Computer</em>'.
394:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
395:          * @generated
396:          */
397:         public T caseComputer(Computer object) {
398:                 return null;
399:         }
400:
401:         /**
402:          * Returns the result of interpreting the object as an instance of '<em>Mainboard</em>'.
403:          * <!-- begin-user-doc -->
404:          * This implementation returns null;
405:          * returning a non-null result will terminate the switch.
406:          * <!-- end-user-doc -->
407:          *
408:          * @param object the target of the switch.
409:          * @return the result of interpreting the object as an instance of '<em>Mainboard</em>'.
410:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
411:          * @generated
412:          */
413:         public T caseMainboard(Mainboard object) {
414:                 return null;
415:         }
416:
417:         /**
418:          * Returns the result of interpreting the object as an instance of '<em>Power Block</em>'.
419:          * <!-- begin-user-doc -->
420:          * This implementation returns null;
421:          * returning a non-null result will terminate the switch.
422:          * <!-- end-user-doc -->
423:          *
424:          * @param object the target of the switch.
425:          * @return the result of interpreting the object as an instance of '<em>Power Block</em>'.
426:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
427:          * @generated
428:          */
429:         public T casePowerBlock(PowerBlock object) {
430:                 return null;
431:         }
432:
433:         /**
434:          * Returns the result of interpreting the object as an instance of '<em>Container</em>'.
435:          * <!-- begin-user-doc -->
436:          * This implementation returns null;
437:          * returning a non-null result will terminate the switch.
438:          * <!-- end-user-doc -->
439:          *
440:          * @param object the target of the switch.
441:          * @return the result of interpreting the object as an instance of '<em>Container</em>'.
442:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
443:          * @generated
444:          */
445:         public T caseContainer(Container object) {
446:                 return null;
447:         }
448:
449:         /**
450:          * Returns the result of interpreting the object as an instance of '<em>Content</em>'.
451:          * <!-- begin-user-doc -->
452:          * This implementation returns null;
453:          * returning a non-null result will terminate the switch.
454:          * <!-- end-user-doc -->
455:          *
456:          * @param object the target of the switch.
457:          * @return the result of interpreting the object as an instance of '<em>Content</em>'.
458:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
459:          * @generated
460:          */
461:         public T caseContent(Content object) {
462:                 return null;
463:         }
464:
465:         /**
466:          * Returns the result of interpreting the object as an instance of '<em>Table With Multiplicity</em>'.
467:          * <!-- begin-user-doc -->
468:          * This implementation returns null;
469:          * returning a non-null result will terminate the switch.
470:          * <!-- end-user-doc -->
471:          *
472:          * @param object the target of the switch.
473:          * @return the result of interpreting the object as an instance of '<em>Table With Multiplicity</em>'.
474:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
475:          * @generated
476:          */
477:         public T caseTableWithMultiplicity(TableWithMultiplicity object) {
478:                 return null;
479:         }
480:
481:         /**
482:          * Returns the result of interpreting the object as an instance of '<em>Table Content</em>'.
483:          * <!-- begin-user-doc -->
484:          * This implementation returns null;
485:          * returning a non-null result will terminate the switch.
486:          * <!-- end-user-doc -->
487:          *
488:          * @param object the target of the switch.
489:          * @return the result of interpreting the object as an instance of '<em>Table Content</em>'.
490:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
491:          * @generated
492:          */
493:         public T caseTableContent(TableContent object) {
494:                 return null;
495:         }
496:
497:         /**
498:          * Returns the result of interpreting the object as an instance of '<em>Table Content Without Validation</em>'.
499:          * <!-- begin-user-doc -->
500:          * This implementation returns null;
501:          * returning a non-null result will terminate the switch.
502:          * <!-- end-user-doc -->
503:          *
504:          * @param object the target of the switch.
505:          * @return the result of interpreting the object as an instance of '<em>Table Content Without Validation</em>'.
506:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
507:          * @generated
508:          */
509:         public T caseTableContentWithoutValidation(TableContentWithoutValidation object) {
510:                 return null;
511:         }
512:
513:         /**
514:          * Returns the result of interpreting the object as an instance of '<em>Table Content With Validation</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:          *
520:          * @param object the target of the switch.
521:          * @return the result of interpreting the object as an instance of '<em>Table Content With Validation</em>'.
522:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
523:          * @generated
524:          */
525:         public T caseTableContentWithValidation(TableContentWithValidation object) {
526:                 return null;
527:         }
528:
529:         /**
530:          * Returns the result of interpreting the object as an instance of '<em>Table Without Multiplicity</em>'.
531:          * <!-- begin-user-doc -->
532:          * This implementation returns null;
533:          * returning a non-null result will terminate the switch.
534:          * <!-- end-user-doc -->
535:          *
536:          * @param object the target of the switch.
537:          * @return the result of interpreting the object as an instance of '<em>Table Without Multiplicity</em>'.
538:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
539:          * @generated
540:          */
541:         public T caseTableWithoutMultiplicity(TableWithoutMultiplicity object) {
542:                 return null;
543:         }
544:
545:         /**
546:          * Returns the result of interpreting the object as an instance of '<em>Table With Unique</em>'.
547:          * <!-- begin-user-doc -->
548:          * This implementation returns null;
549:          * returning a non-null result will terminate the switch.
550:          * <!-- end-user-doc -->
551:          *
552:          * @param object the target of the switch.
553:          * @return the result of interpreting the object as an instance of '<em>Table With Unique</em>'.
554:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
555:          * @generated
556:          */
557:         public T caseTableWithUnique(TableWithUnique object) {
558:                 return null;
559:         }
560:
561:         /**
562:          * Returns the result of interpreting the object as an instance of '<em>Table Content With Inner Child2</em>'.
563:          * <!-- begin-user-doc -->
564:          * This implementation returns null;
565:          * returning a non-null result will terminate the switch.
566:          * <!-- end-user-doc -->
567:          *
568:          * @param object the target of the switch.
569:          * @return the result of interpreting the object as an instance of '<em>Table Content With Inner Child2</em>'.
570:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
571:          * @generated
572:          */
573:         public T caseTableContentWithInnerChild2(TableContentWithInnerChild2 object) {
574:                 return null;
575:         }
576:
577:         /**
578:          * Returns the result of interpreting the object as an instance of '<em>Table Content With Inner Child</em>'.
579:          * <!-- begin-user-doc -->
580:          * This implementation returns null;
581:          * returning a non-null result will terminate the switch.
582:          * <!-- end-user-doc -->
583:          *
584:          * @param object the target of the switch.
585:          * @return the result of interpreting the object as an instance of '<em>Table Content With Inner Child</em>'.
586:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
587:          * @generated
588:          */
589:         public T caseTableContentWithInnerChild(TableContentWithInnerChild object) {
590:                 return null;
591:         }
592:
593:         /**
594:          * Returns the result of interpreting the object as an instance of '<em>Table Without Multiplicity Concrete</em>'.
595:          * <!-- begin-user-doc -->
596:          * This implementation returns null;
597:          * returning a non-null result will terminate the switch.
598:          * <!-- end-user-doc -->
599:          *
600:          * @param object the target of the switch.
601:          * @return the result of interpreting the object as an instance of '<em>Table Without Multiplicity Concrete</em>'.
602:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
603:          * @generated
604:          */
605:         public T caseTableWithoutMultiplicityConcrete(TableWithoutMultiplicityConcrete object) {
606:                 return null;
607:         }
608:
609:         /**
610:          * Returns the result of interpreting the object as an instance of '<em>Referencer</em>'.
611:          * <!-- begin-user-doc -->
612:          * This implementation returns null;
613:          * returning a non-null result will terminate the switch.
614:          * <!-- end-user-doc -->
615:          *
616:          * @param object the target of the switch.
617:          * @return the result of interpreting the object as an instance of '<em>Referencer</em>'.
618:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
619:          * @generated
620:          */
621:         public T caseReferencer(Referencer object) {
622:                 return null;
623:         }
624:
625:         /**
626:          * Returns the result of interpreting the object as an instance of '<em>Cross Reference Container</em>'.
627:          * <!-- begin-user-doc -->
628:          * This implementation returns null;
629:          * returning a non-null result will terminate the switch.
630:          * <!-- end-user-doc -->
631:          *
632:          * @param object the target of the switch.
633:          * @return the result of interpreting the object as an instance of '<em>Cross Reference Container</em>'.
634:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
635:          * @generated
636:          */
637:         public T caseCrossReferenceContainer(CrossReferenceContainer object) {
638:                 return null;
639:         }
640:
641:         /**
642:          * Returns the result of interpreting the object as an instance of '<em>Cross Reference Content</em>'.
643:          * <!-- begin-user-doc -->
644:          * This implementation returns null;
645:          * returning a non-null result will terminate the switch.
646:          * <!-- end-user-doc -->
647:          *
648:          * @param object the target of the switch.
649:          * @return the result of interpreting the object as an instance of '<em>Cross Reference Content</em>'.
650:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
651:          * @generated
652:          */
653:         public T caseCrossReferenceContent(CrossReferenceContent object) {
654:                 return null;
655:         }
656:
657:         /**
658:          * Returns the result of interpreting the object as an instance of '<em>Person</em>'.
659:          * <!-- begin-user-doc -->
660:          * This implementation returns null;
661:          * returning a non-null result will terminate the switch.
662:          * <!-- end-user-doc -->
663:          *
664:          * @param object the target of the switch.
665:          * @return the result of interpreting the object as an instance of '<em>Person</em>'.
666:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
667:          * @generated
668:          */
669:         public T casePerson(Person object) {
670:                 return null;
671:         }
672:
673:         /**
674:          * Returns the result of interpreting the object as an instance of '<em>Table Object</em>'.
675:          * <!-- begin-user-doc -->
676:          * This implementation returns null;
677:          * returning a non-null result will terminate the switch.
678:          * <!-- end-user-doc -->
679:          *
680:          * @param object the target of the switch.
681:          * @return the result of interpreting the object as an instance of '<em>Table Object</em>'.
682:          * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
683:          * @generated
684:          */
685:         public T caseTableObject(TableObject object) {
686:                 return null;
687:         }
688:
689:         /**
690:          * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
691:          * <!-- begin-user-doc -->
692:          * This implementation returns null;
693:          * returning a non-null result will terminate the switch, but this is the last case anyway.
694:          * <!-- end-user-doc -->
695:          *
696:          * @param object the target of the switch.
697:          * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
698:          * @see #doSwitch(org.eclipse.emf.ecore.EObject)
699:          * @generated
700:          */
701:         @Override
702:         public T defaultCase(EObject object) {
703:                 return null;
704:         }
705:
706: } // TestSwitch