aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java')
-rw-r--r--Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java170
1 files changed, 1 insertions, 169 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java
index 233d467c..f4793894 100644
--- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java
+++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/Taxation/impl/IncomeImpl.java
@@ -9,8 +9,8 @@ import Taxation.Income_Type;
9import Taxation.Tax_Card; 9import Taxation.Tax_Card;
10import Taxation.Tax_Payer; 10import Taxation.Tax_Payer;
11import Taxation.TaxationPackage; 11import Taxation.TaxationPackage;
12
12import java.util.Collection; 13import java.util.Collection;
13import java.util.Date;
14 14
15import org.eclipse.emf.common.notify.Notification; 15import org.eclipse.emf.common.notify.Notification;
16import org.eclipse.emf.common.notify.NotificationChain; 16import org.eclipse.emf.common.notify.NotificationChain;
@@ -37,9 +37,6 @@ import org.eclipse.emf.ecore.util.InternalEList;
37 * <ul> 37 * <ul>
38 * <li>{@link Taxation.impl.IncomeImpl#getIncome_amount <em>Income amount</em>}</li> 38 * <li>{@link Taxation.impl.IncomeImpl#getIncome_amount <em>Income amount</em>}</li>
39 * <li>{@link Taxation.impl.IncomeImpl#getIncome_type <em>Income type</em>}</li> 39 * <li>{@link Taxation.impl.IncomeImpl#getIncome_type <em>Income type</em>}</li>
40 * <li>{@link Taxation.impl.IncomeImpl#getStart_date_within_taxation_year <em>Start date within taxation year</em>}</li>
41 * <li>{@link Taxation.impl.IncomeImpl#getStart_date_of_contract <em>Start date of contract</em>}</li>
42 * <li>{@link Taxation.impl.IncomeImpl#getEnd_date_within_taxation_year <em>End date within taxation year</em>}</li>
43 * <li>{@link Taxation.impl.IncomeImpl#getTax_card <em>Tax card</em>}</li> 40 * <li>{@link Taxation.impl.IncomeImpl#getTax_card <em>Tax card</em>}</li>
44 * <li>{@link Taxation.impl.IncomeImpl#getTax_liability <em>Tax liability</em>}</li> 41 * <li>{@link Taxation.impl.IncomeImpl#getTax_liability <em>Tax liability</em>}</li>
45 * <li>{@link Taxation.impl.IncomeImpl#getTaxPayer <em>Tax Payer</em>}</li> 42 * <li>{@link Taxation.impl.IncomeImpl#getTaxPayer <em>Tax Payer</em>}</li>
@@ -82,66 +79,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements
82 protected Income_Type income_type; 79 protected Income_Type income_type;
83 80
84 /** 81 /**
85 * The default value of the '{@link #getStart_date_within_taxation_year() <em>Start date within taxation year</em>}' attribute.
86 * <!-- begin-user-doc -->
87 * <!-- end-user-doc -->
88 * @see #getStart_date_within_taxation_year()
89 * @generated
90 * @ordered
91 */
92 protected static final Date START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT = null;
93
94 /**
95 * The cached value of the '{@link #getStart_date_within_taxation_year() <em>Start date within taxation year</em>}' attribute.
96 * <!-- begin-user-doc -->
97 * <!-- end-user-doc -->
98 * @see #getStart_date_within_taxation_year()
99 * @generated
100 * @ordered
101 */
102 protected Date start_date_within_taxation_year = START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT;
103
104 /**
105 * The default value of the '{@link #getStart_date_of_contract() <em>Start date of contract</em>}' attribute.
106 * <!-- begin-user-doc -->
107 * <!-- end-user-doc -->
108 * @see #getStart_date_of_contract()
109 * @generated
110 * @ordered
111 */
112 protected static final Date START_DATE_OF_CONTRACT_EDEFAULT = null;
113
114 /**
115 * The cached value of the '{@link #getStart_date_of_contract() <em>Start date of contract</em>}' attribute.
116 * <!-- begin-user-doc -->
117 * <!-- end-user-doc -->
118 * @see #getStart_date_of_contract()
119 * @generated
120 * @ordered
121 */
122 protected Date start_date_of_contract = START_DATE_OF_CONTRACT_EDEFAULT;
123
124 /**
125 * The default value of the '{@link #getEnd_date_within_taxation_year() <em>End date within taxation year</em>}' attribute.
126 * <!-- begin-user-doc -->
127 * <!-- end-user-doc -->
128 * @see #getEnd_date_within_taxation_year()
129 * @generated
130 * @ordered
131 */
132 protected static final Date END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT = null;
133
134 /**
135 * The cached value of the '{@link #getEnd_date_within_taxation_year() <em>End date within taxation year</em>}' attribute.
136 * <!-- begin-user-doc -->
137 * <!-- end-user-doc -->
138 * @see #getEnd_date_within_taxation_year()
139 * @generated
140 * @ordered
141 */
142 protected Date end_date_within_taxation_year = END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT;
143
144 /**
145 * The cached value of the '{@link #getTax_card() <em>Tax card</em>}' containment reference. 82 * The cached value of the '{@link #getTax_card() <em>Tax card</em>}' containment reference.
146 * <!-- begin-user-doc --> 83 * <!-- begin-user-doc -->
147 * <!-- end-user-doc --> 84 * <!-- end-user-doc -->
@@ -304,75 +241,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements
304 * @generated 241 * @generated
305 */ 242 */
306 @Override 243 @Override
307 public Date getStart_date_within_taxation_year() {
308 return start_date_within_taxation_year;
309 }
310
311 /**
312 * <!-- begin-user-doc -->
313 * <!-- end-user-doc -->
314 * @generated
315 */
316 @Override
317 public void setStart_date_within_taxation_year(Date newStart_date_within_taxation_year) {
318 Date oldStart_date_within_taxation_year = start_date_within_taxation_year;
319 start_date_within_taxation_year = newStart_date_within_taxation_year;
320 if (eNotificationRequired())
321 eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR, oldStart_date_within_taxation_year, start_date_within_taxation_year));
322 }
323
324 /**
325 * <!-- begin-user-doc -->
326 * <!-- end-user-doc -->
327 * @generated
328 */
329 @Override
330 public Date getStart_date_of_contract() {
331 return start_date_of_contract;
332 }
333
334 /**
335 * <!-- begin-user-doc -->
336 * <!-- end-user-doc -->
337 * @generated
338 */
339 @Override
340 public void setStart_date_of_contract(Date newStart_date_of_contract) {
341 Date oldStart_date_of_contract = start_date_of_contract;
342 start_date_of_contract = newStart_date_of_contract;
343 if (eNotificationRequired())
344 eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME__START_DATE_OF_CONTRACT, oldStart_date_of_contract, start_date_of_contract));
345 }
346
347 /**
348 * <!-- begin-user-doc -->
349 * <!-- end-user-doc -->
350 * @generated
351 */
352 @Override
353 public Date getEnd_date_within_taxation_year() {
354 return end_date_within_taxation_year;
355 }
356
357 /**
358 * <!-- begin-user-doc -->
359 * <!-- end-user-doc -->
360 * @generated
361 */
362 @Override
363 public void setEnd_date_within_taxation_year(Date newEnd_date_within_taxation_year) {
364 Date oldEnd_date_within_taxation_year = end_date_within_taxation_year;
365 end_date_within_taxation_year = newEnd_date_within_taxation_year;
366 if (eNotificationRequired())
367 eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR, oldEnd_date_within_taxation_year, end_date_within_taxation_year));
368 }
369
370 /**
371 * <!-- begin-user-doc -->
372 * <!-- end-user-doc -->
373 * @generated
374 */
375 @Override
376 public Tax_Card getTax_card() { 244 public Tax_Card getTax_card() {
377 return tax_card; 245 return tax_card;
378 } 246 }
@@ -604,12 +472,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements
604 return getIncome_amount(); 472 return getIncome_amount();
605 case TaxationPackage.INCOME__INCOME_TYPE: 473 case TaxationPackage.INCOME__INCOME_TYPE:
606 return getIncome_type(); 474 return getIncome_type();
607 case TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR:
608 return getStart_date_within_taxation_year();
609 case TaxationPackage.INCOME__START_DATE_OF_CONTRACT:
610 return getStart_date_of_contract();
611 case TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR:
612 return getEnd_date_within_taxation_year();
613 case TaxationPackage.INCOME__TAX_CARD: 475 case TaxationPackage.INCOME__TAX_CARD:
614 return getTax_card(); 476 return getTax_card();
615 case TaxationPackage.INCOME__TAX_LIABILITY: 477 case TaxationPackage.INCOME__TAX_LIABILITY:
@@ -641,15 +503,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements
641 case TaxationPackage.INCOME__INCOME_TYPE: 503 case TaxationPackage.INCOME__INCOME_TYPE:
642 setIncome_type((Income_Type)newValue); 504 setIncome_type((Income_Type)newValue);
643 return; 505 return;
644 case TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR:
645 setStart_date_within_taxation_year((Date)newValue);
646 return;
647 case TaxationPackage.INCOME__START_DATE_OF_CONTRACT:
648 setStart_date_of_contract((Date)newValue);
649 return;
650 case TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR:
651 setEnd_date_within_taxation_year((Date)newValue);
652 return;
653 case TaxationPackage.INCOME__TAX_CARD: 506 case TaxationPackage.INCOME__TAX_CARD:
654 setTax_card((Tax_Card)newValue); 507 setTax_card((Tax_Card)newValue);
655 return; 508 return;
@@ -688,15 +541,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements
688 case TaxationPackage.INCOME__INCOME_TYPE: 541 case TaxationPackage.INCOME__INCOME_TYPE:
689 setIncome_type((Income_Type)null); 542 setIncome_type((Income_Type)null);
690 return; 543 return;
691 case TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR:
692 setStart_date_within_taxation_year(START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT);
693 return;
694 case TaxationPackage.INCOME__START_DATE_OF_CONTRACT:
695 setStart_date_of_contract(START_DATE_OF_CONTRACT_EDEFAULT);
696 return;
697 case TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR:
698 setEnd_date_within_taxation_year(END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT);
699 return;
700 case TaxationPackage.INCOME__TAX_CARD: 544 case TaxationPackage.INCOME__TAX_CARD:
701 setTax_card((Tax_Card)null); 545 setTax_card((Tax_Card)null);
702 return; 546 return;
@@ -731,12 +575,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements
731 return income_amount != INCOME_AMOUNT_EDEFAULT; 575 return income_amount != INCOME_AMOUNT_EDEFAULT;
732 case TaxationPackage.INCOME__INCOME_TYPE: 576 case TaxationPackage.INCOME__INCOME_TYPE:
733 return income_type != null; 577 return income_type != null;
734 case TaxationPackage.INCOME__START_DATE_WITHIN_TAXATION_YEAR:
735 return START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT == null ? start_date_within_taxation_year != null : !START_DATE_WITHIN_TAXATION_YEAR_EDEFAULT.equals(start_date_within_taxation_year);
736 case TaxationPackage.INCOME__START_DATE_OF_CONTRACT:
737 return START_DATE_OF_CONTRACT_EDEFAULT == null ? start_date_of_contract != null : !START_DATE_OF_CONTRACT_EDEFAULT.equals(start_date_of_contract);
738 case TaxationPackage.INCOME__END_DATE_WITHIN_TAXATION_YEAR:
739 return END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT == null ? end_date_within_taxation_year != null : !END_DATE_WITHIN_TAXATION_YEAR_EDEFAULT.equals(end_date_within_taxation_year);
740 case TaxationPackage.INCOME__TAX_CARD: 578 case TaxationPackage.INCOME__TAX_CARD:
741 return tax_card != null; 579 return tax_card != null;
742 case TaxationPackage.INCOME__TAX_LIABILITY: 580 case TaxationPackage.INCOME__TAX_LIABILITY:
@@ -765,12 +603,6 @@ public abstract class IncomeImpl extends MinimalEObjectImpl.Container implements
765 StringBuilder result = new StringBuilder(super.toString()); 603 StringBuilder result = new StringBuilder(super.toString());
766 result.append(" (income_amount: "); 604 result.append(" (income_amount: ");
767 result.append(income_amount); 605 result.append(income_amount);
768 result.append(", start_date_within_taxation_year: ");
769 result.append(start_date_within_taxation_year);
770 result.append(", start_date_of_contract: ");
771 result.append(start_date_of_contract);
772 result.append(", end_date_within_taxation_year: ");
773 result.append(end_date_within_taxation_year);
774 result.append(", tax_liability: "); 606 result.append(", tax_liability: ");
775 result.append(tax_liability); 607 result.append(tax_liability);
776 result.append(", num: "); 608 result.append(", num: ");