aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/TaxationWithRootFactoryImpl.java
blob: 876fa8512ff5a0821613ec075a599d3aecad77a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
/**
 */
package TaxationWithRoot.impl;

import TaxationWithRoot.*;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;

import org.eclipse.emf.ecore.impl.EFactoryImpl;

import org.eclipse.emf.ecore.plugin.EcorePlugin;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Factory</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class TaxationWithRootFactoryImpl extends EFactoryImpl implements TaxationWithRootFactory {
	/**
	 * Creates the default factory implementation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static TaxationWithRootFactory init() {
		try {
			TaxationWithRootFactory theTaxationWithRootFactory = (TaxationWithRootFactory)EPackage.Registry.INSTANCE.getEFactory(TaxationWithRootPackage.eNS_URI);
			if (theTaxationWithRootFactory != null) {
				return theTaxationWithRootFactory;
			}
		}
		catch (Exception exception) {
			EcorePlugin.INSTANCE.log(exception);
		}
		return new TaxationWithRootFactoryImpl();
	}

	/**
	 * Creates an instance of the factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TaxationWithRootFactoryImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public EObject create(EClass eClass) {
		switch (eClass.getClassifierID()) {
			case TaxationWithRootPackage.INCOME_TAX: return createIncome_Tax();
			case TaxationWithRootPackage.PHYSICAL_PERSON: return createPhysical_Person();
			case TaxationWithRootPackage.ADDRESS: return createAddress();
			case TaxationWithRootPackage.EXPENSE: return createExpense();
			case TaxationWithRootPackage.DEPENDENT: return createDependent();
			case TaxationWithRootPackage.EXTERNAL_ALLOWANCE: return createExternal_Allowance();
			case TaxationWithRootPackage.HOUSEHOLD: return createHousehold();
			case TaxationWithRootPackage.TAX_PROPERTY: return createTax_Property();
			case TaxationWithRootPackage.FROM_AGENT: return createFromAgent();
			case TaxationWithRootPackage.TAX_CARD: return createTax_Card();
			case TaxationWithRootPackage.INCOME_TAX_CREDIT: return createIncome_Tax_Credit();
			case TaxationWithRootPackage.INCOME_DETAIL: return createIncome_Detail();
			case TaxationWithRootPackage.FROM_LAW: return createFromLaw();
			case TaxationWithRootPackage.FISCAL_ADDRESS: return createFiscal_Address();
			case TaxationWithRootPackage.HABITUAL_ADDRESS: return createHabitual_Address();
			case TaxationWithRootPackage.MARRIAGE_RECORD: return createMarriage_Record();
			case TaxationWithRootPackage.NON_RESIDENT_TAX_PAYER: return createNon_Resident_Tax_Payer();
			case TaxationWithRootPackage.PARTNERSHIP_RECORD: return createPartnership_Record();
			case TaxationWithRootPackage.RESIDENT_TAX_PAYER: return createResident_Tax_Payer();
			case TaxationWithRootPackage.TRADE_AND_BUSINESS_INCOME: return createTrade_and_Business_Income();
			case TaxationWithRootPackage.AGRICULTURE_AND_FORESTRY_INCOME: return createAgriculture_and_Forestry_Income();
			case TaxationWithRootPackage.PENSIONS_AND_ANNUITIES_INCOME: return createPensions_and_Annuities_Income();
			case TaxationWithRootPackage.CAPITAL_AND_INVESTMENTS_INCOME: return createCapital_and_Investments_Income();
			case TaxationWithRootPackage.EMPLOYMENT_INCOME: return createEmployment_Income();
			case TaxationWithRootPackage.RENTALS_AND_LEASES_INCOME: return createRentals_and_Leases_Income();
			case TaxationWithRootPackage.FOREIGN_INCOME: return createForeign_Income();
			case TaxationWithRootPackage.LOCAL_INCOME: return createLocal_Income();
			case TaxationWithRootPackage.CIM: return createCIM();
			case TaxationWithRootPackage.CIP: return createCIP();
			case TaxationWithRootPackage.CIS: return createCIS();
			case TaxationWithRootPackage.PERMANENT_EXPENSE: return createPermanent_Expense();
			case TaxationWithRootPackage.SPECIAL_EXPENSE_DS: return createSpecial_Expense_DS();
			case TaxationWithRootPackage.INTEREST_EXPENSE: return createInterest_Expense();
			case TaxationWithRootPackage.PRIVATE_INSURANCE_AND_PLAN: return createPrivate_Insurance_and_Plan();
			case TaxationWithRootPackage.HEALTH_AND_PENSION_INSURANCE: return createHealth_and_Pension_Insurance();
			case TaxationWithRootPackage.DONATION: return createDonation();
			case TaxationWithRootPackage.LOSS_CARRYFORWARD: return createLoss_Carryforward();
			case TaxationWithRootPackage.SPOUSAL_EXPENSE_AC: return createSpousal_Expense_AC();
			case TaxationWithRootPackage.EXTRAORDINARY_EXPENSE_CE: return createExtraordinary_Expense_CE();
			case TaxationWithRootPackage.TRAVEL_EXPENSE_FD: return createTravel_Expense_FD();
			case TaxationWithRootPackage.PROFESSIONAL_EXPENSE: return createProfessional_Expense();
			case TaxationWithRootPackage.MISCELLANEOUS_EXPENSE_FO: return createMiscellaneous_Expense_FO();
			case TaxationWithRootPackage.RESOURCE: return createResource();
			default:
				throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object createFromString(EDataType eDataType, String initialValue) {
		switch (eDataType.getClassifierID()) {
			case TaxationWithRootPackage.GRANTOR:
				return createGrantorFromString(eDataType, initialValue);
			case TaxationWithRootPackage.DISABILITY_TYPES:
				return createDisability_TypesFromString(eDataType, initialValue);
			case TaxationWithRootPackage.COUNTRY:
				return createCountryFromString(eDataType, initialValue);
			case TaxationWithRootPackage.TAX_OFFICE:
				return createTax_OfficeFromString(eDataType, initialValue);
			case TaxationWithRootPackage.TAX_CLASS_CATEGORY:
				return createTax_Class_CategoryFromString(eDataType, initialValue);
			case TaxationWithRootPackage.JOB_ACTIVITY:
				return createJob_ActivityFromString(eDataType, initialValue);
			case TaxationWithRootPackage.TOWN:
				return createTownFromString(eDataType, initialValue);
			case TaxationWithRootPackage.CE_TYPE:
				return createCE_TypeFromString(eDataType, initialValue);
			case TaxationWithRootPackage.EXPENSE_PURPOSE:
				return createExpense_PurposeFromString(eDataType, initialValue);
			case TaxationWithRootPackage.DEPENDENT_TYPE:
				return createDependent_TypeFromString(eDataType, initialValue);
			case TaxationWithRootPackage.SEPARATION_CAUSES:
				return createSeparation_CausesFromString(eDataType, initialValue);
			case TaxationWithRootPackage.CATEGORY_OF_PERMANENT_EXPENSE:
				return createCategory_of_Permanent_ExpenseFromString(eDataType, initialValue);
			case TaxationWithRootPackage.CATEGORY_OF_HEALTH_AND_PENSION_INSURANCES:
				return createCategory_of_Health_and_Pension_InsurancesFromString(eDataType, initialValue);
			case TaxationWithRootPackage.CATEGORY_OF_PRIVATE_INSURANCE_AND_PLAN:
				return createCategory_of_Private_Insurance_and_PlanFromString(eDataType, initialValue);
			case TaxationWithRootPackage.LEGAL_UNION_TYPES:
				return createLegal_Union_TypesFromString(eDataType, initialValue);
			default:
				throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String convertToString(EDataType eDataType, Object instanceValue) {
		switch (eDataType.getClassifierID()) {
			case TaxationWithRootPackage.GRANTOR:
				return convertGrantorToString(eDataType, instanceValue);
			case TaxationWithRootPackage.DISABILITY_TYPES:
				return convertDisability_TypesToString(eDataType, instanceValue);
			case TaxationWithRootPackage.COUNTRY:
				return convertCountryToString(eDataType, instanceValue);
			case TaxationWithRootPackage.TAX_OFFICE:
				return convertTax_OfficeToString(eDataType, instanceValue);
			case TaxationWithRootPackage.TAX_CLASS_CATEGORY:
				return convertTax_Class_CategoryToString(eDataType, instanceValue);
			case TaxationWithRootPackage.JOB_ACTIVITY:
				return convertJob_ActivityToString(eDataType, instanceValue);
			case TaxationWithRootPackage.TOWN:
				return convertTownToString(eDataType, instanceValue);
			case TaxationWithRootPackage.CE_TYPE:
				return convertCE_TypeToString(eDataType, instanceValue);
			case TaxationWithRootPackage.EXPENSE_PURPOSE:
				return convertExpense_PurposeToString(eDataType, instanceValue);
			case TaxationWithRootPackage.DEPENDENT_TYPE:
				return convertDependent_TypeToString(eDataType, instanceValue);
			case TaxationWithRootPackage.SEPARATION_CAUSES:
				return convertSeparation_CausesToString(eDataType, instanceValue);
			case TaxationWithRootPackage.CATEGORY_OF_PERMANENT_EXPENSE:
				return convertCategory_of_Permanent_ExpenseToString(eDataType, instanceValue);
			case TaxationWithRootPackage.CATEGORY_OF_HEALTH_AND_PENSION_INSURANCES:
				return convertCategory_of_Health_and_Pension_InsurancesToString(eDataType, instanceValue);
			case TaxationWithRootPackage.CATEGORY_OF_PRIVATE_INSURANCE_AND_PLAN:
				return convertCategory_of_Private_Insurance_and_PlanToString(eDataType, instanceValue);
			case TaxationWithRootPackage.LEGAL_UNION_TYPES:
				return convertLegal_Union_TypesToString(eDataType, instanceValue);
			default:
				throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Income_Tax createIncome_Tax() {
		Income_TaxImpl income_Tax = new Income_TaxImpl();
		return income_Tax;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Physical_Person createPhysical_Person() {
		Physical_PersonImpl physical_Person = new Physical_PersonImpl();
		return physical_Person;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Address createAddress() {
		AddressImpl address = new AddressImpl();
		return address;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Expense createExpense() {
		ExpenseImpl expense = new ExpenseImpl();
		return expense;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Dependent createDependent() {
		DependentImpl dependent = new DependentImpl();
		return dependent;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public External_Allowance createExternal_Allowance() {
		External_AllowanceImpl external_Allowance = new External_AllowanceImpl();
		return external_Allowance;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Household createHousehold() {
		HouseholdImpl household = new HouseholdImpl();
		return household;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Tax_Property createTax_Property() {
		Tax_PropertyImpl tax_Property = new Tax_PropertyImpl();
		return tax_Property;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public FromAgent createFromAgent() {
		FromAgentImpl fromAgent = new FromAgentImpl();
		return fromAgent;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Tax_Card createTax_Card() {
		Tax_CardImpl tax_Card = new Tax_CardImpl();
		return tax_Card;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Income_Tax_Credit createIncome_Tax_Credit() {
		Income_Tax_CreditImpl income_Tax_Credit = new Income_Tax_CreditImpl();
		return income_Tax_Credit;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Income_Detail createIncome_Detail() {
		Income_DetailImpl income_Detail = new Income_DetailImpl();
		return income_Detail;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public FromLaw createFromLaw() {
		FromLawImpl fromLaw = new FromLawImpl();
		return fromLaw;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Fiscal_Address createFiscal_Address() {
		Fiscal_AddressImpl fiscal_Address = new Fiscal_AddressImpl();
		return fiscal_Address;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Habitual_Address createHabitual_Address() {
		Habitual_AddressImpl habitual_Address = new Habitual_AddressImpl();
		return habitual_Address;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Marriage_Record createMarriage_Record() {
		Marriage_RecordImpl marriage_Record = new Marriage_RecordImpl();
		return marriage_Record;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Non_Resident_Tax_Payer createNon_Resident_Tax_Payer() {
		Non_Resident_Tax_PayerImpl non_Resident_Tax_Payer = new Non_Resident_Tax_PayerImpl();
		return non_Resident_Tax_Payer;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Partnership_Record createPartnership_Record() {
		Partnership_RecordImpl partnership_Record = new Partnership_RecordImpl();
		return partnership_Record;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Resident_Tax_Payer createResident_Tax_Payer() {
		Resident_Tax_PayerImpl resident_Tax_Payer = new Resident_Tax_PayerImpl();
		return resident_Tax_Payer;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Trade_and_Business_Income createTrade_and_Business_Income() {
		Trade_and_Business_IncomeImpl trade_and_Business_Income = new Trade_and_Business_IncomeImpl();
		return trade_and_Business_Income;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Agriculture_and_Forestry_Income createAgriculture_and_Forestry_Income() {
		Agriculture_and_Forestry_IncomeImpl agriculture_and_Forestry_Income = new Agriculture_and_Forestry_IncomeImpl();
		return agriculture_and_Forestry_Income;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Pensions_and_Annuities_Income createPensions_and_Annuities_Income() {
		Pensions_and_Annuities_IncomeImpl pensions_and_Annuities_Income = new Pensions_and_Annuities_IncomeImpl();
		return pensions_and_Annuities_Income;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Capital_and_Investments_Income createCapital_and_Investments_Income() {
		Capital_and_Investments_IncomeImpl capital_and_Investments_Income = new Capital_and_Investments_IncomeImpl();
		return capital_and_Investments_Income;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Employment_Income createEmployment_Income() {
		Employment_IncomeImpl employment_Income = new Employment_IncomeImpl();
		return employment_Income;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Rentals_and_Leases_Income createRentals_and_Leases_Income() {
		Rentals_and_Leases_IncomeImpl rentals_and_Leases_Income = new Rentals_and_Leases_IncomeImpl();
		return rentals_and_Leases_Income;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Foreign_Income createForeign_Income() {
		Foreign_IncomeImpl foreign_Income = new Foreign_IncomeImpl();
		return foreign_Income;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Local_Income createLocal_Income() {
		Local_IncomeImpl local_Income = new Local_IncomeImpl();
		return local_Income;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public CIM createCIM() {
		CIMImpl cim = new CIMImpl();
		return cim;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public CIP createCIP() {
		CIPImpl cip = new CIPImpl();
		return cip;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public CIS createCIS() {
		CISImpl cis = new CISImpl();
		return cis;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Permanent_Expense createPermanent_Expense() {
		Permanent_ExpenseImpl permanent_Expense = new Permanent_ExpenseImpl();
		return permanent_Expense;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Special_Expense_DS createSpecial_Expense_DS() {
		Special_Expense_DSImpl special_Expense_DS = new Special_Expense_DSImpl();
		return special_Expense_DS;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Interest_Expense createInterest_Expense() {
		Interest_ExpenseImpl interest_Expense = new Interest_ExpenseImpl();
		return interest_Expense;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Private_Insurance_and_Plan createPrivate_Insurance_and_Plan() {
		Private_Insurance_and_PlanImpl private_Insurance_and_Plan = new Private_Insurance_and_PlanImpl();
		return private_Insurance_and_Plan;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Health_and_Pension_Insurance createHealth_and_Pension_Insurance() {
		Health_and_Pension_InsuranceImpl health_and_Pension_Insurance = new Health_and_Pension_InsuranceImpl();
		return health_and_Pension_Insurance;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Donation createDonation() {
		DonationImpl donation = new DonationImpl();
		return donation;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Loss_Carryforward createLoss_Carryforward() {
		Loss_CarryforwardImpl loss_Carryforward = new Loss_CarryforwardImpl();
		return loss_Carryforward;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Spousal_Expense_AC createSpousal_Expense_AC() {
		Spousal_Expense_ACImpl spousal_Expense_AC = new Spousal_Expense_ACImpl();
		return spousal_Expense_AC;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Extraordinary_Expense_CE createExtraordinary_Expense_CE() {
		Extraordinary_Expense_CEImpl extraordinary_Expense_CE = new Extraordinary_Expense_CEImpl();
		return extraordinary_Expense_CE;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Travel_Expense_FD createTravel_Expense_FD() {
		Travel_Expense_FDImpl travel_Expense_FD = new Travel_Expense_FDImpl();
		return travel_Expense_FD;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Professional_Expense createProfessional_Expense() {
		Professional_ExpenseImpl professional_Expense = new Professional_ExpenseImpl();
		return professional_Expense;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Miscellaneous_Expense_FO createMiscellaneous_Expense_FO() {
		Miscellaneous_Expense_FOImpl miscellaneous_Expense_FO = new Miscellaneous_Expense_FOImpl();
		return miscellaneous_Expense_FO;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Resource createResource() {
		ResourceImpl resource = new ResourceImpl();
		return resource;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Grantor createGrantorFromString(EDataType eDataType, String initialValue) {
		Grantor result = Grantor.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertGrantorToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Disability_Types createDisability_TypesFromString(EDataType eDataType, String initialValue) {
		Disability_Types result = Disability_Types.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertDisability_TypesToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Country createCountryFromString(EDataType eDataType, String initialValue) {
		Country result = Country.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCountryToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Tax_Office createTax_OfficeFromString(EDataType eDataType, String initialValue) {
		Tax_Office result = Tax_Office.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTax_OfficeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Tax_Class_Category createTax_Class_CategoryFromString(EDataType eDataType, String initialValue) {
		Tax_Class_Category result = Tax_Class_Category.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTax_Class_CategoryToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Job_Activity createJob_ActivityFromString(EDataType eDataType, String initialValue) {
		Job_Activity result = Job_Activity.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertJob_ActivityToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Town createTownFromString(EDataType eDataType, String initialValue) {
		Town result = Town.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertTownToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CE_Type createCE_TypeFromString(EDataType eDataType, String initialValue) {
		CE_Type result = CE_Type.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCE_TypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Expense_Purpose createExpense_PurposeFromString(EDataType eDataType, String initialValue) {
		Expense_Purpose result = Expense_Purpose.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertExpense_PurposeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Dependent_Type createDependent_TypeFromString(EDataType eDataType, String initialValue) {
		Dependent_Type result = Dependent_Type.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertDependent_TypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Separation_Causes createSeparation_CausesFromString(EDataType eDataType, String initialValue) {
		Separation_Causes result = Separation_Causes.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertSeparation_CausesToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Category_of_Permanent_Expense createCategory_of_Permanent_ExpenseFromString(EDataType eDataType, String initialValue) {
		Category_of_Permanent_Expense result = Category_of_Permanent_Expense.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCategory_of_Permanent_ExpenseToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Category_of_Health_and_Pension_Insurances createCategory_of_Health_and_Pension_InsurancesFromString(EDataType eDataType, String initialValue) {
		Category_of_Health_and_Pension_Insurances result = Category_of_Health_and_Pension_Insurances.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCategory_of_Health_and_Pension_InsurancesToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Category_of_Private_Insurance_and_Plan createCategory_of_Private_Insurance_and_PlanFromString(EDataType eDataType, String initialValue) {
		Category_of_Private_Insurance_and_Plan result = Category_of_Private_Insurance_and_Plan.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertCategory_of_Private_Insurance_and_PlanToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Legal_Union_Types createLegal_Union_TypesFromString(EDataType eDataType, String initialValue) {
		Legal_Union_Types result = Legal_Union_Types.get(initialValue);
		if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String convertLegal_Union_TypesToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public TaxationWithRootPackage getTaxationWithRootPackage() {
		return (TaxationWithRootPackage)getEPackage();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @deprecated
	 * @generated
	 */
	@Deprecated
	public static TaxationWithRootPackage getPackage() {
		return TaxationWithRootPackage.eINSTANCE;
	}

} //TaxationWithRootFactoryImpl