aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java')
-rw-r--r--Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java261
1 files changed, 0 insertions, 261 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java
index f5b4b681..cf021107 100644
--- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java
+++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationSwitch.java
@@ -83,7 +83,6 @@ public class TaxationSwitch<T> extends Switch<T> {
83 T result = caseTax_Payer(tax_Payer); 83 T result = caseTax_Payer(tax_Payer);
84 if (result == null) result = casePhysical_Person(tax_Payer); 84 if (result == null) result = casePhysical_Person(tax_Payer);
85 if (result == null) result = caseTax_Case(tax_Payer); 85 if (result == null) result = caseTax_Case(tax_Payer);
86 if (result == null) result = caseRoot(tax_Payer);
87 if (result == null) result = defaultCase(theEObject); 86 if (result == null) result = defaultCase(theEObject);
88 return result; 87 return result;
89 } 88 }
@@ -96,7 +95,6 @@ public class TaxationSwitch<T> extends Switch<T> {
96 case TaxationPackage.ADDRESS: { 95 case TaxationPackage.ADDRESS: {
97 Address address = (Address)theEObject; 96 Address address = (Address)theEObject;
98 T result = caseAddress(address); 97 T result = caseAddress(address);
99 if (result == null) result = caseRoot(address);
100 if (result == null) result = defaultCase(theEObject); 98 if (result == null) result = defaultCase(theEObject);
101 return result; 99 return result;
102 } 100 }
@@ -123,7 +121,6 @@ public class TaxationSwitch<T> extends Switch<T> {
123 Household household = (Household)theEObject; 121 Household household = (Household)theEObject;
124 T result = caseHousehold(household); 122 T result = caseHousehold(household);
125 if (result == null) result = caseTax_Case(household); 123 if (result == null) result = caseTax_Case(household);
126 if (result == null) result = caseRoot(household);
127 if (result == null) result = defaultCase(theEObject); 124 if (result == null) result = defaultCase(theEObject);
128 return result; 125 return result;
129 } 126 }
@@ -142,7 +139,6 @@ public class TaxationSwitch<T> extends Switch<T> {
142 case TaxationPackage.TAX_CASE: { 139 case TaxationPackage.TAX_CASE: {
143 Tax_Case tax_Case = (Tax_Case)theEObject; 140 Tax_Case tax_Case = (Tax_Case)theEObject;
144 T result = caseTax_Case(tax_Case); 141 T result = caseTax_Case(tax_Case);
145 if (result == null) result = caseRoot(tax_Case);
146 if (result == null) result = defaultCase(theEObject); 142 if (result == null) result = defaultCase(theEObject);
147 return result; 143 return result;
148 } 144 }
@@ -173,7 +169,6 @@ public class TaxationSwitch<T> extends Switch<T> {
173 case TaxationPackage.INCOME_TAX_CREDIT: { 169 case TaxationPackage.INCOME_TAX_CREDIT: {
174 Income_Tax_Credit income_Tax_Credit = (Income_Tax_Credit)theEObject; 170 Income_Tax_Credit income_Tax_Credit = (Income_Tax_Credit)theEObject;
175 T result = caseIncome_Tax_Credit(income_Tax_Credit); 171 T result = caseIncome_Tax_Credit(income_Tax_Credit);
176 if (result == null) result = caseRoot(income_Tax_Credit);
177 if (result == null) result = defaultCase(theEObject); 172 if (result == null) result = defaultCase(theEObject);
178 return result; 173 return result;
179 } 174 }
@@ -193,7 +188,6 @@ public class TaxationSwitch<T> extends Switch<T> {
193 Fiscal_Address fiscal_Address = (Fiscal_Address)theEObject; 188 Fiscal_Address fiscal_Address = (Fiscal_Address)theEObject;
194 T result = caseFiscal_Address(fiscal_Address); 189 T result = caseFiscal_Address(fiscal_Address);
195 if (result == null) result = caseAddress(fiscal_Address); 190 if (result == null) result = caseAddress(fiscal_Address);
196 if (result == null) result = caseRoot(fiscal_Address);
197 if (result == null) result = defaultCase(theEObject); 191 if (result == null) result = defaultCase(theEObject);
198 return result; 192 return result;
199 } 193 }
@@ -201,7 +195,6 @@ public class TaxationSwitch<T> extends Switch<T> {
201 Habitual_Address habitual_Address = (Habitual_Address)theEObject; 195 Habitual_Address habitual_Address = (Habitual_Address)theEObject;
202 T result = caseHabitual_Address(habitual_Address); 196 T result = caseHabitual_Address(habitual_Address);
203 if (result == null) result = caseAddress(habitual_Address); 197 if (result == null) result = caseAddress(habitual_Address);
204 if (result == null) result = caseRoot(habitual_Address);
205 if (result == null) result = defaultCase(theEObject); 198 if (result == null) result = defaultCase(theEObject);
206 return result; 199 return result;
207 } 200 }
@@ -218,7 +211,6 @@ public class TaxationSwitch<T> extends Switch<T> {
218 if (result == null) result = caseTax_Payer(non_Resident_Tax_Payer); 211 if (result == null) result = caseTax_Payer(non_Resident_Tax_Payer);
219 if (result == null) result = casePhysical_Person(non_Resident_Tax_Payer); 212 if (result == null) result = casePhysical_Person(non_Resident_Tax_Payer);
220 if (result == null) result = caseTax_Case(non_Resident_Tax_Payer); 213 if (result == null) result = caseTax_Case(non_Resident_Tax_Payer);
221 if (result == null) result = caseRoot(non_Resident_Tax_Payer);
222 if (result == null) result = defaultCase(theEObject); 214 if (result == null) result = defaultCase(theEObject);
223 return result; 215 return result;
224 } 216 }
@@ -235,7 +227,6 @@ public class TaxationSwitch<T> extends Switch<T> {
235 if (result == null) result = caseTax_Payer(resident_Tax_Payer); 227 if (result == null) result = caseTax_Payer(resident_Tax_Payer);
236 if (result == null) result = casePhysical_Person(resident_Tax_Payer); 228 if (result == null) result = casePhysical_Person(resident_Tax_Payer);
237 if (result == null) result = caseTax_Case(resident_Tax_Payer); 229 if (result == null) result = caseTax_Case(resident_Tax_Payer);
238 if (result == null) result = caseRoot(resident_Tax_Payer);
239 if (result == null) result = defaultCase(theEObject); 230 if (result == null) result = defaultCase(theEObject);
240 return result; 231 return result;
241 } 232 }
@@ -299,7 +290,6 @@ public class TaxationSwitch<T> extends Switch<T> {
299 CIM cim = (CIM)theEObject; 290 CIM cim = (CIM)theEObject;
300 T result = caseCIM(cim); 291 T result = caseCIM(cim);
301 if (result == null) result = caseIncome_Tax_Credit(cim); 292 if (result == null) result = caseIncome_Tax_Credit(cim);
302 if (result == null) result = caseRoot(cim);
303 if (result == null) result = defaultCase(theEObject); 293 if (result == null) result = defaultCase(theEObject);
304 return result; 294 return result;
305 } 295 }
@@ -307,7 +297,6 @@ public class TaxationSwitch<T> extends Switch<T> {
307 CIP cip = (CIP)theEObject; 297 CIP cip = (CIP)theEObject;
308 T result = caseCIP(cip); 298 T result = caseCIP(cip);
309 if (result == null) result = caseIncome_Tax_Credit(cip); 299 if (result == null) result = caseIncome_Tax_Credit(cip);
310 if (result == null) result = caseRoot(cip);
311 if (result == null) result = defaultCase(theEObject); 300 if (result == null) result = defaultCase(theEObject);
312 return result; 301 return result;
313 } 302 }
@@ -315,85 +304,6 @@ public class TaxationSwitch<T> extends Switch<T> {
315 CIS cis = (CIS)theEObject; 304 CIS cis = (CIS)theEObject;
316 T result = caseCIS(cis); 305 T result = caseCIS(cis);
317 if (result == null) result = caseIncome_Tax_Credit(cis); 306 if (result == null) result = caseIncome_Tax_Credit(cis);
318 if (result == null) result = caseRoot(cis);
319 if (result == null) result = defaultCase(theEObject);
320 return result;
321 }
322 case TaxationPackage.FD: {
323 FD fd = (FD)theEObject;
324 T result = caseFD(fd);
325 if (result == null) result = caseProfessional_Expenses_Deduction(fd);
326 if (result == null) result = caseRoot(fd);
327 if (result == null) result = defaultCase(theEObject);
328 return result;
329 }
330 case TaxationPackage.PROFESSIONAL_EXPENSES_DEDUCTION: {
331 Professional_Expenses_Deduction professional_Expenses_Deduction = (Professional_Expenses_Deduction)theEObject;
332 T result = caseProfessional_Expenses_Deduction(professional_Expenses_Deduction);
333 if (result == null) result = caseRoot(professional_Expenses_Deduction);
334 if (result == null) result = defaultCase(theEObject);
335 return result;
336 }
337 case TaxationPackage.FO: {
338 FO fo = (FO)theEObject;
339 T result = caseFO(fo);
340 if (result == null) result = caseProfessional_Expenses_Deduction(fo);
341 if (result == null) result = caseRoot(fo);
342 if (result == null) result = defaultCase(theEObject);
343 return result;
344 }
345 case TaxationPackage.DS_FOR_PERMANENT_EXPENSE: {
346 DS_for_Permanent_Expense dS_for_Permanent_Expense = (DS_for_Permanent_Expense)theEObject;
347 T result = caseDS_for_Permanent_Expense(dS_for_Permanent_Expense);
348 if (result == null) result = caseDS(dS_for_Permanent_Expense);
349 if (result == null) result = caseRoot(dS_for_Permanent_Expense);
350 if (result == null) result = defaultCase(theEObject);
351 return result;
352 }
353 case TaxationPackage.DS: {
354 DS ds = (DS)theEObject;
355 T result = caseDS(ds);
356 if (result == null) result = caseRoot(ds);
357 if (result == null) result = defaultCase(theEObject);
358 return result;
359 }
360 case TaxationPackage.DS_FOR_INTEREST_EXPENSE: {
361 DS_for_Interest_Expense dS_for_Interest_Expense = (DS_for_Interest_Expense)theEObject;
362 T result = caseDS_for_Interest_Expense(dS_for_Interest_Expense);
363 if (result == null) result = caseDS(dS_for_Interest_Expense);
364 if (result == null) result = caseRoot(dS_for_Interest_Expense);
365 if (result == null) result = defaultCase(theEObject);
366 return result;
367 }
368 case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE: {
369 DS_for_Health_and_Pension_Insurance dS_for_Health_and_Pension_Insurance = (DS_for_Health_and_Pension_Insurance)theEObject;
370 T result = caseDS_for_Health_and_Pension_Insurance(dS_for_Health_and_Pension_Insurance);
371 if (result == null) result = caseDS(dS_for_Health_and_Pension_Insurance);
372 if (result == null) result = caseRoot(dS_for_Health_and_Pension_Insurance);
373 if (result == null) result = defaultCase(theEObject);
374 return result;
375 }
376 case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN: {
377 DS_for_Private_Insurance_and_Plan dS_for_Private_Insurance_and_Plan = (DS_for_Private_Insurance_and_Plan)theEObject;
378 T result = caseDS_for_Private_Insurance_and_Plan(dS_for_Private_Insurance_and_Plan);
379 if (result == null) result = caseDS(dS_for_Private_Insurance_and_Plan);
380 if (result == null) result = caseRoot(dS_for_Private_Insurance_and_Plan);
381 if (result == null) result = defaultCase(theEObject);
382 return result;
383 }
384 case TaxationPackage.DS_FOR_LOSS_CARRYFORWARD: {
385 DS_for_Loss_Carryforward dS_for_Loss_Carryforward = (DS_for_Loss_Carryforward)theEObject;
386 T result = caseDS_for_Loss_Carryforward(dS_for_Loss_Carryforward);
387 if (result == null) result = caseDS(dS_for_Loss_Carryforward);
388 if (result == null) result = caseRoot(dS_for_Loss_Carryforward);
389 if (result == null) result = defaultCase(theEObject);
390 return result;
391 }
392 case TaxationPackage.DS_FOR_DONATION: {
393 DS_for_Donation dS_for_Donation = (DS_for_Donation)theEObject;
394 T result = caseDS_for_Donation(dS_for_Donation);
395 if (result == null) result = caseDS(dS_for_Donation);
396 if (result == null) result = caseRoot(dS_for_Donation);
397 if (result == null) result = defaultCase(theEObject); 307 if (result == null) result = defaultCase(theEObject);
398 return result; 308 return result;
399 } 309 }
@@ -495,12 +405,6 @@ public class TaxationSwitch<T> extends Switch<T> {
495 if (result == null) result = defaultCase(theEObject); 405 if (result == null) result = defaultCase(theEObject);
496 return result; 406 return result;
497 } 407 }
498 case TaxationPackage.ROOT: {
499 Root root = (Root)theEObject;
500 T result = caseRoot(root);
501 if (result == null) result = defaultCase(theEObject);
502 return result;
503 }
504 default: return defaultCase(theEObject); 408 default: return defaultCase(theEObject);
505 } 409 }
506 } 410 }
@@ -1046,156 +950,6 @@ public class TaxationSwitch<T> extends Switch<T> {
1046 } 950 }
1047 951
1048 /** 952 /**
1049 * Returns the result of interpreting the object as an instance of '<em>FD</em>'.
1050 * <!-- begin-user-doc -->
1051 * This implementation returns null;
1052 * returning a non-null result will terminate the switch.
1053 * <!-- end-user-doc -->
1054 * @param object the target of the switch.
1055 * @return the result of interpreting the object as an instance of '<em>FD</em>'.
1056 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1057 * @generated
1058 */
1059 public T caseFD(FD object) {
1060 return null;
1061 }
1062
1063 /**
1064 * Returns the result of interpreting the object as an instance of '<em>Professional Expenses Deduction</em>'.
1065 * <!-- begin-user-doc -->
1066 * This implementation returns null;
1067 * returning a non-null result will terminate the switch.
1068 * <!-- end-user-doc -->
1069 * @param object the target of the switch.
1070 * @return the result of interpreting the object as an instance of '<em>Professional Expenses Deduction</em>'.
1071 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1072 * @generated
1073 */
1074 public T caseProfessional_Expenses_Deduction(Professional_Expenses_Deduction object) {
1075 return null;
1076 }
1077
1078 /**
1079 * Returns the result of interpreting the object as an instance of '<em>FO</em>'.
1080 * <!-- begin-user-doc -->
1081 * This implementation returns null;
1082 * returning a non-null result will terminate the switch.
1083 * <!-- end-user-doc -->
1084 * @param object the target of the switch.
1085 * @return the result of interpreting the object as an instance of '<em>FO</em>'.
1086 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1087 * @generated
1088 */
1089 public T caseFO(FO object) {
1090 return null;
1091 }
1092
1093 /**
1094 * Returns the result of interpreting the object as an instance of '<em>DS for Permanent Expense</em>'.
1095 * <!-- begin-user-doc -->
1096 * This implementation returns null;
1097 * returning a non-null result will terminate the switch.
1098 * <!-- end-user-doc -->
1099 * @param object the target of the switch.
1100 * @return the result of interpreting the object as an instance of '<em>DS for Permanent Expense</em>'.
1101 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1102 * @generated
1103 */
1104 public T caseDS_for_Permanent_Expense(DS_for_Permanent_Expense object) {
1105 return null;
1106 }
1107
1108 /**
1109 * Returns the result of interpreting the object as an instance of '<em>DS</em>'.
1110 * <!-- begin-user-doc -->
1111 * This implementation returns null;
1112 * returning a non-null result will terminate the switch.
1113 * <!-- end-user-doc -->
1114 * @param object the target of the switch.
1115 * @return the result of interpreting the object as an instance of '<em>DS</em>'.
1116 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1117 * @generated
1118 */
1119 public T caseDS(DS object) {
1120 return null;
1121 }
1122
1123 /**
1124 * Returns the result of interpreting the object as an instance of '<em>DS for Interest Expense</em>'.
1125 * <!-- begin-user-doc -->
1126 * This implementation returns null;
1127 * returning a non-null result will terminate the switch.
1128 * <!-- end-user-doc -->
1129 * @param object the target of the switch.
1130 * @return the result of interpreting the object as an instance of '<em>DS for Interest Expense</em>'.
1131 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1132 * @generated
1133 */
1134 public T caseDS_for_Interest_Expense(DS_for_Interest_Expense object) {
1135 return null;
1136 }
1137
1138 /**
1139 * Returns the result of interpreting the object as an instance of '<em>DS for Health and Pension Insurance</em>'.
1140 * <!-- begin-user-doc -->
1141 * This implementation returns null;
1142 * returning a non-null result will terminate the switch.
1143 * <!-- end-user-doc -->
1144 * @param object the target of the switch.
1145 * @return the result of interpreting the object as an instance of '<em>DS for Health and Pension Insurance</em>'.
1146 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1147 * @generated
1148 */
1149 public T caseDS_for_Health_and_Pension_Insurance(DS_for_Health_and_Pension_Insurance object) {
1150 return null;
1151 }
1152
1153 /**
1154 * Returns the result of interpreting the object as an instance of '<em>DS for Private Insurance and Plan</em>'.
1155 * <!-- begin-user-doc -->
1156 * This implementation returns null;
1157 * returning a non-null result will terminate the switch.
1158 * <!-- end-user-doc -->
1159 * @param object the target of the switch.
1160 * @return the result of interpreting the object as an instance of '<em>DS for Private Insurance and Plan</em>'.
1161 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1162 * @generated
1163 */
1164 public T caseDS_for_Private_Insurance_and_Plan(DS_for_Private_Insurance_and_Plan object) {
1165 return null;
1166 }
1167
1168 /**
1169 * Returns the result of interpreting the object as an instance of '<em>DS for Loss Carryforward</em>'.
1170 * <!-- begin-user-doc -->
1171 * This implementation returns null;
1172 * returning a non-null result will terminate the switch.
1173 * <!-- end-user-doc -->
1174 * @param object the target of the switch.
1175 * @return the result of interpreting the object as an instance of '<em>DS for Loss Carryforward</em>'.
1176 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1177 * @generated
1178 */
1179 public T caseDS_for_Loss_Carryforward(DS_for_Loss_Carryforward object) {
1180 return null;
1181 }
1182
1183 /**
1184 * Returns the result of interpreting the object as an instance of '<em>DS for Donation</em>'.
1185 * <!-- begin-user-doc -->
1186 * This implementation returns null;
1187 * returning a non-null result will terminate the switch.
1188 * <!-- end-user-doc -->
1189 * @param object the target of the switch.
1190 * @return the result of interpreting the object as an instance of '<em>DS for Donation</em>'.
1191 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1192 * @generated
1193 */
1194 public T caseDS_for_Donation(DS_for_Donation object) {
1195 return null;
1196 }
1197
1198 /**
1199 * Returns the result of interpreting the object as an instance of '<em>Permanent Expense</em>'. 953 * Returns the result of interpreting the object as an instance of '<em>Permanent Expense</em>'.
1200 * <!-- begin-user-doc --> 954 * <!-- begin-user-doc -->
1201 * This implementation returns null; 955 * This implementation returns null;
@@ -1391,21 +1145,6 @@ public class TaxationSwitch<T> extends Switch<T> {
1391 } 1145 }
1392 1146
1393 /** 1147 /**
1394 * Returns the result of interpreting the object as an instance of '<em>Root</em>'.
1395 * <!-- begin-user-doc -->
1396 * This implementation returns null;
1397 * returning a non-null result will terminate the switch.
1398 * <!-- end-user-doc -->
1399 * @param object the target of the switch.
1400 * @return the result of interpreting the object as an instance of '<em>Root</em>'.
1401 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
1402 * @generated
1403 */
1404 public T caseRoot(Root object) {
1405 return null;
1406 }
1407
1408 /**
1409 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. 1148 * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
1410 * <!-- begin-user-doc --> 1149 * <!-- begin-user-doc -->
1411 * This implementation returns null; 1150 * This implementation returns null;