diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TypeImpl.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TypeImpl.java | 58 |
1 files changed, 1 insertions, 57 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TypeImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TypeImpl.java index 7b2564b2..4a111a01 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TypeImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_TypeImpl.java | |||
@@ -25,7 +25,6 @@ import org.eclipse.emf.ecore.util.EcoreUtil; | |||
25 | * The following features are implemented: | 25 | * The following features are implemented: |
26 | * </p> | 26 | * </p> |
27 | * <ul> | 27 | * <ul> |
28 | * <li>{@link Taxation.impl.Income_TypeImpl#isSubjectToWithholdingTax <em>Subject To Withholding Tax</em>}</li> | ||
29 | * <li>{@link Taxation.impl.Income_TypeImpl#getId8 <em>Id8</em>}</li> | 28 | * <li>{@link Taxation.impl.Income_TypeImpl#getId8 <em>Id8</em>}</li> |
30 | * <li>{@link Taxation.impl.Income_TypeImpl#getIncome <em>Income</em>}</li> | 29 | * <li>{@link Taxation.impl.Income_TypeImpl#getIncome <em>Income</em>}</li> |
31 | * </ul> | 30 | * </ul> |
@@ -34,26 +33,6 @@ import org.eclipse.emf.ecore.util.EcoreUtil; | |||
34 | */ | 33 | */ |
35 | public abstract class Income_TypeImpl extends MinimalEObjectImpl.Container implements Income_Type { | 34 | public abstract class Income_TypeImpl extends MinimalEObjectImpl.Container implements Income_Type { |
36 | /** | 35 | /** |
37 | * The default value of the '{@link #isSubjectToWithholdingTax() <em>Subject To Withholding Tax</em>}' attribute. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #isSubjectToWithholdingTax() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected static final boolean SUBJECT_TO_WITHHOLDING_TAX_EDEFAULT = false; | ||
45 | |||
46 | /** | ||
47 | * The cached value of the '{@link #isSubjectToWithholdingTax() <em>Subject To Withholding Tax</em>}' attribute. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @see #isSubjectToWithholdingTax() | ||
51 | * @generated | ||
52 | * @ordered | ||
53 | */ | ||
54 | protected boolean subjectToWithholdingTax = SUBJECT_TO_WITHHOLDING_TAX_EDEFAULT; | ||
55 | |||
56 | /** | ||
57 | * The default value of the '{@link #getId8() <em>Id8</em>}' attribute. | 36 | * The default value of the '{@link #getId8() <em>Id8</em>}' attribute. |
58 | * <!-- begin-user-doc --> | 37 | * <!-- begin-user-doc --> |
59 | * <!-- end-user-doc --> | 38 | * <!-- end-user-doc --> |
@@ -98,29 +77,6 @@ public abstract class Income_TypeImpl extends MinimalEObjectImpl.Container imple | |||
98 | * @generated | 77 | * @generated |
99 | */ | 78 | */ |
100 | @Override | 79 | @Override |
101 | public boolean isSubjectToWithholdingTax() { | ||
102 | return subjectToWithholdingTax; | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void setSubjectToWithholdingTax(boolean newSubjectToWithholdingTax) { | ||
112 | boolean oldSubjectToWithholdingTax = subjectToWithholdingTax; | ||
113 | subjectToWithholdingTax = newSubjectToWithholdingTax; | ||
114 | if (eNotificationRequired()) | ||
115 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME_TYPE__SUBJECT_TO_WITHHOLDING_TAX, oldSubjectToWithholdingTax, subjectToWithholdingTax)); | ||
116 | } | ||
117 | |||
118 | /** | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @generated | ||
122 | */ | ||
123 | @Override | ||
124 | public String getId8() { | 80 | public String getId8() { |
125 | return id8; | 81 | return id8; |
126 | } | 82 | } |
@@ -233,8 +189,6 @@ public abstract class Income_TypeImpl extends MinimalEObjectImpl.Container imple | |||
233 | @Override | 189 | @Override |
234 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 190 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
235 | switch (featureID) { | 191 | switch (featureID) { |
236 | case TaxationPackage.INCOME_TYPE__SUBJECT_TO_WITHHOLDING_TAX: | ||
237 | return isSubjectToWithholdingTax(); | ||
238 | case TaxationPackage.INCOME_TYPE__ID8: | 192 | case TaxationPackage.INCOME_TYPE__ID8: |
239 | return getId8(); | 193 | return getId8(); |
240 | case TaxationPackage.INCOME_TYPE__INCOME: | 194 | case TaxationPackage.INCOME_TYPE__INCOME: |
@@ -251,9 +205,6 @@ public abstract class Income_TypeImpl extends MinimalEObjectImpl.Container imple | |||
251 | @Override | 205 | @Override |
252 | public void eSet(int featureID, Object newValue) { | 206 | public void eSet(int featureID, Object newValue) { |
253 | switch (featureID) { | 207 | switch (featureID) { |
254 | case TaxationPackage.INCOME_TYPE__SUBJECT_TO_WITHHOLDING_TAX: | ||
255 | setSubjectToWithholdingTax((Boolean)newValue); | ||
256 | return; | ||
257 | case TaxationPackage.INCOME_TYPE__ID8: | 208 | case TaxationPackage.INCOME_TYPE__ID8: |
258 | setId8((String)newValue); | 209 | setId8((String)newValue); |
259 | return; | 210 | return; |
@@ -272,9 +223,6 @@ public abstract class Income_TypeImpl extends MinimalEObjectImpl.Container imple | |||
272 | @Override | 223 | @Override |
273 | public void eUnset(int featureID) { | 224 | public void eUnset(int featureID) { |
274 | switch (featureID) { | 225 | switch (featureID) { |
275 | case TaxationPackage.INCOME_TYPE__SUBJECT_TO_WITHHOLDING_TAX: | ||
276 | setSubjectToWithholdingTax(SUBJECT_TO_WITHHOLDING_TAX_EDEFAULT); | ||
277 | return; | ||
278 | case TaxationPackage.INCOME_TYPE__ID8: | 226 | case TaxationPackage.INCOME_TYPE__ID8: |
279 | setId8(ID8_EDEFAULT); | 227 | setId8(ID8_EDEFAULT); |
280 | return; | 228 | return; |
@@ -293,8 +241,6 @@ public abstract class Income_TypeImpl extends MinimalEObjectImpl.Container imple | |||
293 | @Override | 241 | @Override |
294 | public boolean eIsSet(int featureID) { | 242 | public boolean eIsSet(int featureID) { |
295 | switch (featureID) { | 243 | switch (featureID) { |
296 | case TaxationPackage.INCOME_TYPE__SUBJECT_TO_WITHHOLDING_TAX: | ||
297 | return subjectToWithholdingTax != SUBJECT_TO_WITHHOLDING_TAX_EDEFAULT; | ||
298 | case TaxationPackage.INCOME_TYPE__ID8: | 244 | case TaxationPackage.INCOME_TYPE__ID8: |
299 | return ID8_EDEFAULT == null ? id8 != null : !ID8_EDEFAULT.equals(id8); | 245 | return ID8_EDEFAULT == null ? id8 != null : !ID8_EDEFAULT.equals(id8); |
300 | case TaxationPackage.INCOME_TYPE__INCOME: | 246 | case TaxationPackage.INCOME_TYPE__INCOME: |
@@ -313,9 +259,7 @@ public abstract class Income_TypeImpl extends MinimalEObjectImpl.Container imple | |||
313 | if (eIsProxy()) return super.toString(); | 259 | if (eIsProxy()) return super.toString(); |
314 | 260 | ||
315 | StringBuilder result = new StringBuilder(super.toString()); | 261 | StringBuilder result = new StringBuilder(super.toString()); |
316 | result.append(" (subjectToWithholdingTax: "); | 262 | result.append(" (id8: "); |
317 | result.append(subjectToWithholdingTax); | ||
318 | result.append(", id8: "); | ||
319 | result.append(id8); | 263 | result.append(id8); |
320 | result.append(')'); | 264 | result.append(')'); |
321 | return result.toString(); | 265 | return result.toString(); |