diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java | 548 |
1 files changed, 548 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java new file mode 100644 index 00000000..d3b7fe83 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/Income_DetailImpl.java | |||
@@ -0,0 +1,548 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package Taxation.impl; | ||
4 | |||
5 | import Taxation.Income; | ||
6 | import Taxation.Income_Detail; | ||
7 | import Taxation.TaxationPackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | import org.eclipse.emf.common.notify.NotificationChain; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EcoreUtil; | ||
19 | |||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * An implementation of the model object '<em><b>Income Detail</b></em>'. | ||
23 | * <!-- end-user-doc --> | ||
24 | * <p> | ||
25 | * The following features are implemented: | ||
26 | * </p> | ||
27 | * <ul> | ||
28 | * <li>{@link Taxation.impl.Income_DetailImpl#getAmount <em>Amount</em>}</li> | ||
29 | * <li>{@link Taxation.impl.Income_DetailImpl#isIs_worked <em>Is worked</em>}</li> | ||
30 | * <li>{@link Taxation.impl.Income_DetailImpl#getDistance <em>Distance</em>}</li> | ||
31 | * <li>{@link Taxation.impl.Income_DetailImpl#getWorked_days <em>Worked days</em>}</li> | ||
32 | * <li>{@link Taxation.impl.Income_DetailImpl#isIs_contributing_CNS <em>Is contributing CNS</em>}</li> | ||
33 | * <li>{@link Taxation.impl.Income_DetailImpl#getId5 <em>Id5</em>}</li> | ||
34 | * <li>{@link Taxation.impl.Income_DetailImpl#getIncome <em>Income</em>}</li> | ||
35 | * </ul> | ||
36 | * | ||
37 | * @generated | ||
38 | */ | ||
39 | public class Income_DetailImpl extends MinimalEObjectImpl.Container implements Income_Detail { | ||
40 | /** | ||
41 | * The default value of the '{@link #getAmount() <em>Amount</em>}' attribute. | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @see #getAmount() | ||
45 | * @generated | ||
46 | * @ordered | ||
47 | */ | ||
48 | protected static final double AMOUNT_EDEFAULT = 0.0; | ||
49 | |||
50 | /** | ||
51 | * The cached value of the '{@link #getAmount() <em>Amount</em>}' attribute. | ||
52 | * <!-- begin-user-doc --> | ||
53 | * <!-- end-user-doc --> | ||
54 | * @see #getAmount() | ||
55 | * @generated | ||
56 | * @ordered | ||
57 | */ | ||
58 | protected double amount = AMOUNT_EDEFAULT; | ||
59 | |||
60 | /** | ||
61 | * The default value of the '{@link #isIs_worked() <em>Is worked</em>}' attribute. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see #isIs_worked() | ||
65 | * @generated | ||
66 | * @ordered | ||
67 | */ | ||
68 | protected static final boolean IS_WORKED_EDEFAULT = false; | ||
69 | |||
70 | /** | ||
71 | * The cached value of the '{@link #isIs_worked() <em>Is worked</em>}' attribute. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @see #isIs_worked() | ||
75 | * @generated | ||
76 | * @ordered | ||
77 | */ | ||
78 | protected boolean is_worked = IS_WORKED_EDEFAULT; | ||
79 | |||
80 | /** | ||
81 | * The default value of the '{@link #getDistance() <em>Distance</em>}' attribute. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @see #getDistance() | ||
85 | * @generated | ||
86 | * @ordered | ||
87 | */ | ||
88 | protected static final double DISTANCE_EDEFAULT = 0.0; | ||
89 | |||
90 | /** | ||
91 | * The cached value of the '{@link #getDistance() <em>Distance</em>}' attribute. | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @see #getDistance() | ||
95 | * @generated | ||
96 | * @ordered | ||
97 | */ | ||
98 | protected double distance = DISTANCE_EDEFAULT; | ||
99 | |||
100 | /** | ||
101 | * The default value of the '{@link #getWorked_days() <em>Worked days</em>}' attribute. | ||
102 | * <!-- begin-user-doc --> | ||
103 | * <!-- end-user-doc --> | ||
104 | * @see #getWorked_days() | ||
105 | * @generated | ||
106 | * @ordered | ||
107 | */ | ||
108 | protected static final int WORKED_DAYS_EDEFAULT = 0; | ||
109 | |||
110 | /** | ||
111 | * The cached value of the '{@link #getWorked_days() <em>Worked days</em>}' attribute. | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @see #getWorked_days() | ||
115 | * @generated | ||
116 | * @ordered | ||
117 | */ | ||
118 | protected int worked_days = WORKED_DAYS_EDEFAULT; | ||
119 | |||
120 | /** | ||
121 | * The default value of the '{@link #isIs_contributing_CNS() <em>Is contributing CNS</em>}' attribute. | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @see #isIs_contributing_CNS() | ||
125 | * @generated | ||
126 | * @ordered | ||
127 | */ | ||
128 | protected static final boolean IS_CONTRIBUTING_CNS_EDEFAULT = false; | ||
129 | |||
130 | /** | ||
131 | * The cached value of the '{@link #isIs_contributing_CNS() <em>Is contributing CNS</em>}' attribute. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * <!-- end-user-doc --> | ||
134 | * @see #isIs_contributing_CNS() | ||
135 | * @generated | ||
136 | * @ordered | ||
137 | */ | ||
138 | protected boolean is_contributing_CNS = IS_CONTRIBUTING_CNS_EDEFAULT; | ||
139 | |||
140 | /** | ||
141 | * The default value of the '{@link #getId5() <em>Id5</em>}' attribute. | ||
142 | * <!-- begin-user-doc --> | ||
143 | * <!-- end-user-doc --> | ||
144 | * @see #getId5() | ||
145 | * @generated | ||
146 | * @ordered | ||
147 | */ | ||
148 | protected static final String ID5_EDEFAULT = null; | ||
149 | |||
150 | /** | ||
151 | * The cached value of the '{@link #getId5() <em>Id5</em>}' attribute. | ||
152 | * <!-- begin-user-doc --> | ||
153 | * <!-- end-user-doc --> | ||
154 | * @see #getId5() | ||
155 | * @generated | ||
156 | * @ordered | ||
157 | */ | ||
158 | protected String id5 = ID5_EDEFAULT; | ||
159 | |||
160 | /** | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @generated | ||
164 | */ | ||
165 | protected Income_DetailImpl() { | ||
166 | super(); | ||
167 | } | ||
168 | |||
169 | /** | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @generated | ||
173 | */ | ||
174 | @Override | ||
175 | protected EClass eStaticClass() { | ||
176 | return TaxationPackage.Literals.INCOME_DETAIL; | ||
177 | } | ||
178 | |||
179 | /** | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @generated | ||
183 | */ | ||
184 | @Override | ||
185 | public double getAmount() { | ||
186 | return amount; | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public void setAmount(double newAmount) { | ||
196 | double oldAmount = amount; | ||
197 | amount = newAmount; | ||
198 | if (eNotificationRequired()) | ||
199 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME_DETAIL__AMOUNT, oldAmount, amount)); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public boolean isIs_worked() { | ||
209 | return is_worked; | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | @Override | ||
218 | public void setIs_worked(boolean newIs_worked) { | ||
219 | boolean oldIs_worked = is_worked; | ||
220 | is_worked = newIs_worked; | ||
221 | if (eNotificationRequired()) | ||
222 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME_DETAIL__IS_WORKED, oldIs_worked, is_worked)); | ||
223 | } | ||
224 | |||
225 | /** | ||
226 | * <!-- begin-user-doc --> | ||
227 | * <!-- end-user-doc --> | ||
228 | * @generated | ||
229 | */ | ||
230 | @Override | ||
231 | public double getDistance() { | ||
232 | return distance; | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | @Override | ||
241 | public void setDistance(double newDistance) { | ||
242 | double oldDistance = distance; | ||
243 | distance = newDistance; | ||
244 | if (eNotificationRequired()) | ||
245 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME_DETAIL__DISTANCE, oldDistance, distance)); | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public int getWorked_days() { | ||
255 | return worked_days; | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | @Override | ||
264 | public void setWorked_days(int newWorked_days) { | ||
265 | int oldWorked_days = worked_days; | ||
266 | worked_days = newWorked_days; | ||
267 | if (eNotificationRequired()) | ||
268 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME_DETAIL__WORKED_DAYS, oldWorked_days, worked_days)); | ||
269 | } | ||
270 | |||
271 | /** | ||
272 | * <!-- begin-user-doc --> | ||
273 | * <!-- end-user-doc --> | ||
274 | * @generated | ||
275 | */ | ||
276 | @Override | ||
277 | public boolean isIs_contributing_CNS() { | ||
278 | return is_contributing_CNS; | ||
279 | } | ||
280 | |||
281 | /** | ||
282 | * <!-- begin-user-doc --> | ||
283 | * <!-- end-user-doc --> | ||
284 | * @generated | ||
285 | */ | ||
286 | @Override | ||
287 | public void setIs_contributing_CNS(boolean newIs_contributing_CNS) { | ||
288 | boolean oldIs_contributing_CNS = is_contributing_CNS; | ||
289 | is_contributing_CNS = newIs_contributing_CNS; | ||
290 | if (eNotificationRequired()) | ||
291 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME_DETAIL__IS_CONTRIBUTING_CNS, oldIs_contributing_CNS, is_contributing_CNS)); | ||
292 | } | ||
293 | |||
294 | /** | ||
295 | * <!-- begin-user-doc --> | ||
296 | * <!-- end-user-doc --> | ||
297 | * @generated | ||
298 | */ | ||
299 | @Override | ||
300 | public String getId5() { | ||
301 | return id5; | ||
302 | } | ||
303 | |||
304 | /** | ||
305 | * <!-- begin-user-doc --> | ||
306 | * <!-- end-user-doc --> | ||
307 | * @generated | ||
308 | */ | ||
309 | @Override | ||
310 | public void setId5(String newId5) { | ||
311 | String oldId5 = id5; | ||
312 | id5 = newId5; | ||
313 | if (eNotificationRequired()) | ||
314 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME_DETAIL__ID5, oldId5, id5)); | ||
315 | } | ||
316 | |||
317 | /** | ||
318 | * <!-- begin-user-doc --> | ||
319 | * <!-- end-user-doc --> | ||
320 | * @generated | ||
321 | */ | ||
322 | @Override | ||
323 | public Income getIncome() { | ||
324 | if (eContainerFeatureID() != TaxationPackage.INCOME_DETAIL__INCOME) return null; | ||
325 | return (Income)eInternalContainer(); | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | public NotificationChain basicSetIncome(Income newIncome, NotificationChain msgs) { | ||
334 | msgs = eBasicSetContainer((InternalEObject)newIncome, TaxationPackage.INCOME_DETAIL__INCOME, msgs); | ||
335 | return msgs; | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * <!-- begin-user-doc --> | ||
340 | * <!-- end-user-doc --> | ||
341 | * @generated | ||
342 | */ | ||
343 | @Override | ||
344 | public void setIncome(Income newIncome) { | ||
345 | if (newIncome != eInternalContainer() || (eContainerFeatureID() != TaxationPackage.INCOME_DETAIL__INCOME && newIncome != null)) { | ||
346 | if (EcoreUtil.isAncestor(this, newIncome)) | ||
347 | throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); | ||
348 | NotificationChain msgs = null; | ||
349 | if (eInternalContainer() != null) | ||
350 | msgs = eBasicRemoveFromContainer(msgs); | ||
351 | if (newIncome != null) | ||
352 | msgs = ((InternalEObject)newIncome).eInverseAdd(this, TaxationPackage.INCOME__DETAILS, Income.class, msgs); | ||
353 | msgs = basicSetIncome(newIncome, msgs); | ||
354 | if (msgs != null) msgs.dispatch(); | ||
355 | } | ||
356 | else if (eNotificationRequired()) | ||
357 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME_DETAIL__INCOME, newIncome, newIncome)); | ||
358 | } | ||
359 | |||
360 | /** | ||
361 | * <!-- begin-user-doc --> | ||
362 | * <!-- end-user-doc --> | ||
363 | * @generated | ||
364 | */ | ||
365 | @Override | ||
366 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
367 | switch (featureID) { | ||
368 | case TaxationPackage.INCOME_DETAIL__INCOME: | ||
369 | if (eInternalContainer() != null) | ||
370 | msgs = eBasicRemoveFromContainer(msgs); | ||
371 | return basicSetIncome((Income)otherEnd, msgs); | ||
372 | } | ||
373 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
374 | } | ||
375 | |||
376 | /** | ||
377 | * <!-- begin-user-doc --> | ||
378 | * <!-- end-user-doc --> | ||
379 | * @generated | ||
380 | */ | ||
381 | @Override | ||
382 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
383 | switch (featureID) { | ||
384 | case TaxationPackage.INCOME_DETAIL__INCOME: | ||
385 | return basicSetIncome(null, msgs); | ||
386 | } | ||
387 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
388 | } | ||
389 | |||
390 | /** | ||
391 | * <!-- begin-user-doc --> | ||
392 | * <!-- end-user-doc --> | ||
393 | * @generated | ||
394 | */ | ||
395 | @Override | ||
396 | public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) { | ||
397 | switch (eContainerFeatureID()) { | ||
398 | case TaxationPackage.INCOME_DETAIL__INCOME: | ||
399 | return eInternalContainer().eInverseRemove(this, TaxationPackage.INCOME__DETAILS, Income.class, msgs); | ||
400 | } | ||
401 | return super.eBasicRemoveFromContainerFeature(msgs); | ||
402 | } | ||
403 | |||
404 | /** | ||
405 | * <!-- begin-user-doc --> | ||
406 | * <!-- end-user-doc --> | ||
407 | * @generated | ||
408 | */ | ||
409 | @Override | ||
410 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
411 | switch (featureID) { | ||
412 | case TaxationPackage.INCOME_DETAIL__AMOUNT: | ||
413 | return getAmount(); | ||
414 | case TaxationPackage.INCOME_DETAIL__IS_WORKED: | ||
415 | return isIs_worked(); | ||
416 | case TaxationPackage.INCOME_DETAIL__DISTANCE: | ||
417 | return getDistance(); | ||
418 | case TaxationPackage.INCOME_DETAIL__WORKED_DAYS: | ||
419 | return getWorked_days(); | ||
420 | case TaxationPackage.INCOME_DETAIL__IS_CONTRIBUTING_CNS: | ||
421 | return isIs_contributing_CNS(); | ||
422 | case TaxationPackage.INCOME_DETAIL__ID5: | ||
423 | return getId5(); | ||
424 | case TaxationPackage.INCOME_DETAIL__INCOME: | ||
425 | return getIncome(); | ||
426 | } | ||
427 | return super.eGet(featureID, resolve, coreType); | ||
428 | } | ||
429 | |||
430 | /** | ||
431 | * <!-- begin-user-doc --> | ||
432 | * <!-- end-user-doc --> | ||
433 | * @generated | ||
434 | */ | ||
435 | @Override | ||
436 | public void eSet(int featureID, Object newValue) { | ||
437 | switch (featureID) { | ||
438 | case TaxationPackage.INCOME_DETAIL__AMOUNT: | ||
439 | setAmount((Double)newValue); | ||
440 | return; | ||
441 | case TaxationPackage.INCOME_DETAIL__IS_WORKED: | ||
442 | setIs_worked((Boolean)newValue); | ||
443 | return; | ||
444 | case TaxationPackage.INCOME_DETAIL__DISTANCE: | ||
445 | setDistance((Double)newValue); | ||
446 | return; | ||
447 | case TaxationPackage.INCOME_DETAIL__WORKED_DAYS: | ||
448 | setWorked_days((Integer)newValue); | ||
449 | return; | ||
450 | case TaxationPackage.INCOME_DETAIL__IS_CONTRIBUTING_CNS: | ||
451 | setIs_contributing_CNS((Boolean)newValue); | ||
452 | return; | ||
453 | case TaxationPackage.INCOME_DETAIL__ID5: | ||
454 | setId5((String)newValue); | ||
455 | return; | ||
456 | case TaxationPackage.INCOME_DETAIL__INCOME: | ||
457 | setIncome((Income)newValue); | ||
458 | return; | ||
459 | } | ||
460 | super.eSet(featureID, newValue); | ||
461 | } | ||
462 | |||
463 | /** | ||
464 | * <!-- begin-user-doc --> | ||
465 | * <!-- end-user-doc --> | ||
466 | * @generated | ||
467 | */ | ||
468 | @Override | ||
469 | public void eUnset(int featureID) { | ||
470 | switch (featureID) { | ||
471 | case TaxationPackage.INCOME_DETAIL__AMOUNT: | ||
472 | setAmount(AMOUNT_EDEFAULT); | ||
473 | return; | ||
474 | case TaxationPackage.INCOME_DETAIL__IS_WORKED: | ||
475 | setIs_worked(IS_WORKED_EDEFAULT); | ||
476 | return; | ||
477 | case TaxationPackage.INCOME_DETAIL__DISTANCE: | ||
478 | setDistance(DISTANCE_EDEFAULT); | ||
479 | return; | ||
480 | case TaxationPackage.INCOME_DETAIL__WORKED_DAYS: | ||
481 | setWorked_days(WORKED_DAYS_EDEFAULT); | ||
482 | return; | ||
483 | case TaxationPackage.INCOME_DETAIL__IS_CONTRIBUTING_CNS: | ||
484 | setIs_contributing_CNS(IS_CONTRIBUTING_CNS_EDEFAULT); | ||
485 | return; | ||
486 | case TaxationPackage.INCOME_DETAIL__ID5: | ||
487 | setId5(ID5_EDEFAULT); | ||
488 | return; | ||
489 | case TaxationPackage.INCOME_DETAIL__INCOME: | ||
490 | setIncome((Income)null); | ||
491 | return; | ||
492 | } | ||
493 | super.eUnset(featureID); | ||
494 | } | ||
495 | |||
496 | /** | ||
497 | * <!-- begin-user-doc --> | ||
498 | * <!-- end-user-doc --> | ||
499 | * @generated | ||
500 | */ | ||
501 | @Override | ||
502 | public boolean eIsSet(int featureID) { | ||
503 | switch (featureID) { | ||
504 | case TaxationPackage.INCOME_DETAIL__AMOUNT: | ||
505 | return amount != AMOUNT_EDEFAULT; | ||
506 | case TaxationPackage.INCOME_DETAIL__IS_WORKED: | ||
507 | return is_worked != IS_WORKED_EDEFAULT; | ||
508 | case TaxationPackage.INCOME_DETAIL__DISTANCE: | ||
509 | return distance != DISTANCE_EDEFAULT; | ||
510 | case TaxationPackage.INCOME_DETAIL__WORKED_DAYS: | ||
511 | return worked_days != WORKED_DAYS_EDEFAULT; | ||
512 | case TaxationPackage.INCOME_DETAIL__IS_CONTRIBUTING_CNS: | ||
513 | return is_contributing_CNS != IS_CONTRIBUTING_CNS_EDEFAULT; | ||
514 | case TaxationPackage.INCOME_DETAIL__ID5: | ||
515 | return ID5_EDEFAULT == null ? id5 != null : !ID5_EDEFAULT.equals(id5); | ||
516 | case TaxationPackage.INCOME_DETAIL__INCOME: | ||
517 | return getIncome() != null; | ||
518 | } | ||
519 | return super.eIsSet(featureID); | ||
520 | } | ||
521 | |||
522 | /** | ||
523 | * <!-- begin-user-doc --> | ||
524 | * <!-- end-user-doc --> | ||
525 | * @generated | ||
526 | */ | ||
527 | @Override | ||
528 | public String toString() { | ||
529 | if (eIsProxy()) return super.toString(); | ||
530 | |||
531 | StringBuilder result = new StringBuilder(super.toString()); | ||
532 | result.append(" (amount: "); | ||
533 | result.append(amount); | ||
534 | result.append(", is_worked: "); | ||
535 | result.append(is_worked); | ||
536 | result.append(", distance: "); | ||
537 | result.append(distance); | ||
538 | result.append(", worked_days: "); | ||
539 | result.append(worked_days); | ||
540 | result.append(", is_contributing_CNS: "); | ||
541 | result.append(is_contributing_CNS); | ||
542 | result.append(", id5: "); | ||
543 | result.append(id5); | ||
544 | result.append(')'); | ||
545 | return result.toString(); | ||
546 | } | ||
547 | |||
548 | } //Income_DetailImpl | ||