diff options
author | Aren Babikian <aren.babikian@mail.mcgill.ca> | 2021-01-05 23:25:31 +0100 |
---|---|---|
committer | Aren Babikian <aren.babikian@mail.mcgill.ca> | 2021-01-05 23:25:31 +0100 |
commit | b56ffa39489d6d0bd94ae2adddbd41320736c7cc (patch) | |
tree | 362fc92957e914beaa98103132c11cb704c8f8ec /Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootSwitch.java | |
parent | add notebook for generating plots (diff) | |
download | VIATRA-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/TaxationWithRootSwitch.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/util/TaxationWithRootSwitch.java | 1163 |
1 files changed, 1163 insertions, 0 deletions
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 | */ | ||
3 | package TaxationWithRoot.util; | ||
4 | |||
5 | import TaxationWithRoot.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import 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 | */ | ||
25 | public 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 | ||