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