diff options
author | ArenBabikian <aren.babikian@mail.mcgill.ca> | 2020-05-11 10:06:57 -0400 |
---|---|---|
committer | ArenBabikian <aren.babikian@mail.mcgill.ca> | 2020-05-11 10:06:57 -0400 |
commit | 750b37401bc3eb3e9deb7126d90f871973ba477b (patch) | |
tree | abe90e700f79ae1e126586039bf15d2a51dbb60c /Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.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/Tax_CardImpl.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java index ebff8555..0bb2e737 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Tax_CardImpl.java | |||
@@ -7,7 +7,6 @@ import Taxation.Income; | |||
7 | import Taxation.Income_Tax_Credit; | 7 | import Taxation.Income_Tax_Credit; |
8 | import Taxation.Job_Activity; | 8 | import Taxation.Job_Activity; |
9 | import Taxation.Tax_Card; | 9 | import Taxation.Tax_Card; |
10 | import Taxation.Tax_Card_Type; | ||
11 | import Taxation.Tax_Office; | 10 | import Taxation.Tax_Office; |
12 | import Taxation.TaxationPackage; | 11 | import Taxation.TaxationPackage; |
13 | import Taxation.Town; | 12 | import Taxation.Town; |
@@ -39,7 +38,6 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
39 | * </p> | 38 | * </p> |
40 | * <ul> | 39 | * <ul> |
41 | * <li>{@link Taxation.impl.Tax_CardImpl#getCard_identifier <em>Card identifier</em>}</li> | 40 | * <li>{@link Taxation.impl.Tax_CardImpl#getCard_identifier <em>Card identifier</em>}</li> |
42 | * <li>{@link Taxation.impl.Tax_CardImpl#getTax_card_type <em>Tax card type</em>}</li> | ||
43 | * <li>{@link Taxation.impl.Tax_CardImpl#getTax_office <em>Tax office</em>}</li> | 41 | * <li>{@link Taxation.impl.Tax_CardImpl#getTax_office <em>Tax office</em>}</li> |
44 | * <li>{@link Taxation.impl.Tax_CardImpl#getPercentage_of_witholding <em>Percentage of witholding</em>}</li> | 42 | * <li>{@link Taxation.impl.Tax_CardImpl#getPercentage_of_witholding <em>Percentage of witholding</em>}</li> |
45 | * <li>{@link Taxation.impl.Tax_CardImpl#getTax_payers_name_surname <em>Tax payers name surname</em>}</li> | 43 | * <li>{@link Taxation.impl.Tax_CardImpl#getTax_payers_name_surname <em>Tax payers name surname</em>}</li> |
@@ -99,26 +97,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca | |||
99 | protected String card_identifier = CARD_IDENTIFIER_EDEFAULT; | 97 | protected String card_identifier = CARD_IDENTIFIER_EDEFAULT; |
100 | 98 | ||
101 | /** | 99 | /** |
102 | * The default value of the '{@link #getTax_card_type() <em>Tax card type</em>}' attribute. | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @see #getTax_card_type() | ||
106 | * @generated | ||
107 | * @ordered | ||
108 | */ | ||
109 | protected static final Tax_Card_Type TAX_CARD_TYPE_EDEFAULT = Tax_Card_Type.PRINCIPAL; | ||
110 | |||
111 | /** | ||
112 | * The cached value of the '{@link #getTax_card_type() <em>Tax card type</em>}' attribute. | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @see #getTax_card_type() | ||
116 | * @generated | ||
117 | * @ordered | ||
118 | */ | ||
119 | protected Tax_Card_Type tax_card_type = TAX_CARD_TYPE_EDEFAULT; | ||
120 | |||
121 | /** | ||
122 | * The default value of the '{@link #getTax_office() <em>Tax office</em>}' attribute. | 100 | * The default value of the '{@link #getTax_office() <em>Tax office</em>}' attribute. |
123 | * <!-- begin-user-doc --> | 101 | * <!-- begin-user-doc --> |
124 | * <!-- end-user-doc --> | 102 | * <!-- end-user-doc --> |
@@ -746,29 +724,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca | |||
746 | * @generated | 724 | * @generated |
747 | */ | 725 | */ |
748 | @Override | 726 | @Override |
749 | public Tax_Card_Type getTax_card_type() { | ||
750 | return tax_card_type; | ||
751 | } | ||
752 | |||
753 | /** | ||
754 | * <!-- begin-user-doc --> | ||
755 | * <!-- end-user-doc --> | ||
756 | * @generated | ||
757 | */ | ||
758 | @Override | ||
759 | public void setTax_card_type(Tax_Card_Type newTax_card_type) { | ||
760 | Tax_Card_Type oldTax_card_type = tax_card_type; | ||
761 | tax_card_type = newTax_card_type == null ? TAX_CARD_TYPE_EDEFAULT : newTax_card_type; | ||
762 | if (eNotificationRequired()) | ||
763 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.TAX_CARD__TAX_CARD_TYPE, oldTax_card_type, tax_card_type)); | ||
764 | } | ||
765 | |||
766 | /** | ||
767 | * <!-- begin-user-doc --> | ||
768 | * <!-- end-user-doc --> | ||
769 | * @generated | ||
770 | */ | ||
771 | @Override | ||
772 | public Tax_Office getTax_office() { | 727 | public Tax_Office getTax_office() { |
773 | return tax_office; | 728 | return tax_office; |
774 | } | 729 | } |
@@ -1678,8 +1633,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca | |||
1678 | switch (featureID) { | 1633 | switch (featureID) { |
1679 | case TaxationPackage.TAX_CARD__CARD_IDENTIFIER: | 1634 | case TaxationPackage.TAX_CARD__CARD_IDENTIFIER: |
1680 | return getCard_identifier(); | 1635 | return getCard_identifier(); |
1681 | case TaxationPackage.TAX_CARD__TAX_CARD_TYPE: | ||
1682 | return getTax_card_type(); | ||
1683 | case TaxationPackage.TAX_CARD__TAX_OFFICE: | 1636 | case TaxationPackage.TAX_CARD__TAX_OFFICE: |
1684 | return getTax_office(); | 1637 | return getTax_office(); |
1685 | case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING: | 1638 | case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING: |
@@ -1765,9 +1718,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca | |||
1765 | case TaxationPackage.TAX_CARD__CARD_IDENTIFIER: | 1718 | case TaxationPackage.TAX_CARD__CARD_IDENTIFIER: |
1766 | setCard_identifier((String)newValue); | 1719 | setCard_identifier((String)newValue); |
1767 | return; | 1720 | return; |
1768 | case TaxationPackage.TAX_CARD__TAX_CARD_TYPE: | ||
1769 | setTax_card_type((Tax_Card_Type)newValue); | ||
1770 | return; | ||
1771 | case TaxationPackage.TAX_CARD__TAX_OFFICE: | 1721 | case TaxationPackage.TAX_CARD__TAX_OFFICE: |
1772 | setTax_office((Tax_Office)newValue); | 1722 | setTax_office((Tax_Office)newValue); |
1773 | return; | 1723 | return; |
@@ -1885,9 +1835,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca | |||
1885 | case TaxationPackage.TAX_CARD__CARD_IDENTIFIER: | 1835 | case TaxationPackage.TAX_CARD__CARD_IDENTIFIER: |
1886 | setCard_identifier(CARD_IDENTIFIER_EDEFAULT); | 1836 | setCard_identifier(CARD_IDENTIFIER_EDEFAULT); |
1887 | return; | 1837 | return; |
1888 | case TaxationPackage.TAX_CARD__TAX_CARD_TYPE: | ||
1889 | setTax_card_type(TAX_CARD_TYPE_EDEFAULT); | ||
1890 | return; | ||
1891 | case TaxationPackage.TAX_CARD__TAX_OFFICE: | 1838 | case TaxationPackage.TAX_CARD__TAX_OFFICE: |
1892 | setTax_office(TAX_OFFICE_EDEFAULT); | 1839 | setTax_office(TAX_OFFICE_EDEFAULT); |
1893 | return; | 1840 | return; |
@@ -2001,8 +1948,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca | |||
2001 | switch (featureID) { | 1948 | switch (featureID) { |
2002 | case TaxationPackage.TAX_CARD__CARD_IDENTIFIER: | 1949 | case TaxationPackage.TAX_CARD__CARD_IDENTIFIER: |
2003 | return CARD_IDENTIFIER_EDEFAULT == null ? card_identifier != null : !CARD_IDENTIFIER_EDEFAULT.equals(card_identifier); | 1950 | return CARD_IDENTIFIER_EDEFAULT == null ? card_identifier != null : !CARD_IDENTIFIER_EDEFAULT.equals(card_identifier); |
2004 | case TaxationPackage.TAX_CARD__TAX_CARD_TYPE: | ||
2005 | return tax_card_type != TAX_CARD_TYPE_EDEFAULT; | ||
2006 | case TaxationPackage.TAX_CARD__TAX_OFFICE: | 1951 | case TaxationPackage.TAX_CARD__TAX_OFFICE: |
2007 | return tax_office != TAX_OFFICE_EDEFAULT; | 1952 | return tax_office != TAX_OFFICE_EDEFAULT; |
2008 | case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING: | 1953 | case TaxationPackage.TAX_CARD__PERCENTAGE_OF_WITHOLDING: |
@@ -2085,8 +2030,6 @@ public class Tax_CardImpl extends MinimalEObjectImpl.Container implements Tax_Ca | |||
2085 | StringBuilder result = new StringBuilder(super.toString()); | 2030 | StringBuilder result = new StringBuilder(super.toString()); |
2086 | result.append(" (card_identifier: "); | 2031 | result.append(" (card_identifier: "); |
2087 | result.append(card_identifier); | 2032 | result.append(card_identifier); |
2088 | result.append(", tax_card_type: "); | ||
2089 | result.append(tax_card_type); | ||
2090 | result.append(", tax_office: "); | 2033 | result.append(", tax_office: "); |
2091 | result.append(tax_office); | 2034 | result.append(tax_office); |
2092 | result.append(", percentage_of_witholding: "); | 2035 | result.append(", percentage_of_witholding: "); |