aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java
diff options
context:
space:
mode:
authorLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-05-13 00:16:27 -0400
committerLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-05-13 00:16:27 -0400
commit5fd28fe3201ad6e316fea3688bd89130bc29bc13 (patch)
treef8cc7181b1eadec0f2e1d69d4cdac9e4938e07df /Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java
parentmemory cleaning message between tasks (diff)
downloadVIATRA-Generator-5fd28fe3201ad6e316fea3688bd89130bc29bc13.tar.gz
VIATRA-Generator-5fd28fe3201ad6e316fea3688bd89130bc29bc13.tar.zst
VIATRA-Generator-5fd28fe3201ad6e316fea3688bd89130bc29bc13.zip
Adjust FamilyTree MM. Add new Taxation MM with possible Multiple Roots
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java')
-rw-r--r--Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java1108
1 files changed, 1108 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java
new file mode 100644
index 00000000..12caab7b
--- /dev/null
+++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java
@@ -0,0 +1,1108 @@
1/**
2 */
3package TaxationWithRoot.impl;
4
5import TaxationWithRoot.*;
6
7import org.eclipse.emf.ecore.EClass;
8import org.eclipse.emf.ecore.EDataType;
9import org.eclipse.emf.ecore.EObject;
10import org.eclipse.emf.ecore.EPackage;
11
12import org.eclipse.emf.ecore.impl.EFactoryImpl;
13
14import org.eclipse.emf.ecore.plugin.EcorePlugin;
15
16/**
17 * <!-- begin-user-doc -->
18 * An implementation of the model <b>Factory</b>.
19 * <!-- end-user-doc -->
20 * @generated
21 */
22public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory {
23 /**
24 * Creates the default factory implementation.
25 * <!-- begin-user-doc -->
26 * <!-- end-user-doc -->
27 * @generated
28 */
29 public static TaxationFactory init() {
30 try {
31 TaxationFactory theTaxationFactory = (TaxationFactory)EPackage.Registry.INSTANCE.getEFactory(TaxationPackage.eNS_URI);
32 if (theTaxationFactory != null) {
33 return theTaxationFactory;
34 }
35 }
36 catch (Exception exception) {
37 EcorePlugin.INSTANCE.log(exception);
38 }
39 return new TaxationFactoryImpl();
40 }
41
42 /**
43 * Creates an instance of the factory.
44 * <!-- begin-user-doc -->
45 * <!-- end-user-doc -->
46 * @generated
47 */
48 public TaxationFactoryImpl() {
49 super();
50 }
51
52 /**
53 * <!-- begin-user-doc -->
54 * <!-- end-user-doc -->
55 * @generated
56 */
57 @Override
58 public EObject create(EClass eClass) {
59 switch (eClass.getClassifierID()) {
60 case TaxationPackage.INCOME_TAX: return createIncome_Tax();
61 case TaxationPackage.PHYSICAL_PERSON: return createPhysical_Person();
62 case TaxationPackage.ADDRESS: return createAddress();
63 case TaxationPackage.EXPENSE: return createExpense();
64 case TaxationPackage.DEPENDENT: return createDependent();
65 case TaxationPackage.EXTERNAL_ALLOWANCE: return createExternal_Allowance();
66 case TaxationPackage.HOUSEHOLD: return createHousehold();
67 case TaxationPackage.TAX_PROPERTY: return createTax_Property();
68 case TaxationPackage.FROM_AGENT: return createFromAgent();
69 case TaxationPackage.TAX_CARD: return createTax_Card();
70 case TaxationPackage.INCOME_TAX_CREDIT: return createIncome_Tax_Credit();
71 case TaxationPackage.INCOME_DETAIL: return createIncome_Detail();
72 case TaxationPackage.FROM_LAW: return createFromLaw();
73 case TaxationPackage.FISCAL_ADDRESS: return createFiscal_Address();
74 case TaxationPackage.HABITUAL_ADDRESS: return createHabitual_Address();
75 case TaxationPackage.MARRIAGE_RECORD: return createMarriage_Record();
76 case TaxationPackage.NON_RESIDENT_TAX_PAYER: return createNon_Resident_Tax_Payer();
77 case TaxationPackage.PARTNERSHIP_RECORD: return createPartnership_Record();
78 case TaxationPackage.RESIDENT_TAX_PAYER: return createResident_Tax_Payer();
79 case TaxationPackage.TRADE_AND_BUSINESS_INCOME: return createTrade_and_Business_Income();
80 case TaxationPackage.AGRICULTURE_AND_FORESTRY_INCOME: return createAgriculture_and_Forestry_Income();
81 case TaxationPackage.PENSIONS_AND_ANNUITIES_INCOME: return createPensions_and_Annuities_Income();
82 case TaxationPackage.CAPITAL_AND_INVESTMENTS_INCOME: return createCapital_and_Investments_Income();
83 case TaxationPackage.EMPLOYMENT_INCOME: return createEmployment_Income();
84 case TaxationPackage.RENTALS_AND_LEASES_INCOME: return createRentals_and_Leases_Income();
85 case TaxationPackage.FOREIGN_INCOME: return createForeign_Income();
86 case TaxationPackage.LOCAL_INCOME: return createLocal_Income();
87 case TaxationPackage.CIM: return createCIM();
88 case TaxationPackage.CIP: return createCIP();
89 case TaxationPackage.CIS: return createCIS();
90 case TaxationPackage.FD: return createFD();
91 case TaxationPackage.PROFESSIONAL_EXPENSES_DEDUCTION: return createProfessional_Expenses_Deduction();
92 case TaxationPackage.FO: return createFO();
93 case TaxationPackage.DS_FOR_PERMANENT_EXPENSE: return createDS_for_Permanent_Expense();
94 case TaxationPackage.DS: return createDS();
95 case TaxationPackage.DS_FOR_INTEREST_EXPENSE: return createDS_for_Interest_Expense();
96 case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE: return createDS_for_Health_and_Pension_Insurance();
97 case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN: return createDS_for_Private_Insurance_and_Plan();
98 case TaxationPackage.DS_FOR_LOSS_CARRYFORWARD: return createDS_for_Loss_Carryforward();
99 case TaxationPackage.DS_FOR_DONATION: return createDS_for_Donation();
100 case TaxationPackage.PERMANENT_EXPENSE: return createPermanent_Expense();
101 case TaxationPackage.SPECIAL_EXPENSE_DS: return createSpecial_Expense_DS();
102 case TaxationPackage.INTEREST_EXPENSE: return createInterest_Expense();
103 case TaxationPackage.PRIVATE_INSURANCE_AND_PLAN: return createPrivate_Insurance_and_Plan();
104 case TaxationPackage.HEALTH_AND_PENSION_INSURANCE: return createHealth_and_Pension_Insurance();
105 case TaxationPackage.DONATION: return createDonation();
106 case TaxationPackage.LOSS_CARRYFORWARD: return createLoss_Carryforward();
107 case TaxationPackage.SPOUSAL_EXPENSE_AC: return createSpousal_Expense_AC();
108 case TaxationPackage.EXTRAORDINARY_EXPENSE_CE: return createExtraordinary_Expense_CE();
109 case TaxationPackage.TRAVEL_EXPENSE_FD: return createTravel_Expense_FD();
110 case TaxationPackage.PROFESSIONAL_EXPENSE: return createProfessional_Expense();
111 case TaxationPackage.MISCELLANEOUS_EXPENSE_FO: return createMiscellaneous_Expense_FO();
112 case TaxationPackage.RESOURCE: return createResource();
113 default:
114 throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
115 }
116 }
117
118 /**
119 * <!-- begin-user-doc -->
120 * <!-- end-user-doc -->
121 * @generated
122 */
123 @Override
124 public Object createFromString(EDataType eDataType, String initialValue) {
125 switch (eDataType.getClassifierID()) {
126 case TaxationPackage.GRANTOR:
127 return createGrantorFromString(eDataType, initialValue);
128 case TaxationPackage.DISABILITY_TYPES:
129 return createDisability_TypesFromString(eDataType, initialValue);
130 case TaxationPackage.COUNTRY:
131 return createCountryFromString(eDataType, initialValue);
132 case TaxationPackage.TAX_OFFICE:
133 return createTax_OfficeFromString(eDataType, initialValue);
134 case TaxationPackage.TAX_CLASS_CATEGORY:
135 return createTax_Class_CategoryFromString(eDataType, initialValue);
136 case TaxationPackage.JOB_ACTIVITY:
137 return createJob_ActivityFromString(eDataType, initialValue);
138 case TaxationPackage.TOWN:
139 return createTownFromString(eDataType, initialValue);
140 case TaxationPackage.CE_TYPE:
141 return createCE_TypeFromString(eDataType, initialValue);
142 case TaxationPackage.EXPENSE_PURPOSE:
143 return createExpense_PurposeFromString(eDataType, initialValue);
144 case TaxationPackage.DEPENDENT_TYPE:
145 return createDependent_TypeFromString(eDataType, initialValue);
146 case TaxationPackage.SEPARATION_CAUSES:
147 return createSeparation_CausesFromString(eDataType, initialValue);
148 case TaxationPackage.CATEGORY_OF_PERMANENT_EXPENSE:
149 return createCategory_of_Permanent_ExpenseFromString(eDataType, initialValue);
150 case TaxationPackage.CATEGORY_OF_HEALTH_AND_PENSION_INSURANCES:
151 return createCategory_of_Health_and_Pension_InsurancesFromString(eDataType, initialValue);
152 case TaxationPackage.CATEGORY_OF_PRIVATE_INSURANCE_AND_PLAN:
153 return createCategory_of_Private_Insurance_and_PlanFromString(eDataType, initialValue);
154 case TaxationPackage.LEGAL_UNION_TYPES:
155 return createLegal_Union_TypesFromString(eDataType, initialValue);
156 default:
157 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
158 }
159 }
160
161 /**
162 * <!-- begin-user-doc -->
163 * <!-- end-user-doc -->
164 * @generated
165 */
166 @Override
167 public String convertToString(EDataType eDataType, Object instanceValue) {
168 switch (eDataType.getClassifierID()) {
169 case TaxationPackage.GRANTOR:
170 return convertGrantorToString(eDataType, instanceValue);
171 case TaxationPackage.DISABILITY_TYPES:
172 return convertDisability_TypesToString(eDataType, instanceValue);
173 case TaxationPackage.COUNTRY:
174 return convertCountryToString(eDataType, instanceValue);
175 case TaxationPackage.TAX_OFFICE:
176 return convertTax_OfficeToString(eDataType, instanceValue);
177 case TaxationPackage.TAX_CLASS_CATEGORY:
178 return convertTax_Class_CategoryToString(eDataType, instanceValue);
179 case TaxationPackage.JOB_ACTIVITY:
180 return convertJob_ActivityToString(eDataType, instanceValue);
181 case TaxationPackage.TOWN:
182 return convertTownToString(eDataType, instanceValue);
183 case TaxationPackage.CE_TYPE:
184 return convertCE_TypeToString(eDataType, instanceValue);
185 case TaxationPackage.EXPENSE_PURPOSE:
186 return convertExpense_PurposeToString(eDataType, instanceValue);
187 case TaxationPackage.DEPENDENT_TYPE:
188 return convertDependent_TypeToString(eDataType, instanceValue);
189 case TaxationPackage.SEPARATION_CAUSES:
190 return convertSeparation_CausesToString(eDataType, instanceValue);
191 case TaxationPackage.CATEGORY_OF_PERMANENT_EXPENSE:
192 return convertCategory_of_Permanent_ExpenseToString(eDataType, instanceValue);
193 case TaxationPackage.CATEGORY_OF_HEALTH_AND_PENSION_INSURANCES:
194 return convertCategory_of_Health_and_Pension_InsurancesToString(eDataType, instanceValue);
195 case TaxationPackage.CATEGORY_OF_PRIVATE_INSURANCE_AND_PLAN:
196 return convertCategory_of_Private_Insurance_and_PlanToString(eDataType, instanceValue);
197 case TaxationPackage.LEGAL_UNION_TYPES:
198 return convertLegal_Union_TypesToString(eDataType, instanceValue);
199 default:
200 throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
201 }
202 }
203
204 /**
205 * <!-- begin-user-doc -->
206 * <!-- end-user-doc -->
207 * @generated
208 */
209 @Override
210 public Income_Tax createIncome_Tax() {
211 Income_TaxImpl income_Tax = new Income_TaxImpl();
212 return income_Tax;
213 }
214
215 /**
216 * <!-- begin-user-doc -->
217 * <!-- end-user-doc -->
218 * @generated
219 */
220 @Override
221 public Physical_Person createPhysical_Person() {
222 Physical_PersonImpl physical_Person = new Physical_PersonImpl();
223 return physical_Person;
224 }
225
226 /**
227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc -->
229 * @generated
230 */
231 @Override
232 public Address createAddress() {
233 AddressImpl address = new AddressImpl();
234 return address;
235 }
236
237 /**
238 * <!-- begin-user-doc -->
239 * <!-- end-user-doc -->
240 * @generated
241 */
242 @Override
243 public Expense createExpense() {
244 ExpenseImpl expense = new ExpenseImpl();
245 return expense;
246 }
247
248 /**
249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc -->
251 * @generated
252 */
253 @Override
254 public Dependent createDependent() {
255 DependentImpl dependent = new DependentImpl();
256 return dependent;
257 }
258
259 /**
260 * <!-- begin-user-doc -->
261 * <!-- end-user-doc -->
262 * @generated
263 */
264 @Override
265 public External_Allowance createExternal_Allowance() {
266 External_AllowanceImpl external_Allowance = new External_AllowanceImpl();
267 return external_Allowance;
268 }
269
270 /**
271 * <!-- begin-user-doc -->
272 * <!-- end-user-doc -->
273 * @generated
274 */
275 @Override
276 public Household createHousehold() {
277 HouseholdImpl household = new HouseholdImpl();
278 return household;
279 }
280
281 /**
282 * <!-- begin-user-doc -->
283 * <!-- end-user-doc -->
284 * @generated
285 */
286 @Override
287 public Tax_Property createTax_Property() {
288 Tax_PropertyImpl tax_Property = new Tax_PropertyImpl();
289 return tax_Property;
290 }
291
292 /**
293 * <!-- begin-user-doc -->
294 * <!-- end-user-doc -->
295 * @generated
296 */
297 @Override
298 public FromAgent createFromAgent() {
299 FromAgentImpl fromAgent = new FromAgentImpl();
300 return fromAgent;
301 }
302
303 /**
304 * <!-- begin-user-doc -->
305 * <!-- end-user-doc -->
306 * @generated
307 */
308 @Override
309 public Tax_Card createTax_Card() {
310 Tax_CardImpl tax_Card = new Tax_CardImpl();
311 return tax_Card;
312 }
313
314 /**
315 * <!-- begin-user-doc -->
316 * <!-- end-user-doc -->
317 * @generated
318 */
319 @Override
320 public Income_Tax_Credit createIncome_Tax_Credit() {
321 Income_Tax_CreditImpl income_Tax_Credit = new Income_Tax_CreditImpl();
322 return income_Tax_Credit;
323 }
324
325 /**
326 * <!-- begin-user-doc -->
327 * <!-- end-user-doc -->
328 * @generated
329 */
330 @Override
331 public Income_Detail createIncome_Detail() {
332 Income_DetailImpl income_Detail = new Income_DetailImpl();
333 return income_Detail;
334 }
335
336 /**
337 * <!-- begin-user-doc -->
338 * <!-- end-user-doc -->
339 * @generated
340 */
341 @Override
342 public FromLaw createFromLaw() {
343 FromLawImpl fromLaw = new FromLawImpl();
344 return fromLaw;
345 }
346
347 /**
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 */
352 @Override
353 public Fiscal_Address createFiscal_Address() {
354 Fiscal_AddressImpl fiscal_Address = new Fiscal_AddressImpl();
355 return fiscal_Address;
356 }
357
358 /**
359 * <!-- begin-user-doc -->
360 * <!-- end-user-doc -->
361 * @generated
362 */
363 @Override
364 public Habitual_Address createHabitual_Address() {
365 Habitual_AddressImpl habitual_Address = new Habitual_AddressImpl();
366 return habitual_Address;
367 }
368
369 /**
370 * <!-- begin-user-doc -->
371 * <!-- end-user-doc -->
372 * @generated
373 */
374 @Override
375 public Marriage_Record createMarriage_Record() {
376 Marriage_RecordImpl marriage_Record = new Marriage_RecordImpl();
377 return marriage_Record;
378 }
379
380 /**
381 * <!-- begin-user-doc -->
382 * <!-- end-user-doc -->
383 * @generated
384 */
385 @Override
386 public Non_Resident_Tax_Payer createNon_Resident_Tax_Payer() {
387 Non_Resident_Tax_PayerImpl non_Resident_Tax_Payer = new Non_Resident_Tax_PayerImpl();
388 return non_Resident_Tax_Payer;
389 }
390
391 /**
392 * <!-- begin-user-doc -->
393 * <!-- end-user-doc -->
394 * @generated
395 */
396 @Override
397 public Partnership_Record createPartnership_Record() {
398 Partnership_RecordImpl partnership_Record = new Partnership_RecordImpl();
399 return partnership_Record;
400 }
401
402 /**
403 * <!-- begin-user-doc -->
404 * <!-- end-user-doc -->
405 * @generated
406 */
407 @Override
408 public Resident_Tax_Payer createResident_Tax_Payer() {
409 Resident_Tax_PayerImpl resident_Tax_Payer = new Resident_Tax_PayerImpl();
410 return resident_Tax_Payer;
411 }
412
413 /**
414 * <!-- begin-user-doc -->
415 * <!-- end-user-doc -->
416 * @generated
417 */
418 @Override
419 public Trade_and_Business_Income createTrade_and_Business_Income() {
420 Trade_and_Business_IncomeImpl trade_and_Business_Income = new Trade_and_Business_IncomeImpl();
421 return trade_and_Business_Income;
422 }
423
424 /**
425 * <!-- begin-user-doc -->
426 * <!-- end-user-doc -->
427 * @generated
428 */
429 @Override
430 public Agriculture_and_Forestry_Income createAgriculture_and_Forestry_Income() {
431 Agriculture_and_Forestry_IncomeImpl agriculture_and_Forestry_Income = new Agriculture_and_Forestry_IncomeImpl();
432 return agriculture_and_Forestry_Income;
433 }
434
435 /**
436 * <!-- begin-user-doc -->
437 * <!-- end-user-doc -->
438 * @generated
439 */
440 @Override
441 public Pensions_and_Annuities_Income createPensions_and_Annuities_Income() {
442 Pensions_and_Annuities_IncomeImpl pensions_and_Annuities_Income = new Pensions_and_Annuities_IncomeImpl();
443 return pensions_and_Annuities_Income;
444 }
445
446 /**
447 * <!-- begin-user-doc -->
448 * <!-- end-user-doc -->
449 * @generated
450 */
451 @Override
452 public Capital_and_Investments_Income createCapital_and_Investments_Income() {
453 Capital_and_Investments_IncomeImpl capital_and_Investments_Income = new Capital_and_Investments_IncomeImpl();
454 return capital_and_Investments_Income;
455 }
456
457 /**
458 * <!-- begin-user-doc -->
459 * <!-- end-user-doc -->
460 * @generated
461 */
462 @Override
463 public Employment_Income createEmployment_Income() {
464 Employment_IncomeImpl employment_Income = new Employment_IncomeImpl();
465 return employment_Income;
466 }
467
468 /**
469 * <!-- begin-user-doc -->
470 * <!-- end-user-doc -->
471 * @generated
472 */
473 @Override
474 public Rentals_and_Leases_Income createRentals_and_Leases_Income() {
475 Rentals_and_Leases_IncomeImpl rentals_and_Leases_Income = new Rentals_and_Leases_IncomeImpl();
476 return rentals_and_Leases_Income;
477 }
478
479 /**
480 * <!-- begin-user-doc -->
481 * <!-- end-user-doc -->
482 * @generated
483 */
484 @Override
485 public Foreign_Income createForeign_Income() {
486 Foreign_IncomeImpl foreign_Income = new Foreign_IncomeImpl();
487 return foreign_Income;
488 }
489
490 /**
491 * <!-- begin-user-doc -->
492 * <!-- end-user-doc -->
493 * @generated
494 */
495 @Override
496 public Local_Income createLocal_Income() {
497 Local_IncomeImpl local_Income = new Local_IncomeImpl();
498 return local_Income;
499 }
500
501 /**
502 * <!-- begin-user-doc -->
503 * <!-- end-user-doc -->
504 * @generated
505 */
506 @Override
507 public CIM createCIM() {
508 CIMImpl cim = new CIMImpl();
509 return cim;
510 }
511
512 /**
513 * <!-- begin-user-doc -->
514 * <!-- end-user-doc -->
515 * @generated
516 */
517 @Override
518 public CIP createCIP() {
519 CIPImpl cip = new CIPImpl();
520 return cip;
521 }
522
523 /**
524 * <!-- begin-user-doc -->
525 * <!-- end-user-doc -->
526 * @generated
527 */
528 @Override
529 public CIS createCIS() {
530 CISImpl cis = new CISImpl();
531 return cis;
532 }
533
534 /**
535 * <!-- begin-user-doc -->
536 * <!-- end-user-doc -->
537 * @generated
538 */
539 @Override
540 public FD createFD() {
541 FDImpl fd = new FDImpl();
542 return fd;
543 }
544
545 /**
546 * <!-- begin-user-doc -->
547 * <!-- end-user-doc -->
548 * @generated
549 */
550 @Override
551 public Professional_Expenses_Deduction createProfessional_Expenses_Deduction() {
552 Professional_Expenses_DeductionImpl professional_Expenses_Deduction = new Professional_Expenses_DeductionImpl();
553 return professional_Expenses_Deduction;
554 }
555
556 /**
557 * <!-- begin-user-doc -->
558 * <!-- end-user-doc -->
559 * @generated
560 */
561 @Override
562 public FO createFO() {
563 FOImpl fo = new FOImpl();
564 return fo;
565 }
566
567 /**
568 * <!-- begin-user-doc -->
569 * <!-- end-user-doc -->
570 * @generated
571 */
572 @Override
573 public DS_for_Permanent_Expense createDS_for_Permanent_Expense() {
574 DS_for_Permanent_ExpenseImpl dS_for_Permanent_Expense = new DS_for_Permanent_ExpenseImpl();
575 return dS_for_Permanent_Expense;
576 }
577
578 /**
579 * <!-- begin-user-doc -->
580 * <!-- end-user-doc -->
581 * @generated
582 */
583 @Override
584 public DS createDS() {
585 DSImpl ds = new DSImpl();
586 return ds;
587 }
588
589 /**
590 * <!-- begin-user-doc -->
591 * <!-- end-user-doc -->
592 * @generated
593 */
594 @Override
595 public DS_for_Interest_Expense createDS_for_Interest_Expense() {
596 DS_for_Interest_ExpenseImpl dS_for_Interest_Expense = new DS_for_Interest_ExpenseImpl();
597 return dS_for_Interest_Expense;
598 }
599
600 /**
601 * <!-- begin-user-doc -->
602 * <!-- end-user-doc -->
603 * @generated
604 */
605 @Override
606 public DS_for_Health_and_Pension_Insurance createDS_for_Health_and_Pension_Insurance() {
607 DS_for_Health_and_Pension_InsuranceImpl dS_for_Health_and_Pension_Insurance = new DS_for_Health_and_Pension_InsuranceImpl();
608 return dS_for_Health_and_Pension_Insurance;
609 }
610
611 /**
612 * <!-- begin-user-doc -->
613 * <!-- end-user-doc -->
614 * @generated
615 */
616 @Override
617 public DS_for_Private_Insurance_and_Plan createDS_for_Private_Insurance_and_Plan() {
618 DS_for_Private_Insurance_and_PlanImpl dS_for_Private_Insurance_and_Plan = new DS_for_Private_Insurance_and_PlanImpl();
619 return dS_for_Private_Insurance_and_Plan;
620 }
621
622 /**
623 * <!-- begin-user-doc -->
624 * <!-- end-user-doc -->
625 * @generated
626 */
627 @Override
628 public DS_for_Loss_Carryforward createDS_for_Loss_Carryforward() {
629 DS_for_Loss_CarryforwardImpl dS_for_Loss_Carryforward = new DS_for_Loss_CarryforwardImpl();
630 return dS_for_Loss_Carryforward;
631 }
632
633 /**
634 * <!-- begin-user-doc -->
635 * <!-- end-user-doc -->
636 * @generated
637 */
638 @Override
639 public DS_for_Donation createDS_for_Donation() {
640 DS_for_DonationImpl dS_for_Donation = new DS_for_DonationImpl();
641 return dS_for_Donation;
642 }
643
644 /**
645 * <!-- begin-user-doc -->
646 * <!-- end-user-doc -->
647 * @generated
648 */
649 @Override
650 public Permanent_Expense createPermanent_Expense() {
651 Permanent_ExpenseImpl permanent_Expense = new Permanent_ExpenseImpl();
652 return permanent_Expense;
653 }
654
655 /**
656 * <!-- begin-user-doc -->
657 * <!-- end-user-doc -->
658 * @generated
659 */
660 @Override
661 public Special_Expense_DS createSpecial_Expense_DS() {
662 Special_Expense_DSImpl special_Expense_DS = new Special_Expense_DSImpl();
663 return special_Expense_DS;
664 }
665
666 /**
667 * <!-- begin-user-doc -->
668 * <!-- end-user-doc -->
669 * @generated
670 */
671 @Override
672 public Interest_Expense createInterest_Expense() {
673 Interest_ExpenseImpl interest_Expense = new Interest_ExpenseImpl();
674 return interest_Expense;
675 }
676
677 /**
678 * <!-- begin-user-doc -->
679 * <!-- end-user-doc -->
680 * @generated
681 */
682 @Override
683 public Private_Insurance_and_Plan createPrivate_Insurance_and_Plan() {
684 Private_Insurance_and_PlanImpl private_Insurance_and_Plan = new Private_Insurance_and_PlanImpl();
685 return private_Insurance_and_Plan;
686 }
687
688 /**
689 * <!-- begin-user-doc -->
690 * <!-- end-user-doc -->
691 * @generated
692 */
693 @Override
694 public Health_and_Pension_Insurance createHealth_and_Pension_Insurance() {
695 Health_and_Pension_InsuranceImpl health_and_Pension_Insurance = new Health_and_Pension_InsuranceImpl();
696 return health_and_Pension_Insurance;
697 }
698
699 /**
700 * <!-- begin-user-doc -->
701 * <!-- end-user-doc -->
702 * @generated
703 */
704 @Override
705 public Donation createDonation() {
706 DonationImpl donation = new DonationImpl();
707 return donation;
708 }
709
710 /**
711 * <!-- begin-user-doc -->
712 * <!-- end-user-doc -->
713 * @generated
714 */
715 @Override
716 public Loss_Carryforward createLoss_Carryforward() {
717 Loss_CarryforwardImpl loss_Carryforward = new Loss_CarryforwardImpl();
718 return loss_Carryforward;
719 }
720
721 /**
722 * <!-- begin-user-doc -->
723 * <!-- end-user-doc -->
724 * @generated
725 */
726 @Override
727 public Spousal_Expense_AC createSpousal_Expense_AC() {
728 Spousal_Expense_ACImpl spousal_Expense_AC = new Spousal_Expense_ACImpl();
729 return spousal_Expense_AC;
730 }
731
732 /**
733 * <!-- begin-user-doc -->
734 * <!-- end-user-doc -->
735 * @generated
736 */
737 @Override
738 public Extraordinary_Expense_CE createExtraordinary_Expense_CE() {
739 Extraordinary_Expense_CEImpl extraordinary_Expense_CE = new Extraordinary_Expense_CEImpl();
740 return extraordinary_Expense_CE;
741 }
742
743 /**
744 * <!-- begin-user-doc -->
745 * <!-- end-user-doc -->
746 * @generated
747 */
748 @Override
749 public Travel_Expense_FD createTravel_Expense_FD() {
750 Travel_Expense_FDImpl travel_Expense_FD = new Travel_Expense_FDImpl();
751 return travel_Expense_FD;
752 }
753
754 /**
755 * <!-- begin-user-doc -->
756 * <!-- end-user-doc -->
757 * @generated
758 */
759 @Override
760 public Professional_Expense createProfessional_Expense() {
761 Professional_ExpenseImpl professional_Expense = new Professional_ExpenseImpl();
762 return professional_Expense;
763 }
764
765 /**
766 * <!-- begin-user-doc -->
767 * <!-- end-user-doc -->
768 * @generated
769 */
770 @Override
771 public Miscellaneous_Expense_FO createMiscellaneous_Expense_FO() {
772 Miscellaneous_Expense_FOImpl miscellaneous_Expense_FO = new Miscellaneous_Expense_FOImpl();
773 return miscellaneous_Expense_FO;
774 }
775
776 /**
777 * <!-- begin-user-doc -->
778 * <!-- end-user-doc -->
779 * @generated
780 */
781 @Override
782 public Resource createResource() {
783 ResourceImpl resource = new ResourceImpl();
784 return resource;
785 }
786
787 /**
788 * <!-- begin-user-doc -->
789 * <!-- end-user-doc -->
790 * @generated
791 */
792 public Grantor createGrantorFromString(EDataType eDataType, String initialValue) {
793 Grantor result = Grantor.get(initialValue);
794 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
795 return result;
796 }
797
798 /**
799 * <!-- begin-user-doc -->
800 * <!-- end-user-doc -->
801 * @generated
802 */
803 public String convertGrantorToString(EDataType eDataType, Object instanceValue) {
804 return instanceValue == null ? null : instanceValue.toString();
805 }
806
807 /**
808 * <!-- begin-user-doc -->
809 * <!-- end-user-doc -->
810 * @generated
811 */
812 public Disability_Types createDisability_TypesFromString(EDataType eDataType, String initialValue) {
813 Disability_Types result = Disability_Types.get(initialValue);
814 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
815 return result;
816 }
817
818 /**
819 * <!-- begin-user-doc -->
820 * <!-- end-user-doc -->
821 * @generated
822 */
823 public String convertDisability_TypesToString(EDataType eDataType, Object instanceValue) {
824 return instanceValue == null ? null : instanceValue.toString();
825 }
826
827 /**
828 * <!-- begin-user-doc -->
829 * <!-- end-user-doc -->
830 * @generated
831 */
832 public Country createCountryFromString(EDataType eDataType, String initialValue) {
833 Country result = Country.get(initialValue);
834 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
835 return result;
836 }
837
838 /**
839 * <!-- begin-user-doc -->
840 * <!-- end-user-doc -->
841 * @generated
842 */
843 public String convertCountryToString(EDataType eDataType, Object instanceValue) {
844 return instanceValue == null ? null : instanceValue.toString();
845 }
846
847 /**
848 * <!-- begin-user-doc -->
849 * <!-- end-user-doc -->
850 * @generated
851 */
852 public Tax_Office createTax_OfficeFromString(EDataType eDataType, String initialValue) {
853 Tax_Office result = Tax_Office.get(initialValue);
854 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
855 return result;
856 }
857
858 /**
859 * <!-- begin-user-doc -->
860 * <!-- end-user-doc -->
861 * @generated
862 */
863 public String convertTax_OfficeToString(EDataType eDataType, Object instanceValue) {
864 return instanceValue == null ? null : instanceValue.toString();
865 }
866
867 /**
868 * <!-- begin-user-doc -->
869 * <!-- end-user-doc -->
870 * @generated
871 */
872 public Tax_Class_Category createTax_Class_CategoryFromString(EDataType eDataType, String initialValue) {
873 Tax_Class_Category result = Tax_Class_Category.get(initialValue);
874 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
875 return result;
876 }
877
878 /**
879 * <!-- begin-user-doc -->
880 * <!-- end-user-doc -->
881 * @generated
882 */
883 public String convertTax_Class_CategoryToString(EDataType eDataType, Object instanceValue) {
884 return instanceValue == null ? null : instanceValue.toString();
885 }
886
887 /**
888 * <!-- begin-user-doc -->
889 * <!-- end-user-doc -->
890 * @generated
891 */
892 public Job_Activity createJob_ActivityFromString(EDataType eDataType, String initialValue) {
893 Job_Activity result = Job_Activity.get(initialValue);
894 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
895 return result;
896 }
897
898 /**
899 * <!-- begin-user-doc -->
900 * <!-- end-user-doc -->
901 * @generated
902 */
903 public String convertJob_ActivityToString(EDataType eDataType, Object instanceValue) {
904 return instanceValue == null ? null : instanceValue.toString();
905 }
906
907 /**
908 * <!-- begin-user-doc -->
909 * <!-- end-user-doc -->
910 * @generated
911 */
912 public Town createTownFromString(EDataType eDataType, String initialValue) {
913 Town result = Town.get(initialValue);
914 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
915 return result;
916 }
917
918 /**
919 * <!-- begin-user-doc -->
920 * <!-- end-user-doc -->
921 * @generated
922 */
923 public String convertTownToString(EDataType eDataType, Object instanceValue) {
924 return instanceValue == null ? null : instanceValue.toString();
925 }
926
927 /**
928 * <!-- begin-user-doc -->
929 * <!-- end-user-doc -->
930 * @generated
931 */
932 public CE_Type createCE_TypeFromString(EDataType eDataType, String initialValue) {
933 CE_Type result = CE_Type.get(initialValue);
934 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
935 return result;
936 }
937
938 /**
939 * <!-- begin-user-doc -->
940 * <!-- end-user-doc -->
941 * @generated
942 */
943 public String convertCE_TypeToString(EDataType eDataType, Object instanceValue) {
944 return instanceValue == null ? null : instanceValue.toString();
945 }
946
947 /**
948 * <!-- begin-user-doc -->
949 * <!-- end-user-doc -->
950 * @generated
951 */
952 public Expense_Purpose createExpense_PurposeFromString(EDataType eDataType, String initialValue) {
953 Expense_Purpose result = Expense_Purpose.get(initialValue);
954 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
955 return result;
956 }
957
958 /**
959 * <!-- begin-user-doc -->
960 * <!-- end-user-doc -->
961 * @generated
962 */
963 public String convertExpense_PurposeToString(EDataType eDataType, Object instanceValue) {
964 return instanceValue == null ? null : instanceValue.toString();
965 }
966
967 /**
968 * <!-- begin-user-doc -->
969 * <!-- end-user-doc -->
970 * @generated
971 */
972 public Dependent_Type createDependent_TypeFromString(EDataType eDataType, String initialValue) {
973 Dependent_Type result = Dependent_Type.get(initialValue);
974 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
975 return result;
976 }
977
978 /**
979 * <!-- begin-user-doc -->
980 * <!-- end-user-doc -->
981 * @generated
982 */
983 public String convertDependent_TypeToString(EDataType eDataType, Object instanceValue) {
984 return instanceValue == null ? null : instanceValue.toString();
985 }
986
987 /**
988 * <!-- begin-user-doc -->
989 * <!-- end-user-doc -->
990 * @generated
991 */
992 public Separation_Causes createSeparation_CausesFromString(EDataType eDataType, String initialValue) {
993 Separation_Causes result = Separation_Causes.get(initialValue);
994 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
995 return result;
996 }
997
998 /**
999 * <!-- begin-user-doc -->
1000 * <!-- end-user-doc -->
1001 * @generated
1002 */
1003 public String convertSeparation_CausesToString(EDataType eDataType, Object instanceValue) {
1004 return instanceValue == null ? null : instanceValue.toString();
1005 }
1006
1007 /**
1008 * <!-- begin-user-doc -->
1009 * <!-- end-user-doc -->
1010 * @generated
1011 */
1012 public Category_of_Permanent_Expense createCategory_of_Permanent_ExpenseFromString(EDataType eDataType, String initialValue) {
1013 Category_of_Permanent_Expense result = Category_of_Permanent_Expense.get(initialValue);
1014 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
1015 return result;
1016 }
1017
1018 /**
1019 * <!-- begin-user-doc -->
1020 * <!-- end-user-doc -->
1021 * @generated
1022 */
1023 public String convertCategory_of_Permanent_ExpenseToString(EDataType eDataType, Object instanceValue) {
1024 return instanceValue == null ? null : instanceValue.toString();
1025 }
1026
1027 /**
1028 * <!-- begin-user-doc -->
1029 * <!-- end-user-doc -->
1030 * @generated
1031 */
1032 public Category_of_Health_and_Pension_Insurances createCategory_of_Health_and_Pension_InsurancesFromString(EDataType eDataType, String initialValue) {
1033 Category_of_Health_and_Pension_Insurances result = Category_of_Health_and_Pension_Insurances.get(initialValue);
1034 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
1035 return result;
1036 }
1037
1038 /**
1039 * <!-- begin-user-doc -->
1040 * <!-- end-user-doc -->
1041 * @generated
1042 */
1043 public String convertCategory_of_Health_and_Pension_InsurancesToString(EDataType eDataType, Object instanceValue) {
1044 return instanceValue == null ? null : instanceValue.toString();
1045 }
1046
1047 /**
1048 * <!-- begin-user-doc -->
1049 * <!-- end-user-doc -->
1050 * @generated
1051 */
1052 public Category_of_Private_Insurance_and_Plan createCategory_of_Private_Insurance_and_PlanFromString(EDataType eDataType, String initialValue) {
1053 Category_of_Private_Insurance_and_Plan result = Category_of_Private_Insurance_and_Plan.get(initialValue);
1054 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
1055 return result;
1056 }
1057
1058 /**
1059 * <!-- begin-user-doc -->
1060 * <!-- end-user-doc -->
1061 * @generated
1062 */
1063 public String convertCategory_of_Private_Insurance_and_PlanToString(EDataType eDataType, Object instanceValue) {
1064 return instanceValue == null ? null : instanceValue.toString();
1065 }
1066
1067 /**
1068 * <!-- begin-user-doc -->
1069 * <!-- end-user-doc -->
1070 * @generated
1071 */
1072 public Legal_Union_Types createLegal_Union_TypesFromString(EDataType eDataType, String initialValue) {
1073 Legal_Union_Types result = Legal_Union_Types.get(initialValue);
1074 if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
1075 return result;
1076 }
1077
1078 /**
1079 * <!-- begin-user-doc -->
1080 * <!-- end-user-doc -->
1081 * @generated
1082 */
1083 public String convertLegal_Union_TypesToString(EDataType eDataType, Object instanceValue) {
1084 return instanceValue == null ? null : instanceValue.toString();
1085 }
1086
1087 /**
1088 * <!-- begin-user-doc -->
1089 * <!-- end-user-doc -->
1090 * @generated
1091 */
1092 @Override
1093 public TaxationPackage getTaxationPackage() {
1094 return (TaxationPackage)getEPackage();
1095 }
1096
1097 /**
1098 * <!-- begin-user-doc -->
1099 * <!-- end-user-doc -->
1100 * @deprecated
1101 * @generated
1102 */
1103 @Deprecated
1104 public static TaxationPackage getPackage() {
1105 return TaxationPackage.eINSTANCE;
1106 }
1107
1108} //TaxationFactoryImpl