diff options
author | 2020-05-11 10:06:57 -0400 | |
---|---|---|
committer | 2020-05-11 10:06:57 -0400 | |
commit | 750b37401bc3eb3e9deb7126d90f871973ba477b (patch) | |
tree | abe90e700f79ae1e126586039bf15d2a51dbb60c /Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java | |
parent | Allow real numbers to be in the solution (diff) | |
download | VIATRA-Generator-750b37401bc3eb3e9deb7126d90f871973ba477b.tar.gz VIATRA-Generator-750b37401bc3eb3e9deb7126d90f871973ba477b.tar.zst VIATRA-Generator-750b37401bc3eb3e9deb7126d90f871973ba477b.zip |
Remove derived features from the PLEDGE MM
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java | 114 |
1 files changed, 1 insertions, 113 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java index 13e12888..ab7793f4 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Physical_PersonImpl.java | |||
@@ -32,13 +32,11 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
32 | * The following features are implemented: | 32 | * The following features are implemented: |
33 | * </p> | 33 | * </p> |
34 | * <ul> | 34 | * <ul> |
35 | * <li>{@link Taxation.impl.Physical_PersonImpl#isIs_assisting_spouse <em>Is assisting spouse</em>}</li> | ||
36 | * <li>{@link Taxation.impl.Physical_PersonImpl#getSSNo <em>SS No</em>}</li> | 35 | * <li>{@link Taxation.impl.Physical_PersonImpl#getSSNo <em>SS No</em>}</li> |
37 | * <li>{@link Taxation.impl.Physical_PersonImpl#getAddresses <em>Addresses</em>}</li> | 36 | * <li>{@link Taxation.impl.Physical_PersonImpl#getAddresses <em>Addresses</em>}</li> |
38 | * <li>{@link Taxation.impl.Physical_PersonImpl#getBirth_year <em>Birth year</em>}</li> | 37 | * <li>{@link Taxation.impl.Physical_PersonImpl#getBirth_year <em>Birth year</em>}</li> |
39 | * <li>{@link Taxation.impl.Physical_PersonImpl#getDisability_percentage <em>Disability percentage</em>}</li> | 38 | * <li>{@link Taxation.impl.Physical_PersonImpl#getDisability_percentage <em>Disability percentage</em>}</li> |
40 | * <li>{@link Taxation.impl.Physical_PersonImpl#getDisability_type <em>Disability type</em>}</li> | 39 | * <li>{@link Taxation.impl.Physical_PersonImpl#getDisability_type <em>Disability type</em>}</li> |
41 | * <li>{@link Taxation.impl.Physical_PersonImpl#isIs_affiliated_personnaly_to_social_security <em>Is affiliated personnaly to social security</em>}</li> | ||
42 | * <li>{@link Taxation.impl.Physical_PersonImpl#getBirth_month <em>Birth month</em>}</li> | 40 | * <li>{@link Taxation.impl.Physical_PersonImpl#getBirth_month <em>Birth month</em>}</li> |
43 | * <li>{@link Taxation.impl.Physical_PersonImpl#getBirth_day <em>Birth day</em>}</li> | 41 | * <li>{@link Taxation.impl.Physical_PersonImpl#getBirth_day <em>Birth day</em>}</li> |
44 | * <li>{@link Taxation.impl.Physical_PersonImpl#getExpenses <em>Expenses</em>}</li> | 42 | * <li>{@link Taxation.impl.Physical_PersonImpl#getExpenses <em>Expenses</em>}</li> |
@@ -49,26 +47,6 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
49 | */ | 47 | */ |
50 | public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements Physical_Person { | 48 | public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements Physical_Person { |
51 | /** | 49 | /** |
52 | * The default value of the '{@link #isIs_assisting_spouse() <em>Is assisting spouse</em>}' attribute. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #isIs_assisting_spouse() | ||
56 | * @generated | ||
57 | * @ordered | ||
58 | */ | ||
59 | protected static final boolean IS_ASSISTING_SPOUSE_EDEFAULT = false; | ||
60 | |||
61 | /** | ||
62 | * The cached value of the '{@link #isIs_assisting_spouse() <em>Is assisting spouse</em>}' attribute. | ||
63 | * <!-- begin-user-doc --> | ||
64 | * <!-- end-user-doc --> | ||
65 | * @see #isIs_assisting_spouse() | ||
66 | * @generated | ||
67 | * @ordered | ||
68 | */ | ||
69 | protected boolean is_assisting_spouse = IS_ASSISTING_SPOUSE_EDEFAULT; | ||
70 | |||
71 | /** | ||
72 | * The default value of the '{@link #getSSNo() <em>SS No</em>}' attribute. | 50 | * The default value of the '{@link #getSSNo() <em>SS No</em>}' attribute. |
73 | * <!-- begin-user-doc --> | 51 | * <!-- begin-user-doc --> |
74 | * <!-- end-user-doc --> | 52 | * <!-- end-user-doc --> |
@@ -159,26 +137,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
159 | protected Disability_Types disability_type = DISABILITY_TYPE_EDEFAULT; | 137 | protected Disability_Types disability_type = DISABILITY_TYPE_EDEFAULT; |
160 | 138 | ||
161 | /** | 139 | /** |
162 | * The default value of the '{@link #isIs_affiliated_personnaly_to_social_security() <em>Is affiliated personnaly to social security</em>}' attribute. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @see #isIs_affiliated_personnaly_to_social_security() | ||
166 | * @generated | ||
167 | * @ordered | ||
168 | */ | ||
169 | protected static final boolean IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY_EDEFAULT = false; | ||
170 | |||
171 | /** | ||
172 | * The cached value of the '{@link #isIs_affiliated_personnaly_to_social_security() <em>Is affiliated personnaly to social security</em>}' attribute. | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @see #isIs_affiliated_personnaly_to_social_security() | ||
176 | * @generated | ||
177 | * @ordered | ||
178 | */ | ||
179 | protected boolean is_affiliated_personnaly_to_social_security = IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY_EDEFAULT; | ||
180 | |||
181 | /** | ||
182 | * The default value of the '{@link #getBirth_month() <em>Birth month</em>}' attribute. | 140 | * The default value of the '{@link #getBirth_month() <em>Birth month</em>}' attribute. |
183 | * <!-- begin-user-doc --> | 141 | * <!-- begin-user-doc --> |
184 | * <!-- end-user-doc --> | 142 | * <!-- end-user-doc --> |
@@ -273,29 +231,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
273 | * @generated | 231 | * @generated |
274 | */ | 232 | */ |
275 | @Override | 233 | @Override |
276 | public boolean isIs_assisting_spouse() { | ||
277 | return is_assisting_spouse; | ||
278 | } | ||
279 | |||
280 | /** | ||
281 | * <!-- begin-user-doc --> | ||
282 | * <!-- end-user-doc --> | ||
283 | * @generated | ||
284 | */ | ||
285 | @Override | ||
286 | public void setIs_assisting_spouse(boolean newIs_assisting_spouse) { | ||
287 | boolean oldIs_assisting_spouse = is_assisting_spouse; | ||
288 | is_assisting_spouse = newIs_assisting_spouse; | ||
289 | if (eNotificationRequired()) | ||
290 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.PHYSICAL_PERSON__IS_ASSISTING_SPOUSE, oldIs_assisting_spouse, is_assisting_spouse)); | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * <!-- begin-user-doc --> | ||
295 | * <!-- end-user-doc --> | ||
296 | * @generated | ||
297 | */ | ||
298 | @Override | ||
299 | public String getSSNo() { | 234 | public String getSSNo() { |
300 | return ssNo; | 235 | return ssNo; |
301 | } | 236 | } |
@@ -401,29 +336,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
401 | * @generated | 336 | * @generated |
402 | */ | 337 | */ |
403 | @Override | 338 | @Override |
404 | public boolean isIs_affiliated_personnaly_to_social_security() { | ||
405 | return is_affiliated_personnaly_to_social_security; | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * <!-- begin-user-doc --> | ||
410 | * <!-- end-user-doc --> | ||
411 | * @generated | ||
412 | */ | ||
413 | @Override | ||
414 | public void setIs_affiliated_personnaly_to_social_security(boolean newIs_affiliated_personnaly_to_social_security) { | ||
415 | boolean oldIs_affiliated_personnaly_to_social_security = is_affiliated_personnaly_to_social_security; | ||
416 | is_affiliated_personnaly_to_social_security = newIs_affiliated_personnaly_to_social_security; | ||
417 | if (eNotificationRequired()) | ||
418 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.PHYSICAL_PERSON__IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY, oldIs_affiliated_personnaly_to_social_security, is_affiliated_personnaly_to_social_security)); | ||
419 | } | ||
420 | |||
421 | /** | ||
422 | * <!-- begin-user-doc --> | ||
423 | * <!-- end-user-doc --> | ||
424 | * @generated | ||
425 | */ | ||
426 | @Override | ||
427 | public int getBirth_month() { | 339 | public int getBirth_month() { |
428 | return birth_month; | 340 | return birth_month; |
429 | } | 341 | } |
@@ -541,8 +453,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
541 | @Override | 453 | @Override |
542 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 454 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
543 | switch (featureID) { | 455 | switch (featureID) { |
544 | case TaxationPackage.PHYSICAL_PERSON__IS_ASSISTING_SPOUSE: | ||
545 | return isIs_assisting_spouse(); | ||
546 | case TaxationPackage.PHYSICAL_PERSON__SS_NO: | 456 | case TaxationPackage.PHYSICAL_PERSON__SS_NO: |
547 | return getSSNo(); | 457 | return getSSNo(); |
548 | case TaxationPackage.PHYSICAL_PERSON__ADDRESSES: | 458 | case TaxationPackage.PHYSICAL_PERSON__ADDRESSES: |
@@ -553,8 +463,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
553 | return getDisability_percentage(); | 463 | return getDisability_percentage(); |
554 | case TaxationPackage.PHYSICAL_PERSON__DISABILITY_TYPE: | 464 | case TaxationPackage.PHYSICAL_PERSON__DISABILITY_TYPE: |
555 | return getDisability_type(); | 465 | return getDisability_type(); |
556 | case TaxationPackage.PHYSICAL_PERSON__IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY: | ||
557 | return isIs_affiliated_personnaly_to_social_security(); | ||
558 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_MONTH: | 466 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_MONTH: |
559 | return getBirth_month(); | 467 | return getBirth_month(); |
560 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_DAY: | 468 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_DAY: |
@@ -576,9 +484,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
576 | @Override | 484 | @Override |
577 | public void eSet(int featureID, Object newValue) { | 485 | public void eSet(int featureID, Object newValue) { |
578 | switch (featureID) { | 486 | switch (featureID) { |
579 | case TaxationPackage.PHYSICAL_PERSON__IS_ASSISTING_SPOUSE: | ||
580 | setIs_assisting_spouse((Boolean)newValue); | ||
581 | return; | ||
582 | case TaxationPackage.PHYSICAL_PERSON__SS_NO: | 487 | case TaxationPackage.PHYSICAL_PERSON__SS_NO: |
583 | setSSNo((String)newValue); | 488 | setSSNo((String)newValue); |
584 | return; | 489 | return; |
@@ -595,9 +500,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
595 | case TaxationPackage.PHYSICAL_PERSON__DISABILITY_TYPE: | 500 | case TaxationPackage.PHYSICAL_PERSON__DISABILITY_TYPE: |
596 | setDisability_type((Disability_Types)newValue); | 501 | setDisability_type((Disability_Types)newValue); |
597 | return; | 502 | return; |
598 | case TaxationPackage.PHYSICAL_PERSON__IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY: | ||
599 | setIs_affiliated_personnaly_to_social_security((Boolean)newValue); | ||
600 | return; | ||
601 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_MONTH: | 503 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_MONTH: |
602 | setBirth_month((Integer)newValue); | 504 | setBirth_month((Integer)newValue); |
603 | return; | 505 | return; |
@@ -623,9 +525,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
623 | @Override | 525 | @Override |
624 | public void eUnset(int featureID) { | 526 | public void eUnset(int featureID) { |
625 | switch (featureID) { | 527 | switch (featureID) { |
626 | case TaxationPackage.PHYSICAL_PERSON__IS_ASSISTING_SPOUSE: | ||
627 | setIs_assisting_spouse(IS_ASSISTING_SPOUSE_EDEFAULT); | ||
628 | return; | ||
629 | case TaxationPackage.PHYSICAL_PERSON__SS_NO: | 528 | case TaxationPackage.PHYSICAL_PERSON__SS_NO: |
630 | setSSNo(SS_NO_EDEFAULT); | 529 | setSSNo(SS_NO_EDEFAULT); |
631 | return; | 530 | return; |
@@ -641,9 +540,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
641 | case TaxationPackage.PHYSICAL_PERSON__DISABILITY_TYPE: | 540 | case TaxationPackage.PHYSICAL_PERSON__DISABILITY_TYPE: |
642 | setDisability_type(DISABILITY_TYPE_EDEFAULT); | 541 | setDisability_type(DISABILITY_TYPE_EDEFAULT); |
643 | return; | 542 | return; |
644 | case TaxationPackage.PHYSICAL_PERSON__IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY: | ||
645 | setIs_affiliated_personnaly_to_social_security(IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY_EDEFAULT); | ||
646 | return; | ||
647 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_MONTH: | 543 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_MONTH: |
648 | setBirth_month(BIRTH_MONTH_EDEFAULT); | 544 | setBirth_month(BIRTH_MONTH_EDEFAULT); |
649 | return; | 545 | return; |
@@ -668,8 +564,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
668 | @Override | 564 | @Override |
669 | public boolean eIsSet(int featureID) { | 565 | public boolean eIsSet(int featureID) { |
670 | switch (featureID) { | 566 | switch (featureID) { |
671 | case TaxationPackage.PHYSICAL_PERSON__IS_ASSISTING_SPOUSE: | ||
672 | return is_assisting_spouse != IS_ASSISTING_SPOUSE_EDEFAULT; | ||
673 | case TaxationPackage.PHYSICAL_PERSON__SS_NO: | 567 | case TaxationPackage.PHYSICAL_PERSON__SS_NO: |
674 | return SS_NO_EDEFAULT == null ? ssNo != null : !SS_NO_EDEFAULT.equals(ssNo); | 568 | return SS_NO_EDEFAULT == null ? ssNo != null : !SS_NO_EDEFAULT.equals(ssNo); |
675 | case TaxationPackage.PHYSICAL_PERSON__ADDRESSES: | 569 | case TaxationPackage.PHYSICAL_PERSON__ADDRESSES: |
@@ -680,8 +574,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
680 | return disability_percentage != DISABILITY_PERCENTAGE_EDEFAULT; | 574 | return disability_percentage != DISABILITY_PERCENTAGE_EDEFAULT; |
681 | case TaxationPackage.PHYSICAL_PERSON__DISABILITY_TYPE: | 575 | case TaxationPackage.PHYSICAL_PERSON__DISABILITY_TYPE: |
682 | return disability_type != DISABILITY_TYPE_EDEFAULT; | 576 | return disability_type != DISABILITY_TYPE_EDEFAULT; |
683 | case TaxationPackage.PHYSICAL_PERSON__IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY: | ||
684 | return is_affiliated_personnaly_to_social_security != IS_AFFILIATED_PERSONNALY_TO_SOCIAL_SECURITY_EDEFAULT; | ||
685 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_MONTH: | 577 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_MONTH: |
686 | return birth_month != BIRTH_MONTH_EDEFAULT; | 578 | return birth_month != BIRTH_MONTH_EDEFAULT; |
687 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_DAY: | 579 | case TaxationPackage.PHYSICAL_PERSON__BIRTH_DAY: |
@@ -704,9 +596,7 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
704 | if (eIsProxy()) return super.toString(); | 596 | if (eIsProxy()) return super.toString(); |
705 | 597 | ||
706 | StringBuilder result = new StringBuilder(super.toString()); | 598 | StringBuilder result = new StringBuilder(super.toString()); |
707 | result.append(" (is_assisting_spouse: "); | 599 | result.append(" (SSNo: "); |
708 | result.append(is_assisting_spouse); | ||
709 | result.append(", SSNo: "); | ||
710 | result.append(ssNo); | 600 | result.append(ssNo); |
711 | result.append(", birth_year: "); | 601 | result.append(", birth_year: "); |
712 | result.append(birth_year); | 602 | result.append(birth_year); |
@@ -714,8 +604,6 @@ public class Physical_PersonImpl extends MinimalEObjectImpl.Container implements | |||
714 | result.append(disability_percentage); | 604 | result.append(disability_percentage); |
715 | result.append(", disability_type: "); | 605 | result.append(", disability_type: "); |
716 | result.append(disability_type); | 606 | result.append(disability_type); |
717 | result.append(", is_affiliated_personnaly_to_social_security: "); | ||
718 | result.append(is_affiliated_personnaly_to_social_security); | ||
719 | result.append(", birth_month: "); | 607 | result.append(", birth_month: "); |
720 | result.append(birth_month); | 608 | result.append(birth_month); |
721 | result.append(", birth_day: "); | 609 | result.append(", birth_day: "); |