diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FDImpl.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FDImpl.java | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FDImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FDImpl.java index 70b890f3..06e852c4 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FDImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/FDImpl.java | |||
@@ -20,7 +20,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; | |||
20 | * </p> | 20 | * </p> |
21 | * <ul> | 21 | * <ul> |
22 | * <li>{@link Taxation.impl.FDImpl#getDistance_declared_in_january <em>Distance declared in january</em>}</li> | 22 | * <li>{@link Taxation.impl.FDImpl#getDistance_declared_in_january <em>Distance declared in january</em>}</li> |
23 | * <li>{@link Taxation.impl.FDImpl#getCalculated_distance <em>Calculated distance</em>}</li> | ||
24 | * </ul> | 23 | * </ul> |
25 | * | 24 | * |
26 | * @generated | 25 | * @generated |
@@ -47,26 +46,6 @@ public class FDImpl extends Professional_Expenses_DeductionImpl implements FD { | |||
47 | protected double distance_declared_in_january = DISTANCE_DECLARED_IN_JANUARY_EDEFAULT; | 46 | protected double distance_declared_in_january = DISTANCE_DECLARED_IN_JANUARY_EDEFAULT; |
48 | 47 | ||
49 | /** | 48 | /** |
50 | * The default value of the '{@link #getCalculated_distance() <em>Calculated distance</em>}' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #getCalculated_distance() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected static final double CALCULATED_DISTANCE_EDEFAULT = 0.0; | ||
58 | |||
59 | /** | ||
60 | * The cached value of the '{@link #getCalculated_distance() <em>Calculated distance</em>}' attribute. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see #getCalculated_distance() | ||
64 | * @generated | ||
65 | * @ordered | ||
66 | */ | ||
67 | protected double calculated_distance = CALCULATED_DISTANCE_EDEFAULT; | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | 49 | * <!-- begin-user-doc --> |
71 | * <!-- end-user-doc --> | 50 | * <!-- end-user-doc --> |
72 | * @generated | 51 | * @generated |
@@ -114,35 +93,10 @@ public class FDImpl extends Professional_Expenses_DeductionImpl implements FD { | |||
114 | * @generated | 93 | * @generated |
115 | */ | 94 | */ |
116 | @Override | 95 | @Override |
117 | public double getCalculated_distance() { | ||
118 | return calculated_distance; | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void setCalculated_distance(double newCalculated_distance) { | ||
128 | double oldCalculated_distance = calculated_distance; | ||
129 | calculated_distance = newCalculated_distance; | ||
130 | if (eNotificationRequired()) | ||
131 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.FD__CALCULATED_DISTANCE, oldCalculated_distance, calculated_distance)); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | 96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { |
141 | switch (featureID) { | 97 | switch (featureID) { |
142 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: | 98 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: |
143 | return getDistance_declared_in_january(); | 99 | return getDistance_declared_in_january(); |
144 | case TaxationPackage.FD__CALCULATED_DISTANCE: | ||
145 | return getCalculated_distance(); | ||
146 | } | 100 | } |
147 | return super.eGet(featureID, resolve, coreType); | 101 | return super.eGet(featureID, resolve, coreType); |
148 | } | 102 | } |
@@ -158,9 +112,6 @@ public class FDImpl extends Professional_Expenses_DeductionImpl implements FD { | |||
158 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: | 112 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: |
159 | setDistance_declared_in_january((Double)newValue); | 113 | setDistance_declared_in_january((Double)newValue); |
160 | return; | 114 | return; |
161 | case TaxationPackage.FD__CALCULATED_DISTANCE: | ||
162 | setCalculated_distance((Double)newValue); | ||
163 | return; | ||
164 | } | 115 | } |
165 | super.eSet(featureID, newValue); | 116 | super.eSet(featureID, newValue); |
166 | } | 117 | } |
@@ -176,9 +127,6 @@ public class FDImpl extends Professional_Expenses_DeductionImpl implements FD { | |||
176 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: | 127 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: |
177 | setDistance_declared_in_january(DISTANCE_DECLARED_IN_JANUARY_EDEFAULT); | 128 | setDistance_declared_in_january(DISTANCE_DECLARED_IN_JANUARY_EDEFAULT); |
178 | return; | 129 | return; |
179 | case TaxationPackage.FD__CALCULATED_DISTANCE: | ||
180 | setCalculated_distance(CALCULATED_DISTANCE_EDEFAULT); | ||
181 | return; | ||
182 | } | 130 | } |
183 | super.eUnset(featureID); | 131 | super.eUnset(featureID); |
184 | } | 132 | } |
@@ -193,8 +141,6 @@ public class FDImpl extends Professional_Expenses_DeductionImpl implements FD { | |||
193 | switch (featureID) { | 141 | switch (featureID) { |
194 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: | 142 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: |
195 | return distance_declared_in_january != DISTANCE_DECLARED_IN_JANUARY_EDEFAULT; | 143 | return distance_declared_in_january != DISTANCE_DECLARED_IN_JANUARY_EDEFAULT; |
196 | case TaxationPackage.FD__CALCULATED_DISTANCE: | ||
197 | return calculated_distance != CALCULATED_DISTANCE_EDEFAULT; | ||
198 | } | 144 | } |
199 | return super.eIsSet(featureID); | 145 | return super.eIsSet(featureID); |
200 | } | 146 | } |
@@ -211,8 +157,6 @@ public class FDImpl extends Professional_Expenses_DeductionImpl implements FD { | |||
211 | StringBuilder result = new StringBuilder(super.toString()); | 157 | StringBuilder result = new StringBuilder(super.toString()); |
212 | result.append(" (distance_declared_in_january: "); | 158 | result.append(" (distance_declared_in_january: "); |
213 | result.append(distance_declared_in_january); | 159 | result.append(distance_declared_in_january); |
214 | result.append(", calculated_distance: "); | ||
215 | result.append(calculated_distance); | ||
216 | result.append(')'); | 160 | result.append(')'); |
217 | return result.toString(); | 161 | return result.toString(); |
218 | } | 162 | } |