diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/TaxationWithRootFactoryImpl.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/TaxationWithRootFactoryImpl.java | 988 |
1 files changed, 988 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/TaxationWithRootFactoryImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/TaxationWithRootFactoryImpl.java new file mode 100644 index 00000000..876fa851 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/TaxationWithRootFactoryImpl.java | |||
@@ -0,0 +1,988 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.*; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.EDataType; | ||
9 | import org.eclipse.emf.ecore.EObject; | ||
10 | import org.eclipse.emf.ecore.EPackage; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
13 | |||
14 | import 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 | */ | ||
22 | public class TaxationWithRootFactoryImpl extends EFactoryImpl implements TaxationWithRootFactory { | ||
23 | /** | ||
24 | * Creates the default factory implementation. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | public static TaxationWithRootFactory init() { | ||
30 | try { | ||
31 | TaxationWithRootFactory theTaxationWithRootFactory = (TaxationWithRootFactory)EPackage.Registry.INSTANCE.getEFactory(TaxationWithRootPackage.eNS_URI); | ||
32 | if (theTaxationWithRootFactory != null) { | ||
33 | return theTaxationWithRootFactory; | ||
34 | } | ||
35 | } | ||
36 | catch (Exception exception) { | ||
37 | EcorePlugin.INSTANCE.log(exception); | ||
38 | } | ||
39 | return new TaxationWithRootFactoryImpl(); | ||
40 | } | ||
41 | |||
42 | /** | ||
43 | * Creates an instance of the factory. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | public TaxationWithRootFactoryImpl() { | ||
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 TaxationWithRootPackage.INCOME_TAX: return createIncome_Tax(); | ||
61 | case TaxationWithRootPackage.PHYSICAL_PERSON: return createPhysical_Person(); | ||
62 | case TaxationWithRootPackage.ADDRESS: return createAddress(); | ||
63 | case TaxationWithRootPackage.EXPENSE: return createExpense(); | ||
64 | case TaxationWithRootPackage.DEPENDENT: return createDependent(); | ||
65 | case TaxationWithRootPackage.EXTERNAL_ALLOWANCE: return createExternal_Allowance(); | ||
66 | case TaxationWithRootPackage.HOUSEHOLD: return createHousehold(); | ||
67 | case TaxationWithRootPackage.TAX_PROPERTY: return createTax_Property(); | ||
68 | case TaxationWithRootPackage.FROM_AGENT: return createFromAgent(); | ||
69 | case TaxationWithRootPackage.TAX_CARD: return createTax_Card(); | ||
70 | case TaxationWithRootPackage.INCOME_TAX_CREDIT: return createIncome_Tax_Credit(); | ||
71 | case TaxationWithRootPackage.INCOME_DETAIL: return createIncome_Detail(); | ||
72 | case TaxationWithRootPackage.FROM_LAW: return createFromLaw(); | ||
73 | case TaxationWithRootPackage.FISCAL_ADDRESS: return createFiscal_Address(); | ||
74 | case TaxationWithRootPackage.HABITUAL_ADDRESS: return createHabitual_Address(); | ||
75 | case TaxationWithRootPackage.MARRIAGE_RECORD: return createMarriage_Record(); | ||
76 | case TaxationWithRootPackage.NON_RESIDENT_TAX_PAYER: return createNon_Resident_Tax_Payer(); | ||
77 | case TaxationWithRootPackage.PARTNERSHIP_RECORD: return createPartnership_Record(); | ||
78 | case TaxationWithRootPackage.RESIDENT_TAX_PAYER: return createResident_Tax_Payer(); | ||
79 | case TaxationWithRootPackage.TRADE_AND_BUSINESS_INCOME: return createTrade_and_Business_Income(); | ||
80 | case TaxationWithRootPackage.AGRICULTURE_AND_FORESTRY_INCOME: return createAgriculture_and_Forestry_Income(); | ||
81 | case TaxationWithRootPackage.PENSIONS_AND_ANNUITIES_INCOME: return createPensions_and_Annuities_Income(); | ||
82 | case TaxationWithRootPackage.CAPITAL_AND_INVESTMENTS_INCOME: return createCapital_and_Investments_Income(); | ||
83 | case TaxationWithRootPackage.EMPLOYMENT_INCOME: return createEmployment_Income(); | ||
84 | case TaxationWithRootPackage.RENTALS_AND_LEASES_INCOME: return createRentals_and_Leases_Income(); | ||
85 | case TaxationWithRootPackage.FOREIGN_INCOME: return createForeign_Income(); | ||
86 | case TaxationWithRootPackage.LOCAL_INCOME: return createLocal_Income(); | ||
87 | case TaxationWithRootPackage.CIM: return createCIM(); | ||
88 | case TaxationWithRootPackage.CIP: return createCIP(); | ||
89 | case TaxationWithRootPackage.CIS: return createCIS(); | ||
90 | case TaxationWithRootPackage.PERMANENT_EXPENSE: return createPermanent_Expense(); | ||
91 | case TaxationWithRootPackage.SPECIAL_EXPENSE_DS: return createSpecial_Expense_DS(); | ||
92 | case TaxationWithRootPackage.INTEREST_EXPENSE: return createInterest_Expense(); | ||
93 | case TaxationWithRootPackage.PRIVATE_INSURANCE_AND_PLAN: return createPrivate_Insurance_and_Plan(); | ||
94 | case TaxationWithRootPackage.HEALTH_AND_PENSION_INSURANCE: return createHealth_and_Pension_Insurance(); | ||
95 | case TaxationWithRootPackage.DONATION: return createDonation(); | ||
96 | case TaxationWithRootPackage.LOSS_CARRYFORWARD: return createLoss_Carryforward(); | ||
97 | case TaxationWithRootPackage.SPOUSAL_EXPENSE_AC: return createSpousal_Expense_AC(); | ||
98 | case TaxationWithRootPackage.EXTRAORDINARY_EXPENSE_CE: return createExtraordinary_Expense_CE(); | ||
99 | case TaxationWithRootPackage.TRAVEL_EXPENSE_FD: return createTravel_Expense_FD(); | ||
100 | case TaxationWithRootPackage.PROFESSIONAL_EXPENSE: return createProfessional_Expense(); | ||
101 | case TaxationWithRootPackage.MISCELLANEOUS_EXPENSE_FO: return createMiscellaneous_Expense_FO(); | ||
102 | case TaxationWithRootPackage.RESOURCE: return createResource(); | ||
103 | default: | ||
104 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
105 | } | ||
106 | } | ||
107 | |||
108 | /** | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @generated | ||
112 | */ | ||
113 | @Override | ||
114 | public Object createFromString(EDataType eDataType, String initialValue) { | ||
115 | switch (eDataType.getClassifierID()) { | ||
116 | case TaxationWithRootPackage.GRANTOR: | ||
117 | return createGrantorFromString(eDataType, initialValue); | ||
118 | case TaxationWithRootPackage.DISABILITY_TYPES: | ||
119 | return createDisability_TypesFromString(eDataType, initialValue); | ||
120 | case TaxationWithRootPackage.COUNTRY: | ||
121 | return createCountryFromString(eDataType, initialValue); | ||
122 | case TaxationWithRootPackage.TAX_OFFICE: | ||
123 | return createTax_OfficeFromString(eDataType, initialValue); | ||
124 | case TaxationWithRootPackage.TAX_CLASS_CATEGORY: | ||
125 | return createTax_Class_CategoryFromString(eDataType, initialValue); | ||
126 | case TaxationWithRootPackage.JOB_ACTIVITY: | ||
127 | return createJob_ActivityFromString(eDataType, initialValue); | ||
128 | case TaxationWithRootPackage.TOWN: | ||
129 | return createTownFromString(eDataType, initialValue); | ||
130 | case TaxationWithRootPackage.CE_TYPE: | ||
131 | return createCE_TypeFromString(eDataType, initialValue); | ||
132 | case TaxationWithRootPackage.EXPENSE_PURPOSE: | ||
133 | return createExpense_PurposeFromString(eDataType, initialValue); | ||
134 | case TaxationWithRootPackage.DEPENDENT_TYPE: | ||
135 | return createDependent_TypeFromString(eDataType, initialValue); | ||
136 | case TaxationWithRootPackage.SEPARATION_CAUSES: | ||
137 | return createSeparation_CausesFromString(eDataType, initialValue); | ||
138 | case TaxationWithRootPackage.CATEGORY_OF_PERMANENT_EXPENSE: | ||
139 | return createCategory_of_Permanent_ExpenseFromString(eDataType, initialValue); | ||
140 | case TaxationWithRootPackage.CATEGORY_OF_HEALTH_AND_PENSION_INSURANCES: | ||
141 | return createCategory_of_Health_and_Pension_InsurancesFromString(eDataType, initialValue); | ||
142 | case TaxationWithRootPackage.CATEGORY_OF_PRIVATE_INSURANCE_AND_PLAN: | ||
143 | return createCategory_of_Private_Insurance_and_PlanFromString(eDataType, initialValue); | ||
144 | case TaxationWithRootPackage.LEGAL_UNION_TYPES: | ||
145 | return createLegal_Union_TypesFromString(eDataType, initialValue); | ||
146 | default: | ||
147 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
148 | } | ||
149 | } | ||
150 | |||
151 | /** | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @generated | ||
155 | */ | ||
156 | @Override | ||
157 | public String convertToString(EDataType eDataType, Object instanceValue) { | ||
158 | switch (eDataType.getClassifierID()) { | ||
159 | case TaxationWithRootPackage.GRANTOR: | ||
160 | return convertGrantorToString(eDataType, instanceValue); | ||
161 | case TaxationWithRootPackage.DISABILITY_TYPES: | ||
162 | return convertDisability_TypesToString(eDataType, instanceValue); | ||
163 | case TaxationWithRootPackage.COUNTRY: | ||
164 | return convertCountryToString(eDataType, instanceValue); | ||
165 | case TaxationWithRootPackage.TAX_OFFICE: | ||
166 | return convertTax_OfficeToString(eDataType, instanceValue); | ||
167 | case TaxationWithRootPackage.TAX_CLASS_CATEGORY: | ||
168 | return convertTax_Class_CategoryToString(eDataType, instanceValue); | ||
169 | case TaxationWithRootPackage.JOB_ACTIVITY: | ||
170 | return convertJob_ActivityToString(eDataType, instanceValue); | ||
171 | case TaxationWithRootPackage.TOWN: | ||
172 | return convertTownToString(eDataType, instanceValue); | ||
173 | case TaxationWithRootPackage.CE_TYPE: | ||
174 | return convertCE_TypeToString(eDataType, instanceValue); | ||
175 | case TaxationWithRootPackage.EXPENSE_PURPOSE: | ||
176 | return convertExpense_PurposeToString(eDataType, instanceValue); | ||
177 | case TaxationWithRootPackage.DEPENDENT_TYPE: | ||
178 | return convertDependent_TypeToString(eDataType, instanceValue); | ||
179 | case TaxationWithRootPackage.SEPARATION_CAUSES: | ||
180 | return convertSeparation_CausesToString(eDataType, instanceValue); | ||
181 | case TaxationWithRootPackage.CATEGORY_OF_PERMANENT_EXPENSE: | ||
182 | return convertCategory_of_Permanent_ExpenseToString(eDataType, instanceValue); | ||
183 | case TaxationWithRootPackage.CATEGORY_OF_HEALTH_AND_PENSION_INSURANCES: | ||
184 | return convertCategory_of_Health_and_Pension_InsurancesToString(eDataType, instanceValue); | ||
185 | case TaxationWithRootPackage.CATEGORY_OF_PRIVATE_INSURANCE_AND_PLAN: | ||
186 | return convertCategory_of_Private_Insurance_and_PlanToString(eDataType, instanceValue); | ||
187 | case TaxationWithRootPackage.LEGAL_UNION_TYPES: | ||
188 | return convertLegal_Union_TypesToString(eDataType, instanceValue); | ||
189 | default: | ||
190 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
191 | } | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * <!-- begin-user-doc --> | ||
196 | * <!-- end-user-doc --> | ||
197 | * @generated | ||
198 | */ | ||
199 | @Override | ||
200 | public Income_Tax createIncome_Tax() { | ||
201 | Income_TaxImpl income_Tax = new Income_TaxImpl(); | ||
202 | return income_Tax; | ||
203 | } | ||
204 | |||
205 | /** | ||
206 | * <!-- begin-user-doc --> | ||
207 | * <!-- end-user-doc --> | ||
208 | * @generated | ||
209 | */ | ||
210 | @Override | ||
211 | public Physical_Person createPhysical_Person() { | ||
212 | Physical_PersonImpl physical_Person = new Physical_PersonImpl(); | ||
213 | return physical_Person; | ||
214 | } | ||
215 | |||
216 | /** | ||
217 | * <!-- begin-user-doc --> | ||
218 | * <!-- end-user-doc --> | ||
219 | * @generated | ||
220 | */ | ||
221 | @Override | ||
222 | public Address createAddress() { | ||
223 | AddressImpl address = new AddressImpl(); | ||
224 | return address; | ||
225 | } | ||
226 | |||
227 | /** | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | */ | ||
232 | @Override | ||
233 | public Expense createExpense() { | ||
234 | ExpenseImpl expense = new ExpenseImpl(); | ||
235 | return expense; | ||
236 | } | ||
237 | |||
238 | /** | ||
239 | * <!-- begin-user-doc --> | ||
240 | * <!-- end-user-doc --> | ||
241 | * @generated | ||
242 | */ | ||
243 | @Override | ||
244 | public Dependent createDependent() { | ||
245 | DependentImpl dependent = new DependentImpl(); | ||
246 | return dependent; | ||
247 | } | ||
248 | |||
249 | /** | ||
250 | * <!-- begin-user-doc --> | ||
251 | * <!-- end-user-doc --> | ||
252 | * @generated | ||
253 | */ | ||
254 | @Override | ||
255 | public External_Allowance createExternal_Allowance() { | ||
256 | External_AllowanceImpl external_Allowance = new External_AllowanceImpl(); | ||
257 | return external_Allowance; | ||
258 | } | ||
259 | |||
260 | /** | ||
261 | * <!-- begin-user-doc --> | ||
262 | * <!-- end-user-doc --> | ||
263 | * @generated | ||
264 | */ | ||
265 | @Override | ||
266 | public Household createHousehold() { | ||
267 | HouseholdImpl household = new HouseholdImpl(); | ||
268 | return household; | ||
269 | } | ||
270 | |||
271 | /** | ||
272 | * <!-- begin-user-doc --> | ||
273 | * <!-- end-user-doc --> | ||
274 | * @generated | ||
275 | */ | ||
276 | @Override | ||
277 | public Tax_Property createTax_Property() { | ||
278 | Tax_PropertyImpl tax_Property = new Tax_PropertyImpl(); | ||
279 | return tax_Property; | ||
280 | } | ||
281 | |||
282 | /** | ||
283 | * <!-- begin-user-doc --> | ||
284 | * <!-- end-user-doc --> | ||
285 | * @generated | ||
286 | */ | ||
287 | @Override | ||
288 | public FromAgent createFromAgent() { | ||
289 | FromAgentImpl fromAgent = new FromAgentImpl(); | ||
290 | return fromAgent; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | */ | ||
298 | @Override | ||
299 | public Tax_Card createTax_Card() { | ||
300 | Tax_CardImpl tax_Card = new Tax_CardImpl(); | ||
301 | return tax_Card; | ||
302 | } | ||
303 | |||
304 | /** | ||
305 | * <!-- begin-user-doc --> | ||
306 | * <!-- end-user-doc --> | ||
307 | * @generated | ||
308 | */ | ||
309 | @Override | ||
310 | public Income_Tax_Credit createIncome_Tax_Credit() { | ||
311 | Income_Tax_CreditImpl income_Tax_Credit = new Income_Tax_CreditImpl(); | ||
312 | return income_Tax_Credit; | ||
313 | } | ||
314 | |||
315 | /** | ||
316 | * <!-- begin-user-doc --> | ||
317 | * <!-- end-user-doc --> | ||
318 | * @generated | ||
319 | */ | ||
320 | @Override | ||
321 | public Income_Detail createIncome_Detail() { | ||
322 | Income_DetailImpl income_Detail = new Income_DetailImpl(); | ||
323 | return income_Detail; | ||
324 | } | ||
325 | |||
326 | /** | ||
327 | * <!-- begin-user-doc --> | ||
328 | * <!-- end-user-doc --> | ||
329 | * @generated | ||
330 | */ | ||
331 | @Override | ||
332 | public FromLaw createFromLaw() { | ||
333 | FromLawImpl fromLaw = new FromLawImpl(); | ||
334 | return fromLaw; | ||
335 | } | ||
336 | |||
337 | /** | ||
338 | * <!-- begin-user-doc --> | ||
339 | * <!-- end-user-doc --> | ||
340 | * @generated | ||
341 | */ | ||
342 | @Override | ||
343 | public Fiscal_Address createFiscal_Address() { | ||
344 | Fiscal_AddressImpl fiscal_Address = new Fiscal_AddressImpl(); | ||
345 | return fiscal_Address; | ||
346 | } | ||
347 | |||
348 | /** | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | */ | ||
353 | @Override | ||
354 | public Habitual_Address createHabitual_Address() { | ||
355 | Habitual_AddressImpl habitual_Address = new Habitual_AddressImpl(); | ||
356 | return habitual_Address; | ||
357 | } | ||
358 | |||
359 | /** | ||
360 | * <!-- begin-user-doc --> | ||
361 | * <!-- end-user-doc --> | ||
362 | * @generated | ||
363 | */ | ||
364 | @Override | ||
365 | public Marriage_Record createMarriage_Record() { | ||
366 | Marriage_RecordImpl marriage_Record = new Marriage_RecordImpl(); | ||
367 | return marriage_Record; | ||
368 | } | ||
369 | |||
370 | /** | ||
371 | * <!-- begin-user-doc --> | ||
372 | * <!-- end-user-doc --> | ||
373 | * @generated | ||
374 | */ | ||
375 | @Override | ||
376 | public Non_Resident_Tax_Payer createNon_Resident_Tax_Payer() { | ||
377 | Non_Resident_Tax_PayerImpl non_Resident_Tax_Payer = new Non_Resident_Tax_PayerImpl(); | ||
378 | return non_Resident_Tax_Payer; | ||
379 | } | ||
380 | |||
381 | /** | ||
382 | * <!-- begin-user-doc --> | ||
383 | * <!-- end-user-doc --> | ||
384 | * @generated | ||
385 | */ | ||
386 | @Override | ||
387 | public Partnership_Record createPartnership_Record() { | ||
388 | Partnership_RecordImpl partnership_Record = new Partnership_RecordImpl(); | ||
389 | return partnership_Record; | ||
390 | } | ||
391 | |||
392 | /** | ||
393 | * <!-- begin-user-doc --> | ||
394 | * <!-- end-user-doc --> | ||
395 | * @generated | ||
396 | */ | ||
397 | @Override | ||
398 | public Resident_Tax_Payer createResident_Tax_Payer() { | ||
399 | Resident_Tax_PayerImpl resident_Tax_Payer = new Resident_Tax_PayerImpl(); | ||
400 | return resident_Tax_Payer; | ||
401 | } | ||
402 | |||
403 | /** | ||
404 | * <!-- begin-user-doc --> | ||
405 | * <!-- end-user-doc --> | ||
406 | * @generated | ||
407 | */ | ||
408 | @Override | ||
409 | public Trade_and_Business_Income createTrade_and_Business_Income() { | ||
410 | Trade_and_Business_IncomeImpl trade_and_Business_Income = new Trade_and_Business_IncomeImpl(); | ||
411 | return trade_and_Business_Income; | ||
412 | } | ||
413 | |||
414 | /** | ||
415 | * <!-- begin-user-doc --> | ||
416 | * <!-- end-user-doc --> | ||
417 | * @generated | ||
418 | */ | ||
419 | @Override | ||
420 | public Agriculture_and_Forestry_Income createAgriculture_and_Forestry_Income() { | ||
421 | Agriculture_and_Forestry_IncomeImpl agriculture_and_Forestry_Income = new Agriculture_and_Forestry_IncomeImpl(); | ||
422 | return agriculture_and_Forestry_Income; | ||
423 | } | ||
424 | |||
425 | /** | ||
426 | * <!-- begin-user-doc --> | ||
427 | * <!-- end-user-doc --> | ||
428 | * @generated | ||
429 | */ | ||
430 | @Override | ||
431 | public Pensions_and_Annuities_Income createPensions_and_Annuities_Income() { | ||
432 | Pensions_and_Annuities_IncomeImpl pensions_and_Annuities_Income = new Pensions_and_Annuities_IncomeImpl(); | ||
433 | return pensions_and_Annuities_Income; | ||
434 | } | ||
435 | |||
436 | /** | ||
437 | * <!-- begin-user-doc --> | ||
438 | * <!-- end-user-doc --> | ||
439 | * @generated | ||
440 | */ | ||
441 | @Override | ||
442 | public Capital_and_Investments_Income createCapital_and_Investments_Income() { | ||
443 | Capital_and_Investments_IncomeImpl capital_and_Investments_Income = new Capital_and_Investments_IncomeImpl(); | ||
444 | return capital_and_Investments_Income; | ||
445 | } | ||
446 | |||
447 | /** | ||
448 | * <!-- begin-user-doc --> | ||
449 | * <!-- end-user-doc --> | ||
450 | * @generated | ||
451 | */ | ||
452 | @Override | ||
453 | public Employment_Income createEmployment_Income() { | ||
454 | Employment_IncomeImpl employment_Income = new Employment_IncomeImpl(); | ||
455 | return employment_Income; | ||
456 | } | ||
457 | |||
458 | /** | ||
459 | * <!-- begin-user-doc --> | ||
460 | * <!-- end-user-doc --> | ||
461 | * @generated | ||
462 | */ | ||
463 | @Override | ||
464 | public Rentals_and_Leases_Income createRentals_and_Leases_Income() { | ||
465 | Rentals_and_Leases_IncomeImpl rentals_and_Leases_Income = new Rentals_and_Leases_IncomeImpl(); | ||
466 | return rentals_and_Leases_Income; | ||
467 | } | ||
468 | |||
469 | /** | ||
470 | * <!-- begin-user-doc --> | ||
471 | * <!-- end-user-doc --> | ||
472 | * @generated | ||
473 | */ | ||
474 | @Override | ||
475 | public Foreign_Income createForeign_Income() { | ||
476 | Foreign_IncomeImpl foreign_Income = new Foreign_IncomeImpl(); | ||
477 | return foreign_Income; | ||
478 | } | ||
479 | |||
480 | /** | ||
481 | * <!-- begin-user-doc --> | ||
482 | * <!-- end-user-doc --> | ||
483 | * @generated | ||
484 | */ | ||
485 | @Override | ||
486 | public Local_Income createLocal_Income() { | ||
487 | Local_IncomeImpl local_Income = new Local_IncomeImpl(); | ||
488 | return local_Income; | ||
489 | } | ||
490 | |||
491 | /** | ||
492 | * <!-- begin-user-doc --> | ||
493 | * <!-- end-user-doc --> | ||
494 | * @generated | ||
495 | */ | ||
496 | @Override | ||
497 | public CIM createCIM() { | ||
498 | CIMImpl cim = new CIMImpl(); | ||
499 | return cim; | ||
500 | } | ||
501 | |||
502 | /** | ||
503 | * <!-- begin-user-doc --> | ||
504 | * <!-- end-user-doc --> | ||
505 | * @generated | ||
506 | */ | ||
507 | @Override | ||
508 | public CIP createCIP() { | ||
509 | CIPImpl cip = new CIPImpl(); | ||
510 | return cip; | ||
511 | } | ||
512 | |||
513 | /** | ||
514 | * <!-- begin-user-doc --> | ||
515 | * <!-- end-user-doc --> | ||
516 | * @generated | ||
517 | */ | ||
518 | @Override | ||
519 | public CIS createCIS() { | ||
520 | CISImpl cis = new CISImpl(); | ||
521 | return cis; | ||
522 | } | ||
523 | |||
524 | /** | ||
525 | * <!-- begin-user-doc --> | ||
526 | * <!-- end-user-doc --> | ||
527 | * @generated | ||
528 | */ | ||
529 | @Override | ||
530 | public Permanent_Expense createPermanent_Expense() { | ||
531 | Permanent_ExpenseImpl permanent_Expense = new Permanent_ExpenseImpl(); | ||
532 | return permanent_Expense; | ||
533 | } | ||
534 | |||
535 | /** | ||
536 | * <!-- begin-user-doc --> | ||
537 | * <!-- end-user-doc --> | ||
538 | * @generated | ||
539 | */ | ||
540 | @Override | ||
541 | public Special_Expense_DS createSpecial_Expense_DS() { | ||
542 | Special_Expense_DSImpl special_Expense_DS = new Special_Expense_DSImpl(); | ||
543 | return special_Expense_DS; | ||
544 | } | ||
545 | |||
546 | /** | ||
547 | * <!-- begin-user-doc --> | ||
548 | * <!-- end-user-doc --> | ||
549 | * @generated | ||
550 | */ | ||
551 | @Override | ||
552 | public Interest_Expense createInterest_Expense() { | ||
553 | Interest_ExpenseImpl interest_Expense = new Interest_ExpenseImpl(); | ||
554 | return interest_Expense; | ||
555 | } | ||
556 | |||
557 | /** | ||
558 | * <!-- begin-user-doc --> | ||
559 | * <!-- end-user-doc --> | ||
560 | * @generated | ||
561 | */ | ||
562 | @Override | ||
563 | public Private_Insurance_and_Plan createPrivate_Insurance_and_Plan() { | ||
564 | Private_Insurance_and_PlanImpl private_Insurance_and_Plan = new Private_Insurance_and_PlanImpl(); | ||
565 | return private_Insurance_and_Plan; | ||
566 | } | ||
567 | |||
568 | /** | ||
569 | * <!-- begin-user-doc --> | ||
570 | * <!-- end-user-doc --> | ||
571 | * @generated | ||
572 | */ | ||
573 | @Override | ||
574 | public Health_and_Pension_Insurance createHealth_and_Pension_Insurance() { | ||
575 | Health_and_Pension_InsuranceImpl health_and_Pension_Insurance = new Health_and_Pension_InsuranceImpl(); | ||
576 | return health_and_Pension_Insurance; | ||
577 | } | ||
578 | |||
579 | /** | ||
580 | * <!-- begin-user-doc --> | ||
581 | * <!-- end-user-doc --> | ||
582 | * @generated | ||
583 | */ | ||
584 | @Override | ||
585 | public Donation createDonation() { | ||
586 | DonationImpl donation = new DonationImpl(); | ||
587 | return donation; | ||
588 | } | ||
589 | |||
590 | /** | ||
591 | * <!-- begin-user-doc --> | ||
592 | * <!-- end-user-doc --> | ||
593 | * @generated | ||
594 | */ | ||
595 | @Override | ||
596 | public Loss_Carryforward createLoss_Carryforward() { | ||
597 | Loss_CarryforwardImpl loss_Carryforward = new Loss_CarryforwardImpl(); | ||
598 | return loss_Carryforward; | ||
599 | } | ||
600 | |||
601 | /** | ||
602 | * <!-- begin-user-doc --> | ||
603 | * <!-- end-user-doc --> | ||
604 | * @generated | ||
605 | */ | ||
606 | @Override | ||
607 | public Spousal_Expense_AC createSpousal_Expense_AC() { | ||
608 | Spousal_Expense_ACImpl spousal_Expense_AC = new Spousal_Expense_ACImpl(); | ||
609 | return spousal_Expense_AC; | ||
610 | } | ||
611 | |||
612 | /** | ||
613 | * <!-- begin-user-doc --> | ||
614 | * <!-- end-user-doc --> | ||
615 | * @generated | ||
616 | */ | ||
617 | @Override | ||
618 | public Extraordinary_Expense_CE createExtraordinary_Expense_CE() { | ||
619 | Extraordinary_Expense_CEImpl extraordinary_Expense_CE = new Extraordinary_Expense_CEImpl(); | ||
620 | return extraordinary_Expense_CE; | ||
621 | } | ||
622 | |||
623 | /** | ||
624 | * <!-- begin-user-doc --> | ||
625 | * <!-- end-user-doc --> | ||
626 | * @generated | ||
627 | */ | ||
628 | @Override | ||
629 | public Travel_Expense_FD createTravel_Expense_FD() { | ||
630 | Travel_Expense_FDImpl travel_Expense_FD = new Travel_Expense_FDImpl(); | ||
631 | return travel_Expense_FD; | ||
632 | } | ||
633 | |||
634 | /** | ||
635 | * <!-- begin-user-doc --> | ||
636 | * <!-- end-user-doc --> | ||
637 | * @generated | ||
638 | */ | ||
639 | @Override | ||
640 | public Professional_Expense createProfessional_Expense() { | ||
641 | Professional_ExpenseImpl professional_Expense = new Professional_ExpenseImpl(); | ||
642 | return professional_Expense; | ||
643 | } | ||
644 | |||
645 | /** | ||
646 | * <!-- begin-user-doc --> | ||
647 | * <!-- end-user-doc --> | ||
648 | * @generated | ||
649 | */ | ||
650 | @Override | ||
651 | public Miscellaneous_Expense_FO createMiscellaneous_Expense_FO() { | ||
652 | Miscellaneous_Expense_FOImpl miscellaneous_Expense_FO = new Miscellaneous_Expense_FOImpl(); | ||
653 | return miscellaneous_Expense_FO; | ||
654 | } | ||
655 | |||
656 | /** | ||
657 | * <!-- begin-user-doc --> | ||
658 | * <!-- end-user-doc --> | ||
659 | * @generated | ||
660 | */ | ||
661 | @Override | ||
662 | public Resource createResource() { | ||
663 | ResourceImpl resource = new ResourceImpl(); | ||
664 | return resource; | ||
665 | } | ||
666 | |||
667 | /** | ||
668 | * <!-- begin-user-doc --> | ||
669 | * <!-- end-user-doc --> | ||
670 | * @generated | ||
671 | */ | ||
672 | public Grantor createGrantorFromString(EDataType eDataType, String initialValue) { | ||
673 | Grantor result = Grantor.get(initialValue); | ||
674 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
675 | return result; | ||
676 | } | ||
677 | |||
678 | /** | ||
679 | * <!-- begin-user-doc --> | ||
680 | * <!-- end-user-doc --> | ||
681 | * @generated | ||
682 | */ | ||
683 | public String convertGrantorToString(EDataType eDataType, Object instanceValue) { | ||
684 | return instanceValue == null ? null : instanceValue.toString(); | ||
685 | } | ||
686 | |||
687 | /** | ||
688 | * <!-- begin-user-doc --> | ||
689 | * <!-- end-user-doc --> | ||
690 | * @generated | ||
691 | */ | ||
692 | public Disability_Types createDisability_TypesFromString(EDataType eDataType, String initialValue) { | ||
693 | Disability_Types result = Disability_Types.get(initialValue); | ||
694 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
695 | return result; | ||
696 | } | ||
697 | |||
698 | /** | ||
699 | * <!-- begin-user-doc --> | ||
700 | * <!-- end-user-doc --> | ||
701 | * @generated | ||
702 | */ | ||
703 | public String convertDisability_TypesToString(EDataType eDataType, Object instanceValue) { | ||
704 | return instanceValue == null ? null : instanceValue.toString(); | ||
705 | } | ||
706 | |||
707 | /** | ||
708 | * <!-- begin-user-doc --> | ||
709 | * <!-- end-user-doc --> | ||
710 | * @generated | ||
711 | */ | ||
712 | public Country createCountryFromString(EDataType eDataType, String initialValue) { | ||
713 | Country result = Country.get(initialValue); | ||
714 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
715 | return result; | ||
716 | } | ||
717 | |||
718 | /** | ||
719 | * <!-- begin-user-doc --> | ||
720 | * <!-- end-user-doc --> | ||
721 | * @generated | ||
722 | */ | ||
723 | public String convertCountryToString(EDataType eDataType, Object instanceValue) { | ||
724 | return instanceValue == null ? null : instanceValue.toString(); | ||
725 | } | ||
726 | |||
727 | /** | ||
728 | * <!-- begin-user-doc --> | ||
729 | * <!-- end-user-doc --> | ||
730 | * @generated | ||
731 | */ | ||
732 | public Tax_Office createTax_OfficeFromString(EDataType eDataType, String initialValue) { | ||
733 | Tax_Office result = Tax_Office.get(initialValue); | ||
734 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
735 | return result; | ||
736 | } | ||
737 | |||
738 | /** | ||
739 | * <!-- begin-user-doc --> | ||
740 | * <!-- end-user-doc --> | ||
741 | * @generated | ||
742 | */ | ||
743 | public String convertTax_OfficeToString(EDataType eDataType, Object instanceValue) { | ||
744 | return instanceValue == null ? null : instanceValue.toString(); | ||
745 | } | ||
746 | |||
747 | /** | ||
748 | * <!-- begin-user-doc --> | ||
749 | * <!-- end-user-doc --> | ||
750 | * @generated | ||
751 | */ | ||
752 | public Tax_Class_Category createTax_Class_CategoryFromString(EDataType eDataType, String initialValue) { | ||
753 | Tax_Class_Category result = Tax_Class_Category.get(initialValue); | ||
754 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
755 | return result; | ||
756 | } | ||
757 | |||
758 | /** | ||
759 | * <!-- begin-user-doc --> | ||
760 | * <!-- end-user-doc --> | ||
761 | * @generated | ||
762 | */ | ||
763 | public String convertTax_Class_CategoryToString(EDataType eDataType, Object instanceValue) { | ||
764 | return instanceValue == null ? null : instanceValue.toString(); | ||
765 | } | ||
766 | |||
767 | /** | ||
768 | * <!-- begin-user-doc --> | ||
769 | * <!-- end-user-doc --> | ||
770 | * @generated | ||
771 | */ | ||
772 | public Job_Activity createJob_ActivityFromString(EDataType eDataType, String initialValue) { | ||
773 | Job_Activity result = Job_Activity.get(initialValue); | ||
774 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
775 | return result; | ||
776 | } | ||
777 | |||
778 | /** | ||
779 | * <!-- begin-user-doc --> | ||
780 | * <!-- end-user-doc --> | ||
781 | * @generated | ||
782 | */ | ||
783 | public String convertJob_ActivityToString(EDataType eDataType, Object instanceValue) { | ||
784 | return instanceValue == null ? null : instanceValue.toString(); | ||
785 | } | ||
786 | |||
787 | /** | ||
788 | * <!-- begin-user-doc --> | ||
789 | * <!-- end-user-doc --> | ||
790 | * @generated | ||
791 | */ | ||
792 | public Town createTownFromString(EDataType eDataType, String initialValue) { | ||
793 | Town result = Town.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 convertTownToString(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 CE_Type createCE_TypeFromString(EDataType eDataType, String initialValue) { | ||
813 | CE_Type result = CE_Type.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 convertCE_TypeToString(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 Expense_Purpose createExpense_PurposeFromString(EDataType eDataType, String initialValue) { | ||
833 | Expense_Purpose result = Expense_Purpose.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 convertExpense_PurposeToString(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 Dependent_Type createDependent_TypeFromString(EDataType eDataType, String initialValue) { | ||
853 | Dependent_Type result = Dependent_Type.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 convertDependent_TypeToString(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 Separation_Causes createSeparation_CausesFromString(EDataType eDataType, String initialValue) { | ||
873 | Separation_Causes result = Separation_Causes.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 convertSeparation_CausesToString(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 Category_of_Permanent_Expense createCategory_of_Permanent_ExpenseFromString(EDataType eDataType, String initialValue) { | ||
893 | Category_of_Permanent_Expense result = Category_of_Permanent_Expense.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 convertCategory_of_Permanent_ExpenseToString(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 Category_of_Health_and_Pension_Insurances createCategory_of_Health_and_Pension_InsurancesFromString(EDataType eDataType, String initialValue) { | ||
913 | Category_of_Health_and_Pension_Insurances result = Category_of_Health_and_Pension_Insurances.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 convertCategory_of_Health_and_Pension_InsurancesToString(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 Category_of_Private_Insurance_and_Plan createCategory_of_Private_Insurance_and_PlanFromString(EDataType eDataType, String initialValue) { | ||
933 | Category_of_Private_Insurance_and_Plan result = Category_of_Private_Insurance_and_Plan.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 convertCategory_of_Private_Insurance_and_PlanToString(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 Legal_Union_Types createLegal_Union_TypesFromString(EDataType eDataType, String initialValue) { | ||
953 | Legal_Union_Types result = Legal_Union_Types.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 convertLegal_Union_TypesToString(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 | @Override | ||
973 | public TaxationWithRootPackage getTaxationWithRootPackage() { | ||
974 | return (TaxationWithRootPackage)getEPackage(); | ||
975 | } | ||
976 | |||
977 | /** | ||
978 | * <!-- begin-user-doc --> | ||
979 | * <!-- end-user-doc --> | ||
980 | * @deprecated | ||
981 | * @generated | ||
982 | */ | ||
983 | @Deprecated | ||
984 | public static TaxationWithRootPackage getPackage() { | ||
985 | return TaxationWithRootPackage.eINSTANCE; | ||
986 | } | ||
987 | |||
988 | } //TaxationWithRootFactoryImpl | ||