aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/Tax_CardImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/Tax_CardImpl.java')
-rw-r--r--Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/Tax_CardImpl.java2093
1 files changed, 2093 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/Tax_CardImpl.java b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/Tax_CardImpl.java
new file mode 100644
index 00000000..9f457341
--- /dev/null
+++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/impl/Tax_CardImpl.java
@@ -0,0 +1,2093 @@
1/**
2 */
3package TaxationWithRoot.impl;
4
5import TaxationWithRoot.Address;
6import TaxationWithRoot.Income;
7import TaxationWithRoot.Income_Tax_Credit;
8import TaxationWithRoot.Job_Activity;
9import TaxationWithRoot.Tax_Card;
10import TaxationWithRoot.Tax_Office;
11import TaxationWithRoot.TaxationWithRootPackage;
12import TaxationWithRoot.Town;
13
14import java.util.Collection;
15
16import org.eclipse.emf.common.notify.Notification;
17import org.eclipse.emf.common.notify.NotificationChain;
18
19import org.eclipse.emf.common.util.EList;
20
21import org.eclipse.emf.ecore.EClass;
22import org.eclipse.emf.ecore.InternalEObject;
23
24import org.eclipse.emf.ecore.impl.ENotificationImpl;
25import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
26
27import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
28import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
29import org.eclipse.emf.ecore.util.EcoreUtil;
30import org.eclipse.emf.ecore.util.InternalEList;
31
32/**
33 * <!-- begin-user-doc -->
34 * An implementation of the model object '<em><b>Tax Card</b></em>'.
35 * <!-- end-user-doc -->
36 * <p>
37 * The following features are implemented:
38 * </p>
39 * <ul>
40 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getCard_identifier <em>Card identifier</em>}</li>
41 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getTax_office <em>Tax office</em>}</li>
42 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getPercentage_of_witholding <em>Percentage of witholding</em>}</li>
43 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getTax_payers_name_surname <em>Tax payers name surname</em>}</li>
44 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getTax_payers_partner_name_surname <em>Tax payers partner name surname</em>}</li>
45 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getTax_payers_address <em>Tax payers address</em>}</li>
46 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getJobs_Employer_SSNo <em>Jobs Employer SS No</em>}</li>
47 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getJobs_employers_name <em>Jobs employers name</em>}</li>
48 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getJobs_activity_type <em>Jobs activity type</em>}</li>
49 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getJobs_place_of_work <em>Jobs place of work</em>}</li>
50 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_FD_daily <em>Deduction FD daily</em>}</li>
51 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_FD_monthly <em>Deduction FD monthly</em>}</li>
52 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_AC_daily <em>Deduction AC daily</em>}</li>
53 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_AC_monthly <em>Deduction AC monthly</em>}</li>
54 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_AC_yearly <em>Deduction AC yearly</em>}</li>
55 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_CE_daily <em>Deduction CE daily</em>}</li>
56 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_CE_monthly <em>Deduction CE monthly</em>}</li>
57 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_CE_yearly <em>Deduction CE yearly</em>}</li>
58 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_DS_daily <em>Deduction DS daily</em>}</li>
59 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_DS_monthly <em>Deduction DS monthly</em>}</li>
60 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_FO_daily <em>Deduction FO daily</em>}</li>
61 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_FO_monthly <em>Deduction FO monthly</em>}</li>
62 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_FO_yearly <em>Deduction FO yearly</em>}</li>
63 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getCredit_CIS_daily <em>Credit CIS daily</em>}</li>
64 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getCredit_CIS_monthly <em>Credit CIS monthly</em>}</li>
65 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getCredit_CIM_daily <em>Credit CIM daily</em>}</li>
66 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#isValidity <em>Validity</em>}</li>
67 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getIncome_Tax_Credit <em>Income Tax Credit</em>}</li>
68 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getPrevious <em>Previous</em>}</li>
69 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getCurrent_tax_card <em>Current tax card</em>}</li>
70 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getCredit_CIM_yearly <em>Credit CIM yearly</em>}</li>
71 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_DS_Alimony_yearly <em>Deduction DS Alimony yearly</em>}</li>
72 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getDeduction_DS_Debt_yearly <em>Deduction DS Debt yearly</em>}</li>
73 * <li>{@link TaxationWithRoot.impl.Tax_CardImpl#getIncome <em>Income</em>}</li>
74 * </ul>
75 *
76 * @generated
77 */
78public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Card {
79 /**
80 * The default value of the '{@link #getCard_identifier() <em>Card identifier</em>}' attribute.
81 * <!-- begin-user-doc -->
82 * <!-- end-user-doc -->
83 * @see #getCard_identifier()
84 * @generated
85 * @ordered
86 */
87 protected static final String CARD_IDENTIFIER_EDEFAULT = null;
88
89 /**
90 * The cached value of the '{@link #getCard_identifier() <em>Card identifier</em>}' attribute.
91 * <!-- begin-user-doc -->
92 * <!-- end-user-doc -->
93 * @see #getCard_identifier()
94 * @generated
95 * @ordered
96 */
97 protected String card_identifier = CARD_IDENTIFIER_EDEFAULT;
98
99 /**
100 * The default value of the '{@link #getTax_office() <em>Tax office</em>}' attribute.
101 * <!-- begin-user-doc -->
102 * <!-- end-user-doc -->
103 * @see #getTax_office()
104 * @generated
105 * @ordered
106 */
107 protected static final Tax_Office TAX_OFFICE_EDEFAULT = Tax_Office.RTS_2;
108
109 /**
110 * The cached value of the '{@link #getTax_office() <em>Tax office</em>}' attribute.
111 * <!-- begin-user-doc -->
112 * <!-- end-user-doc -->
113 * @see #getTax_office()
114 * @generated
115 * @ordered
116 */
117 protected Tax_Office tax_office = TAX_OFFICE_EDEFAULT;
118
119 /**
120 * The default value of the '{@link #getPercentage_of_witholding() <em>Percentage of witholding</em>}' attribute.
121 * <!-- begin-user-doc -->
122 * <!-- end-user-doc -->
123 * @see #getPercentage_of_witholding()
124 * @generated
125 * @ordered
126 */
127 protected static final double PERCENTAGE_OF_WITHOLDING_EDEFAULT = 0.0;
128
129 /**
130 * The cached value of the '{@link #getPercentage_of_witholding() <em>Percentage of witholding</em>}' attribute.
131 * <!-- begin-user-doc -->
132 * <!-- end-user-doc -->
133 * @see #getPercentage_of_witholding()
134 * @generated
135 * @ordered
136 */
137 protected double percentage_of_witholding = PERCENTAGE_OF_WITHOLDING_EDEFAULT;
138
139 /**
140 * The cached value of the '{@link #getTax_payers_name_surname() <em>Tax payers name surname</em>}' attribute list.
141 * <!-- begin-user-doc -->
142 * <!-- end-user-doc -->
143 * @see #getTax_payers_name_surname()
144 * @generated
145 * @ordered
146 */
147 protected EList<String> tax_payers_name_surname;
148
149 /**
150 * The cached value of the '{@link #getTax_payers_partner_name_surname() <em>Tax payers partner name surname</em>}' attribute list.
151 * <!-- begin-user-doc -->
152 * <!-- end-user-doc -->
153 * @see #getTax_payers_partner_name_surname()
154 * @generated
155 * @ordered
156 */
157 protected EList<String> tax_payers_partner_name_surname;
158
159 /**
160 * The cached value of the '{@link #getTax_payers_address() <em>Tax payers address</em>}' reference.
161 * <!-- begin-user-doc -->
162 * <!-- end-user-doc -->
163 * @see #getTax_payers_address()
164 * @generated
165 * @ordered
166 */
167 protected Address tax_payers_address;
168
169 /**
170 * The default value of the '{@link #getJobs_Employer_SSNo() <em>Jobs Employer SS No</em>}' attribute.
171 * <!-- begin-user-doc -->
172 * <!-- end-user-doc -->
173 * @see #getJobs_Employer_SSNo()
174 * @generated
175 * @ordered
176 */
177 protected static final String JOBS_EMPLOYER_SS_NO_EDEFAULT = null;
178
179 /**
180 * The cached value of the '{@link #getJobs_Employer_SSNo() <em>Jobs Employer SS No</em>}' attribute.
181 * <!-- begin-user-doc -->
182 * <!-- end-user-doc -->
183 * @see #getJobs_Employer_SSNo()
184 * @generated
185 * @ordered
186 */
187 protected String jobs_Employer_SSNo = JOBS_EMPLOYER_SS_NO_EDEFAULT;
188
189 /**
190 * The default value of the '{@link #getJobs_employers_name() <em>Jobs employers name</em>}' attribute.
191 * <!-- begin-user-doc -->
192 * <!-- end-user-doc -->
193 * @see #getJobs_employers_name()
194 * @generated
195 * @ordered
196 */
197 protected static final String JOBS_EMPLOYERS_NAME_EDEFAULT = null;
198
199 /**
200 * The cached value of the '{@link #getJobs_employers_name() <em>Jobs employers name</em>}' attribute.
201 * <!-- begin-user-doc -->
202 * <!-- end-user-doc -->
203 * @see #getJobs_employers_name()
204 * @generated
205 * @ordered
206 */
207 protected String jobs_employers_name = JOBS_EMPLOYERS_NAME_EDEFAULT;
208
209 /**
210 * The default value of the '{@link #getJobs_activity_type() <em>Jobs activity type</em>}' attribute.
211 * <!-- begin-user-doc -->
212 * <!-- end-user-doc -->
213 * @see #getJobs_activity_type()
214 * @generated
215 * @ordered
216 */
217 protected static final Job_Activity JOBS_ACTIVITY_TYPE_EDEFAULT = Job_Activity.SALARY;
218
219 /**
220 * The cached value of the '{@link #getJobs_activity_type() <em>Jobs activity type</em>}' attribute.
221 * <!-- begin-user-doc -->
222 * <!-- end-user-doc -->
223 * @see #getJobs_activity_type()
224 * @generated
225 * @ordered
226 */
227 protected Job_Activity jobs_activity_type = JOBS_ACTIVITY_TYPE_EDEFAULT;
228
229 /**
230 * The default value of the '{@link #getJobs_place_of_work() <em>Jobs place of work</em>}' attribute.
231 * <!-- begin-user-doc -->
232 * <!-- end-user-doc -->
233 * @see #getJobs_place_of_work()
234 * @generated
235 * @ordered
236 */
237 protected static final Town JOBS_PLACE_OF_WORK_EDEFAULT = Town.LL;
238
239 /**
240 * The cached value of the '{@link #getJobs_place_of_work() <em>Jobs place of work</em>}' attribute.
241 * <!-- begin-user-doc -->
242 * <!-- end-user-doc -->
243 * @see #getJobs_place_of_work()
244 * @generated
245 * @ordered
246 */
247 protected Town jobs_place_of_work = JOBS_PLACE_OF_WORK_EDEFAULT;
248
249 /**
250 * The default value of the '{@link #getDeduction_FD_daily() <em>Deduction FD daily</em>}' attribute.
251 * <!-- begin-user-doc -->
252 * <!-- end-user-doc -->
253 * @see #getDeduction_FD_daily()
254 * @generated
255 * @ordered
256 */
257 protected static final double DEDUCTION_FD_DAILY_EDEFAULT = 0.0;
258
259 /**
260 * The cached value of the '{@link #getDeduction_FD_daily() <em>Deduction FD daily</em>}' attribute.
261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc -->
263 * @see #getDeduction_FD_daily()
264 * @generated
265 * @ordered
266 */
267 protected double deduction_FD_daily = DEDUCTION_FD_DAILY_EDEFAULT;
268
269 /**
270 * The default value of the '{@link #getDeduction_FD_monthly() <em>Deduction FD monthly</em>}' attribute.
271 * <!-- begin-user-doc -->
272 * <!-- end-user-doc -->
273 * @see #getDeduction_FD_monthly()
274 * @generated
275 * @ordered
276 */
277 protected static final double DEDUCTION_FD_MONTHLY_EDEFAULT = 0.0;
278
279 /**
280 * The cached value of the '{@link #getDeduction_FD_monthly() <em>Deduction FD monthly</em>}' attribute.
281 * <!-- begin-user-doc -->
282 * <!-- end-user-doc -->
283 * @see #getDeduction_FD_monthly()
284 * @generated
285 * @ordered
286 */
287 protected double deduction_FD_monthly = DEDUCTION_FD_MONTHLY_EDEFAULT;
288
289 /**
290 * The default value of the '{@link #getDeduction_AC_daily() <em>Deduction AC daily</em>}' attribute.
291 * <!-- begin-user-doc -->
292 * <!-- end-user-doc -->
293 * @see #getDeduction_AC_daily()
294 * @generated
295 * @ordered
296 */
297 protected static final double DEDUCTION_AC_DAILY_EDEFAULT = 0.0;
298
299 /**
300 * The cached value of the '{@link #getDeduction_AC_daily() <em>Deduction AC daily</em>}' attribute.
301 * <!-- begin-user-doc -->
302 * <!-- end-user-doc -->
303 * @see #getDeduction_AC_daily()
304 * @generated
305 * @ordered
306 */
307 protected double deduction_AC_daily = DEDUCTION_AC_DAILY_EDEFAULT;
308
309 /**
310 * The default value of the '{@link #getDeduction_AC_monthly() <em>Deduction AC monthly</em>}' attribute.
311 * <!-- begin-user-doc -->
312 * <!-- end-user-doc -->
313 * @see #getDeduction_AC_monthly()
314 * @generated
315 * @ordered
316 */
317 protected static final double DEDUCTION_AC_MONTHLY_EDEFAULT = 0.0;
318
319 /**
320 * The cached value of the '{@link #getDeduction_AC_monthly() <em>Deduction AC monthly</em>}' attribute.
321 * <!-- begin-user-doc -->
322 * <!-- end-user-doc -->
323 * @see #getDeduction_AC_monthly()
324 * @generated
325 * @ordered
326 */
327 protected double deduction_AC_monthly = DEDUCTION_AC_MONTHLY_EDEFAULT;
328
329 /**
330 * The default value of the '{@link #getDeduction_AC_yearly() <em>Deduction AC yearly</em>}' attribute.
331 * <!-- begin-user-doc -->
332 * <!-- end-user-doc -->
333 * @see #getDeduction_AC_yearly()
334 * @generated
335 * @ordered
336 */
337 protected static final double DEDUCTION_AC_YEARLY_EDEFAULT = 0.0;
338
339 /**
340 * The cached value of the '{@link #getDeduction_AC_yearly() <em>Deduction AC yearly</em>}' attribute.
341 * <!-- begin-user-doc -->
342 * <!-- end-user-doc -->
343 * @see #getDeduction_AC_yearly()
344 * @generated
345 * @ordered
346 */
347 protected double deduction_AC_yearly = DEDUCTION_AC_YEARLY_EDEFAULT;
348
349 /**
350 * The default value of the '{@link #getDeduction_CE_daily() <em>Deduction CE daily</em>}' attribute.
351 * <!-- begin-user-doc -->
352 * <!-- end-user-doc -->
353 * @see #getDeduction_CE_daily()
354 * @generated
355 * @ordered
356 */
357 protected static final double DEDUCTION_CE_DAILY_EDEFAULT = 0.0;
358
359 /**
360 * The cached value of the '{@link #getDeduction_CE_daily() <em>Deduction CE daily</em>}' attribute.
361 * <!-- begin-user-doc -->
362 * <!-- end-user-doc -->
363 * @see #getDeduction_CE_daily()
364 * @generated
365 * @ordered
366 */
367 protected double deduction_CE_daily = DEDUCTION_CE_DAILY_EDEFAULT;
368
369 /**
370 * The default value of the '{@link #getDeduction_CE_monthly() <em>Deduction CE monthly</em>}' attribute.
371 * <!-- begin-user-doc -->
372 * <!-- end-user-doc -->
373 * @see #getDeduction_CE_monthly()
374 * @generated
375 * @ordered
376 */
377 protected static final double DEDUCTION_CE_MONTHLY_EDEFAULT = 0.0;
378
379 /**
380 * The cached value of the '{@link #getDeduction_CE_monthly() <em>Deduction CE monthly</em>}' attribute.
381 * <!-- begin-user-doc -->
382 * <!-- end-user-doc -->
383 * @see #getDeduction_CE_monthly()
384 * @generated
385 * @ordered
386 */
387 protected double deduction_CE_monthly = DEDUCTION_CE_MONTHLY_EDEFAULT;
388
389 /**
390 * The default value of the '{@link #getDeduction_CE_yearly() <em>Deduction CE yearly</em>}' attribute.
391 * <!-- begin-user-doc -->
392 * <!-- end-user-doc -->
393 * @see #getDeduction_CE_yearly()
394 * @generated
395 * @ordered
396 */
397 protected static final double DEDUCTION_CE_YEARLY_EDEFAULT = 0.0;
398
399 /**
400 * The cached value of the '{@link #getDeduction_CE_yearly() <em>Deduction CE yearly</em>}' attribute.
401 * <!-- begin-user-doc -->
402 * <!-- end-user-doc -->
403 * @see #getDeduction_CE_yearly()
404 * @generated
405 * @ordered
406 */
407 protected double deduction_CE_yearly = DEDUCTION_CE_YEARLY_EDEFAULT;
408
409 /**
410 * The default value of the '{@link #getDeduction_DS_daily() <em>Deduction DS daily</em>}' attribute.
411 * <!-- begin-user-doc -->
412 * <!-- end-user-doc -->
413 * @see #getDeduction_DS_daily()
414 * @generated
415 * @ordered
416 */
417 protected static final double DEDUCTION_DS_DAILY_EDEFAULT = 0.0;
418
419 /**
420 * The cached value of the '{@link #getDeduction_DS_daily() <em>Deduction DS daily</em>}' attribute.
421 * <!-- begin-user-doc -->
422 * <!-- end-user-doc -->
423 * @see #getDeduction_DS_daily()
424 * @generated
425 * @ordered
426 */
427 protected double deduction_DS_daily = DEDUCTION_DS_DAILY_EDEFAULT;
428
429 /**
430 * The default value of the '{@link #getDeduction_DS_monthly() <em>Deduction DS monthly</em>}' attribute.
431 * <!-- begin-user-doc -->
432 * <!-- end-user-doc -->
433 * @see #getDeduction_DS_monthly()
434 * @generated
435 * @ordered
436 */
437 protected static final double DEDUCTION_DS_MONTHLY_EDEFAULT = 0.0;
438
439 /**
440 * The cached value of the '{@link #getDeduction_DS_monthly() <em>Deduction DS monthly</em>}' attribute.
441 * <!-- begin-user-doc -->
442 * <!-- end-user-doc -->
443 * @see #getDeduction_DS_monthly()
444 * @generated
445 * @ordered
446 */
447 protected double deduction_DS_monthly = DEDUCTION_DS_MONTHLY_EDEFAULT;
448
449 /**
450 * The default value of the '{@link #getDeduction_FO_daily() <em>Deduction FO daily</em>}' attribute.
451 * <!-- begin-user-doc -->
452 * <!-- end-user-doc -->
453 * @see #getDeduction_FO_daily()
454 * @generated
455 * @ordered
456 */
457 protected static final double DEDUCTION_FO_DAILY_EDEFAULT = 0.0;
458
459 /**
460 * The cached value of the '{@link #getDeduction_FO_daily() <em>Deduction FO daily</em>}' attribute.
461 * <!-- begin-user-doc -->
462 * <!-- end-user-doc -->
463 * @see #getDeduction_FO_daily()
464 * @generated
465 * @ordered
466 */
467 protected double deduction_FO_daily = DEDUCTION_FO_DAILY_EDEFAULT;
468
469 /**
470 * The default value of the '{@link #getDeduction_FO_monthly() <em>Deduction FO monthly</em>}' attribute.
471 * <!-- begin-user-doc -->
472 * <!-- end-user-doc -->
473 * @see #getDeduction_FO_monthly()
474 * @generated
475 * @ordered
476 */
477 protected static final double DEDUCTION_FO_MONTHLY_EDEFAULT = 0.0;
478
479 /**
480 * The cached value of the '{@link #getDeduction_FO_monthly() <em>Deduction FO monthly</em>}' attribute.
481 * <!-- begin-user-doc -->
482 * <!-- end-user-doc -->
483 * @see #getDeduction_FO_monthly()
484 * @generated
485 * @ordered
486 */
487 protected double deduction_FO_monthly = DEDUCTION_FO_MONTHLY_EDEFAULT;
488
489 /**
490 * The default value of the '{@link #getDeduction_FO_yearly() <em>Deduction FO yearly</em>}' attribute.
491 * <!-- begin-user-doc -->
492 * <!-- end-user-doc -->
493 * @see #getDeduction_FO_yearly()
494 * @generated
495 * @ordered
496 */
497 protected static final double DEDUCTION_FO_YEARLY_EDEFAULT = 0.0;
498
499 /**
500 * The cached value of the '{@link #getDeduction_FO_yearly() <em>Deduction FO yearly</em>}' attribute.
501 * <!-- begin-user-doc -->
502 * <!-- end-user-doc -->
503 * @see #getDeduction_FO_yearly()
504 * @generated
505 * @ordered
506 */
507 protected double deduction_FO_yearly = DEDUCTION_FO_YEARLY_EDEFAULT;
508
509 /**
510 * The default value of the '{@link #getCredit_CIS_daily() <em>Credit CIS daily</em>}' attribute.
511 * <!-- begin-user-doc -->
512 * <!-- end-user-doc -->
513 * @see #getCredit_CIS_daily()
514 * @generated
515 * @ordered
516 */
517 protected static final double CREDIT_CIS_DAILY_EDEFAULT = 0.0;
518
519 /**
520 * The cached value of the '{@link #getCredit_CIS_daily() <em>Credit CIS daily</em>}' attribute.
521 * <!-- begin-user-doc -->
522 * <!-- end-user-doc -->
523 * @see #getCredit_CIS_daily()
524 * @generated
525 * @ordered
526 */
527 protected double credit_CIS_daily = CREDIT_CIS_DAILY_EDEFAULT;
528
529 /**
530 * The default value of the '{@link #getCredit_CIS_monthly() <em>Credit CIS monthly</em>}' attribute.
531 * <!-- begin-user-doc -->
532 * <!-- end-user-doc -->
533 * @see #getCredit_CIS_monthly()
534 * @generated
535 * @ordered
536 */
537 protected static final double CREDIT_CIS_MONTHLY_EDEFAULT = 0.0;
538
539 /**
540 * The cached value of the '{@link #getCredit_CIS_monthly() <em>Credit CIS monthly</em>}' attribute.
541 * <!-- begin-user-doc -->
542 * <!-- end-user-doc -->
543 * @see #getCredit_CIS_monthly()
544 * @generated
545 * @ordered
546 */
547 protected double credit_CIS_monthly = CREDIT_CIS_MONTHLY_EDEFAULT;
548
549 /**
550 * The default value of the '{@link #getCredit_CIM_daily() <em>Credit CIM daily</em>}' attribute.
551 * <!-- begin-user-doc -->
552 * <!-- end-user-doc -->
553 * @see #getCredit_CIM_daily()
554 * @generated
555 * @ordered
556 */
557 protected static final double CREDIT_CIM_DAILY_EDEFAULT = 0.0;
558
559 /**
560 * The cached value of the '{@link #getCredit_CIM_daily() <em>Credit CIM daily</em>}' attribute.
561 * <!-- begin-user-doc -->
562 * <!-- end-user-doc -->
563 * @see #getCredit_CIM_daily()
564 * @generated
565 * @ordered
566 */
567 protected double credit_CIM_daily = CREDIT_CIM_DAILY_EDEFAULT;
568
569 /**
570 * The default value of the '{@link #isValidity() <em>Validity</em>}' attribute.
571 * <!-- begin-user-doc -->
572 * <!-- end-user-doc -->
573 * @see #isValidity()
574 * @generated
575 * @ordered
576 */
577 protected static final boolean VALIDITY_EDEFAULT = false;
578
579 /**
580 * The cached value of the '{@link #isValidity() <em>Validity</em>}' attribute.
581 * <!-- begin-user-doc -->
582 * <!-- end-user-doc -->
583 * @see #isValidity()
584 * @generated
585 * @ordered
586 */
587 protected boolean validity = VALIDITY_EDEFAULT;
588
589 /**
590 * The cached value of the '{@link #getIncome_Tax_Credit() <em>Income Tax Credit</em>}' reference list.
591 * <!-- begin-user-doc -->
592 * <!-- end-user-doc -->
593 * @see #getIncome_Tax_Credit()
594 * @generated
595 * @ordered
596 */
597 protected EList<Income_Tax_Credit> income_Tax_Credit;
598
599 /**
600 * The cached value of the '{@link #getPrevious() <em>Previous</em>}' reference.
601 * <!-- begin-user-doc -->
602 * <!-- end-user-doc -->
603 * @see #getPrevious()
604 * @generated
605 * @ordered
606 */
607 protected Tax_Card previous;
608
609 /**
610 * The cached value of the '{@link #getCurrent_tax_card() <em>Current tax card</em>}' reference.
611 * <!-- begin-user-doc -->
612 * <!-- end-user-doc -->
613 * @see #getCurrent_tax_card()
614 * @generated
615 * @ordered
616 */
617 protected Tax_Card current_tax_card;
618
619 /**
620 * The default value of the '{@link #getCredit_CIM_yearly() <em>Credit CIM yearly</em>}' attribute.
621 * <!-- begin-user-doc -->
622 * <!-- end-user-doc -->
623 * @see #getCredit_CIM_yearly()
624 * @generated
625 * @ordered
626 */
627 protected static final double CREDIT_CIM_YEARLY_EDEFAULT = 0.0;
628
629 /**
630 * The cached value of the '{@link #getCredit_CIM_yearly() <em>Credit CIM yearly</em>}' attribute.
631 * <!-- begin-user-doc -->
632 * <!-- end-user-doc -->
633 * @see #getCredit_CIM_yearly()
634 * @generated
635 * @ordered
636 */
637 protected double credit_CIM_yearly = CREDIT_CIM_YEARLY_EDEFAULT;
638
639 /**
640 * The default value of the '{@link #getDeduction_DS_Alimony_yearly() <em>Deduction DS Alimony yearly</em>}' attribute.
641 * <!-- begin-user-doc -->
642 * <!-- end-user-doc -->
643 * @see #getDeduction_DS_Alimony_yearly()
644 * @generated
645 * @ordered
646 */
647 protected static final double DEDUCTION_DS_ALIMONY_YEARLY_EDEFAULT = 0.0;
648
649 /**
650 * The cached value of the '{@link #getDeduction_DS_Alimony_yearly() <em>Deduction DS Alimony yearly</em>}' attribute.
651 * <!-- begin-user-doc -->
652 * <!-- end-user-doc -->
653 * @see #getDeduction_DS_Alimony_yearly()
654 * @generated
655 * @ordered
656 */
657 protected double deduction_DS_Alimony_yearly = DEDUCTION_DS_ALIMONY_YEARLY_EDEFAULT;
658
659 /**
660 * The default value of the '{@link #getDeduction_DS_Debt_yearly() <em>Deduction DS Debt yearly</em>}' attribute.
661 * <!-- begin-user-doc -->
662 * <!-- end-user-doc -->
663 * @see #getDeduction_DS_Debt_yearly()
664 * @generated
665 * @ordered
666 */
667 protected static final double DEDUCTION_DS_DEBT_YEARLY_EDEFAULT = 0.0;
668
669 /**
670 * The cached value of the '{@link #getDeduction_DS_Debt_yearly() <em>Deduction DS Debt yearly</em>}' attribute.
671 * <!-- begin-user-doc -->
672 * <!-- end-user-doc -->
673 * @see #getDeduction_DS_Debt_yearly()
674 * @generated
675 * @ordered
676 */
677 protected double deduction_DS_Debt_yearly = DEDUCTION_DS_DEBT_YEARLY_EDEFAULT;
678
679 /**
680 * <!-- begin-user-doc -->
681 * <!-- end-user-doc -->
682 * @generated
683 */
684 protected Tax_CardImpl() {
685 super();
686 }
687
688 /**
689 * <!-- begin-user-doc -->
690 * <!-- end-user-doc -->
691 * @generated
692 */
693 @Override
694 protected EClass eStaticClass() {
695 return TaxationWithRootPackage.Literals.TAX_CARD;
696 }
697
698 /**
699 * <!-- begin-user-doc -->
700 * <!-- end-user-doc -->
701 * @generated
702 */
703 @Override
704 public String getCard_identifier() {
705 return card_identifier;
706 }
707
708 /**
709 * <!-- begin-user-doc -->
710 * <!-- end-user-doc -->
711 * @generated
712 */
713 @Override
714 public void setCard_identifier(String newCard_identifier) {
715 String oldCard_identifier = card_identifier;
716 card_identifier = newCard_identifier;
717 if (eNotificationRequired())
718 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__CARD_IDENTIFIER, oldCard_identifier, card_identifier));
719 }
720
721 /**
722 * <!-- begin-user-doc -->
723 * <!-- end-user-doc -->
724 * @generated
725 */
726 @Override
727 public Tax_Office getTax_office() {
728 return tax_office;
729 }
730
731 /**
732 * <!-- begin-user-doc -->
733 * <!-- end-user-doc -->
734 * @generated
735 */
736 @Override
737 public void setTax_office(Tax_Office newTax_office) {
738 Tax_Office oldTax_office = tax_office;
739 tax_office = newTax_office == null ? TAX_OFFICE_EDEFAULT : newTax_office;
740 if (eNotificationRequired())
741 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__TAX_OFFICE, oldTax_office, tax_office));
742 }
743
744 /**
745 * <!-- begin-user-doc -->
746 * <!-- end-user-doc -->
747 * @generated
748 */
749 @Override
750 public double getPercentage_of_witholding() {
751 return percentage_of_witholding;
752 }
753
754 /**
755 * <!-- begin-user-doc -->
756 * <!-- end-user-doc -->
757 * @generated
758 */
759 @Override
760 public void setPercentage_of_witholding(double newPercentage_of_witholding) {
761 double oldPercentage_of_witholding = percentage_of_witholding;
762 percentage_of_witholding = newPercentage_of_witholding;
763 if (eNotificationRequired())
764 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING, oldPercentage_of_witholding, percentage_of_witholding));
765 }
766
767 /**
768 * <!-- begin-user-doc -->
769 * <!-- end-user-doc -->
770 * @generated
771 */
772 @Override
773 public EList<String> getTax_payers_name_surname() {
774 if (tax_payers_name_surname == null) {
775 tax_payers_name_surname = new EDataTypeUniqueEList<String>(String.class, this, TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_NAME_SURNAME);
776 }
777 return tax_payers_name_surname;
778 }
779
780 /**
781 * <!-- begin-user-doc -->
782 * <!-- end-user-doc -->
783 * @generated
784 */
785 @Override
786 public EList<String> getTax_payers_partner_name_surname() {
787 if (tax_payers_partner_name_surname == null) {
788 tax_payers_partner_name_surname = new EDataTypeUniqueEList<String>(String.class, this, TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME);
789 }
790 return tax_payers_partner_name_surname;
791 }
792
793 /**
794 * <!-- begin-user-doc -->
795 * <!-- end-user-doc -->
796 * @generated
797 */
798 @Override
799 public Address getTax_payers_address() {
800 if (tax_payers_address != null && tax_payers_address.eIsProxy()) {
801 InternalEObject oldTax_payers_address = (InternalEObject)tax_payers_address;
802 tax_payers_address = (Address)eResolveProxy(oldTax_payers_address);
803 if (tax_payers_address != oldTax_payers_address) {
804 if (eNotificationRequired())
805 eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_ADDRESS, oldTax_payers_address, tax_payers_address));
806 }
807 }
808 return tax_payers_address;
809 }
810
811 /**
812 * <!-- begin-user-doc -->
813 * <!-- end-user-doc -->
814 * @generated
815 */
816 public Address basicGetTax_payers_address() {
817 return tax_payers_address;
818 }
819
820 /**
821 * <!-- begin-user-doc -->
822 * <!-- end-user-doc -->
823 * @generated
824 */
825 @Override
826 public void setTax_payers_address(Address newTax_payers_address) {
827 Address oldTax_payers_address = tax_payers_address;
828 tax_payers_address = newTax_payers_address;
829 if (eNotificationRequired())
830 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_ADDRESS, oldTax_payers_address, tax_payers_address));
831 }
832
833 /**
834 * <!-- begin-user-doc -->
835 * <!-- end-user-doc -->
836 * @generated
837 */
838 @Override
839 public String getJobs_Employer_SSNo() {
840 return jobs_Employer_SSNo;
841 }
842
843 /**
844 * <!-- begin-user-doc -->
845 * <!-- end-user-doc -->
846 * @generated
847 */
848 @Override
849 public void setJobs_Employer_SSNo(String newJobs_Employer_SSNo) {
850 String oldJobs_Employer_SSNo = jobs_Employer_SSNo;
851 jobs_Employer_SSNo = newJobs_Employer_SSNo;
852 if (eNotificationRequired())
853 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYER_SS_NO, oldJobs_Employer_SSNo, jobs_Employer_SSNo));
854 }
855
856 /**
857 * <!-- begin-user-doc -->
858 * <!-- end-user-doc -->
859 * @generated
860 */
861 @Override
862 public String getJobs_employers_name() {
863 return jobs_employers_name;
864 }
865
866 /**
867 * <!-- begin-user-doc -->
868 * <!-- end-user-doc -->
869 * @generated
870 */
871 @Override
872 public void setJobs_employers_name(String newJobs_employers_name) {
873 String oldJobs_employers_name = jobs_employers_name;
874 jobs_employers_name = newJobs_employers_name;
875 if (eNotificationRequired())
876 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYERS_NAME, oldJobs_employers_name, jobs_employers_name));
877 }
878
879 /**
880 * <!-- begin-user-doc -->
881 * <!-- end-user-doc -->
882 * @generated
883 */
884 @Override
885 public Job_Activity getJobs_activity_type() {
886 return jobs_activity_type;
887 }
888
889 /**
890 * <!-- begin-user-doc -->
891 * <!-- end-user-doc -->
892 * @generated
893 */
894 @Override
895 public void setJobs_activity_type(Job_Activity newJobs_activity_type) {
896 Job_Activity oldJobs_activity_type = jobs_activity_type;
897 jobs_activity_type = newJobs_activity_type == null ? JOBS_ACTIVITY_TYPE_EDEFAULT : newJobs_activity_type;
898 if (eNotificationRequired())
899 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__JOBS_ACTIVITY_TYPE, oldJobs_activity_type, jobs_activity_type));
900 }
901
902 /**
903 * <!-- begin-user-doc -->
904 * <!-- end-user-doc -->
905 * @generated
906 */
907 @Override
908 public Town getJobs_place_of_work() {
909 return jobs_place_of_work;
910 }
911
912 /**
913 * <!-- begin-user-doc -->
914 * <!-- end-user-doc -->
915 * @generated
916 */
917 @Override
918 public void setJobs_place_of_work(Town newJobs_place_of_work) {
919 Town oldJobs_place_of_work = jobs_place_of_work;
920 jobs_place_of_work = newJobs_place_of_work == null ? JOBS_PLACE_OF_WORK_EDEFAULT : newJobs_place_of_work;
921 if (eNotificationRequired())
922 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__JOBS_PLACE_OF_WORK, oldJobs_place_of_work, jobs_place_of_work));
923 }
924
925 /**
926 * <!-- begin-user-doc -->
927 * <!-- end-user-doc -->
928 * @generated
929 */
930 @Override
931 public double getDeduction_FD_daily() {
932 return deduction_FD_daily;
933 }
934
935 /**
936 * <!-- begin-user-doc -->
937 * <!-- end-user-doc -->
938 * @generated
939 */
940 @Override
941 public void setDeduction_FD_daily(double newDeduction_FD_daily) {
942 double oldDeduction_FD_daily = deduction_FD_daily;
943 deduction_FD_daily = newDeduction_FD_daily;
944 if (eNotificationRequired())
945 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_DAILY, oldDeduction_FD_daily, deduction_FD_daily));
946 }
947
948 /**
949 * <!-- begin-user-doc -->
950 * <!-- end-user-doc -->
951 * @generated
952 */
953 @Override
954 public double getDeduction_FD_monthly() {
955 return deduction_FD_monthly;
956 }
957
958 /**
959 * <!-- begin-user-doc -->
960 * <!-- end-user-doc -->
961 * @generated
962 */
963 @Override
964 public void setDeduction_FD_monthly(double newDeduction_FD_monthly) {
965 double oldDeduction_FD_monthly = deduction_FD_monthly;
966 deduction_FD_monthly = newDeduction_FD_monthly;
967 if (eNotificationRequired())
968 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_MONTHLY, oldDeduction_FD_monthly, deduction_FD_monthly));
969 }
970
971 /**
972 * <!-- begin-user-doc -->
973 * <!-- end-user-doc -->
974 * @generated
975 */
976 @Override
977 public double getDeduction_AC_daily() {
978 return deduction_AC_daily;
979 }
980
981 /**
982 * <!-- begin-user-doc -->
983 * <!-- end-user-doc -->
984 * @generated
985 */
986 @Override
987 public void setDeduction_AC_daily(double newDeduction_AC_daily) {
988 double oldDeduction_AC_daily = deduction_AC_daily;
989 deduction_AC_daily = newDeduction_AC_daily;
990 if (eNotificationRequired())
991 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_DAILY, oldDeduction_AC_daily, deduction_AC_daily));
992 }
993
994 /**
995 * <!-- begin-user-doc -->
996 * <!-- end-user-doc -->
997 * @generated
998 */
999 @Override
1000 public double getDeduction_AC_monthly() {
1001 return deduction_AC_monthly;
1002 }
1003
1004 /**
1005 * <!-- begin-user-doc -->
1006 * <!-- end-user-doc -->
1007 * @generated
1008 */
1009 @Override
1010 public void setDeduction_AC_monthly(double newDeduction_AC_monthly) {
1011 double oldDeduction_AC_monthly = deduction_AC_monthly;
1012 deduction_AC_monthly = newDeduction_AC_monthly;
1013 if (eNotificationRequired())
1014 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_MONTHLY, oldDeduction_AC_monthly, deduction_AC_monthly));
1015 }
1016
1017 /**
1018 * <!-- begin-user-doc -->
1019 * <!-- end-user-doc -->
1020 * @generated
1021 */
1022 @Override
1023 public double getDeduction_AC_yearly() {
1024 return deduction_AC_yearly;
1025 }
1026
1027 /**
1028 * <!-- begin-user-doc -->
1029 * <!-- end-user-doc -->
1030 * @generated
1031 */
1032 @Override
1033 public void setDeduction_AC_yearly(double newDeduction_AC_yearly) {
1034 double oldDeduction_AC_yearly = deduction_AC_yearly;
1035 deduction_AC_yearly = newDeduction_AC_yearly;
1036 if (eNotificationRequired())
1037 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_YEARLY, oldDeduction_AC_yearly, deduction_AC_yearly));
1038 }
1039
1040 /**
1041 * <!-- begin-user-doc -->
1042 * <!-- end-user-doc -->
1043 * @generated
1044 */
1045 @Override
1046 public double getDeduction_CE_daily() {
1047 return deduction_CE_daily;
1048 }
1049
1050 /**
1051 * <!-- begin-user-doc -->
1052 * <!-- end-user-doc -->
1053 * @generated
1054 */
1055 @Override
1056 public void setDeduction_CE_daily(double newDeduction_CE_daily) {
1057 double oldDeduction_CE_daily = deduction_CE_daily;
1058 deduction_CE_daily = newDeduction_CE_daily;
1059 if (eNotificationRequired())
1060 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_DAILY, oldDeduction_CE_daily, deduction_CE_daily));
1061 }
1062
1063 /**
1064 * <!-- begin-user-doc -->
1065 * <!-- end-user-doc -->
1066 * @generated
1067 */
1068 @Override
1069 public double getDeduction_CE_monthly() {
1070 return deduction_CE_monthly;
1071 }
1072
1073 /**
1074 * <!-- begin-user-doc -->
1075 * <!-- end-user-doc -->
1076 * @generated
1077 */
1078 @Override
1079 public void setDeduction_CE_monthly(double newDeduction_CE_monthly) {
1080 double oldDeduction_CE_monthly = deduction_CE_monthly;
1081 deduction_CE_monthly = newDeduction_CE_monthly;
1082 if (eNotificationRequired())
1083 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_MONTHLY, oldDeduction_CE_monthly, deduction_CE_monthly));
1084 }
1085
1086 /**
1087 * <!-- begin-user-doc -->
1088 * <!-- end-user-doc -->
1089 * @generated
1090 */
1091 @Override
1092 public double getDeduction_CE_yearly() {
1093 return deduction_CE_yearly;
1094 }
1095
1096 /**
1097 * <!-- begin-user-doc -->
1098 * <!-- end-user-doc -->
1099 * @generated
1100 */
1101 @Override
1102 public void setDeduction_CE_yearly(double newDeduction_CE_yearly) {
1103 double oldDeduction_CE_yearly = deduction_CE_yearly;
1104 deduction_CE_yearly = newDeduction_CE_yearly;
1105 if (eNotificationRequired())
1106 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_YEARLY, oldDeduction_CE_yearly, deduction_CE_yearly));
1107 }
1108
1109 /**
1110 * <!-- begin-user-doc -->
1111 * <!-- end-user-doc -->
1112 * @generated
1113 */
1114 @Override
1115 public double getDeduction_DS_daily() {
1116 return deduction_DS_daily;
1117 }
1118
1119 /**
1120 * <!-- begin-user-doc -->
1121 * <!-- end-user-doc -->
1122 * @generated
1123 */
1124 @Override
1125 public void setDeduction_DS_daily(double newDeduction_DS_daily) {
1126 double oldDeduction_DS_daily = deduction_DS_daily;
1127 deduction_DS_daily = newDeduction_DS_daily;
1128 if (eNotificationRequired())
1129 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DAILY, oldDeduction_DS_daily, deduction_DS_daily));
1130 }
1131
1132 /**
1133 * <!-- begin-user-doc -->
1134 * <!-- end-user-doc -->
1135 * @generated
1136 */
1137 @Override
1138 public double getDeduction_DS_monthly() {
1139 return deduction_DS_monthly;
1140 }
1141
1142 /**
1143 * <!-- begin-user-doc -->
1144 * <!-- end-user-doc -->
1145 * @generated
1146 */
1147 @Override
1148 public void setDeduction_DS_monthly(double newDeduction_DS_monthly) {
1149 double oldDeduction_DS_monthly = deduction_DS_monthly;
1150 deduction_DS_monthly = newDeduction_DS_monthly;
1151 if (eNotificationRequired())
1152 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_MONTHLY, oldDeduction_DS_monthly, deduction_DS_monthly));
1153 }
1154
1155 /**
1156 * <!-- begin-user-doc -->
1157 * <!-- end-user-doc -->
1158 * @generated
1159 */
1160 @Override
1161 public double getDeduction_FO_daily() {
1162 return deduction_FO_daily;
1163 }
1164
1165 /**
1166 * <!-- begin-user-doc -->
1167 * <!-- end-user-doc -->
1168 * @generated
1169 */
1170 @Override
1171 public void setDeduction_FO_daily(double newDeduction_FO_daily) {
1172 double oldDeduction_FO_daily = deduction_FO_daily;
1173 deduction_FO_daily = newDeduction_FO_daily;
1174 if (eNotificationRequired())
1175 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_DAILY, oldDeduction_FO_daily, deduction_FO_daily));
1176 }
1177
1178 /**
1179 * <!-- begin-user-doc -->
1180 * <!-- end-user-doc -->
1181 * @generated
1182 */
1183 @Override
1184 public double getDeduction_FO_monthly() {
1185 return deduction_FO_monthly;
1186 }
1187
1188 /**
1189 * <!-- begin-user-doc -->
1190 * <!-- end-user-doc -->
1191 * @generated
1192 */
1193 @Override
1194 public void setDeduction_FO_monthly(double newDeduction_FO_monthly) {
1195 double oldDeduction_FO_monthly = deduction_FO_monthly;
1196 deduction_FO_monthly = newDeduction_FO_monthly;
1197 if (eNotificationRequired())
1198 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_MONTHLY, oldDeduction_FO_monthly, deduction_FO_monthly));
1199 }
1200
1201 /**
1202 * <!-- begin-user-doc -->
1203 * <!-- end-user-doc -->
1204 * @generated
1205 */
1206 @Override
1207 public double getDeduction_FO_yearly() {
1208 return deduction_FO_yearly;
1209 }
1210
1211 /**
1212 * <!-- begin-user-doc -->
1213 * <!-- end-user-doc -->
1214 * @generated
1215 */
1216 @Override
1217 public void setDeduction_FO_yearly(double newDeduction_FO_yearly) {
1218 double oldDeduction_FO_yearly = deduction_FO_yearly;
1219 deduction_FO_yearly = newDeduction_FO_yearly;
1220 if (eNotificationRequired())
1221 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_YEARLY, oldDeduction_FO_yearly, deduction_FO_yearly));
1222 }
1223
1224 /**
1225 * <!-- begin-user-doc -->
1226 * <!-- end-user-doc -->
1227 * @generated
1228 */
1229 @Override
1230 public double getCredit_CIS_daily() {
1231 return credit_CIS_daily;
1232 }
1233
1234 /**
1235 * <!-- begin-user-doc -->
1236 * <!-- end-user-doc -->
1237 * @generated
1238 */
1239 @Override
1240 public void setCredit_CIS_daily(double newCredit_CIS_daily) {
1241 double oldCredit_CIS_daily = credit_CIS_daily;
1242 credit_CIS_daily = newCredit_CIS_daily;
1243 if (eNotificationRequired())
1244 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_DAILY, oldCredit_CIS_daily, credit_CIS_daily));
1245 }
1246
1247 /**
1248 * <!-- begin-user-doc -->
1249 * <!-- end-user-doc -->
1250 * @generated
1251 */
1252 @Override
1253 public double getCredit_CIS_monthly() {
1254 return credit_CIS_monthly;
1255 }
1256
1257 /**
1258 * <!-- begin-user-doc -->
1259 * <!-- end-user-doc -->
1260 * @generated
1261 */
1262 @Override
1263 public void setCredit_CIS_monthly(double newCredit_CIS_monthly) {
1264 double oldCredit_CIS_monthly = credit_CIS_monthly;
1265 credit_CIS_monthly = newCredit_CIS_monthly;
1266 if (eNotificationRequired())
1267 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_MONTHLY, oldCredit_CIS_monthly, credit_CIS_monthly));
1268 }
1269
1270 /**
1271 * <!-- begin-user-doc -->
1272 * <!-- end-user-doc -->
1273 * @generated
1274 */
1275 @Override
1276 public double getCredit_CIM_daily() {
1277 return credit_CIM_daily;
1278 }
1279
1280 /**
1281 * <!-- begin-user-doc -->
1282 * <!-- end-user-doc -->
1283 * @generated
1284 */
1285 @Override
1286 public void setCredit_CIM_daily(double newCredit_CIM_daily) {
1287 double oldCredit_CIM_daily = credit_CIM_daily;
1288 credit_CIM_daily = newCredit_CIM_daily;
1289 if (eNotificationRequired())
1290 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_DAILY, oldCredit_CIM_daily, credit_CIM_daily));
1291 }
1292
1293 /**
1294 * <!-- begin-user-doc -->
1295 * <!-- end-user-doc -->
1296 * @generated
1297 */
1298 @Override
1299 public boolean isValidity() {
1300 return validity;
1301 }
1302
1303 /**
1304 * <!-- begin-user-doc -->
1305 * <!-- end-user-doc -->
1306 * @generated
1307 */
1308 @Override
1309 public void setValidity(boolean newValidity) {
1310 boolean oldValidity = validity;
1311 validity = newValidity;
1312 if (eNotificationRequired())
1313 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__VALIDITY, oldValidity, validity));
1314 }
1315
1316 /**
1317 * <!-- begin-user-doc -->
1318 * <!-- end-user-doc -->
1319 * @generated
1320 */
1321 @Override
1322 public EList<Income_Tax_Credit> getIncome_Tax_Credit() {
1323 if (income_Tax_Credit == null) {
1324 income_Tax_Credit = new EObjectWithInverseResolvingEList<Income_Tax_Credit>(Income_Tax_Credit.class, this, TaxationWithRootPackage.TAX_CARD__INCOME_TAX_CREDIT, TaxationWithRootPackage.INCOME_TAX_CREDIT__TAXATION_FRAME);
1325 }
1326 return income_Tax_Credit;
1327 }
1328
1329 /**
1330 * <!-- begin-user-doc -->
1331 * <!-- end-user-doc -->
1332 * @generated
1333 */
1334 @Override
1335 public Tax_Card getPrevious() {
1336 if (previous != null && previous.eIsProxy()) {
1337 InternalEObject oldPrevious = (InternalEObject)previous;
1338 previous = (Tax_Card)eResolveProxy(oldPrevious);
1339 if (previous != oldPrevious) {
1340 if (eNotificationRequired())
1341 eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaxationWithRootPackage.TAX_CARD__PREVIOUS, oldPrevious, previous));
1342 }
1343 }
1344 return previous;
1345 }
1346
1347 /**
1348 * <!-- begin-user-doc -->
1349 * <!-- end-user-doc -->
1350 * @generated
1351 */
1352 public Tax_Card basicGetPrevious() {
1353 return previous;
1354 }
1355
1356 /**
1357 * <!-- begin-user-doc -->
1358 * <!-- end-user-doc -->
1359 * @generated
1360 */
1361 public NotificationChain basicSetPrevious(Tax_Card newPrevious, NotificationChain msgs) {
1362 Tax_Card oldPrevious = previous;
1363 previous = newPrevious;
1364 if (eNotificationRequired()) {
1365 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__PREVIOUS, oldPrevious, newPrevious);
1366 if (msgs == null) msgs = notification; else msgs.add(notification);
1367 }
1368 return msgs;
1369 }
1370
1371 /**
1372 * <!-- begin-user-doc -->
1373 * <!-- end-user-doc -->
1374 * @generated
1375 */
1376 @Override
1377 public void setPrevious(Tax_Card newPrevious) {
1378 if (newPrevious != previous) {
1379 NotificationChain msgs = null;
1380 if (previous != null)
1381 msgs = ((InternalEObject)previous).eInverseRemove(this, TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD, Tax_Card.class, msgs);
1382 if (newPrevious != null)
1383 msgs = ((InternalEObject)newPrevious).eInverseAdd(this, TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD, Tax_Card.class, msgs);
1384 msgs = basicSetPrevious(newPrevious, msgs);
1385 if (msgs != null) msgs.dispatch();
1386 }
1387 else if (eNotificationRequired())
1388 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__PREVIOUS, newPrevious, newPrevious));
1389 }
1390
1391 /**
1392 * <!-- begin-user-doc -->
1393 * <!-- end-user-doc -->
1394 * @generated
1395 */
1396 @Override
1397 public Tax_Card getCurrent_tax_card() {
1398 if (current_tax_card != null && current_tax_card.eIsProxy()) {
1399 InternalEObject oldCurrent_tax_card = (InternalEObject)current_tax_card;
1400 current_tax_card = (Tax_Card)eResolveProxy(oldCurrent_tax_card);
1401 if (current_tax_card != oldCurrent_tax_card) {
1402 if (eNotificationRequired())
1403 eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD, oldCurrent_tax_card, current_tax_card));
1404 }
1405 }
1406 return current_tax_card;
1407 }
1408
1409 /**
1410 * <!-- begin-user-doc -->
1411 * <!-- end-user-doc -->
1412 * @generated
1413 */
1414 public Tax_Card basicGetCurrent_tax_card() {
1415 return current_tax_card;
1416 }
1417
1418 /**
1419 * <!-- begin-user-doc -->
1420 * <!-- end-user-doc -->
1421 * @generated
1422 */
1423 public NotificationChain basicSetCurrent_tax_card(Tax_Card newCurrent_tax_card, NotificationChain msgs) {
1424 Tax_Card oldCurrent_tax_card = current_tax_card;
1425 current_tax_card = newCurrent_tax_card;
1426 if (eNotificationRequired()) {
1427 ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD, oldCurrent_tax_card, newCurrent_tax_card);
1428 if (msgs == null) msgs = notification; else msgs.add(notification);
1429 }
1430 return msgs;
1431 }
1432
1433 /**
1434 * <!-- begin-user-doc -->
1435 * <!-- end-user-doc -->
1436 * @generated
1437 */
1438 @Override
1439 public void setCurrent_tax_card(Tax_Card newCurrent_tax_card) {
1440 if (newCurrent_tax_card != current_tax_card) {
1441 NotificationChain msgs = null;
1442 if (current_tax_card != null)
1443 msgs = ((InternalEObject)current_tax_card).eInverseRemove(this, TaxationWithRootPackage.TAX_CARD__PREVIOUS, Tax_Card.class, msgs);
1444 if (newCurrent_tax_card != null)
1445 msgs = ((InternalEObject)newCurrent_tax_card).eInverseAdd(this, TaxationWithRootPackage.TAX_CARD__PREVIOUS, Tax_Card.class, msgs);
1446 msgs = basicSetCurrent_tax_card(newCurrent_tax_card, msgs);
1447 if (msgs != null) msgs.dispatch();
1448 }
1449 else if (eNotificationRequired())
1450 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD, newCurrent_tax_card, newCurrent_tax_card));
1451 }
1452
1453 /**
1454 * <!-- begin-user-doc -->
1455 * <!-- end-user-doc -->
1456 * @generated
1457 */
1458 @Override
1459 public double getCredit_CIM_yearly() {
1460 return credit_CIM_yearly;
1461 }
1462
1463 /**
1464 * <!-- begin-user-doc -->
1465 * <!-- end-user-doc -->
1466 * @generated
1467 */
1468 @Override
1469 public void setCredit_CIM_yearly(double newCredit_CIM_yearly) {
1470 double oldCredit_CIM_yearly = credit_CIM_yearly;
1471 credit_CIM_yearly = newCredit_CIM_yearly;
1472 if (eNotificationRequired())
1473 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_YEARLY, oldCredit_CIM_yearly, credit_CIM_yearly));
1474 }
1475
1476 /**
1477 * <!-- begin-user-doc -->
1478 * <!-- end-user-doc -->
1479 * @generated
1480 */
1481 @Override
1482 public double getDeduction_DS_Alimony_yearly() {
1483 return deduction_DS_Alimony_yearly;
1484 }
1485
1486 /**
1487 * <!-- begin-user-doc -->
1488 * <!-- end-user-doc -->
1489 * @generated
1490 */
1491 @Override
1492 public void setDeduction_DS_Alimony_yearly(double newDeduction_DS_Alimony_yearly) {
1493 double oldDeduction_DS_Alimony_yearly = deduction_DS_Alimony_yearly;
1494 deduction_DS_Alimony_yearly = newDeduction_DS_Alimony_yearly;
1495 if (eNotificationRequired())
1496 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY, oldDeduction_DS_Alimony_yearly, deduction_DS_Alimony_yearly));
1497 }
1498
1499 /**
1500 * <!-- begin-user-doc -->
1501 * <!-- end-user-doc -->
1502 * @generated
1503 */
1504 @Override
1505 public double getDeduction_DS_Debt_yearly() {
1506 return deduction_DS_Debt_yearly;
1507 }
1508
1509 /**
1510 * <!-- begin-user-doc -->
1511 * <!-- end-user-doc -->
1512 * @generated
1513 */
1514 @Override
1515 public void setDeduction_DS_Debt_yearly(double newDeduction_DS_Debt_yearly) {
1516 double oldDeduction_DS_Debt_yearly = deduction_DS_Debt_yearly;
1517 deduction_DS_Debt_yearly = newDeduction_DS_Debt_yearly;
1518 if (eNotificationRequired())
1519 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DEBT_YEARLY, oldDeduction_DS_Debt_yearly, deduction_DS_Debt_yearly));
1520 }
1521
1522 /**
1523 * <!-- begin-user-doc -->
1524 * <!-- end-user-doc -->
1525 * @generated
1526 */
1527 @Override
1528 public Income getIncome() {
1529 if (eContainerFeatureID() != TaxationWithRootPackage.TAX_CARD__INCOME) return null;
1530 return (Income)eInternalContainer();
1531 }
1532
1533 /**
1534 * <!-- begin-user-doc -->
1535 * <!-- end-user-doc -->
1536 * @generated
1537 */
1538 public NotificationChain basicSetIncome(Income newIncome, NotificationChain msgs) {
1539 msgs = eBasicSetContainer((InternalEObject)newIncome, TaxationWithRootPackage.TAX_CARD__INCOME, msgs);
1540 return msgs;
1541 }
1542
1543 /**
1544 * <!-- begin-user-doc -->
1545 * <!-- end-user-doc -->
1546 * @generated
1547 */
1548 @Override
1549 public void setIncome(Income newIncome) {
1550 if (newIncome != eInternalContainer() || (eContainerFeatureID() != TaxationWithRootPackage.TAX_CARD__INCOME && newIncome != null)) {
1551 if (EcoreUtil.isAncestor(this, newIncome))
1552 throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
1553 NotificationChain msgs = null;
1554 if (eInternalContainer() != null)
1555 msgs = eBasicRemoveFromContainer(msgs);
1556 if (newIncome != null)
1557 msgs = ((InternalEObject)newIncome).eInverseAdd(this, TaxationWithRootPackage.INCOME__TAX_CARD, Income.class, msgs);
1558 msgs = basicSetIncome(newIncome, msgs);
1559 if (msgs != null) msgs.dispatch();
1560 }
1561 else if (eNotificationRequired())
1562 eNotify(new ENotificationImpl(this, Notification.SET, TaxationWithRootPackage.TAX_CARD__INCOME, newIncome, newIncome));
1563 }
1564
1565 /**
1566 * <!-- begin-user-doc -->
1567 * <!-- end-user-doc -->
1568 * @generated
1569 */
1570 @SuppressWarnings("unchecked")
1571 @Override
1572 public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
1573 switch (featureID) {
1574 case TaxationWithRootPackage.TAX_CARD__INCOME_TAX_CREDIT:
1575 return ((InternalEList<InternalEObject>)(InternalEList<?>)getIncome_Tax_Credit()).basicAdd(otherEnd, msgs);
1576 case TaxationWithRootPackage.TAX_CARD__PREVIOUS:
1577 if (previous != null)
1578 msgs = ((InternalEObject)previous).eInverseRemove(this, TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD, Tax_Card.class, msgs);
1579 return basicSetPrevious((Tax_Card)otherEnd, msgs);
1580 case TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD:
1581 if (current_tax_card != null)
1582 msgs = ((InternalEObject)current_tax_card).eInverseRemove(this, TaxationWithRootPackage.TAX_CARD__PREVIOUS, Tax_Card.class, msgs);
1583 return basicSetCurrent_tax_card((Tax_Card)otherEnd, msgs);
1584 case TaxationWithRootPackage.TAX_CARD__INCOME:
1585 if (eInternalContainer() != null)
1586 msgs = eBasicRemoveFromContainer(msgs);
1587 return basicSetIncome((Income)otherEnd, msgs);
1588 }
1589 return super.eInverseAdd(otherEnd, featureID, msgs);
1590 }
1591
1592 /**
1593 * <!-- begin-user-doc -->
1594 * <!-- end-user-doc -->
1595 * @generated
1596 */
1597 @Override
1598 public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
1599 switch (featureID) {
1600 case TaxationWithRootPackage.TAX_CARD__INCOME_TAX_CREDIT:
1601 return ((InternalEList<?>)getIncome_Tax_Credit()).basicRemove(otherEnd, msgs);
1602 case TaxationWithRootPackage.TAX_CARD__PREVIOUS:
1603 return basicSetPrevious(null, msgs);
1604 case TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD:
1605 return basicSetCurrent_tax_card(null, msgs);
1606 case TaxationWithRootPackage.TAX_CARD__INCOME:
1607 return basicSetIncome(null, msgs);
1608 }
1609 return super.eInverseRemove(otherEnd, featureID, msgs);
1610 }
1611
1612 /**
1613 * <!-- begin-user-doc -->
1614 * <!-- end-user-doc -->
1615 * @generated
1616 */
1617 @Override
1618 public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
1619 switch (eContainerFeatureID()) {
1620 case TaxationWithRootPackage.TAX_CARD__INCOME:
1621 return eInternalContainer().eInverseRemove(this, TaxationWithRootPackage.INCOME__TAX_CARD, Income.class, msgs);
1622 }
1623 return super.eBasicRemoveFromContainerFeature(msgs);
1624 }
1625
1626 /**
1627 * <!-- begin-user-doc -->
1628 * <!-- end-user-doc -->
1629 * @generated
1630 */
1631 @Override
1632 public Object eGet(int featureID, boolean resolve, boolean coreType) {
1633 switch (featureID) {
1634 case TaxationWithRootPackage.TAX_CARD__CARD_IDENTIFIER:
1635 return getCard_identifier();
1636 case TaxationWithRootPackage.TAX_CARD__TAX_OFFICE:
1637 return getTax_office();
1638 case TaxationWithRootPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING:
1639 return getPercentage_of_witholding();
1640 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_NAME_SURNAME:
1641 return getTax_payers_name_surname();
1642 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME:
1643 return getTax_payers_partner_name_surname();
1644 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_ADDRESS:
1645 if (resolve) return getTax_payers_address();
1646 return basicGetTax_payers_address();
1647 case TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYER_SS_NO:
1648 return getJobs_Employer_SSNo();
1649 case TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYERS_NAME:
1650 return getJobs_employers_name();
1651 case TaxationWithRootPackage.TAX_CARD__JOBS_ACTIVITY_TYPE:
1652 return getJobs_activity_type();
1653 case TaxationWithRootPackage.TAX_CARD__JOBS_PLACE_OF_WORK:
1654 return getJobs_place_of_work();
1655 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_DAILY:
1656 return getDeduction_FD_daily();
1657 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_MONTHLY:
1658 return getDeduction_FD_monthly();
1659 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_DAILY:
1660 return getDeduction_AC_daily();
1661 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_MONTHLY:
1662 return getDeduction_AC_monthly();
1663 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_YEARLY:
1664 return getDeduction_AC_yearly();
1665 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_DAILY:
1666 return getDeduction_CE_daily();
1667 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_MONTHLY:
1668 return getDeduction_CE_monthly();
1669 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_YEARLY:
1670 return getDeduction_CE_yearly();
1671 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DAILY:
1672 return getDeduction_DS_daily();
1673 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_MONTHLY:
1674 return getDeduction_DS_monthly();
1675 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_DAILY:
1676 return getDeduction_FO_daily();
1677 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_MONTHLY:
1678 return getDeduction_FO_monthly();
1679 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_YEARLY:
1680 return getDeduction_FO_yearly();
1681 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_DAILY:
1682 return getCredit_CIS_daily();
1683 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_MONTHLY:
1684 return getCredit_CIS_monthly();
1685 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_DAILY:
1686 return getCredit_CIM_daily();
1687 case TaxationWithRootPackage.TAX_CARD__VALIDITY:
1688 return isValidity();
1689 case TaxationWithRootPackage.TAX_CARD__INCOME_TAX_CREDIT:
1690 return getIncome_Tax_Credit();
1691 case TaxationWithRootPackage.TAX_CARD__PREVIOUS:
1692 if (resolve) return getPrevious();
1693 return basicGetPrevious();
1694 case TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD:
1695 if (resolve) return getCurrent_tax_card();
1696 return basicGetCurrent_tax_card();
1697 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_YEARLY:
1698 return getCredit_CIM_yearly();
1699 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY:
1700 return getDeduction_DS_Alimony_yearly();
1701 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DEBT_YEARLY:
1702 return getDeduction_DS_Debt_yearly();
1703 case TaxationWithRootPackage.TAX_CARD__INCOME:
1704 return getIncome();
1705 }
1706 return super.eGet(featureID, resolve, coreType);
1707 }
1708
1709 /**
1710 * <!-- begin-user-doc -->
1711 * <!-- end-user-doc -->
1712 * @generated
1713 */
1714 @SuppressWarnings("unchecked")
1715 @Override
1716 public void eSet(int featureID, Object newValue) {
1717 switch (featureID) {
1718 case TaxationWithRootPackage.TAX_CARD__CARD_IDENTIFIER:
1719 setCard_identifier((String)newValue);
1720 return;
1721 case TaxationWithRootPackage.TAX_CARD__TAX_OFFICE:
1722 setTax_office((Tax_Office)newValue);
1723 return;
1724 case TaxationWithRootPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING:
1725 setPercentage_of_witholding((Double)newValue);
1726 return;
1727 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_NAME_SURNAME:
1728 getTax_payers_name_surname().clear();
1729 getTax_payers_name_surname().addAll((Collection<? extends String>)newValue);
1730 return;
1731 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME:
1732 getTax_payers_partner_name_surname().clear();
1733 getTax_payers_partner_name_surname().addAll((Collection<? extends String>)newValue);
1734 return;
1735 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_ADDRESS:
1736 setTax_payers_address((Address)newValue);
1737 return;
1738 case TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYER_SS_NO:
1739 setJobs_Employer_SSNo((String)newValue);
1740 return;
1741 case TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYERS_NAME:
1742 setJobs_employers_name((String)newValue);
1743 return;
1744 case TaxationWithRootPackage.TAX_CARD__JOBS_ACTIVITY_TYPE:
1745 setJobs_activity_type((Job_Activity)newValue);
1746 return;
1747 case TaxationWithRootPackage.TAX_CARD__JOBS_PLACE_OF_WORK:
1748 setJobs_place_of_work((Town)newValue);
1749 return;
1750 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_DAILY:
1751 setDeduction_FD_daily((Double)newValue);
1752 return;
1753 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_MONTHLY:
1754 setDeduction_FD_monthly((Double)newValue);
1755 return;
1756 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_DAILY:
1757 setDeduction_AC_daily((Double)newValue);
1758 return;
1759 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_MONTHLY:
1760 setDeduction_AC_monthly((Double)newValue);
1761 return;
1762 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_YEARLY:
1763 setDeduction_AC_yearly((Double)newValue);
1764 return;
1765 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_DAILY:
1766 setDeduction_CE_daily((Double)newValue);
1767 return;
1768 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_MONTHLY:
1769 setDeduction_CE_monthly((Double)newValue);
1770 return;
1771 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_YEARLY:
1772 setDeduction_CE_yearly((Double)newValue);
1773 return;
1774 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DAILY:
1775 setDeduction_DS_daily((Double)newValue);
1776 return;
1777 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_MONTHLY:
1778 setDeduction_DS_monthly((Double)newValue);
1779 return;
1780 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_DAILY:
1781 setDeduction_FO_daily((Double)newValue);
1782 return;
1783 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_MONTHLY:
1784 setDeduction_FO_monthly((Double)newValue);
1785 return;
1786 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_YEARLY:
1787 setDeduction_FO_yearly((Double)newValue);
1788 return;
1789 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_DAILY:
1790 setCredit_CIS_daily((Double)newValue);
1791 return;
1792 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_MONTHLY:
1793 setCredit_CIS_monthly((Double)newValue);
1794 return;
1795 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_DAILY:
1796 setCredit_CIM_daily((Double)newValue);
1797 return;
1798 case TaxationWithRootPackage.TAX_CARD__VALIDITY:
1799 setValidity((Boolean)newValue);
1800 return;
1801 case TaxationWithRootPackage.TAX_CARD__INCOME_TAX_CREDIT:
1802 getIncome_Tax_Credit().clear();
1803 getIncome_Tax_Credit().addAll((Collection<? extends Income_Tax_Credit>)newValue);
1804 return;
1805 case TaxationWithRootPackage.TAX_CARD__PREVIOUS:
1806 setPrevious((Tax_Card)newValue);
1807 return;
1808 case TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD:
1809 setCurrent_tax_card((Tax_Card)newValue);
1810 return;
1811 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_YEARLY:
1812 setCredit_CIM_yearly((Double)newValue);
1813 return;
1814 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY:
1815 setDeduction_DS_Alimony_yearly((Double)newValue);
1816 return;
1817 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DEBT_YEARLY:
1818 setDeduction_DS_Debt_yearly((Double)newValue);
1819 return;
1820 case TaxationWithRootPackage.TAX_CARD__INCOME:
1821 setIncome((Income)newValue);
1822 return;
1823 }
1824 super.eSet(featureID, newValue);
1825 }
1826
1827 /**
1828 * <!-- begin-user-doc -->
1829 * <!-- end-user-doc -->
1830 * @generated
1831 */
1832 @Override
1833 public void eUnset(int featureID) {
1834 switch (featureID) {
1835 case TaxationWithRootPackage.TAX_CARD__CARD_IDENTIFIER:
1836 setCard_identifier(CARD_IDENTIFIER_EDEFAULT);
1837 return;
1838 case TaxationWithRootPackage.TAX_CARD__TAX_OFFICE:
1839 setTax_office(TAX_OFFICE_EDEFAULT);
1840 return;
1841 case TaxationWithRootPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING:
1842 setPercentage_of_witholding(PERCENTAGE_OF_WITHOLDING_EDEFAULT);
1843 return;
1844 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_NAME_SURNAME:
1845 getTax_payers_name_surname().clear();
1846 return;
1847 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME:
1848 getTax_payers_partner_name_surname().clear();
1849 return;
1850 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_ADDRESS:
1851 setTax_payers_address((Address)null);
1852 return;
1853 case TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYER_SS_NO:
1854 setJobs_Employer_SSNo(JOBS_EMPLOYER_SS_NO_EDEFAULT);
1855 return;
1856 case TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYERS_NAME:
1857 setJobs_employers_name(JOBS_EMPLOYERS_NAME_EDEFAULT);
1858 return;
1859 case TaxationWithRootPackage.TAX_CARD__JOBS_ACTIVITY_TYPE:
1860 setJobs_activity_type(JOBS_ACTIVITY_TYPE_EDEFAULT);
1861 return;
1862 case TaxationWithRootPackage.TAX_CARD__JOBS_PLACE_OF_WORK:
1863 setJobs_place_of_work(JOBS_PLACE_OF_WORK_EDEFAULT);
1864 return;
1865 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_DAILY:
1866 setDeduction_FD_daily(DEDUCTION_FD_DAILY_EDEFAULT);
1867 return;
1868 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_MONTHLY:
1869 setDeduction_FD_monthly(DEDUCTION_FD_MONTHLY_EDEFAULT);
1870 return;
1871 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_DAILY:
1872 setDeduction_AC_daily(DEDUCTION_AC_DAILY_EDEFAULT);
1873 return;
1874 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_MONTHLY:
1875 setDeduction_AC_monthly(DEDUCTION_AC_MONTHLY_EDEFAULT);
1876 return;
1877 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_YEARLY:
1878 setDeduction_AC_yearly(DEDUCTION_AC_YEARLY_EDEFAULT);
1879 return;
1880 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_DAILY:
1881 setDeduction_CE_daily(DEDUCTION_CE_DAILY_EDEFAULT);
1882 return;
1883 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_MONTHLY:
1884 setDeduction_CE_monthly(DEDUCTION_CE_MONTHLY_EDEFAULT);
1885 return;
1886 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_YEARLY:
1887 setDeduction_CE_yearly(DEDUCTION_CE_YEARLY_EDEFAULT);
1888 return;
1889 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DAILY:
1890 setDeduction_DS_daily(DEDUCTION_DS_DAILY_EDEFAULT);
1891 return;
1892 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_MONTHLY:
1893 setDeduction_DS_monthly(DEDUCTION_DS_MONTHLY_EDEFAULT);
1894 return;
1895 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_DAILY:
1896 setDeduction_FO_daily(DEDUCTION_FO_DAILY_EDEFAULT);
1897 return;
1898 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_MONTHLY:
1899 setDeduction_FO_monthly(DEDUCTION_FO_MONTHLY_EDEFAULT);
1900 return;
1901 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_YEARLY:
1902 setDeduction_FO_yearly(DEDUCTION_FO_YEARLY_EDEFAULT);
1903 return;
1904 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_DAILY:
1905 setCredit_CIS_daily(CREDIT_CIS_DAILY_EDEFAULT);
1906 return;
1907 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_MONTHLY:
1908 setCredit_CIS_monthly(CREDIT_CIS_MONTHLY_EDEFAULT);
1909 return;
1910 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_DAILY:
1911 setCredit_CIM_daily(CREDIT_CIM_DAILY_EDEFAULT);
1912 return;
1913 case TaxationWithRootPackage.TAX_CARD__VALIDITY:
1914 setValidity(VALIDITY_EDEFAULT);
1915 return;
1916 case TaxationWithRootPackage.TAX_CARD__INCOME_TAX_CREDIT:
1917 getIncome_Tax_Credit().clear();
1918 return;
1919 case TaxationWithRootPackage.TAX_CARD__PREVIOUS:
1920 setPrevious((Tax_Card)null);
1921 return;
1922 case TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD:
1923 setCurrent_tax_card((Tax_Card)null);
1924 return;
1925 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_YEARLY:
1926 setCredit_CIM_yearly(CREDIT_CIM_YEARLY_EDEFAULT);
1927 return;
1928 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY:
1929 setDeduction_DS_Alimony_yearly(DEDUCTION_DS_ALIMONY_YEARLY_EDEFAULT);
1930 return;
1931 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DEBT_YEARLY:
1932 setDeduction_DS_Debt_yearly(DEDUCTION_DS_DEBT_YEARLY_EDEFAULT);
1933 return;
1934 case TaxationWithRootPackage.TAX_CARD__INCOME:
1935 setIncome((Income)null);
1936 return;
1937 }
1938 super.eUnset(featureID);
1939 }
1940
1941 /**
1942 * <!-- begin-user-doc -->
1943 * <!-- end-user-doc -->
1944 * @generated
1945 */
1946 @Override
1947 public boolean eIsSet(int featureID) {
1948 switch (featureID) {
1949 case TaxationWithRootPackage.TAX_CARD__CARD_IDENTIFIER:
1950 return CARD_IDENTIFIER_EDEFAULT == null ? card_identifier != null : !CARD_IDENTIFIER_EDEFAULT.equals(card_identifier);
1951 case TaxationWithRootPackage.TAX_CARD__TAX_OFFICE:
1952 return tax_office != TAX_OFFICE_EDEFAULT;
1953 case TaxationWithRootPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING:
1954 return percentage_of_witholding != PERCENTAGE_OF_WITHOLDING_EDEFAULT;
1955 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_NAME_SURNAME:
1956 return tax_payers_name_surname != null && !tax_payers_name_surname.isEmpty();
1957 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_PARTNER_NAME_SURNAME:
1958 return tax_payers_partner_name_surname != null && !tax_payers_partner_name_surname.isEmpty();
1959 case TaxationWithRootPackage.TAX_CARD__TAX_PAYERS_ADDRESS:
1960 return tax_payers_address != null;
1961 case TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYER_SS_NO:
1962 return JOBS_EMPLOYER_SS_NO_EDEFAULT == null ? jobs_Employer_SSNo != null : !JOBS_EMPLOYER_SS_NO_EDEFAULT.equals(jobs_Employer_SSNo);
1963 case TaxationWithRootPackage.TAX_CARD__JOBS_EMPLOYERS_NAME:
1964 return JOBS_EMPLOYERS_NAME_EDEFAULT == null ? jobs_employers_name != null : !JOBS_EMPLOYERS_NAME_EDEFAULT.equals(jobs_employers_name);
1965 case TaxationWithRootPackage.TAX_CARD__JOBS_ACTIVITY_TYPE:
1966 return jobs_activity_type != JOBS_ACTIVITY_TYPE_EDEFAULT;
1967 case TaxationWithRootPackage.TAX_CARD__JOBS_PLACE_OF_WORK:
1968 return jobs_place_of_work != JOBS_PLACE_OF_WORK_EDEFAULT;
1969 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_DAILY:
1970 return deduction_FD_daily != DEDUCTION_FD_DAILY_EDEFAULT;
1971 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FD_MONTHLY:
1972 return deduction_FD_monthly != DEDUCTION_FD_MONTHLY_EDEFAULT;
1973 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_DAILY:
1974 return deduction_AC_daily != DEDUCTION_AC_DAILY_EDEFAULT;
1975 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_MONTHLY:
1976 return deduction_AC_monthly != DEDUCTION_AC_MONTHLY_EDEFAULT;
1977 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_AC_YEARLY:
1978 return deduction_AC_yearly != DEDUCTION_AC_YEARLY_EDEFAULT;
1979 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_DAILY:
1980 return deduction_CE_daily != DEDUCTION_CE_DAILY_EDEFAULT;
1981 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_MONTHLY:
1982 return deduction_CE_monthly != DEDUCTION_CE_MONTHLY_EDEFAULT;
1983 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_CE_YEARLY:
1984 return deduction_CE_yearly != DEDUCTION_CE_YEARLY_EDEFAULT;
1985 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DAILY:
1986 return deduction_DS_daily != DEDUCTION_DS_DAILY_EDEFAULT;
1987 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_MONTHLY:
1988 return deduction_DS_monthly != DEDUCTION_DS_MONTHLY_EDEFAULT;
1989 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_DAILY:
1990 return deduction_FO_daily != DEDUCTION_FO_DAILY_EDEFAULT;
1991 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_MONTHLY:
1992 return deduction_FO_monthly != DEDUCTION_FO_MONTHLY_EDEFAULT;
1993 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_FO_YEARLY:
1994 return deduction_FO_yearly != DEDUCTION_FO_YEARLY_EDEFAULT;
1995 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_DAILY:
1996 return credit_CIS_daily != CREDIT_CIS_DAILY_EDEFAULT;
1997 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIS_MONTHLY:
1998 return credit_CIS_monthly != CREDIT_CIS_MONTHLY_EDEFAULT;
1999 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_DAILY:
2000 return credit_CIM_daily != CREDIT_CIM_DAILY_EDEFAULT;
2001 case TaxationWithRootPackage.TAX_CARD__VALIDITY:
2002 return validity != VALIDITY_EDEFAULT;
2003 case TaxationWithRootPackage.TAX_CARD__INCOME_TAX_CREDIT:
2004 return income_Tax_Credit != null && !income_Tax_Credit.isEmpty();
2005 case TaxationWithRootPackage.TAX_CARD__PREVIOUS:
2006 return previous != null;
2007 case TaxationWithRootPackage.TAX_CARD__CURRENT_TAX_CARD:
2008 return current_tax_card != null;
2009 case TaxationWithRootPackage.TAX_CARD__CREDIT_CIM_YEARLY:
2010 return credit_CIM_yearly != CREDIT_CIM_YEARLY_EDEFAULT;
2011 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_ALIMONY_YEARLY:
2012 return deduction_DS_Alimony_yearly != DEDUCTION_DS_ALIMONY_YEARLY_EDEFAULT;
2013 case TaxationWithRootPackage.TAX_CARD__DEDUCTION_DS_DEBT_YEARLY:
2014 return deduction_DS_Debt_yearly != DEDUCTION_DS_DEBT_YEARLY_EDEFAULT;
2015 case TaxationWithRootPackage.TAX_CARD__INCOME:
2016 return getIncome() != null;
2017 }
2018 return super.eIsSet(featureID);
2019 }
2020
2021 /**
2022 * <!-- begin-user-doc -->
2023 * <!-- end-user-doc -->
2024 * @generated
2025 */
2026 @Override
2027 public String toString() {
2028 if (eIsProxy()) return super.toString();
2029
2030 StringBuilder result = new StringBuilder(super.toString());
2031 result.append(" (card_identifier: ");
2032 result.append(card_identifier);
2033 result.append(", tax_office: ");
2034 result.append(tax_office);
2035 result.append(", percentage_of_witholding: ");
2036 result.append(percentage_of_witholding);
2037 result.append(", tax_payers_name_surname: ");
2038 result.append(tax_payers_name_surname);
2039 result.append(", tax_payers_partner_name_surname: ");
2040 result.append(tax_payers_partner_name_surname);
2041 result.append(", jobs_Employer_SSNo: ");
2042 result.append(jobs_Employer_SSNo);
2043 result.append(", jobs_employers_name: ");
2044 result.append(jobs_employers_name);
2045 result.append(", jobs_activity_type: ");
2046 result.append(jobs_activity_type);
2047 result.append(", jobs_place_of_work: ");
2048 result.append(jobs_place_of_work);
2049 result.append(", deduction_FD_daily: ");
2050 result.append(deduction_FD_daily);
2051 result.append(", deduction_FD_monthly: ");
2052 result.append(deduction_FD_monthly);
2053 result.append(", deduction_AC_daily: ");
2054 result.append(deduction_AC_daily);
2055 result.append(", deduction_AC_monthly: ");
2056 result.append(deduction_AC_monthly);
2057 result.append(", deduction_AC_yearly: ");
2058 result.append(deduction_AC_yearly);
2059 result.append(", deduction_CE_daily: ");
2060 result.append(deduction_CE_daily);
2061 result.append(", deduction_CE_monthly: ");
2062 result.append(deduction_CE_monthly);
2063 result.append(", deduction_CE_yearly: ");
2064 result.append(deduction_CE_yearly);
2065 result.append(", deduction_DS_daily: ");
2066 result.append(deduction_DS_daily);
2067 result.append(", deduction_DS_monthly: ");
2068 result.append(deduction_DS_monthly);
2069 result.append(", deduction_FO_daily: ");
2070 result.append(deduction_FO_daily);
2071 result.append(", deduction_FO_monthly: ");
2072 result.append(deduction_FO_monthly);
2073 result.append(", deduction_FO_yearly: ");
2074 result.append(deduction_FO_yearly);
2075 result.append(", credit_CIS_daily: ");
2076 result.append(credit_CIS_daily);
2077 result.append(", credit_CIS_monthly: ");
2078 result.append(credit_CIS_monthly);
2079 result.append(", credit_CIM_daily: ");
2080 result.append(credit_CIM_daily);
2081 result.append(", validity: ");
2082 result.append(validity);
2083 result.append(", credit_CIM_yearly: ");
2084 result.append(credit_CIM_yearly);
2085 result.append(", deduction_DS_Alimony_yearly: ");
2086 result.append(deduction_DS_Alimony_yearly);
2087 result.append(", deduction_DS_Debt_yearly: ");
2088 result.append(deduction_DS_Debt_yearly);
2089 result.append(')');
2090 return result.toString();
2091 }
2092
2093} //Tax_CardImpl