aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util
diff options
context:
space:
mode:
authorLibravatar Aren Babikian <aren.babikian@mail.mcgill.ca>2021-01-05 23:25:31 +0100
committerLibravatar Aren Babikian <aren.babikian@mail.mcgill.ca>2021-01-05 23:25:31 +0100
commitb56ffa39489d6d0bd94ae2adddbd41320736c7cc (patch)
tree362fc92957e914beaa98103132c11cb704c8f8ec /Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util
parentadd notebook for generating plots (diff)
downloadVIATRA-Generator-b56ffa39489d6d0bd94ae2adddbd41320736c7cc.tar.gz
VIATRA-Generator-b56ffa39489d6d0bd94ae2adddbd41320736c7cc.tar.zst
VIATRA-Generator-b56ffa39489d6d0bd94ae2adddbd41320736c7cc.zip
add readme and diversity measurementsmodels20-measurements
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util')
-rw-r--r--Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootAdapterFactory.java984
-rw-r--r--Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootSwitch.java1163
2 files changed, 2147 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootAdapterFactory.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootAdapterFactory.java
new file mode 100644
index 00000000..bc6cd6e2
--- /dev/null
+++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootAdapterFactory.java
@@ -0,0 +1,984 @@
1/**
2 */
3package TaxationWithRoot.util;
4
5import TaxationWithRoot.*;
6
7import org.eclipse.emf.common.notify.Adapter;
8import org.eclipse.emf.common.notify.Notifier;
9
10import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
11
12import org.eclipse.emf.ecore.EObject;
13
14/**
15 * <!-- begin-user-doc -->
16 * The <b>Adapter Factory</b> for the model.
17 * It provides an adapter <code>createXXX</code> method for each class of the model.
18 * <!-- end-user-doc -->
19 * @see TaxationWithRoot.TaxationWithRootPackage
20 * @generated
21 */
22public class TaxationWithRootAdapterFactory extends AdapterFactoryImpl {
23 /**
24 * The cached model package.
25 * <!-- begin-user-doc -->
26 * <!-- end-user-doc -->
27 * @generated
28 */
29 protected static TaxationWithRootPackage modelPackage;
30
31 /**
32 * Creates an instance of the adapter factory.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @generated
36 */
37 public TaxationWithRootAdapterFactory() {
38 if (modelPackage == null) {
39 modelPackage = TaxationWithRootPackage.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 TaxationWithRootSwitch<Adapter> modelSwitch =
69 new TaxationWithRootSwitch<Adapter>() {
70 @Override
71 public Adapter caseConstants(Constants object) {
72 return createConstantsAdapter();
73 }
74 @Override
75 public Adapter caseIncome_Tax(Income_Tax object) {
76 return createIncome_TaxAdapter();
77 }
78 @Override
79 public Adapter caseTax_Payer(Tax_Payer object) {
80 return createTax_PayerAdapter();
81 }
82 @Override
83 public Adapter casePhysical_Person(Physical_Person object) {
84 return createPhysical_PersonAdapter();
85 }
86 @Override
87 public Adapter caseAddress(Address object) {
88 return createAddressAdapter();
89 }
90 @Override
91 public Adapter caseExpense(Expense object) {
92 return createExpenseAdapter();
93 }
94 @Override
95 public Adapter caseDependent(Dependent object) {
96 return createDependentAdapter();
97 }
98 @Override
99 public Adapter caseExternal_Allowance(External_Allowance object) {
100 return createExternal_AllowanceAdapter();
101 }
102 @Override
103 public Adapter caseHousehold(Household object) {
104 return createHouseholdAdapter();
105 }
106 @Override
107 public Adapter caseLegal_Union_Record(Legal_Union_Record object) {
108 return createLegal_Union_RecordAdapter();
109 }
110 @Override
111 public Adapter caseTax_Property(Tax_Property object) {
112 return createTax_PropertyAdapter();
113 }
114 @Override
115 public Adapter caseTax_Case(Tax_Case object) {
116 return createTax_CaseAdapter();
117 }
118 @Override
119 public Adapter caseFromAgent(FromAgent object) {
120 return createFromAgentAdapter();
121 }
122 @Override
123 public Adapter caseIncome(Income object) {
124 return createIncomeAdapter();
125 }
126 @Override
127 public Adapter caseIncome_Type(Income_Type object) {
128 return createIncome_TypeAdapter();
129 }
130 @Override
131 public Adapter caseTax_Card(Tax_Card object) {
132 return createTax_CardAdapter();
133 }
134 @Override
135 public Adapter caseIncome_Tax_Credit(Income_Tax_Credit object) {
136 return createIncome_Tax_CreditAdapter();
137 }
138 @Override
139 public Adapter caseIncome_Detail(Income_Detail object) {
140 return createIncome_DetailAdapter();
141 }
142 @Override
143 public Adapter caseFromLaw(FromLaw object) {
144 return createFromLawAdapter();
145 }
146 @Override
147 public Adapter caseFiscal_Address(Fiscal_Address object) {
148 return createFiscal_AddressAdapter();
149 }
150 @Override
151 public Adapter caseHabitual_Address(Habitual_Address object) {
152 return createHabitual_AddressAdapter();
153 }
154 @Override
155 public Adapter caseMarriage_Record(Marriage_Record object) {
156 return createMarriage_RecordAdapter();
157 }
158 @Override
159 public Adapter caseNon_Resident_Tax_Payer(Non_Resident_Tax_Payer object) {
160 return createNon_Resident_Tax_PayerAdapter();
161 }
162 @Override
163 public Adapter casePartnership_Record(Partnership_Record object) {
164 return createPartnership_RecordAdapter();
165 }
166 @Override
167 public Adapter caseResident_Tax_Payer(Resident_Tax_Payer object) {
168 return createResident_Tax_PayerAdapter();
169 }
170 @Override
171 public Adapter caseTrade_and_Business_Income(Trade_and_Business_Income object) {
172 return createTrade_and_Business_IncomeAdapter();
173 }
174 @Override
175 public Adapter caseAgriculture_and_Forestry_Income(Agriculture_and_Forestry_Income object) {
176 return createAgriculture_and_Forestry_IncomeAdapter();
177 }
178 @Override
179 public Adapter casePensions_and_Annuities_Income(Pensions_and_Annuities_Income object) {
180 return createPensions_and_Annuities_IncomeAdapter();
181 }
182 @Override
183 public Adapter caseCapital_and_Investments_Income(Capital_and_Investments_Income object) {
184 return createCapital_and_Investments_IncomeAdapter();
185 }
186 @Override
187 public Adapter caseEmployment_Income(Employment_Income object) {
188 return createEmployment_IncomeAdapter();
189 }
190 @Override
191 public Adapter caseRentals_and_Leases_Income(Rentals_and_Leases_Income object) {
192 return createRentals_and_Leases_IncomeAdapter();
193 }
194 @Override
195 public Adapter caseForeign_Income(Foreign_Income object) {
196 return createForeign_IncomeAdapter();
197 }
198 @Override
199 public Adapter caseLocal_Income(Local_Income object) {
200 return createLocal_IncomeAdapter();
201 }
202 @Override
203 public Adapter caseCIM(CIM object) {
204 return createCIMAdapter();
205 }
206 @Override
207 public Adapter caseCIP(CIP object) {
208 return createCIPAdapter();
209 }
210 @Override
211 public Adapter caseCIS(CIS object) {
212 return createCISAdapter();
213 }
214 @Override
215 public Adapter casePermanent_Expense(Permanent_Expense object) {
216 return createPermanent_ExpenseAdapter();
217 }
218 @Override
219 public Adapter caseSpecial_Expense_DS(Special_Expense_DS object) {
220 return createSpecial_Expense_DSAdapter();
221 }
222 @Override
223 public Adapter caseInterest_Expense(Interest_Expense object) {
224 return createInterest_ExpenseAdapter();
225 }
226 @Override
227 public Adapter casePrivate_Insurance_and_Plan(Private_Insurance_and_Plan object) {
228 return createPrivate_Insurance_and_PlanAdapter();
229 }
230 @Override
231 public Adapter caseHealth_and_Pension_Insurance(Health_and_Pension_Insurance object) {
232 return createHealth_and_Pension_InsuranceAdapter();
233 }
234 @Override
235 public Adapter caseDonation(Donation object) {
236 return createDonationAdapter();
237 }
238 @Override
239 public Adapter caseLoss_Carryforward(Loss_Carryforward object) {
240 return createLoss_CarryforwardAdapter();
241 }
242 @Override
243 public Adapter caseSpousal_Expense_AC(Spousal_Expense_AC object) {
244 return createSpousal_Expense_ACAdapter();
245 }
246 @Override
247 public Adapter caseExtraordinary_Expense_CE(Extraordinary_Expense_CE object) {
248 return createExtraordinary_Expense_CEAdapter();
249 }
250 @Override
251 public Adapter caseTravel_Expense_FD(Travel_Expense_FD object) {
252 return createTravel_Expense_FDAdapter();
253 }
254 @Override
255 public Adapter caseProfessional_Expense(Professional_Expense object) {
256 return createProfessional_ExpenseAdapter();
257 }
258 @Override
259 public Adapter caseMiscellaneous_Expense_FO(Miscellaneous_Expense_FO object) {
260 return createMiscellaneous_Expense_FOAdapter();
261 }
262 @Override
263 public Adapter caseResource(Resource object) {
264 return createResourceAdapter();
265 }
266 @Override
267 public Adapter defaultCase(EObject object) {
268 return createEObjectAdapter();
269 }
270 };
271
272 /**
273 * Creates an adapter for the <code>target</code>.
274 * <!-- begin-user-doc -->
275 * <!-- end-user-doc -->
276 * @param target the object to adapt.
277 * @return the adapter for the <code>target</code>.
278 * @generated
279 */
280 @Override
281 public Adapter createAdapter(Notifier target) {
282 return modelSwitch.doSwitch((EObject)target);
283 }
284
285
286 /**
287 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Constants <em>Constants</em>}'.
288 * <!-- begin-user-doc -->
289 * This default implementation returns null so that we can easily ignore cases;
290 * it's useful to ignore a case when inheritance will catch all the cases anyway.
291 * <!-- end-user-doc -->
292 * @return the new adapter.
293 * @see TaxationWithRoot.Constants
294 * @generated
295 */
296 public Adapter createConstantsAdapter() {
297 return null;
298 }
299
300 /**
301 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Income_Tax <em>Income Tax</em>}'.
302 * <!-- begin-user-doc -->
303 * This default implementation returns null so that we can easily ignore cases;
304 * it's useful to ignore a case when inheritance will catch all the cases anyway.
305 * <!-- end-user-doc -->
306 * @return the new adapter.
307 * @see TaxationWithRoot.Income_Tax
308 * @generated
309 */
310 public Adapter createIncome_TaxAdapter() {
311 return null;
312 }
313
314 /**
315 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Tax_Payer <em>Tax Payer</em>}'.
316 * <!-- begin-user-doc -->
317 * This default implementation returns null so that we can easily ignore cases;
318 * it's useful to ignore a case when inheritance will catch all the cases anyway.
319 * <!-- end-user-doc -->
320 * @return the new adapter.
321 * @see TaxationWithRoot.Tax_Payer
322 * @generated
323 */
324 public Adapter createTax_PayerAdapter() {
325 return null;
326 }
327
328 /**
329 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Physical_Person <em>Physical Person</em>}'.
330 * <!-- begin-user-doc -->
331 * This default implementation returns null so that we can easily ignore cases;
332 * it's useful to ignore a case when inheritance will catch all the cases anyway.
333 * <!-- end-user-doc -->
334 * @return the new adapter.
335 * @see TaxationWithRoot.Physical_Person
336 * @generated
337 */
338 public Adapter createPhysical_PersonAdapter() {
339 return null;
340 }
341
342 /**
343 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Address <em>Address</em>}'.
344 * <!-- begin-user-doc -->
345 * This default implementation returns null so that we can easily ignore cases;
346 * it's useful to ignore a case when inheritance will catch all the cases anyway.
347 * <!-- end-user-doc -->
348 * @return the new adapter.
349 * @see TaxationWithRoot.Address
350 * @generated
351 */
352 public Adapter createAddressAdapter() {
353 return null;
354 }
355
356 /**
357 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Expense <em>Expense</em>}'.
358 * <!-- begin-user-doc -->
359 * This default implementation returns null so that we can easily ignore cases;
360 * it's useful to ignore a case when inheritance will catch all the cases anyway.
361 * <!-- end-user-doc -->
362 * @return the new adapter.
363 * @see TaxationWithRoot.Expense
364 * @generated
365 */
366 public Adapter createExpenseAdapter() {
367 return null;
368 }
369
370 /**
371 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Dependent <em>Dependent</em>}'.
372 * <!-- begin-user-doc -->
373 * This default implementation returns null so that we can easily ignore cases;
374 * it's useful to ignore a case when inheritance will catch all the cases anyway.
375 * <!-- end-user-doc -->
376 * @return the new adapter.
377 * @see TaxationWithRoot.Dependent
378 * @generated
379 */
380 public Adapter createDependentAdapter() {
381 return null;
382 }
383
384 /**
385 * Creates a new adapter for an object of class '{@link TaxationWithRoot.External_Allowance <em>External Allowance</em>}'.
386 * <!-- begin-user-doc -->
387 * This default implementation returns null so that we can easily ignore cases;
388 * it's useful to ignore a case when inheritance will catch all the cases anyway.
389 * <!-- end-user-doc -->
390 * @return the new adapter.
391 * @see TaxationWithRoot.External_Allowance
392 * @generated
393 */
394 public Adapter createExternal_AllowanceAdapter() {
395 return null;
396 }
397
398 /**
399 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Household <em>Household</em>}'.
400 * <!-- begin-user-doc -->
401 * This default implementation returns null so that we can easily ignore cases;
402 * it's useful to ignore a case when inheritance will catch all the cases anyway.
403 * <!-- end-user-doc -->
404 * @return the new adapter.
405 * @see TaxationWithRoot.Household
406 * @generated
407 */
408 public Adapter createHouseholdAdapter() {
409 return null;
410 }
411
412 /**
413 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Legal_Union_Record <em>Legal Union Record</em>}'.
414 * <!-- begin-user-doc -->
415 * This default implementation returns null so that we can easily ignore cases;
416 * it's useful to ignore a case when inheritance will catch all the cases anyway.
417 * <!-- end-user-doc -->
418 * @return the new adapter.
419 * @see TaxationWithRoot.Legal_Union_Record
420 * @generated
421 */
422 public Adapter createLegal_Union_RecordAdapter() {
423 return null;
424 }
425
426 /**
427 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Tax_Property <em>Tax Property</em>}'.
428 * <!-- begin-user-doc -->
429 * This default implementation returns null so that we can easily ignore cases;
430 * it's useful to ignore a case when inheritance will catch all the cases anyway.
431 * <!-- end-user-doc -->
432 * @return the new adapter.
433 * @see TaxationWithRoot.Tax_Property
434 * @generated
435 */
436 public Adapter createTax_PropertyAdapter() {
437 return null;
438 }
439
440 /**
441 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Tax_Case <em>Tax Case</em>}'.
442 * <!-- begin-user-doc -->
443 * This default implementation returns null so that we can easily ignore cases;
444 * it's useful to ignore a case when inheritance will catch all the cases anyway.
445 * <!-- end-user-doc -->
446 * @return the new adapter.
447 * @see TaxationWithRoot.Tax_Case
448 * @generated
449 */
450 public Adapter createTax_CaseAdapter() {
451 return null;
452 }
453
454 /**
455 * Creates a new adapter for an object of class '{@link TaxationWithRoot.FromAgent <em>From Agent</em>}'.
456 * <!-- begin-user-doc -->
457 * This default implementation returns null so that we can easily ignore cases;
458 * it's useful to ignore a case when inheritance will catch all the cases anyway.
459 * <!-- end-user-doc -->
460 * @return the new adapter.
461 * @see TaxationWithRoot.FromAgent
462 * @generated
463 */
464 public Adapter createFromAgentAdapter() {
465 return null;
466 }
467
468 /**
469 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Income <em>Income</em>}'.
470 * <!-- begin-user-doc -->
471 * This default implementation returns null so that we can easily ignore cases;
472 * it's useful to ignore a case when inheritance will catch all the cases anyway.
473 * <!-- end-user-doc -->
474 * @return the new adapter.
475 * @see TaxationWithRoot.Income
476 * @generated
477 */
478 public Adapter createIncomeAdapter() {
479 return null;
480 }
481
482 /**
483 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Income_Type <em>Income Type</em>}'.
484 * <!-- begin-user-doc -->
485 * This default implementation returns null so that we can easily ignore cases;
486 * it's useful to ignore a case when inheritance will catch all the cases anyway.
487 * <!-- end-user-doc -->
488 * @return the new adapter.
489 * @see TaxationWithRoot.Income_Type
490 * @generated
491 */
492 public Adapter createIncome_TypeAdapter() {
493 return null;
494 }
495
496 /**
497 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Tax_Card <em>Tax Card</em>}'.
498 * <!-- begin-user-doc -->
499 * This default implementation returns null so that we can easily ignore cases;
500 * it's useful to ignore a case when inheritance will catch all the cases anyway.
501 * <!-- end-user-doc -->
502 * @return the new adapter.
503 * @see TaxationWithRoot.Tax_Card
504 * @generated
505 */
506 public Adapter createTax_CardAdapter() {
507 return null;
508 }
509
510 /**
511 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Income_Tax_Credit <em>Income Tax Credit</em>}'.
512 * <!-- begin-user-doc -->
513 * This default implementation returns null so that we can easily ignore cases;
514 * it's useful to ignore a case when inheritance will catch all the cases anyway.
515 * <!-- end-user-doc -->
516 * @return the new adapter.
517 * @see TaxationWithRoot.Income_Tax_Credit
518 * @generated
519 */
520 public Adapter createIncome_Tax_CreditAdapter() {
521 return null;
522 }
523
524 /**
525 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Income_Detail <em>Income Detail</em>}'.
526 * <!-- begin-user-doc -->
527 * This default implementation returns null so that we can easily ignore cases;
528 * it's useful to ignore a case when inheritance will catch all the cases anyway.
529 * <!-- end-user-doc -->
530 * @return the new adapter.
531 * @see TaxationWithRoot.Income_Detail
532 * @generated
533 */
534 public Adapter createIncome_DetailAdapter() {
535 return null;
536 }
537
538 /**
539 * Creates a new adapter for an object of class '{@link TaxationWithRoot.FromLaw <em>From Law</em>}'.
540 * <!-- begin-user-doc -->
541 * This default implementation returns null so that we can easily ignore cases;
542 * it's useful to ignore a case when inheritance will catch all the cases anyway.
543 * <!-- end-user-doc -->
544 * @return the new adapter.
545 * @see TaxationWithRoot.FromLaw
546 * @generated
547 */
548 public Adapter createFromLawAdapter() {
549 return null;
550 }
551
552 /**
553 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Fiscal_Address <em>Fiscal Address</em>}'.
554 * <!-- begin-user-doc -->
555 * This default implementation returns null so that we can easily ignore cases;
556 * it's useful to ignore a case when inheritance will catch all the cases anyway.
557 * <!-- end-user-doc -->
558 * @return the new adapter.
559 * @see TaxationWithRoot.Fiscal_Address
560 * @generated
561 */
562 public Adapter createFiscal_AddressAdapter() {
563 return null;
564 }
565
566 /**
567 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Habitual_Address <em>Habitual Address</em>}'.
568 * <!-- begin-user-doc -->
569 * This default implementation returns null so that we can easily ignore cases;
570 * it's useful to ignore a case when inheritance will catch all the cases anyway.
571 * <!-- end-user-doc -->
572 * @return the new adapter.
573 * @see TaxationWithRoot.Habitual_Address
574 * @generated
575 */
576 public Adapter createHabitual_AddressAdapter() {
577 return null;
578 }
579
580 /**
581 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Marriage_Record <em>Marriage Record</em>}'.
582 * <!-- begin-user-doc -->
583 * This default implementation returns null so that we can easily ignore cases;
584 * it's useful to ignore a case when inheritance will catch all the cases anyway.
585 * <!-- end-user-doc -->
586 * @return the new adapter.
587 * @see TaxationWithRoot.Marriage_Record
588 * @generated
589 */
590 public Adapter createMarriage_RecordAdapter() {
591 return null;
592 }
593
594 /**
595 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Non_Resident_Tax_Payer <em>Non Resident Tax Payer</em>}'.
596 * <!-- begin-user-doc -->
597 * This default implementation returns null so that we can easily ignore cases;
598 * it's useful to ignore a case when inheritance will catch all the cases anyway.
599 * <!-- end-user-doc -->
600 * @return the new adapter.
601 * @see TaxationWithRoot.Non_Resident_Tax_Payer
602 * @generated
603 */
604 public Adapter createNon_Resident_Tax_PayerAdapter() {
605 return null;
606 }
607
608 /**
609 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Partnership_Record <em>Partnership Record</em>}'.
610 * <!-- begin-user-doc -->
611 * This default implementation returns null so that we can easily ignore cases;
612 * it's useful to ignore a case when inheritance will catch all the cases anyway.
613 * <!-- end-user-doc -->
614 * @return the new adapter.
615 * @see TaxationWithRoot.Partnership_Record
616 * @generated
617 */
618 public Adapter createPartnership_RecordAdapter() {
619 return null;
620 }
621
622 /**
623 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Resident_Tax_Payer <em>Resident Tax Payer</em>}'.
624 * <!-- begin-user-doc -->
625 * This default implementation returns null so that we can easily ignore cases;
626 * it's useful to ignore a case when inheritance will catch all the cases anyway.
627 * <!-- end-user-doc -->
628 * @return the new adapter.
629 * @see TaxationWithRoot.Resident_Tax_Payer
630 * @generated
631 */
632 public Adapter createResident_Tax_PayerAdapter() {
633 return null;
634 }
635
636 /**
637 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Trade_and_Business_Income <em>Trade and Business Income</em>}'.
638 * <!-- begin-user-doc -->
639 * This default implementation returns null so that we can easily ignore cases;
640 * it's useful to ignore a case when inheritance will catch all the cases anyway.
641 * <!-- end-user-doc -->
642 * @return the new adapter.
643 * @see TaxationWithRoot.Trade_and_Business_Income
644 * @generated
645 */
646 public Adapter createTrade_and_Business_IncomeAdapter() {
647 return null;
648 }
649
650 /**
651 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Agriculture_and_Forestry_Income <em>Agriculture and Forestry Income</em>}'.
652 * <!-- begin-user-doc -->
653 * This default implementation returns null so that we can easily ignore cases;
654 * it's useful to ignore a case when inheritance will catch all the cases anyway.
655 * <!-- end-user-doc -->
656 * @return the new adapter.
657 * @see TaxationWithRoot.Agriculture_and_Forestry_Income
658 * @generated
659 */
660 public Adapter createAgriculture_and_Forestry_IncomeAdapter() {
661 return null;
662 }
663
664 /**
665 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Pensions_and_Annuities_Income <em>Pensions and Annuities Income</em>}'.
666 * <!-- begin-user-doc -->
667 * This default implementation returns null so that we can easily ignore cases;
668 * it's useful to ignore a case when inheritance will catch all the cases anyway.
669 * <!-- end-user-doc -->
670 * @return the new adapter.
671 * @see TaxationWithRoot.Pensions_and_Annuities_Income
672 * @generated
673 */
674 public Adapter createPensions_and_Annuities_IncomeAdapter() {
675 return null;
676 }
677
678 /**
679 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Capital_and_Investments_Income <em>Capital and Investments Income</em>}'.
680 * <!-- begin-user-doc -->
681 * This default implementation returns null so that we can easily ignore cases;
682 * it's useful to ignore a case when inheritance will catch all the cases anyway.
683 * <!-- end-user-doc -->
684 * @return the new adapter.
685 * @see TaxationWithRoot.Capital_and_Investments_Income
686 * @generated
687 */
688 public Adapter createCapital_and_Investments_IncomeAdapter() {
689 return null;
690 }
691
692 /**
693 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Employment_Income <em>Employment Income</em>}'.
694 * <!-- begin-user-doc -->
695 * This default implementation returns null so that we can easily ignore cases;
696 * it's useful to ignore a case when inheritance will catch all the cases anyway.
697 * <!-- end-user-doc -->
698 * @return the new adapter.
699 * @see TaxationWithRoot.Employment_Income
700 * @generated
701 */
702 public Adapter createEmployment_IncomeAdapter() {
703 return null;
704 }
705
706 /**
707 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Rentals_and_Leases_Income <em>Rentals and Leases Income</em>}'.
708 * <!-- begin-user-doc -->
709 * This default implementation returns null so that we can easily ignore cases;
710 * it's useful to ignore a case when inheritance will catch all the cases anyway.
711 * <!-- end-user-doc -->
712 * @return the new adapter.
713 * @see TaxationWithRoot.Rentals_and_Leases_Income
714 * @generated
715 */
716 public Adapter createRentals_and_Leases_IncomeAdapter() {
717 return null;
718 }
719
720 /**
721 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Foreign_Income <em>Foreign Income</em>}'.
722 * <!-- begin-user-doc -->
723 * This default implementation returns null so that we can easily ignore cases;
724 * it's useful to ignore a case when inheritance will catch all the cases anyway.
725 * <!-- end-user-doc -->
726 * @return the new adapter.
727 * @see TaxationWithRoot.Foreign_Income
728 * @generated
729 */
730 public Adapter createForeign_IncomeAdapter() {
731 return null;
732 }
733
734 /**
735 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Local_Income <em>Local Income</em>}'.
736 * <!-- begin-user-doc -->
737 * This default implementation returns null so that we can easily ignore cases;
738 * it's useful to ignore a case when inheritance will catch all the cases anyway.
739 * <!-- end-user-doc -->
740 * @return the new adapter.
741 * @see TaxationWithRoot.Local_Income
742 * @generated
743 */
744 public Adapter createLocal_IncomeAdapter() {
745 return null;
746 }
747
748 /**
749 * Creates a new adapter for an object of class '{@link TaxationWithRoot.CIM <em>CIM</em>}'.
750 * <!-- begin-user-doc -->
751 * This default implementation returns null so that we can easily ignore cases;
752 * it's useful to ignore a case when inheritance will catch all the cases anyway.
753 * <!-- end-user-doc -->
754 * @return the new adapter.
755 * @see TaxationWithRoot.CIM
756 * @generated
757 */
758 public Adapter createCIMAdapter() {
759 return null;
760 }
761
762 /**
763 * Creates a new adapter for an object of class '{@link TaxationWithRoot.CIP <em>CIP</em>}'.
764 * <!-- begin-user-doc -->
765 * This default implementation returns null so that we can easily ignore cases;
766 * it's useful to ignore a case when inheritance will catch all the cases anyway.
767 * <!-- end-user-doc -->
768 * @return the new adapter.
769 * @see TaxationWithRoot.CIP
770 * @generated
771 */
772 public Adapter createCIPAdapter() {
773 return null;
774 }
775
776 /**
777 * Creates a new adapter for an object of class '{@link TaxationWithRoot.CIS <em>CIS</em>}'.
778 * <!-- begin-user-doc -->
779 * This default implementation returns null so that we can easily ignore cases;
780 * it's useful to ignore a case when inheritance will catch all the cases anyway.
781 * <!-- end-user-doc -->
782 * @return the new adapter.
783 * @see TaxationWithRoot.CIS
784 * @generated
785 */
786 public Adapter createCISAdapter() {
787 return null;
788 }
789
790 /**
791 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Permanent_Expense <em>Permanent Expense</em>}'.
792 * <!-- begin-user-doc -->
793 * This default implementation returns null so that we can easily ignore cases;
794 * it's useful to ignore a case when inheritance will catch all the cases anyway.
795 * <!-- end-user-doc -->
796 * @return the new adapter.
797 * @see TaxationWithRoot.Permanent_Expense
798 * @generated
799 */
800 public Adapter createPermanent_ExpenseAdapter() {
801 return null;
802 }
803
804 /**
805 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Special_Expense_DS <em>Special Expense DS</em>}'.
806 * <!-- begin-user-doc -->
807 * This default implementation returns null so that we can easily ignore cases;
808 * it's useful to ignore a case when inheritance will catch all the cases anyway.
809 * <!-- end-user-doc -->
810 * @return the new adapter.
811 * @see TaxationWithRoot.Special_Expense_DS
812 * @generated
813 */
814 public Adapter createSpecial_Expense_DSAdapter() {
815 return null;
816 }
817
818 /**
819 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Interest_Expense <em>Interest Expense</em>}'.
820 * <!-- begin-user-doc -->
821 * This default implementation returns null so that we can easily ignore cases;
822 * it's useful to ignore a case when inheritance will catch all the cases anyway.
823 * <!-- end-user-doc -->
824 * @return the new adapter.
825 * @see TaxationWithRoot.Interest_Expense
826 * @generated
827 */
828 public Adapter createInterest_ExpenseAdapter() {
829 return null;
830 }
831
832 /**
833 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Private_Insurance_and_Plan <em>Private Insurance and Plan</em>}'.
834 * <!-- begin-user-doc -->
835 * This default implementation returns null so that we can easily ignore cases;
836 * it's useful to ignore a case when inheritance will catch all the cases anyway.
837 * <!-- end-user-doc -->
838 * @return the new adapter.
839 * @see TaxationWithRoot.Private_Insurance_and_Plan
840 * @generated
841 */
842 public Adapter createPrivate_Insurance_and_PlanAdapter() {
843 return null;
844 }
845
846 /**
847 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Health_and_Pension_Insurance <em>Health and Pension Insurance</em>}'.
848 * <!-- begin-user-doc -->
849 * This default implementation returns null so that we can easily ignore cases;
850 * it's useful to ignore a case when inheritance will catch all the cases anyway.
851 * <!-- end-user-doc -->
852 * @return the new adapter.
853 * @see TaxationWithRoot.Health_and_Pension_Insurance
854 * @generated
855 */
856 public Adapter createHealth_and_Pension_InsuranceAdapter() {
857 return null;
858 }
859
860 /**
861 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Donation <em>Donation</em>}'.
862 * <!-- begin-user-doc -->
863 * This default implementation returns null so that we can easily ignore cases;
864 * it's useful to ignore a case when inheritance will catch all the cases anyway.
865 * <!-- end-user-doc -->
866 * @return the new adapter.
867 * @see TaxationWithRoot.Donation
868 * @generated
869 */
870 public Adapter createDonationAdapter() {
871 return null;
872 }
873
874 /**
875 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Loss_Carryforward <em>Loss Carryforward</em>}'.
876 * <!-- begin-user-doc -->
877 * This default implementation returns null so that we can easily ignore cases;
878 * it's useful to ignore a case when inheritance will catch all the cases anyway.
879 * <!-- end-user-doc -->
880 * @return the new adapter.
881 * @see TaxationWithRoot.Loss_Carryforward
882 * @generated
883 */
884 public Adapter createLoss_CarryforwardAdapter() {
885 return null;
886 }
887
888 /**
889 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Spousal_Expense_AC <em>Spousal Expense AC</em>}'.
890 * <!-- begin-user-doc -->
891 * This default implementation returns null so that we can easily ignore cases;
892 * it's useful to ignore a case when inheritance will catch all the cases anyway.
893 * <!-- end-user-doc -->
894 * @return the new adapter.
895 * @see TaxationWithRoot.Spousal_Expense_AC
896 * @generated
897 */
898 public Adapter createSpousal_Expense_ACAdapter() {
899 return null;
900 }
901
902 /**
903 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Extraordinary_Expense_CE <em>Extraordinary Expense CE</em>}'.
904 * <!-- begin-user-doc -->
905 * This default implementation returns null so that we can easily ignore cases;
906 * it's useful to ignore a case when inheritance will catch all the cases anyway.
907 * <!-- end-user-doc -->
908 * @return the new adapter.
909 * @see TaxationWithRoot.Extraordinary_Expense_CE
910 * @generated
911 */
912 public Adapter createExtraordinary_Expense_CEAdapter() {
913 return null;
914 }
915
916 /**
917 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Travel_Expense_FD <em>Travel Expense FD</em>}'.
918 * <!-- begin-user-doc -->
919 * This default implementation returns null so that we can easily ignore cases;
920 * it's useful to ignore a case when inheritance will catch all the cases anyway.
921 * <!-- end-user-doc -->
922 * @return the new adapter.
923 * @see TaxationWithRoot.Travel_Expense_FD
924 * @generated
925 */
926 public Adapter createTravel_Expense_FDAdapter() {
927 return null;
928 }
929
930 /**
931 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Professional_Expense <em>Professional Expense</em>}'.
932 * <!-- begin-user-doc -->
933 * This default implementation returns null so that we can easily ignore cases;
934 * it's useful to ignore a case when inheritance will catch all the cases anyway.
935 * <!-- end-user-doc -->
936 * @return the new adapter.
937 * @see TaxationWithRoot.Professional_Expense
938 * @generated
939 */
940 public Adapter createProfessional_ExpenseAdapter() {
941 return null;
942 }
943
944 /**
945 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Miscellaneous_Expense_FO <em>Miscellaneous Expense FO</em>}'.
946 * <!-- begin-user-doc -->
947 * This default implementation returns null so that we can easily ignore cases;
948 * it's useful to ignore a case when inheritance will catch all the cases anyway.
949 * <!-- end-user-doc -->
950 * @return the new adapter.
951 * @see TaxationWithRoot.Miscellaneous_Expense_FO
952 * @generated
953 */
954 public Adapter createMiscellaneous_Expense_FOAdapter() {
955 return null;
956 }
957
958 /**
959 * Creates a new adapter for an object of class '{@link TaxationWithRoot.Resource <em>Resource</em>}'.
960 * <!-- begin-user-doc -->
961 * This default implementation returns null so that we can easily ignore cases;
962 * it's useful to ignore a case when inheritance will catch all the cases anyway.
963 * <!-- end-user-doc -->
964 * @return the new adapter.
965 * @see TaxationWithRoot.Resource
966 * @generated
967 */
968 public Adapter createResourceAdapter() {
969 return null;
970 }
971
972 /**
973 * Creates a new adapter for the default case.
974 * <!-- begin-user-doc -->
975 * This default implementation returns null.
976 * <!-- end-user-doc -->
977 * @return the new adapter.
978 * @generated
979 */
980 public Adapter createEObjectAdapter() {
981 return null;
982 }
983
984} //TaxationWithRootAdapterFactory
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootSwitch.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootSwitch.java
new file mode 100644
index 00000000..5cba1393
--- /dev/null
+++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootSwitch.java
@@ -0,0 +1,1163 @@
1/**
2 */
3package TaxationWithRoot.util;
4
5import TaxationWithRoot.*;
6
7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.ecore.EPackage;
9
10import org.eclipse.emf.ecore.util.Switch;
11
12/**
13 * <!-- begin-user-doc -->
14 * The <b>Switch</b> for the model's inheritance hierarchy.
15 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
16 * to invoke the <code>caseXXX</code> method for each class of the model,
17 * starting with the actual class of the object
18 * and proceeding up the inheritance hierarchy
19 * until a non-null result is returned,
20 * which is the result of the switch.
21 * <!-- end-user-doc -->
22 * @see TaxationWithRoot.TaxationWithRootPackage
23 * @generated
24 */
25public class TaxationWithRootSwitch<T> extends Switch<T> {
26 /**
27 * The cached model package
28 * <!-- begin-user-doc -->
29 * <!-- end-user-doc -->
30 * @generated
31 */
32 protected static TaxationWithRootPackage modelPackage;
33
34 /**
35 * Creates an instance of the switch.
36 * <!-- begin-user-doc -->
37 * <!-- end-user-doc -->
38 * @generated
39 */
40 public TaxationWithRootSwitch() {
41 if (modelPackage == null) {
42 modelPackage = TaxationWithRootPackage.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 TaxationWithRootPackage.CONSTANTS: {
70 Constants constants = (Constants)theEObject;
71 T result = caseConstants(constants);
72 if (result == null) result = defaultCase(theEObject);
73 return result;
74 }
75 case TaxationWithRootPackage.INCOME_TAX: {
76 Income_Tax income_Tax = (Income_Tax)theEObject;
77 T result = caseIncome_Tax(income_Tax);
78 if (result == null) result = defaultCase(theEObject);
79 return result;
80 }
81 case TaxationWithRootPackage.TAX_PAYER: {
82 Tax_Payer tax_Payer = (Tax_Payer)theEObject;
83 T result = caseTax_Payer(tax_Payer);
84 if (result == null) result = casePhysical_Person(tax_Payer);
85 if (result == null) result = caseTax_Case(tax_Payer);
86 if (result == null) result = defaultCase(theEObject);
87 return result;
88 }
89 case TaxationWithRootPackage.PHYSICAL_PERSON: {
90 Physical_Person physical_Person = (Physical_Person)theEObject;
91 T result = casePhysical_Person(physical_Person);
92 if (result == null) result = defaultCase(theEObject);
93 return result;
94 }
95 case TaxationWithRootPackage.ADDRESS: {
96 Address address = (Address)theEObject;
97 T result = caseAddress(address);
98 if (result == null) result = defaultCase(theEObject);
99 return result;
100 }
101 case TaxationWithRootPackage.EXPENSE: {
102 Expense expense = (Expense)theEObject;
103 T result = caseExpense(expense);
104 if (result == null) result = defaultCase(theEObject);
105 return result;
106 }
107 case TaxationWithRootPackage.DEPENDENT: {
108 Dependent dependent = (Dependent)theEObject;
109 T result = caseDependent(dependent);
110 if (result == null) result = casePhysical_Person(dependent);
111 if (result == null) result = defaultCase(theEObject);
112 return result;
113 }
114 case TaxationWithRootPackage.EXTERNAL_ALLOWANCE: {
115 External_Allowance external_Allowance = (External_Allowance)theEObject;
116 T result = caseExternal_Allowance(external_Allowance);
117 if (result == null) result = defaultCase(theEObject);
118 return result;
119 }
120 case TaxationWithRootPackage.HOUSEHOLD: {
121 Household household = (Household)theEObject;
122 T result = caseHousehold(household);
123 if (result == null) result = caseTax_Case(household);
124 if (result == null) result = defaultCase(theEObject);
125 return result;
126 }
127 case TaxationWithRootPackage.LEGAL_UNION_RECORD: {
128 Legal_Union_Record legal_Union_Record = (Legal_Union_Record)theEObject;
129 T result = caseLegal_Union_Record(legal_Union_Record);
130 if (result == null) result = defaultCase(theEObject);
131 return result;
132 }
133 case TaxationWithRootPackage.TAX_PROPERTY: {
134 Tax_Property tax_Property = (Tax_Property)theEObject;
135 T result = caseTax_Property(tax_Property);
136 if (result == null) result = defaultCase(theEObject);
137 return result;
138 }
139 case TaxationWithRootPackage.TAX_CASE: {
140 Tax_Case tax_Case = (Tax_Case)theEObject;
141 T result = caseTax_Case(tax_Case);
142 if (result == null) result = defaultCase(theEObject);
143 return result;
144 }
145 case TaxationWithRootPackage.FROM_AGENT: {
146 FromAgent fromAgent = (FromAgent)theEObject;
147 T result = caseFromAgent(fromAgent);
148 if (result == null) result = defaultCase(theEObject);
149 return result;
150 }
151 case TaxationWithRootPackage.INCOME: {
152 Income income = (Income)theEObject;
153 T result = caseIncome(income);
154 if (result == null) result = defaultCase(theEObject);
155 return result;
156 }
157 case TaxationWithRootPackage.INCOME_TYPE: {
158 Income_Type income_Type = (Income_Type)theEObject;
159 T result = caseIncome_Type(income_Type);
160 if (result == null) result = defaultCase(theEObject);
161 return result;
162 }
163 case TaxationWithRootPackage.TAX_CARD: {
164 Tax_Card tax_Card = (Tax_Card)theEObject;
165 T result = caseTax_Card(tax_Card);
166 if (result == null) result = defaultCase(theEObject);
167 return result;
168 }
169 case TaxationWithRootPackage.INCOME_TAX_CREDIT: {
170 Income_Tax_Credit income_Tax_Credit = (Income_Tax_Credit)theEObject;
171 T result = caseIncome_Tax_Credit(income_Tax_Credit);
172 if (result == null) result = defaultCase(theEObject);
173 return result;
174 }
175 case TaxationWithRootPackage.INCOME_DETAIL: {
176 Income_Detail income_Detail = (Income_Detail)theEObject;
177 T result = caseIncome_Detail(income_Detail);
178 if (result == null) result = defaultCase(theEObject);
179 return result;
180 }
181 case TaxationWithRootPackage.FROM_LAW: {
182 FromLaw fromLaw = (FromLaw)theEObject;
183 T result = caseFromLaw(fromLaw);
184 if (result == null) result = defaultCase(theEObject);
185 return result;
186 }
187 case TaxationWithRootPackage.FISCAL_ADDRESS: {
188 Fiscal_Address fiscal_Address = (Fiscal_Address)theEObject;
189 T result = caseFiscal_Address(fiscal_Address);
190 if (result == null) result = caseAddress(fiscal_Address);
191 if (result == null) result = defaultCase(theEObject);
192 return result;
193 }
194 case TaxationWithRootPackage.HABITUAL_ADDRESS: {
195 Habitual_Address habitual_Address = (Habitual_Address)theEObject;
196 T result = caseHabitual_Address(habitual_Address);
197 if (result == null) result = caseAddress(habitual_Address);
198 if (result == null) result = defaultCase(theEObject);
199 return result;
200 }
201 case TaxationWithRootPackage.MARRIAGE_RECORD: {
202 Marriage_Record marriage_Record = (Marriage_Record)theEObject;
203 T result = caseMarriage_Record(marriage_Record);
204 if (result == null) result = caseLegal_Union_Record(marriage_Record);
205 if (result == null) result = defaultCase(theEObject);
206 return result;
207 }
208 case TaxationWithRootPackage.NON_RESIDENT_TAX_PAYER: {
209 Non_Resident_Tax_Payer non_Resident_Tax_Payer = (Non_Resident_Tax_Payer)theEObject;
210 T result = caseNon_Resident_Tax_Payer(non_Resident_Tax_Payer);
211 if (result == null) result = caseTax_Payer(non_Resident_Tax_Payer);
212 if (result == null) result = casePhysical_Person(non_Resident_Tax_Payer);
213 if (result == null) result = caseTax_Case(non_Resident_Tax_Payer);
214 if (result == null) result = defaultCase(theEObject);
215 return result;
216 }
217 case TaxationWithRootPackage.PARTNERSHIP_RECORD: {
218 Partnership_Record partnership_Record = (Partnership_Record)theEObject;
219 T result = casePartnership_Record(partnership_Record);
220 if (result == null) result = caseLegal_Union_Record(partnership_Record);
221 if (result == null) result = defaultCase(theEObject);
222 return result;
223 }
224 case TaxationWithRootPackage.RESIDENT_TAX_PAYER: {
225 Resident_Tax_Payer resident_Tax_Payer = (Resident_Tax_Payer)theEObject;
226 T result = caseResident_Tax_Payer(resident_Tax_Payer);
227 if (result == null) result = caseTax_Payer(resident_Tax_Payer);
228 if (result == null) result = casePhysical_Person(resident_Tax_Payer);
229 if (result == null) result = caseTax_Case(resident_Tax_Payer);
230 if (result == null) result = defaultCase(theEObject);
231 return result;
232 }
233 case TaxationWithRootPackage.TRADE_AND_BUSINESS_INCOME: {
234 Trade_and_Business_Income trade_and_Business_Income = (Trade_and_Business_Income)theEObject;
235 T result = caseTrade_and_Business_Income(trade_and_Business_Income);
236 if (result == null) result = caseIncome_Type(trade_and_Business_Income);
237 if (result == null) result = defaultCase(theEObject);
238 return result;
239 }
240 case TaxationWithRootPackage.AGRICULTURE_AND_FORESTRY_INCOME: {
241 Agriculture_and_Forestry_Income agriculture_and_Forestry_Income = (Agriculture_and_Forestry_Income)theEObject;
242 T result = caseAgriculture_and_Forestry_Income(agriculture_and_Forestry_Income);
243 if (result == null) result = caseIncome_Type(agriculture_and_Forestry_Income);
244 if (result == null) result = defaultCase(theEObject);
245 return result;
246 }
247 case TaxationWithRootPackage.PENSIONS_AND_ANNUITIES_INCOME: {
248 Pensions_and_Annuities_Income pensions_and_Annuities_Income = (Pensions_and_Annuities_Income)theEObject;
249 T result = casePensions_and_Annuities_Income(pensions_and_Annuities_Income);
250 if (result == null) result = caseIncome_Type(pensions_and_Annuities_Income);
251 if (result == null) result = defaultCase(theEObject);
252 return result;
253 }
254 case TaxationWithRootPackage.CAPITAL_AND_INVESTMENTS_INCOME: {
255 Capital_and_Investments_Income capital_and_Investments_Income = (Capital_and_Investments_Income)theEObject;
256 T result = caseCapital_and_Investments_Income(capital_and_Investments_Income);
257 if (result == null) result = caseIncome_Type(capital_and_Investments_Income);
258 if (result == null) result = defaultCase(theEObject);
259 return result;
260 }
261 case TaxationWithRootPackage.EMPLOYMENT_INCOME: {
262 Employment_Income employment_Income = (Employment_Income)theEObject;
263 T result = caseEmployment_Income(employment_Income);
264 if (result == null) result = caseIncome_Type(employment_Income);
265 if (result == null) result = defaultCase(theEObject);
266 return result;
267 }
268 case TaxationWithRootPackage.RENTALS_AND_LEASES_INCOME: {
269 Rentals_and_Leases_Income rentals_and_Leases_Income = (Rentals_and_Leases_Income)theEObject;
270 T result = caseRentals_and_Leases_Income(rentals_and_Leases_Income);
271 if (result == null) result = caseIncome_Type(rentals_and_Leases_Income);
272 if (result == null) result = defaultCase(theEObject);
273 return result;
274 }
275 case TaxationWithRootPackage.FOREIGN_INCOME: {
276 Foreign_Income foreign_Income = (Foreign_Income)theEObject;
277 T result = caseForeign_Income(foreign_Income);
278 if (result == null) result = caseIncome(foreign_Income);
279 if (result == null) result = defaultCase(theEObject);
280 return result;
281 }
282 case TaxationWithRootPackage.LOCAL_INCOME: {
283 Local_Income local_Income = (Local_Income)theEObject;
284 T result = caseLocal_Income(local_Income);
285 if (result == null) result = caseIncome(local_Income);
286 if (result == null) result = defaultCase(theEObject);
287 return result;
288 }
289 case TaxationWithRootPackage.CIM: {
290 CIM cim = (CIM)theEObject;
291 T result = caseCIM(cim);
292 if (result == null) result = caseIncome_Tax_Credit(cim);
293 if (result == null) result = defaultCase(theEObject);
294 return result;
295 }
296 case TaxationWithRootPackage.CIP: {
297 CIP cip = (CIP)theEObject;
298 T result = caseCIP(cip);
299 if (result == null) result = caseIncome_Tax_Credit(cip);
300 if (result == null) result = defaultCase(theEObject);
301 return result;
302 }
303 case TaxationWithRootPackage.CIS: {
304 CIS cis = (CIS)theEObject;
305 T result = caseCIS(cis);
306 if (result == null) result = caseIncome_Tax_Credit(cis);
307 if (result == null) result = defaultCase(theEObject);
308 return result;
309 }
310 case TaxationWithRootPackage.PERMANENT_EXPENSE: {
311 Permanent_Expense permanent_Expense = (Permanent_Expense)theEObject;
312 T result = casePermanent_Expense(permanent_Expense);
313 if (result == null) result = caseSpecial_Expense_DS(permanent_Expense);
314 if (result == null) result = caseExpense(permanent_Expense);
315 if (result == null) result = defaultCase(theEObject);
316 return result;
317 }
318 case TaxationWithRootPackage.SPECIAL_EXPENSE_DS: {
319 Special_Expense_DS special_Expense_DS = (Special_Expense_DS)theEObject;
320 T result = caseSpecial_Expense_DS(special_Expense_DS);
321 if (result == null) result = caseExpense(special_Expense_DS);
322 if (result == null) result = defaultCase(theEObject);
323 return result;
324 }
325 case TaxationWithRootPackage.INTEREST_EXPENSE: {
326 Interest_Expense interest_Expense = (Interest_Expense)theEObject;
327 T result = caseInterest_Expense(interest_Expense);
328 if (result == null) result = caseSpecial_Expense_DS(interest_Expense);
329 if (result == null) result = caseExpense(interest_Expense);
330 if (result == null) result = defaultCase(theEObject);
331 return result;
332 }
333 case TaxationWithRootPackage.PRIVATE_INSURANCE_AND_PLAN: {
334 Private_Insurance_and_Plan private_Insurance_and_Plan = (Private_Insurance_and_Plan)theEObject;
335 T result = casePrivate_Insurance_and_Plan(private_Insurance_and_Plan);
336 if (result == null) result = caseSpecial_Expense_DS(private_Insurance_and_Plan);
337 if (result == null) result = caseExpense(private_Insurance_and_Plan);
338 if (result == null) result = defaultCase(theEObject);
339 return result;
340 }
341 case TaxationWithRootPackage.HEALTH_AND_PENSION_INSURANCE: {
342 Health_and_Pension_Insurance health_and_Pension_Insurance = (Health_and_Pension_Insurance)theEObject;
343 T result = caseHealth_and_Pension_Insurance(health_and_Pension_Insurance);
344 if (result == null) result = caseSpecial_Expense_DS(health_and_Pension_Insurance);
345 if (result == null) result = caseExpense(health_and_Pension_Insurance);
346 if (result == null) result = defaultCase(theEObject);
347 return result;
348 }
349 case TaxationWithRootPackage.DONATION: {
350 Donation donation = (Donation)theEObject;
351 T result = caseDonation(donation);
352 if (result == null) result = caseSpecial_Expense_DS(donation);
353 if (result == null) result = caseExpense(donation);
354 if (result == null) result = defaultCase(theEObject);
355 return result;
356 }
357 case TaxationWithRootPackage.LOSS_CARRYFORWARD: {
358 Loss_Carryforward loss_Carryforward = (Loss_Carryforward)theEObject;
359 T result = caseLoss_Carryforward(loss_Carryforward);
360 if (result == null) result = caseSpecial_Expense_DS(loss_Carryforward);
361 if (result == null) result = caseExpense(loss_Carryforward);
362 if (result == null) result = defaultCase(theEObject);
363 return result;
364 }
365 case TaxationWithRootPackage.SPOUSAL_EXPENSE_AC: {
366 Spousal_Expense_AC spousal_Expense_AC = (Spousal_Expense_AC)theEObject;
367 T result = caseSpousal_Expense_AC(spousal_Expense_AC);
368 if (result == null) result = caseExpense(spousal_Expense_AC);
369 if (result == null) result = defaultCase(theEObject);
370 return result;
371 }
372 case TaxationWithRootPackage.EXTRAORDINARY_EXPENSE_CE: {
373 Extraordinary_Expense_CE extraordinary_Expense_CE = (Extraordinary_Expense_CE)theEObject;
374 T result = caseExtraordinary_Expense_CE(extraordinary_Expense_CE);
375 if (result == null) result = caseExpense(extraordinary_Expense_CE);
376 if (result == null) result = defaultCase(theEObject);
377 return result;
378 }
379 case TaxationWithRootPackage.TRAVEL_EXPENSE_FD: {
380 Travel_Expense_FD travel_Expense_FD = (Travel_Expense_FD)theEObject;
381 T result = caseTravel_Expense_FD(travel_Expense_FD);
382 if (result == null) result = caseProfessional_Expense(travel_Expense_FD);
383 if (result == null) result = caseExpense(travel_Expense_FD);
384 if (result == null) result = defaultCase(theEObject);
385 return result;
386 }
387 case TaxationWithRootPackage.PROFESSIONAL_EXPENSE: {
388 Professional_Expense professional_Expense = (Professional_Expense)theEObject;
389 T result = caseProfessional_Expense(professional_Expense);
390 if (result == null) result = caseExpense(professional_Expense);
391 if (result == null) result = defaultCase(theEObject);
392 return result;
393 }
394 case TaxationWithRootPackage.MISCELLANEOUS_EXPENSE_FO: {
395 Miscellaneous_Expense_FO miscellaneous_Expense_FO = (Miscellaneous_Expense_FO)theEObject;
396 T result = caseMiscellaneous_Expense_FO(miscellaneous_Expense_FO);
397 if (result == null) result = caseProfessional_Expense(miscellaneous_Expense_FO);
398 if (result == null) result = caseExpense(miscellaneous_Expense_FO);
399 if (result == null) result = defaultCase(theEObject);
400 return result;
401 }
402 case TaxationWithRootPackage.RESOURCE: {
403 Resource resource = (Resource)theEObject;
404 T result = caseResource(resource);
405 if (result == null) result = defaultCase(theEObject);
406 return result;
407 }
408 default: return defaultCase(theEObject);
409 }
410 }
411
412 /**
413 * Returns the result of interpreting the object as an instance of '<em>Constants</em>'.
414 * <!-- begin-user-doc -->
415 * This implementation returns null;
416 * returning a non-null result will terminate the switch.
417 * <!-- end-user-doc -->
418 * @param object the target of the switch.
419 * @return the result of interpreting the object as an instance of '<em>Constants</em>'.
420 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
421 * @generated
422 */
423 public T caseConstants(Constants object) {
424 return null;
425 }
426
427 /**
428 * Returns the result of interpreting the object as an instance of '<em>Income Tax</em>'.
429 * <!-- begin-user-doc -->
430 * This implementation returns null;
431 * returning a non-null result will terminate the switch.
432 * <!-- end-user-doc -->
433 * @param object the target of the switch.
434 * @return the result of interpreting the object as an instance of '<em>Income Tax</em>'.
435 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
436 * @generated
437 */
438 public T caseIncome_Tax(Income_Tax object) {
439 return null;
440 }
441
442 /**
443 * Returns the result of interpreting the object as an instance of '<em>Tax Payer</em>'.
444 * <!-- begin-user-doc -->
445 * This implementation returns null;
446 * returning a non-null result will terminate the switch.
447 * <!-- end-user-doc -->
448 * @param object the target of the switch.
449 * @return the result of interpreting the object as an instance of '<em>Tax Payer</em>'.
450 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
451 * @generated
452 */
453 public T caseTax_Payer(Tax_Payer object) {
454 return null;
455 }
456
457 /**
458 * Returns the result of interpreting the object as an instance of '<em>Physical Person</em>'.
459 * <!-- begin-user-doc -->
460 * This implementation returns null;
461 * returning a non-null result will terminate the switch.
462 * <!-- end-user-doc -->
463 * @param object the target of the switch.
464 * @return the result of interpreting the object as an instance of '<em>Physical Person</em>'.
465 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
466 * @generated
467 */
468 public T casePhysical_Person(Physical_Person object) {
469 return null;
470 }
471
472 /**
473 * Returns the result of interpreting the object as an instance of '<em>Address</em>'.
474 * <!-- begin-user-doc -->
475 * This implementation returns null;
476 * returning a non-null result will terminate the switch.
477 * <!-- end-user-doc -->
478 * @param object the target of the switch.
479 * @return the result of interpreting the object as an instance of '<em>Address</em>'.
480 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
481 * @generated
482 */
483 public T caseAddress(Address object) {
484 return null;
485 }
486
487 /**
488 * Returns the result of interpreting the object as an instance of '<em>Expense</em>'.
489 * <!-- begin-user-doc -->
490 * This implementation returns null;
491 * returning a non-null result will terminate the switch.
492 * <!-- end-user-doc -->
493 * @param object the target of the switch.
494 * @return the result of interpreting the object as an instance of '<em>Expense</em>'.
495 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
496 * @generated
497 */
498 public T caseExpense(Expense object) {
499 return null;
500 }
501
502 /**
503 * Returns the result of interpreting the object as an instance of '<em>Dependent</em>'.
504 * <!-- begin-user-doc -->
505 * This implementation returns null;
506 * returning a non-null result will terminate the switch.
507 * <!-- end-user-doc -->
508 * @param object the target of the switch.
509 * @return the result of interpreting the object as an instance of '<em>Dependent</em>'.
510 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
511 * @generated
512 */
513 public T caseDependent(Dependent object) {
514 return null;
515 }
516
517 /**
518 * Returns the result of interpreting the object as an instance of '<em>External Allowance</em>'.
519 * <!-- begin-user-doc -->
520 * This implementation returns null;
521 * returning a non-null result will terminate the switch.
522 * <!-- end-user-doc -->
523 * @param object the target of the switch.
524 * @return the result of interpreting the object as an instance of '<em>External Allowance</em>'.
525 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
526 * @generated
527 */
528 public T caseExternal_Allowance(External_Allowance object) {
529 return null;
530 }
531
532 /**
533 * Returns the result of interpreting the object as an instance of '<em>Household</em>'.
534 * <!-- begin-user-doc -->
535 * This implementation returns null;
536 * returning a non-null result will terminate the switch.
537 * <!-- end-user-doc -->
538 * @param object the target of the switch.
539 * @return the result of interpreting the object as an instance of '<em>Household</em>'.
540 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
541 * @generated
542 */
543 public T caseHousehold(Household object) {
544 return null;
545 }
546
547 /**
548 * Returns the result of interpreting the object as an instance of '<em>Legal Union Record</em>'.
549 * <!-- begin-user-doc -->
550 * This implementation returns null;
551 * returning a non-null result will terminate the switch.
552 * <!-- end-user-doc -->
553 * @param object the target of the switch.
554 * @return the result of interpreting the object as an instance of '<em>Legal Union Record</em>'.
555 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
556 * @generated
557 */
558 public T caseLegal_Union_Record(Legal_Union_Record object) {
559 return null;
560 }
561
562 /**
563 * Returns the result of interpreting the object as an instance of '<em>Tax Property</em>'.
564 * <!-- begin-user-doc -->
565 * This implementation returns null;
566 * returning a non-null result will terminate the switch.
567 * <!-- end-user-doc -->
568 * @param object the target of the switch.
569 * @return the result of interpreting the object as an instance of '<em>Tax Property</em>'.
570 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
571 * @generated
572 */
573 public T caseTax_Property(Tax_Property object) {
574 return null;
575 }
576
577 /**
578 * Returns the result of interpreting the object as an instance of '<em>Tax Case</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 * @param object the target of the switch.
584 * @return the result of interpreting the object as an instance of '<em>Tax Case</em>'.
585 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
586 * @generated
587 */
588 public T caseTax_Case(Tax_Case object) {
589 return null;
590 }
591
592 /**
593 * Returns the result of interpreting the object as an instance of '<em>From Agent</em>'.
594 * <!-- begin-user-doc -->
595 * This implementation returns null;
596 * returning a non-null result will terminate the switch.
597 * <!-- end-user-doc -->
598 * @param object the target of the switch.
599 * @return the result of interpreting the object as an instance of '<em>From Agent</em>'.
600 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
601 * @generated
602 */
603 public T caseFromAgent(FromAgent object) {
604 return null;
605 }
606
607 /**
608 * Returns the result of interpreting the object as an instance of '<em>Income</em>'.
609 * <!-- begin-user-doc -->
610 * This implementation returns null;
611 * returning a non-null result will terminate the switch.
612 * <!-- end-user-doc -->
613 * @param object the target of the switch.
614 * @return the result of interpreting the object as an instance of '<em>Income</em>'.
615 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
616 * @generated
617 */
618 public T caseIncome(Income object) {
619 return null;
620 }
621
622 /**
623 * Returns the result of interpreting the object as an instance of '<em>Income Type</em>'.
624 * <!-- begin-user-doc -->
625 * This implementation returns null;
626 * returning a non-null result will terminate the switch.
627 * <!-- end-user-doc -->
628 * @param object the target of the switch.
629 * @return the result of interpreting the object as an instance of '<em>Income Type</em>'.
630 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
631 * @generated
632 */
633 public T caseIncome_Type(Income_Type object) {
634 return null;
635 }
636
637 /**
638 * Returns the result of interpreting the object as an instance of '<em>Tax Card</em>'.
639 * <!-- begin-user-doc -->
640 * This implementation returns null;
641 * returning a non-null result will terminate the switch.
642 * <!-- end-user-doc -->
643 * @param object the target of the switch.
644 * @return the result of interpreting the object as an instance of '<em>Tax Card</em>'.
645 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
646 * @generated
647 */
648 public T caseTax_Card(Tax_Card object) {
649 return null;
650 }
651
652 /**
653 * Returns the result of interpreting the object as an instance of '<em>Income Tax Credit</em>'.
654 * <!-- begin-user-doc -->
655 * This implementation returns null;
656 * returning a non-null result will terminate the switch.
657 * <!-- end-user-doc -->
658 * @param object the target of the switch.
659 * @return the result of interpreting the object as an instance of '<em>Income Tax Credit</em>'.
660 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
661 * @generated
662 */
663 public T caseIncome_Tax_Credit(Income_Tax_Credit object) {
664 return null;
665 }
666
667 /**
668 * Returns the result of interpreting the object as an instance of '<em>Income Detail</em>'.
669 * <!-- begin-user-doc -->
670 * This implementation returns null;
671 * returning a non-null result will terminate the switch.
672 * <!-- end-user-doc -->
673 * @param object the target of the switch.
674 * @return the result of interpreting the object as an instance of '<em>Income Detail</em>'.
675 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
676 * @generated
677 */
678 public T caseIncome_Detail(Income_Detail object) {
679 return null;
680 }
681
682 /**
683 * Returns the result of interpreting the object as an instance of '<em>From Law</em>'.
684 * <!-- begin-user-doc -->
685 * This implementation returns null;
686 * returning a non-null result will terminate the switch.
687 * <!-- end-user-doc -->
688 * @param object the target of the switch.
689 * @return the result of interpreting the object as an instance of '<em>From Law</em>'.
690 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
691 * @generated
692 */
693 public T caseFromLaw(FromLaw object) {
694 return null;
695 }
696
697 /**
698 * Returns the result of interpreting the object as an instance of '<em>Fiscal Address</em>'.
699 * <!-- begin-user-doc -->
700 * This implementation returns null;
701 * returning a non-null result will terminate the switch.
702 * <!-- end-user-doc -->
703 * @param object the target of the switch.
704 * @return the result of interpreting the object as an instance of '<em>Fiscal Address</em>'.
705 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
706 * @generated
707 */
708 public T caseFiscal_Address(Fiscal_Address object) {
709 return null;
710 }
711
712 /**
713 * Returns the result of interpreting the object as an instance of '<em>Habitual Address</em>'.
714 * <!-- begin-user-doc -->
715 * This implementation returns null;
716 * returning a non-null result will terminate the switch.
717 * <!-- end-user-doc -->
718 * @param object the target of the switch.
719 * @return the result of interpreting the object as an instance of '<em>Habitual Address</em>'.
720 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
721 * @generated
722 */
723 public T caseHabitual_Address(Habitual_Address object) {
724 return null;
725 }
726
727 /**
728 * Returns the result of interpreting the object as an instance of '<em>Marriage Record</em>'.
729 * <!-- begin-user-doc -->
730 * This implementation returns null;
731 * returning a non-null result will terminate the switch.
732 * <!-- end-user-doc -->
733 * @param object the target of the switch.
734 * @return the result of interpreting the object as an instance of '<em>Marriage Record</em>'.
735 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
736 * @generated
737 */
738 public T caseMarriage_Record(Marriage_Record object) {
739 return null;
740 }
741
742 /**
743 * Returns the result of interpreting the object as an instance of '<em>Non Resident Tax Payer</em>'.
744 * <!-- begin-user-doc -->
745 * This implementation returns null;
746 * returning a non-null result will terminate the switch.
747 * <!-- end-user-doc -->
748 * @param object the target of the switch.
749 * @return the result of interpreting the object as an instance of '<em>Non Resident Tax Payer</em>'.
750 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
751 * @generated
752 */
753 public T caseNon_Resident_Tax_Payer(Non_Resident_Tax_Payer object) {
754 return null;
755 }
756
757 /**
758 * Returns the result of interpreting the object as an instance of '<em>Partnership Record</em>'.
759 * <!-- begin-user-doc -->
760 * This implementation returns null;
761 * returning a non-null result will terminate the switch.
762 * <!-- end-user-doc -->
763 * @param object the target of the switch.
764 * @return the result of interpreting the object as an instance of '<em>Partnership Record</em>'.
765 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
766 * @generated
767 */
768 public T casePartnership_Record(Partnership_Record object) {
769 return null;
770 }
771
772 /**
773 * Returns the result of interpreting the object as an instance of '<em>Resident Tax Payer</em>'.
774 * <!-- begin-user-doc -->
775 * This implementation returns null;
776 * returning a non-null result will terminate the switch.
777 * <!-- end-user-doc -->
778 * @param object the target of the switch.
779 * @return the result of interpreting the object as an instance of '<em>Resident Tax Payer</em>'.
780 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
781 * @generated
782 */
783 public T caseResident_Tax_Payer(Resident_Tax_Payer object) {
784 return null;
785 }
786
787 /**
788 * Returns the result of interpreting the object as an instance of '<em>Trade and Business Income</em>'.
789 * <!-- begin-user-doc -->
790 * This implementation returns null;
791 * returning a non-null result will terminate the switch.
792 * <!-- end-user-doc -->
793 * @param object the target of the switch.
794 * @return the result of interpreting the object as an instance of '<em>Trade and Business Income</em>'.
795 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
796 * @generated
797 */
798 public T caseTrade_and_Business_Income(Trade_and_Business_Income object) {
799 return null;
800 }
801
802 /**
803 * Returns the result of interpreting the object as an instance of '<em>Agriculture and Forestry Income</em>'.
804 * <!-- begin-user-doc -->
805 * This implementation returns null;
806 * returning a non-null result will terminate the switch.
807 * <!-- end-user-doc -->
808 * @param object the target of the switch.
809 * @return the result of interpreting the object as an instance of '<em>Agriculture and Forestry Income</em>'.
810 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
811 * @generated
812 */
813 public T caseAgriculture_and_Forestry_Income(Agriculture_and_Forestry_Income object) {
814 return null;
815 }
816
817 /**
818 * Returns the result of interpreting the object as an instance of '<em>Pensions and Annuities Income</em>'.
819 * <!-- begin-user-doc -->
820 * This implementation returns null;
821 * returning a non-null result will terminate the switch.
822 * <!-- end-user-doc -->
823 * @param object the target of the switch.
824 * @return the result of interpreting the object as an instance of '<em>Pensions and Annuities Income</em>'.
825 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
826 * @generated
827 */
828 public T casePensions_and_Annuities_Income(Pensions_and_Annuities_Income object) {
829 return null;
830 }
831
832 /**
833 * Returns the result of interpreting the object as an instance of '<em>Capital and Investments Income</em>'.
834 * <!-- begin-user-doc -->
835 * This implementation returns null;
836 * returning a non-null result will terminate the switch.
837 * <!-- end-user-doc -->
838 * @param object the target of the switch.
839 * @return the result of interpreting the object as an instance of '<em>Capital and Investments Income</em>'.
840 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
841 * @generated
842 */
843 public T caseCapital_and_Investments_Income(Capital_and_Investments_Income object) {
844 return null;
845 }
846
847 /**
848 * Returns the result of interpreting the object as an instance of '<em>Employment Income</em>'.
849 * <!-- begin-user-doc -->
850 * This implementation returns null;
851 * returning a non-null result will terminate the switch.
852 * <!-- end-user-doc -->
853 * @param object the target of the switch.
854 * @return the result of interpreting the object as an instance of '<em>Employment Income</em>'.
855 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
856 * @generated
857 */
858 public T caseEmployment_Income(Employment_Income object) {
859 return null;
860 }
861
862 /**
863 * Returns the result of interpreting the object as an instance of '<em>Rentals and Leases Income</em>'.
864 * <!-- begin-user-doc -->
865 * This implementation returns null;
866 * returning a non-null result will terminate the switch.
867 * <!-- end-user-doc -->
868 * @param object the target of the switch.
869 * @return the result of interpreting the object as an instance of '<em>Rentals and Leases Income</em>'.
870 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
871 * @generated
872 */
873 public T caseRentals_and_Leases_Income(Rentals_and_Leases_Income object) {
874 return null;
875 }
876
877 /**
878 * Returns the result of interpreting the object as an instance of '<em>Foreign Income</em>'.
879 * <!-- begin-user-doc -->
880 * This implementation returns null;
881 * returning a non-null result will terminate the switch.
882 * <!-- end-user-doc -->
883 * @param object the target of the switch.
884 * @return the result of interpreting the object as an instance of '<em>Foreign Income</em>'.
885 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
886 * @generated
887 */
888 public T caseForeign_Income(Foreign_Income object) {
889 return null;
890 }
891
892 /**
893 * Returns the result of interpreting the object as an instance of '<em>Local Income</em>'.
894 * <!-- begin-user-doc -->
895 * This implementation returns null;
896 * returning a non-null result will terminate the switch.
897 * <!-- end-user-doc -->
898 * @param object the target of the switch.
899 * @return the result of interpreting the object as an instance of '<em>Local Income</em>'.
900 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
901 * @generated
902 */
903 public T caseLocal_Income(Local_Income object) {
904 return null;
905 }
906
907 /**
908 * Returns the result of interpreting the object as an instance of '<em>CIM</em>'.
909 * <!-- begin-user-doc -->
910 * This implementation returns null;
911 * returning a non-null result will terminate the switch.
912 * <!-- end-user-doc -->
913 * @param object the target of the switch.
914 * @return the result of interpreting the object as an instance of '<em>CIM</em>'.
915 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
916 * @generated
917 */
918 public T caseCIM(CIM object) {
919 return null;
920 }
921
922 /**
923 * Returns the result of interpreting the object as an instance of '<em>CIP</em>'.
924 * <!-- begin-user-doc -->
925 * This implementation returns null;
926 * returning a non-null result will terminate the switch.
927 * <!-- end-user-doc -->
928 * @param object the target of the switch.
929 * @return the result of interpreting the object as an instance of '<em>CIP</em>'.
930 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
931 * @generated
932 */
933 public T caseCIP(CIP object) {
934 return null;
935 }
936
937 /**
938 * Returns the result of interpreting the object as an instance of '<em>CIS</em>'.
939 * <!-- begin-user-doc -->
940 * This implementation returns null;
941 * returning a non-null result will terminate the switch.
942 * <!-- end-user-doc -->
943 * @param object the target of the switch.
944 * @return the result of interpreting the object as an instance of '<em>CIS</em>'.
945 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
946 * @generated
947 */
948 public T caseCIS(CIS object) {
949 return null;
950 }
951
952 /**
953 * Returns the result of interpreting the object as an instance of '<em>Permanent Expense</em>'.
954 * <!-- begin-user-doc -->
955 * This implementation returns null;
956 * returning a non-null result will terminate the switch.
957 * <!-- end-user-doc -->
958 * @param object the target of the switch.
959 * @return the result of interpreting the object as an instance of '<em>Permanent Expense</em>'.
960 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
961 * @generated
962 */
963 public T casePermanent_Expense(Permanent_Expense object) {
964 return null;
965 }
966
967 /**
968 * Returns the result of interpreting the object as an instance of '<em>Special Expense DS</em>'.
969 * <!-- begin-user-doc -->
970 * This implementation returns null;
971 * returning a non-null result will terminate the switch.
972 * <!-- end-user-doc -->
973 * @param object the target of the switch.
974 * @return the result of interpreting the object as an instance of '<em>Special Expense DS</em>'.
975 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
976 * @generated
977 */
978 public T caseSpecial_Expense_DS(Special_Expense_DS object) {
979 return null;
980 }
981
982 /**
983 * Returns the result of interpreting the object as an instance of '<em>Interest Expense</em>'.
984 * <!-- begin-user-doc -->
985 * This implementation returns null;
986 * returning a non-null result will terminate the switch.
987 * <!-- end-user-doc -->
988 * @param object the target of the switch.
989 * @return the result of interpreting the object as an instance of '<em>Interest Expense</em>'.
990 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
991 * @generated
992 */
993 public T caseInterest_Expense(Interest_Expense object) {
994 return null;
995 }
996
997 /**
998 * Returns the result of interpreting the object as an instance of '<em>Private Insurance and Plan</em>'.
999 * <!-- begin-user-doc -->
1000 * This implementation returns null;
1001 * returning a non-null result will terminate the switch.
1002 * <!-- end-user-doc -->
1003 * @param object the target of the switch.
1004 * @return the result of interpreting the object as an instance of '<em>Private Insurance and Plan</em>'.
1005 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1006 * @generated
1007 */
1008 public T casePrivate_Insurance_and_Plan(Private_Insurance_and_Plan object) {
1009 return null;
1010 }
1011
1012 /**
1013 * Returns the result of interpreting the object as an instance of '<em>Health and Pension Insurance</em>'.
1014 * <!-- begin-user-doc -->
1015 * This implementation returns null;
1016 * returning a non-null result will terminate the switch.
1017 * <!-- end-user-doc -->
1018 * @param object the target of the switch.
1019 * @return the result of interpreting the object as an instance of '<em>Health and Pension Insurance</em>'.
1020 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1021 * @generated
1022 */
1023 public T caseHealth_and_Pension_Insurance(Health_and_Pension_Insurance object) {
1024 return null;
1025 }
1026
1027 /**
1028 * Returns the result of interpreting the object as an instance of '<em>Donation</em>'.
1029 * <!-- begin-user-doc -->
1030 * This implementation returns null;
1031 * returning a non-null result will terminate the switch.
1032 * <!-- end-user-doc -->
1033 * @param object the target of the switch.
1034 * @return the result of interpreting the object as an instance of '<em>Donation</em>'.
1035 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1036 * @generated
1037 */
1038 public T caseDonation(Donation object) {
1039 return null;
1040 }
1041
1042 /**
1043 * Returns the result of interpreting the object as an instance of '<em>Loss Carryforward</em>'.
1044 * <!-- begin-user-doc -->
1045 * This implementation returns null;
1046 * returning a non-null result will terminate the switch.
1047 * <!-- end-user-doc -->
1048 * @param object the target of the switch.
1049 * @return the result of interpreting the object as an instance of '<em>Loss Carryforward</em>'.
1050 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1051 * @generated
1052 */
1053 public T caseLoss_Carryforward(Loss_Carryforward object) {
1054 return null;
1055 }
1056
1057 /**
1058 * Returns the result of interpreting the object as an instance of '<em>Spousal Expense AC</em>'.
1059 * <!-- begin-user-doc -->
1060 * This implementation returns null;
1061 * returning a non-null result will terminate the switch.
1062 * <!-- end-user-doc -->
1063 * @param object the target of the switch.
1064 * @return the result of interpreting the object as an instance of '<em>Spousal Expense AC</em>'.
1065 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1066 * @generated
1067 */
1068 public T caseSpousal_Expense_AC(Spousal_Expense_AC object) {
1069 return null;
1070 }
1071
1072 /**
1073 * Returns the result of interpreting the object as an instance of '<em>Extraordinary Expense CE</em>'.
1074 * <!-- begin-user-doc -->
1075 * This implementation returns null;
1076 * returning a non-null result will terminate the switch.
1077 * <!-- end-user-doc -->
1078 * @param object the target of the switch.
1079 * @return the result of interpreting the object as an instance of '<em>Extraordinary Expense CE</em>'.
1080 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1081 * @generated
1082 */
1083 public T caseExtraordinary_Expense_CE(Extraordinary_Expense_CE object) {
1084 return null;
1085 }
1086
1087 /**
1088 * Returns the result of interpreting the object as an instance of '<em>Travel Expense FD</em>'.
1089 * <!-- begin-user-doc -->
1090 * This implementation returns null;
1091 * returning a non-null result will terminate the switch.
1092 * <!-- end-user-doc -->
1093 * @param object the target of the switch.
1094 * @return the result of interpreting the object as an instance of '<em>Travel Expense FD</em>'.
1095 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1096 * @generated
1097 */
1098 public T caseTravel_Expense_FD(Travel_Expense_FD object) {
1099 return null;
1100 }
1101
1102 /**
1103 * Returns the result of interpreting the object as an instance of '<em>Professional Expense</em>'.
1104 * <!-- begin-user-doc -->
1105 * This implementation returns null;
1106 * returning a non-null result will terminate the switch.
1107 * <!-- end-user-doc -->
1108 * @param object the target of the switch.
1109 * @return the result of interpreting the object as an instance of '<em>Professional Expense</em>'.
1110 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1111 * @generated
1112 */
1113 public T caseProfessional_Expense(Professional_Expense object) {
1114 return null;
1115 }
1116
1117 /**
1118 * Returns the result of interpreting the object as an instance of '<em>Miscellaneous Expense FO</em>'.
1119 * <!-- begin-user-doc -->
1120 * This implementation returns null;
1121 * returning a non-null result will terminate the switch.
1122 * <!-- end-user-doc -->
1123 * @param object the target of the switch.
1124 * @return the result of interpreting the object as an instance of '<em>Miscellaneous Expense FO</em>'.
1125 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1126 * @generated
1127 */
1128 public T caseMiscellaneous_Expense_FO(Miscellaneous_Expense_FO object) {
1129 return null;
1130 }
1131
1132 /**
1133 * Returns the result of interpreting the object as an instance of '<em>Resource</em>'.
1134 * <!-- begin-user-doc -->
1135 * This implementation returns null;
1136 * returning a non-null result will terminate the switch.
1137 * <!-- end-user-doc -->
1138 * @param object the target of the switch.
1139 * @return the result of interpreting the object as an instance of '<em>Resource</em>'.
1140 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1141 * @generated
1142 */
1143 public T caseResource(Resource object) {
1144 return null;
1145 }
1146
1147 /**
1148 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
1149 * <!-- begin-user-doc -->
1150 * This implementation returns null;
1151 * returning a non-null result will terminate the switch, but this is the last case anyway.
1152 * <!-- end-user-doc -->
1153 * @param object the target of the switch.
1154 * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
1155 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
1156 * @generated
1157 */
1158 @Override
1159 public T defaultCase(EObject object) {
1160 return null;
1161 }
1162
1163} //TaxationWithRootSwitch