diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util')
2 files changed, 0 insertions, 459 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationAdapterFactory.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationAdapterFactory.java index 639750ed..ed4a11ff 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationAdapterFactory.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/util/TaxationAdapterFactory.java | |||
@@ -212,46 +212,6 @@ public class TaxationAdapterFactory extends AdapterFactoryImpl { | |||
212 | return createCISAdapter(); | 212 | return createCISAdapter(); |
213 | } | 213 | } |
214 | @Override | 214 | @Override |
215 | public Adapter caseFD(FD object) { | ||
216 | return createFDAdapter(); | ||
217 | } | ||
218 | @Override | ||
219 | public Adapter caseProfessional_Expenses_Deduction(Professional_Expenses_Deduction object) { | ||
220 | return createProfessional_Expenses_DeductionAdapter(); | ||
221 | } | ||
222 | @Override | ||
223 | public Adapter caseFO(FO object) { | ||
224 | return createFOAdapter(); | ||
225 | } | ||
226 | @Override | ||
227 | public Adapter caseDS_for_Permanent_Expense(DS_for_Permanent_Expense object) { | ||
228 | return createDS_for_Permanent_ExpenseAdapter(); | ||
229 | } | ||
230 | @Override | ||
231 | public Adapter caseDS(DS object) { | ||
232 | return createDSAdapter(); | ||
233 | } | ||
234 | @Override | ||
235 | public Adapter caseDS_for_Interest_Expense(DS_for_Interest_Expense object) { | ||
236 | return createDS_for_Interest_ExpenseAdapter(); | ||
237 | } | ||
238 | @Override | ||
239 | public Adapter caseDS_for_Health_and_Pension_Insurance(DS_for_Health_and_Pension_Insurance object) { | ||
240 | return createDS_for_Health_and_Pension_InsuranceAdapter(); | ||
241 | } | ||
242 | @Override | ||
243 | public Adapter caseDS_for_Private_Insurance_and_Plan(DS_for_Private_Insurance_and_Plan object) { | ||
244 | return createDS_for_Private_Insurance_and_PlanAdapter(); | ||
245 | } | ||
246 | @Override | ||
247 | public Adapter caseDS_for_Loss_Carryforward(DS_for_Loss_Carryforward object) { | ||
248 | return createDS_for_Loss_CarryforwardAdapter(); | ||
249 | } | ||
250 | @Override | ||
251 | public Adapter caseDS_for_Donation(DS_for_Donation object) { | ||
252 | return createDS_for_DonationAdapter(); | ||
253 | } | ||
254 | @Override | ||
255 | public Adapter casePermanent_Expense(Permanent_Expense object) { | 215 | public Adapter casePermanent_Expense(Permanent_Expense object) { |
256 | return createPermanent_ExpenseAdapter(); | 216 | return createPermanent_ExpenseAdapter(); |
257 | } | 217 | } |
@@ -304,10 +264,6 @@ public class TaxationAdapterFactory extends AdapterFactoryImpl { | |||
304 | return createResourceAdapter(); | 264 | return createResourceAdapter(); |
305 | } | 265 | } |
306 | @Override | 266 | @Override |
307 | public Adapter caseRoot(Root object) { | ||
308 | return createRootAdapter(); | ||
309 | } | ||
310 | @Override | ||
311 | public Adapter defaultCase(EObject object) { | 267 | public Adapter defaultCase(EObject object) { |
312 | return createEObjectAdapter(); | 268 | return createEObjectAdapter(); |
313 | } | 269 | } |
@@ -832,146 +788,6 @@ public class TaxationAdapterFactory extends AdapterFactoryImpl { | |||
832 | } | 788 | } |
833 | 789 | ||
834 | /** | 790 | /** |
835 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.FD <em>FD</em>}'. | ||
836 | * <!-- begin-user-doc --> | ||
837 | * This default implementation returns null so that we can easily ignore cases; | ||
838 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
839 | * <!-- end-user-doc --> | ||
840 | * @return the new adapter. | ||
841 | * @see TaxationWithRoot.FD | ||
842 | * @generated | ||
843 | */ | ||
844 | public Adapter createFDAdapter() { | ||
845 | return null; | ||
846 | } | ||
847 | |||
848 | /** | ||
849 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.Professional_Expenses_Deduction <em>Professional Expenses Deduction</em>}'. | ||
850 | * <!-- begin-user-doc --> | ||
851 | * This default implementation returns null so that we can easily ignore cases; | ||
852 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
853 | * <!-- end-user-doc --> | ||
854 | * @return the new adapter. | ||
855 | * @see TaxationWithRoot.Professional_Expenses_Deduction | ||
856 | * @generated | ||
857 | */ | ||
858 | public Adapter createProfessional_Expenses_DeductionAdapter() { | ||
859 | return null; | ||
860 | } | ||
861 | |||
862 | /** | ||
863 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.FO <em>FO</em>}'. | ||
864 | * <!-- begin-user-doc --> | ||
865 | * This default implementation returns null so that we can easily ignore cases; | ||
866 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
867 | * <!-- end-user-doc --> | ||
868 | * @return the new adapter. | ||
869 | * @see TaxationWithRoot.FO | ||
870 | * @generated | ||
871 | */ | ||
872 | public Adapter createFOAdapter() { | ||
873 | return null; | ||
874 | } | ||
875 | |||
876 | /** | ||
877 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Permanent_Expense <em>DS for Permanent Expense</em>}'. | ||
878 | * <!-- begin-user-doc --> | ||
879 | * This default implementation returns null so that we can easily ignore cases; | ||
880 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
881 | * <!-- end-user-doc --> | ||
882 | * @return the new adapter. | ||
883 | * @see TaxationWithRoot.DS_for_Permanent_Expense | ||
884 | * @generated | ||
885 | */ | ||
886 | public Adapter createDS_for_Permanent_ExpenseAdapter() { | ||
887 | return null; | ||
888 | } | ||
889 | |||
890 | /** | ||
891 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS <em>DS</em>}'. | ||
892 | * <!-- begin-user-doc --> | ||
893 | * This default implementation returns null so that we can easily ignore cases; | ||
894 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
895 | * <!-- end-user-doc --> | ||
896 | * @return the new adapter. | ||
897 | * @see TaxationWithRoot.DS | ||
898 | * @generated | ||
899 | */ | ||
900 | public Adapter createDSAdapter() { | ||
901 | return null; | ||
902 | } | ||
903 | |||
904 | /** | ||
905 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Interest_Expense <em>DS for Interest Expense</em>}'. | ||
906 | * <!-- begin-user-doc --> | ||
907 | * This default implementation returns null so that we can easily ignore cases; | ||
908 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
909 | * <!-- end-user-doc --> | ||
910 | * @return the new adapter. | ||
911 | * @see TaxationWithRoot.DS_for_Interest_Expense | ||
912 | * @generated | ||
913 | */ | ||
914 | public Adapter createDS_for_Interest_ExpenseAdapter() { | ||
915 | return null; | ||
916 | } | ||
917 | |||
918 | /** | ||
919 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Health_and_Pension_Insurance <em>DS for Health and Pension Insurance</em>}'. | ||
920 | * <!-- begin-user-doc --> | ||
921 | * This default implementation returns null so that we can easily ignore cases; | ||
922 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
923 | * <!-- end-user-doc --> | ||
924 | * @return the new adapter. | ||
925 | * @see TaxationWithRoot.DS_for_Health_and_Pension_Insurance | ||
926 | * @generated | ||
927 | */ | ||
928 | public Adapter createDS_for_Health_and_Pension_InsuranceAdapter() { | ||
929 | return null; | ||
930 | } | ||
931 | |||
932 | /** | ||
933 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Private_Insurance_and_Plan <em>DS for Private Insurance and Plan</em>}'. | ||
934 | * <!-- begin-user-doc --> | ||
935 | * This default implementation returns null so that we can easily ignore cases; | ||
936 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
937 | * <!-- end-user-doc --> | ||
938 | * @return the new adapter. | ||
939 | * @see TaxationWithRoot.DS_for_Private_Insurance_and_Plan | ||
940 | * @generated | ||
941 | */ | ||
942 | public Adapter createDS_for_Private_Insurance_and_PlanAdapter() { | ||
943 | return null; | ||
944 | } | ||
945 | |||
946 | /** | ||
947 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Loss_Carryforward <em>DS for Loss Carryforward</em>}'. | ||
948 | * <!-- begin-user-doc --> | ||
949 | * This default implementation returns null so that we can easily ignore cases; | ||
950 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
951 | * <!-- end-user-doc --> | ||
952 | * @return the new adapter. | ||
953 | * @see TaxationWithRoot.DS_for_Loss_Carryforward | ||
954 | * @generated | ||
955 | */ | ||
956 | public Adapter createDS_for_Loss_CarryforwardAdapter() { | ||
957 | return null; | ||
958 | } | ||
959 | |||
960 | /** | ||
961 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.DS_for_Donation <em>DS for Donation</em>}'. | ||
962 | * <!-- begin-user-doc --> | ||
963 | * This default implementation returns null so that we can easily ignore cases; | ||
964 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
965 | * <!-- end-user-doc --> | ||
966 | * @return the new adapter. | ||
967 | * @see TaxationWithRoot.DS_for_Donation | ||
968 | * @generated | ||
969 | */ | ||
970 | public Adapter createDS_for_DonationAdapter() { | ||
971 | return null; | ||
972 | } | ||
973 | |||
974 | /** | ||
975 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.Permanent_Expense <em>Permanent Expense</em>}'. | 791 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.Permanent_Expense <em>Permanent Expense</em>}'. |
976 | * <!-- begin-user-doc --> | 792 | * <!-- begin-user-doc --> |
977 | * This default implementation returns null so that we can easily ignore cases; | 793 | * This default implementation returns null so that we can easily ignore cases; |
@@ -1154,20 +970,6 @@ public class TaxationAdapterFactory extends AdapterFactoryImpl { | |||
1154 | } | 970 | } |
1155 | 971 | ||
1156 | /** | 972 | /** |
1157 | * Creates a new adapter for an object of class '{@link TaxationWithRoot.Root <em>Root</em>}'. | ||
1158 | * <!-- begin-user-doc --> | ||
1159 | * This default implementation returns null so that we can easily ignore cases; | ||
1160 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
1161 | * <!-- end-user-doc --> | ||
1162 | * @return the new adapter. | ||
1163 | * @see TaxationWithRoot.Root | ||
1164 | * @generated | ||
1165 | */ | ||
1166 | public Adapter createRootAdapter() { | ||
1167 | return null; | ||
1168 | } | ||
1169 | |||
1170 | /** | ||
1171 | * Creates a new adapter for the default case. | 973 | * Creates a new adapter for the default case. |
1172 | * <!-- begin-user-doc --> | 974 | * <!-- begin-user-doc --> |
1173 | * This default implementation returns null. | 975 | * This default implementation returns null. |
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; |