diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Permanent_ExpenseImpl.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Permanent_ExpenseImpl.java | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Permanent_ExpenseImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Permanent_ExpenseImpl.java index 9473ae17..9d88c2db 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Permanent_ExpenseImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Permanent_ExpenseImpl.java | |||
@@ -21,7 +21,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; | |||
21 | * </p> | 21 | * </p> |
22 | * <ul> | 22 | * <ul> |
23 | * <li>{@link Taxation.impl.Permanent_ExpenseImpl#getCategory <em>Category</em>}</li> | 23 | * <li>{@link Taxation.impl.Permanent_ExpenseImpl#getCategory <em>Category</em>}</li> |
24 | * <li>{@link Taxation.impl.Permanent_ExpenseImpl#isIs_eligible_for_deduction <em>Is eligible for deduction</em>}</li> | ||
25 | * </ul> | 24 | * </ul> |
26 | * | 25 | * |
27 | * @generated | 26 | * @generated |
@@ -48,26 +47,6 @@ public class Permanent_ExpenseImpl extends Special_Expense_DSImpl implements Per | |||
48 | protected Category_of_Permanent_Expense category = CATEGORY_EDEFAULT; | 47 | protected Category_of_Permanent_Expense category = CATEGORY_EDEFAULT; |
49 | 48 | ||
50 | /** | 49 | /** |
51 | * The default value of the '{@link #isIs_eligible_for_deduction() <em>Is eligible for deduction</em>}' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #isIs_eligible_for_deduction() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected static final boolean IS_ELIGIBLE_FOR_DEDUCTION_EDEFAULT = false; | ||
59 | |||
60 | /** | ||
61 | * The cached value of the '{@link #isIs_eligible_for_deduction() <em>Is eligible for deduction</em>}' attribute. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see #isIs_eligible_for_deduction() | ||
65 | * @generated | ||
66 | * @ordered | ||
67 | */ | ||
68 | protected boolean is_eligible_for_deduction = IS_ELIGIBLE_FOR_DEDUCTION_EDEFAULT; | ||
69 | |||
70 | /** | ||
71 | * <!-- begin-user-doc --> | 50 | * <!-- begin-user-doc --> |
72 | * <!-- end-user-doc --> | 51 | * <!-- end-user-doc --> |
73 | * @generated | 52 | * @generated |
@@ -115,35 +94,10 @@ public class Permanent_ExpenseImpl extends Special_Expense_DSImpl implements Per | |||
115 | * @generated | 94 | * @generated |
116 | */ | 95 | */ |
117 | @Override | 96 | @Override |
118 | public boolean isIs_eligible_for_deduction() { | ||
119 | return is_eligible_for_deduction; | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public void setIs_eligible_for_deduction(boolean newIs_eligible_for_deduction) { | ||
129 | boolean oldIs_eligible_for_deduction = is_eligible_for_deduction; | ||
130 | is_eligible_for_deduction = newIs_eligible_for_deduction; | ||
131 | if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.PERMANENT_EXPENSE__IS_ELIGIBLE_FOR_DEDUCTION, oldIs_eligible_for_deduction, is_eligible_for_deduction)); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
142 | switch (featureID) { | 98 | switch (featureID) { |
143 | case TaxationPackage.PERMANENT_EXPENSE__CATEGORY: | 99 | case TaxationPackage.PERMANENT_EXPENSE__CATEGORY: |
144 | return getCategory(); | 100 | return getCategory(); |
145 | case TaxationPackage.PERMANENT_EXPENSE__IS_ELIGIBLE_FOR_DEDUCTION: | ||
146 | return isIs_eligible_for_deduction(); | ||
147 | } | 101 | } |
148 | return super.eGet(featureID, resolve, coreType); | 102 | return super.eGet(featureID, resolve, coreType); |
149 | } | 103 | } |
@@ -159,9 +113,6 @@ public class Permanent_ExpenseImpl extends Special_Expense_DSImpl implements Per | |||
159 | case TaxationPackage.PERMANENT_EXPENSE__CATEGORY: | 113 | case TaxationPackage.PERMANENT_EXPENSE__CATEGORY: |
160 | setCategory((Category_of_Permanent_Expense)newValue); | 114 | setCategory((Category_of_Permanent_Expense)newValue); |
161 | return; | 115 | return; |
162 | case TaxationPackage.PERMANENT_EXPENSE__IS_ELIGIBLE_FOR_DEDUCTION: | ||
163 | setIs_eligible_for_deduction((Boolean)newValue); | ||
164 | return; | ||
165 | } | 116 | } |
166 | super.eSet(featureID, newValue); | 117 | super.eSet(featureID, newValue); |
167 | } | 118 | } |
@@ -177,9 +128,6 @@ public class Permanent_ExpenseImpl extends Special_Expense_DSImpl implements Per | |||
177 | case TaxationPackage.PERMANENT_EXPENSE__CATEGORY: | 128 | case TaxationPackage.PERMANENT_EXPENSE__CATEGORY: |
178 | setCategory(CATEGORY_EDEFAULT); | 129 | setCategory(CATEGORY_EDEFAULT); |
179 | return; | 130 | return; |
180 | case TaxationPackage.PERMANENT_EXPENSE__IS_ELIGIBLE_FOR_DEDUCTION: | ||
181 | setIs_eligible_for_deduction(IS_ELIGIBLE_FOR_DEDUCTION_EDEFAULT); | ||
182 | return; | ||
183 | } | 131 | } |
184 | super.eUnset(featureID); | 132 | super.eUnset(featureID); |
185 | } | 133 | } |
@@ -194,8 +142,6 @@ public class Permanent_ExpenseImpl extends Special_Expense_DSImpl implements Per | |||
194 | switch (featureID) { | 142 | switch (featureID) { |
195 | case TaxationPackage.PERMANENT_EXPENSE__CATEGORY: | 143 | case TaxationPackage.PERMANENT_EXPENSE__CATEGORY: |
196 | return category != CATEGORY_EDEFAULT; | 144 | return category != CATEGORY_EDEFAULT; |
197 | case TaxationPackage.PERMANENT_EXPENSE__IS_ELIGIBLE_FOR_DEDUCTION: | ||
198 | return is_eligible_for_deduction != IS_ELIGIBLE_FOR_DEDUCTION_EDEFAULT; | ||
199 | } | 145 | } |
200 | return super.eIsSet(featureID); | 146 | return super.eIsSet(featureID); |
201 | } | 147 | } |
@@ -212,8 +158,6 @@ public class Permanent_ExpenseImpl extends Special_Expense_DSImpl implements Per | |||
212 | StringBuilder result = new StringBuilder(super.toString()); | 158 | StringBuilder result = new StringBuilder(super.toString()); |
213 | result.append(" (category: "); | 159 | result.append(" (category: "); |
214 | result.append(category); | 160 | result.append(category); |
215 | result.append(", is_eligible_for_deduction: "); | ||
216 | result.append(is_eligible_for_deduction); | ||
217 | result.append(')'); | 161 | result.append(')'); |
218 | return result.toString(); | 162 | return result.toString(); |
219 | } | 163 | } |