diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl')
17 files changed, 14 insertions, 1557 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/AddressImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/AddressImpl.java index c6062848..fcd0a7fc 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/AddressImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/AddressImpl.java | |||
@@ -18,6 +18,8 @@ import org.eclipse.emf.ecore.EClass; | |||
18 | import org.eclipse.emf.ecore.InternalEObject; | 18 | import org.eclipse.emf.ecore.InternalEObject; |
19 | 19 | ||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
21 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
22 | |||
21 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | 23 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; |
22 | import org.eclipse.emf.ecore.util.InternalEList; | 24 | import org.eclipse.emf.ecore.util.InternalEList; |
23 | 25 | ||
@@ -39,7 +41,7 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
39 | * | 41 | * |
40 | * @generated | 42 | * @generated |
41 | */ | 43 | */ |
42 | public class AddressImpl extends RootImpl implements Address { | 44 | public class AddressImpl extends MinimalEObjectImpl.Container implements Address { |
43 | /** | 45 | /** |
44 | * The default value of the '{@link #getCountry() <em>Country</em>}' attribute. | 46 | * The default value of the '{@link #getCountry() <em>Country</em>}' attribute. |
45 | * <!-- begin-user-doc --> | 47 | * <!-- begin-user-doc --> |
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DSImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DSImpl.java deleted file mode 100644 index dabc6b3c..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DSImpl.java +++ /dev/null | |||
@@ -1,220 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.DS; | ||
6 | import TaxationWithRoot.TaxationPackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>DS</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link TaxationWithRoot.impl.DSImpl#getMaximum_deductible_amount <em>Maximum deductible amount</em>}</li> | ||
23 | * <li>{@link TaxationWithRoot.impl.DSImpl#getId3 <em>Id3</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class DSImpl extends RootImpl implements DS { | ||
29 | /** | ||
30 | * The default value of the '{@link #getMaximum_deductible_amount() <em>Maximum deductible amount</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getMaximum_deductible_amount() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final double MAXIMUM_DEDUCTIBLE_AMOUNT_EDEFAULT = 0.0; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getMaximum_deductible_amount() <em>Maximum deductible amount</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getMaximum_deductible_amount() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected double maximum_deductible_amount = MAXIMUM_DEDUCTIBLE_AMOUNT_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * The default value of the '{@link #getId3() <em>Id3</em>}' attribute. | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @see #getId3() | ||
54 | * @generated | ||
55 | * @ordered | ||
56 | */ | ||
57 | protected static final String ID3_EDEFAULT = null; | ||
58 | |||
59 | /** | ||
60 | * The cached value of the '{@link #getId3() <em>Id3</em>}' attribute. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @see #getId3() | ||
64 | * @generated | ||
65 | * @ordered | ||
66 | */ | ||
67 | protected String id3 = ID3_EDEFAULT; | ||
68 | |||
69 | /** | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @generated | ||
73 | */ | ||
74 | protected DSImpl() { | ||
75 | super(); | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | protected EClass eStaticClass() { | ||
85 | return TaxationPackage.Literals.DS; | ||
86 | } | ||
87 | |||
88 | /** | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @generated | ||
92 | */ | ||
93 | @Override | ||
94 | public double getMaximum_deductible_amount() { | ||
95 | return maximum_deductible_amount; | ||
96 | } | ||
97 | |||
98 | /** | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | @Override | ||
104 | public void setMaximum_deductible_amount(double newMaximum_deductible_amount) { | ||
105 | double oldMaximum_deductible_amount = maximum_deductible_amount; | ||
106 | maximum_deductible_amount = newMaximum_deductible_amount; | ||
107 | if (eNotificationRequired()) | ||
108 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT, oldMaximum_deductible_amount, maximum_deductible_amount)); | ||
109 | } | ||
110 | |||
111 | /** | ||
112 | * <!-- begin-user-doc --> | ||
113 | * <!-- end-user-doc --> | ||
114 | * @generated | ||
115 | */ | ||
116 | @Override | ||
117 | public String getId3() { | ||
118 | return id3; | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public void setId3(String newId3) { | ||
128 | String oldId3 = id3; | ||
129 | id3 = newId3; | ||
130 | if (eNotificationRequired()) | ||
131 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS__ID3, oldId3, id3)); | ||
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) { | ||
141 | switch (featureID) { | ||
142 | case TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT: | ||
143 | return getMaximum_deductible_amount(); | ||
144 | case TaxationPackage.DS__ID3: | ||
145 | return getId3(); | ||
146 | } | ||
147 | return super.eGet(featureID, resolve, coreType); | ||
148 | } | ||
149 | |||
150 | /** | ||
151 | * <!-- begin-user-doc --> | ||
152 | * <!-- end-user-doc --> | ||
153 | * @generated | ||
154 | */ | ||
155 | @Override | ||
156 | public void eSet(int featureID, Object newValue) { | ||
157 | switch (featureID) { | ||
158 | case TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT: | ||
159 | setMaximum_deductible_amount((Double)newValue); | ||
160 | return; | ||
161 | case TaxationPackage.DS__ID3: | ||
162 | setId3((String)newValue); | ||
163 | return; | ||
164 | } | ||
165 | super.eSet(featureID, newValue); | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | @Override | ||
174 | public void eUnset(int featureID) { | ||
175 | switch (featureID) { | ||
176 | case TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT: | ||
177 | setMaximum_deductible_amount(MAXIMUM_DEDUCTIBLE_AMOUNT_EDEFAULT); | ||
178 | return; | ||
179 | case TaxationPackage.DS__ID3: | ||
180 | setId3(ID3_EDEFAULT); | ||
181 | return; | ||
182 | } | ||
183 | super.eUnset(featureID); | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * <!-- begin-user-doc --> | ||
188 | * <!-- end-user-doc --> | ||
189 | * @generated | ||
190 | */ | ||
191 | @Override | ||
192 | public boolean eIsSet(int featureID) { | ||
193 | switch (featureID) { | ||
194 | case TaxationPackage.DS__MAXIMUM_DEDUCTIBLE_AMOUNT: | ||
195 | return maximum_deductible_amount != MAXIMUM_DEDUCTIBLE_AMOUNT_EDEFAULT; | ||
196 | case TaxationPackage.DS__ID3: | ||
197 | return ID3_EDEFAULT == null ? id3 != null : !ID3_EDEFAULT.equals(id3); | ||
198 | } | ||
199 | return super.eIsSet(featureID); | ||
200 | } | ||
201 | |||
202 | /** | ||
203 | * <!-- begin-user-doc --> | ||
204 | * <!-- end-user-doc --> | ||
205 | * @generated | ||
206 | */ | ||
207 | @Override | ||
208 | public String toString() { | ||
209 | if (eIsProxy()) return super.toString(); | ||
210 | |||
211 | StringBuilder result = new StringBuilder(super.toString()); | ||
212 | result.append(" (maximum_deductible_amount: "); | ||
213 | result.append(maximum_deductible_amount); | ||
214 | result.append(", id3: "); | ||
215 | result.append(id3); | ||
216 | result.append(')'); | ||
217 | return result.toString(); | ||
218 | } | ||
219 | |||
220 | } //DSImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_DonationImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_DonationImpl.java deleted file mode 100644 index 2340f538..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_DonationImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.DS_for_Donation; | ||
6 | import TaxationWithRoot.TaxationPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>DS for Donation</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class DS_for_DonationImpl extends DSImpl implements DS_for_Donation { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected DS_for_DonationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return TaxationPackage.Literals.DS_FOR_DONATION; | ||
35 | } | ||
36 | |||
37 | } //DS_for_DonationImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Health_and_Pension_InsuranceImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Health_and_Pension_InsuranceImpl.java deleted file mode 100644 index 98886913..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Health_and_Pension_InsuranceImpl.java +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.Category_of_Health_and_Pension_Insurances; | ||
6 | import TaxationWithRoot.DS_for_Health_and_Pension_Insurance; | ||
7 | import TaxationWithRoot.TaxationPackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>DS for Health and Pension Insurance</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link TaxationWithRoot.impl.DS_for_Health_and_Pension_InsuranceImpl#getInsurance_category <em>Insurance category</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class DS_for_Health_and_Pension_InsuranceImpl extends DSImpl implements DS_for_Health_and_Pension_Insurance { | ||
29 | /** | ||
30 | * The default value of the '{@link #getInsurance_category() <em>Insurance category</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getInsurance_category() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final Category_of_Health_and_Pension_Insurances INSURANCE_CATEGORY_EDEFAULT = Category_of_Health_and_Pension_Insurances.MANDATORY_HEALTH_AND_PENSION_INSURANCE; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getInsurance_category() <em>Insurance category</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getInsurance_category() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected Category_of_Health_and_Pension_Insurances insurance_category = INSURANCE_CATEGORY_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected DS_for_Health_and_Pension_InsuranceImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return TaxationPackage.Literals.DS_FOR_HEALTH_AND_PENSION_INSURANCE; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public Category_of_Health_and_Pension_Insurances getInsurance_category() { | ||
75 | return insurance_category; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setInsurance_category(Category_of_Health_and_Pension_Insurances newInsurance_category) { | ||
85 | Category_of_Health_and_Pension_Insurances oldInsurance_category = insurance_category; | ||
86 | insurance_category = newInsurance_category == null ? INSURANCE_CATEGORY_EDEFAULT : newInsurance_category; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY, oldInsurance_category, insurance_category)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY: | ||
100 | return getInsurance_category(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY: | ||
114 | setInsurance_category((Category_of_Health_and_Pension_Insurances)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY: | ||
129 | setInsurance_category(INSURANCE_CATEGORY_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY: | ||
144 | return insurance_category != INSURANCE_CATEGORY_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (insurance_category: "); | ||
160 | result.append(insurance_category); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //DS_for_Health_and_Pension_InsuranceImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Interest_ExpenseImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Interest_ExpenseImpl.java deleted file mode 100644 index c7472a4e..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Interest_ExpenseImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.DS_for_Interest_Expense; | ||
6 | import TaxationWithRoot.TaxationPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>DS for Interest Expense</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class DS_for_Interest_ExpenseImpl extends DSImpl implements DS_for_Interest_Expense { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected DS_for_Interest_ExpenseImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return TaxationPackage.Literals.DS_FOR_INTEREST_EXPENSE; | ||
35 | } | ||
36 | |||
37 | } //DS_for_Interest_ExpenseImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Loss_CarryforwardImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Loss_CarryforwardImpl.java deleted file mode 100644 index f08a6c28..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Loss_CarryforwardImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.DS_for_Loss_Carryforward; | ||
6 | import TaxationWithRoot.TaxationPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>DS for Loss Carryforward</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class DS_for_Loss_CarryforwardImpl extends DSImpl implements DS_for_Loss_Carryforward { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected DS_for_Loss_CarryforwardImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return TaxationPackage.Literals.DS_FOR_LOSS_CARRYFORWARD; | ||
35 | } | ||
36 | |||
37 | } //DS_for_Loss_CarryforwardImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Permanent_ExpenseImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Permanent_ExpenseImpl.java deleted file mode 100644 index 09859cfc..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Permanent_ExpenseImpl.java +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.Category_of_Permanent_Expense; | ||
6 | import TaxationWithRoot.DS_for_Permanent_Expense; | ||
7 | import TaxationWithRoot.TaxationPackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>DS for Permanent Expense</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link TaxationWithRoot.impl.DS_for_Permanent_ExpenseImpl#getPermanent_expense_category <em>Permanent expense category</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class DS_for_Permanent_ExpenseImpl extends DSImpl implements DS_for_Permanent_Expense { | ||
29 | /** | ||
30 | * The default value of the '{@link #getPermanent_expense_category() <em>Permanent expense category</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getPermanent_expense_category() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final Category_of_Permanent_Expense PERMANENT_EXPENSE_CATEGORY_EDEFAULT = Category_of_Permanent_Expense.MISCELLANEOUS_DEBT; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getPermanent_expense_category() <em>Permanent expense category</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getPermanent_expense_category() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected Category_of_Permanent_Expense permanent_expense_category = PERMANENT_EXPENSE_CATEGORY_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected DS_for_Permanent_ExpenseImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return TaxationPackage.Literals.DS_FOR_PERMANENT_EXPENSE; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public Category_of_Permanent_Expense getPermanent_expense_category() { | ||
75 | return permanent_expense_category; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setPermanent_expense_category(Category_of_Permanent_Expense newPermanent_expense_category) { | ||
85 | Category_of_Permanent_Expense oldPermanent_expense_category = permanent_expense_category; | ||
86 | permanent_expense_category = newPermanent_expense_category == null ? PERMANENT_EXPENSE_CATEGORY_EDEFAULT : newPermanent_expense_category; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY, oldPermanent_expense_category, permanent_expense_category)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY: | ||
100 | return getPermanent_expense_category(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY: | ||
114 | setPermanent_expense_category((Category_of_Permanent_Expense)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY: | ||
129 | setPermanent_expense_category(PERMANENT_EXPENSE_CATEGORY_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case TaxationPackage.DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY: | ||
144 | return permanent_expense_category != PERMANENT_EXPENSE_CATEGORY_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (permanent_expense_category: "); | ||
160 | result.append(permanent_expense_category); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //DS_for_Permanent_ExpenseImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Private_Insurance_and_PlanImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Private_Insurance_and_PlanImpl.java deleted file mode 100644 index 479477c9..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/DS_for_Private_Insurance_and_PlanImpl.java +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.Category_of_Private_Insurance_and_Plan; | ||
6 | import TaxationWithRoot.DS_for_Private_Insurance_and_Plan; | ||
7 | import TaxationWithRoot.TaxationPackage; | ||
8 | |||
9 | import org.eclipse.emf.common.notify.Notification; | ||
10 | |||
11 | import org.eclipse.emf.ecore.EClass; | ||
12 | |||
13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>DS for Private Insurance and Plan</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link TaxationWithRoot.impl.DS_for_Private_Insurance_and_PlanImpl#getPrivate_insurance_and_plan_category <em>Private insurance and plan category</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class DS_for_Private_Insurance_and_PlanImpl extends DSImpl implements DS_for_Private_Insurance_and_Plan { | ||
29 | /** | ||
30 | * The default value of the '{@link #getPrivate_insurance_and_plan_category() <em>Private insurance and plan category</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getPrivate_insurance_and_plan_category() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final Category_of_Private_Insurance_and_Plan PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT = Category_of_Private_Insurance_and_Plan.PRIVATE_INSURANCE; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getPrivate_insurance_and_plan_category() <em>Private insurance and plan category</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getPrivate_insurance_and_plan_category() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected Category_of_Private_Insurance_and_Plan private_insurance_and_plan_category = PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected DS_for_Private_Insurance_and_PlanImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return TaxationPackage.Literals.DS_FOR_PRIVATE_INSURANCE_AND_PLAN; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public Category_of_Private_Insurance_and_Plan getPrivate_insurance_and_plan_category() { | ||
75 | return private_insurance_and_plan_category; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setPrivate_insurance_and_plan_category(Category_of_Private_Insurance_and_Plan newPrivate_insurance_and_plan_category) { | ||
85 | Category_of_Private_Insurance_and_Plan oldPrivate_insurance_and_plan_category = private_insurance_and_plan_category; | ||
86 | private_insurance_and_plan_category = newPrivate_insurance_and_plan_category == null ? PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT : newPrivate_insurance_and_plan_category; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY, oldPrivate_insurance_and_plan_category, private_insurance_and_plan_category)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY: | ||
100 | return getPrivate_insurance_and_plan_category(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY: | ||
114 | setPrivate_insurance_and_plan_category((Category_of_Private_Insurance_and_Plan)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY: | ||
129 | setPrivate_insurance_and_plan_category(PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY: | ||
144 | return private_insurance_and_plan_category != PRIVATE_INSURANCE_AND_PLAN_CATEGORY_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (private_insurance_and_plan_category: "); | ||
160 | result.append(private_insurance_and_plan_category); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //DS_for_Private_Insurance_and_PlanImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FDImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FDImpl.java deleted file mode 100644 index 270e8f39..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FDImpl.java +++ /dev/null | |||
@@ -1,164 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.FD; | ||
6 | import TaxationWithRoot.TaxationPackage; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.Notification; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EClass; | ||
11 | |||
12 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>FD</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link TaxationWithRoot.impl.FDImpl#getDistance_declared_in_january <em>Distance declared in january</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class FDImpl extends Professional_Expenses_DeductionImpl implements FD { | ||
28 | /** | ||
29 | * The default value of the '{@link #getDistance_declared_in_january() <em>Distance declared in january</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getDistance_declared_in_january() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final double DISTANCE_DECLARED_IN_JANUARY_EDEFAULT = 0.0; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getDistance_declared_in_january() <em>Distance declared in january</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getDistance_declared_in_january() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected double distance_declared_in_january = DISTANCE_DECLARED_IN_JANUARY_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected FDImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return TaxationPackage.Literals.FD; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public double getDistance_declared_in_january() { | ||
74 | return distance_declared_in_january; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public void setDistance_declared_in_january(double newDistance_declared_in_january) { | ||
84 | double oldDistance_declared_in_january = distance_declared_in_january; | ||
85 | distance_declared_in_january = newDistance_declared_in_january; | ||
86 | if (eNotificationRequired()) | ||
87 | eNotify(new ENotificationImpl(this, Notification.SET, TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY, oldDistance_declared_in_january, distance_declared_in_january)); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: | ||
99 | return getDistance_declared_in_january(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eSet(int featureID, Object newValue) { | ||
111 | switch (featureID) { | ||
112 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: | ||
113 | setDistance_declared_in_january((Double)newValue); | ||
114 | return; | ||
115 | } | ||
116 | super.eSet(featureID, newValue); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void eUnset(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: | ||
128 | setDistance_declared_in_january(DISTANCE_DECLARED_IN_JANUARY_EDEFAULT); | ||
129 | return; | ||
130 | } | ||
131 | super.eUnset(featureID); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public boolean eIsSet(int featureID) { | ||
141 | switch (featureID) { | ||
142 | case TaxationPackage.FD__DISTANCE_DECLARED_IN_JANUARY: | ||
143 | return distance_declared_in_january != DISTANCE_DECLARED_IN_JANUARY_EDEFAULT; | ||
144 | } | ||
145 | return super.eIsSet(featureID); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public String toString() { | ||
155 | if (eIsProxy()) return super.toString(); | ||
156 | |||
157 | StringBuilder result = new StringBuilder(super.toString()); | ||
158 | result.append(" (distance_declared_in_january: "); | ||
159 | result.append(distance_declared_in_january); | ||
160 | result.append(')'); | ||
161 | return result.toString(); | ||
162 | } | ||
163 | |||
164 | } //FDImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FOImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FOImpl.java deleted file mode 100644 index 18919a65..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/FOImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.FO; | ||
6 | import TaxationWithRoot.TaxationPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>FO</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class FOImpl extends Professional_Expenses_DeductionImpl implements FO { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected FOImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return TaxationPackage.Literals.FO; | ||
35 | } | ||
36 | |||
37 | } //FOImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/HouseholdImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/HouseholdImpl.java index 770bb5e0..896eddd1 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/HouseholdImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/HouseholdImpl.java | |||
@@ -18,6 +18,8 @@ import org.eclipse.emf.ecore.EClass; | |||
18 | import org.eclipse.emf.ecore.InternalEObject; | 18 | import org.eclipse.emf.ecore.InternalEObject; |
19 | 19 | ||
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
21 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
22 | |||
21 | import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; | 23 | import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; |
22 | import org.eclipse.emf.ecore.util.InternalEList; | 24 | import org.eclipse.emf.ecore.util.InternalEList; |
23 | 25 | ||
@@ -36,7 +38,7 @@ import org.eclipse.emf.ecore.util.InternalEList; | |||
36 | * | 38 | * |
37 | * @generated | 39 | * @generated |
38 | */ | 40 | */ |
39 | public class HouseholdImpl extends RootImpl implements Household { | 41 | public class HouseholdImpl extends MinimalEObjectImpl.Container implements Household { |
40 | /** | 42 | /** |
41 | * The cached value of the '{@link #getParents() <em>Parents</em>}' containment reference. | 43 | * The cached value of the '{@link #getParents() <em>Parents</em>}' containment reference. |
42 | * <!-- begin-user-doc --> | 44 | * <!-- begin-user-doc --> |
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Income_Tax_CreditImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Income_Tax_CreditImpl.java index 308a8f01..90d87de4 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Income_Tax_CreditImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Income_Tax_CreditImpl.java | |||
@@ -15,6 +15,7 @@ import org.eclipse.emf.ecore.EClass; | |||
15 | import org.eclipse.emf.ecore.InternalEObject; | 15 | import org.eclipse.emf.ecore.InternalEObject; |
16 | 16 | ||
17 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 17 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
18 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
18 | 19 | ||
19 | /** | 20 | /** |
20 | * <!-- begin-user-doc --> | 21 | * <!-- begin-user-doc --> |
@@ -36,7 +37,7 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; | |||
36 | * | 37 | * |
37 | * @generated | 38 | * @generated |
38 | */ | 39 | */ |
39 | public class Income_Tax_CreditImpl extends RootImpl implements Income_Tax_Credit { | 40 | public class Income_Tax_CreditImpl extends MinimalEObjectImpl.Container implements Income_Tax_Credit { |
40 | /** | 41 | /** |
41 | * The default value of the '{@link #getGrantedBy() <em>Granted By</em>}' attribute. | 42 | * The default value of the '{@link #getGrantedBy() <em>Granted By</em>}' attribute. |
42 | * <!-- begin-user-doc --> | 43 | * <!-- begin-user-doc --> |
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Professional_Expenses_DeductionImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Professional_Expenses_DeductionImpl.java deleted file mode 100644 index a4a903e8..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/Professional_Expenses_DeductionImpl.java +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.Professional_Expenses_Deduction; | ||
6 | import TaxationWithRoot.TaxationPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Professional Expenses Deduction</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class Professional_Expenses_DeductionImpl extends RootImpl implements Professional_Expenses_Deduction { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected Professional_Expenses_DeductionImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return TaxationPackage.Literals.PROFESSIONAL_EXPENSES_DEDUCTION; | ||
35 | } | ||
36 | |||
37 | } //Professional_Expenses_DeductionImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/ResourceImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/ResourceImpl.java index 2104cce8..6476e121 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/ResourceImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/ResourceImpl.java | |||
@@ -2,8 +2,8 @@ | |||
2 | */ | 2 | */ |
3 | package TaxationWithRoot.impl; | 3 | package TaxationWithRoot.impl; |
4 | 4 | ||
5 | import TaxationWithRoot.Household; | ||
5 | import TaxationWithRoot.Resource; | 6 | import TaxationWithRoot.Resource; |
6 | import TaxationWithRoot.Root; | ||
7 | import TaxationWithRoot.TaxationPackage; | 7 | import TaxationWithRoot.TaxationPackage; |
8 | 8 | ||
9 | import java.util.Collection; | 9 | import java.util.Collection; |
@@ -42,7 +42,7 @@ public class ResourceImpl extends MinimalEObjectImpl.Container implements Resour | |||
42 | * @generated | 42 | * @generated |
43 | * @ordered | 43 | * @ordered |
44 | */ | 44 | */ |
45 | protected EList<Root> contains; | 45 | protected EList<Household> contains; |
46 | 46 | ||
47 | /** | 47 | /** |
48 | * <!-- begin-user-doc --> | 48 | * <!-- begin-user-doc --> |
@@ -69,9 +69,9 @@ public class ResourceImpl extends MinimalEObjectImpl.Container implements Resour | |||
69 | * @generated | 69 | * @generated |
70 | */ | 70 | */ |
71 | @Override | 71 | @Override |
72 | public EList<Root> getContains() { | 72 | public EList<Household> getContains() { |
73 | if (contains == null) { | 73 | if (contains == null) { |
74 | contains = new EObjectContainmentEList<Root>(Root.class, this, TaxationPackage.RESOURCE__CONTAINS); | 74 | contains = new EObjectContainmentEList<Household>(Household.class, this, TaxationPackage.RESOURCE__CONTAINS); |
75 | } | 75 | } |
76 | return contains; | 76 | return contains; |
77 | } | 77 | } |
@@ -115,7 +115,7 @@ public class ResourceImpl extends MinimalEObjectImpl.Container implements Resour | |||
115 | switch (featureID) { | 115 | switch (featureID) { |
116 | case TaxationPackage.RESOURCE__CONTAINS: | 116 | case TaxationPackage.RESOURCE__CONTAINS: |
117 | getContains().clear(); | 117 | getContains().clear(); |
118 | getContains().addAll((Collection<? extends Root>)newValue); | 118 | getContains().addAll((Collection<? extends Household>)newValue); |
119 | return; | 119 | return; |
120 | } | 120 | } |
121 | super.eSet(featureID, newValue); | 121 | super.eSet(featureID, newValue); |
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/RootImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/RootImpl.java deleted file mode 100644 index 65a8d68c..00000000 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/RootImpl.java +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package TaxationWithRoot.impl; | ||
4 | |||
5 | import TaxationWithRoot.Root; | ||
6 | import TaxationWithRoot.TaxationPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.EClass; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * An implementation of the model object '<em><b>Root</b></em>'. | ||
15 | * <!-- end-user-doc --> | ||
16 | * | ||
17 | * @generated | ||
18 | */ | ||
19 | public abstract class RootImpl extends MinimalEObjectImpl.Container implements Root { | ||
20 | /** | ||
21 | * <!-- begin-user-doc --> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @generated | ||
24 | */ | ||
25 | protected RootImpl() { | ||
26 | super(); | ||
27 | } | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | @Override | ||
35 | protected EClass eStaticClass() { | ||
36 | return TaxationPackage.Literals.ROOT; | ||
37 | } | ||
38 | |||
39 | } //RootImpl | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java index 12caab7b..1f527881 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationFactoryImpl.java | |||
@@ -87,16 +87,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory | |||
87 | case TaxationPackage.CIM: return createCIM(); | 87 | case TaxationPackage.CIM: return createCIM(); |
88 | case TaxationPackage.CIP: return createCIP(); | 88 | case TaxationPackage.CIP: return createCIP(); |
89 | case TaxationPackage.CIS: return createCIS(); | 89 | case TaxationPackage.CIS: return createCIS(); |
90 | case TaxationPackage.FD: return createFD(); | ||
91 | case TaxationPackage.PROFESSIONAL_EXPENSES_DEDUCTION: return createProfessional_Expenses_Deduction(); | ||
92 | case TaxationPackage.FO: return createFO(); | ||
93 | case TaxationPackage.DS_FOR_PERMANENT_EXPENSE: return createDS_for_Permanent_Expense(); | ||
94 | case TaxationPackage.DS: return createDS(); | ||
95 | case TaxationPackage.DS_FOR_INTEREST_EXPENSE: return createDS_for_Interest_Expense(); | ||
96 | case TaxationPackage.DS_FOR_HEALTH_AND_PENSION_INSURANCE: return createDS_for_Health_and_Pension_Insurance(); | ||
97 | case TaxationPackage.DS_FOR_PRIVATE_INSURANCE_AND_PLAN: return createDS_for_Private_Insurance_and_Plan(); | ||
98 | case TaxationPackage.DS_FOR_LOSS_CARRYFORWARD: return createDS_for_Loss_Carryforward(); | ||
99 | case TaxationPackage.DS_FOR_DONATION: return createDS_for_Donation(); | ||
100 | case TaxationPackage.PERMANENT_EXPENSE: return createPermanent_Expense(); | 90 | case TaxationPackage.PERMANENT_EXPENSE: return createPermanent_Expense(); |
101 | case TaxationPackage.SPECIAL_EXPENSE_DS: return createSpecial_Expense_DS(); | 91 | case TaxationPackage.SPECIAL_EXPENSE_DS: return createSpecial_Expense_DS(); |
102 | case TaxationPackage.INTEREST_EXPENSE: return createInterest_Expense(); | 92 | case TaxationPackage.INTEREST_EXPENSE: return createInterest_Expense(); |
@@ -537,116 +527,6 @@ public class TaxationFactoryImpl extends EFactoryImpl implements TaxationFactory | |||
537 | * @generated | 527 | * @generated |
538 | */ | 528 | */ |
539 | @Override | 529 | @Override |
540 | public FD createFD() { | ||
541 | FDImpl fd = new FDImpl(); | ||
542 | return fd; | ||
543 | } | ||
544 | |||
545 | /** | ||
546 | * <!-- begin-user-doc --> | ||
547 | * <!-- end-user-doc --> | ||
548 | * @generated | ||
549 | */ | ||
550 | @Override | ||
551 | public Professional_Expenses_Deduction createProfessional_Expenses_Deduction() { | ||
552 | Professional_Expenses_DeductionImpl professional_Expenses_Deduction = new Professional_Expenses_DeductionImpl(); | ||
553 | return professional_Expenses_Deduction; | ||
554 | } | ||
555 | |||
556 | /** | ||
557 | * <!-- begin-user-doc --> | ||
558 | * <!-- end-user-doc --> | ||
559 | * @generated | ||
560 | */ | ||
561 | @Override | ||
562 | public FO createFO() { | ||
563 | FOImpl fo = new FOImpl(); | ||
564 | return fo; | ||
565 | } | ||
566 | |||
567 | /** | ||
568 | * <!-- begin-user-doc --> | ||
569 | * <!-- end-user-doc --> | ||
570 | * @generated | ||
571 | */ | ||
572 | @Override | ||
573 | public DS_for_Permanent_Expense createDS_for_Permanent_Expense() { | ||
574 | DS_for_Permanent_ExpenseImpl dS_for_Permanent_Expense = new DS_for_Permanent_ExpenseImpl(); | ||
575 | return dS_for_Permanent_Expense; | ||
576 | } | ||
577 | |||
578 | /** | ||
579 | * <!-- begin-user-doc --> | ||
580 | * <!-- end-user-doc --> | ||
581 | * @generated | ||
582 | */ | ||
583 | @Override | ||
584 | public DS createDS() { | ||
585 | DSImpl ds = new DSImpl(); | ||
586 | return ds; | ||
587 | } | ||
588 | |||
589 | /** | ||
590 | * <!-- begin-user-doc --> | ||
591 | * <!-- end-user-doc --> | ||
592 | * @generated | ||
593 | */ | ||
594 | @Override | ||
595 | public DS_for_Interest_Expense createDS_for_Interest_Expense() { | ||
596 | DS_for_Interest_ExpenseImpl dS_for_Interest_Expense = new DS_for_Interest_ExpenseImpl(); | ||
597 | return dS_for_Interest_Expense; | ||
598 | } | ||
599 | |||
600 | /** | ||
601 | * <!-- begin-user-doc --> | ||
602 | * <!-- end-user-doc --> | ||
603 | * @generated | ||
604 | */ | ||
605 | @Override | ||
606 | public DS_for_Health_and_Pension_Insurance createDS_for_Health_and_Pension_Insurance() { | ||
607 | DS_for_Health_and_Pension_InsuranceImpl dS_for_Health_and_Pension_Insurance = new DS_for_Health_and_Pension_InsuranceImpl(); | ||
608 | return dS_for_Health_and_Pension_Insurance; | ||
609 | } | ||
610 | |||
611 | /** | ||
612 | * <!-- begin-user-doc --> | ||
613 | * <!-- end-user-doc --> | ||
614 | * @generated | ||
615 | */ | ||
616 | @Override | ||
617 | public DS_for_Private_Insurance_and_Plan createDS_for_Private_Insurance_and_Plan() { | ||
618 | DS_for_Private_Insurance_and_PlanImpl dS_for_Private_Insurance_and_Plan = new DS_for_Private_Insurance_and_PlanImpl(); | ||
619 | return dS_for_Private_Insurance_and_Plan; | ||
620 | } | ||
621 | |||
622 | /** | ||
623 | * <!-- begin-user-doc --> | ||
624 | * <!-- end-user-doc --> | ||
625 | * @generated | ||
626 | */ | ||
627 | @Override | ||
628 | public DS_for_Loss_Carryforward createDS_for_Loss_Carryforward() { | ||
629 | DS_for_Loss_CarryforwardImpl dS_for_Loss_Carryforward = new DS_for_Loss_CarryforwardImpl(); | ||
630 | return dS_for_Loss_Carryforward; | ||
631 | } | ||
632 | |||
633 | /** | ||
634 | * <!-- begin-user-doc --> | ||
635 | * <!-- end-user-doc --> | ||
636 | * @generated | ||
637 | */ | ||
638 | @Override | ||
639 | public DS_for_Donation createDS_for_Donation() { | ||
640 | DS_for_DonationImpl dS_for_Donation = new DS_for_DonationImpl(); | ||
641 | return dS_for_Donation; | ||
642 | } | ||
643 | |||
644 | /** | ||
645 | * <!-- begin-user-doc --> | ||
646 | * <!-- end-user-doc --> | ||
647 | * @generated | ||
648 | */ | ||
649 | @Override | ||
650 | public Permanent_Expense createPermanent_Expense() { | 530 | public Permanent_Expense createPermanent_Expense() { |
651 | Permanent_ExpenseImpl permanent_Expense = new Permanent_ExpenseImpl(); | 531 | Permanent_ExpenseImpl permanent_Expense = new Permanent_ExpenseImpl(); |
652 | return permanent_Expense; | 532 | return permanent_Expense; |
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationPackageImpl.java b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationPackageImpl.java index c8a1400d..65a7541a 100644 --- a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationPackageImpl.java +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/src/TaxationWithRoot/impl/TaxationPackageImpl.java | |||
@@ -11,12 +11,6 @@ import TaxationWithRoot.Category_of_Permanent_Expense; | |||
11 | import TaxationWithRoot.Category_of_Private_Insurance_and_Plan; | 11 | import TaxationWithRoot.Category_of_Private_Insurance_and_Plan; |
12 | import TaxationWithRoot.Constants; | 12 | import TaxationWithRoot.Constants; |
13 | import TaxationWithRoot.Country; | 13 | import TaxationWithRoot.Country; |
14 | import TaxationWithRoot.DS_for_Donation; | ||
15 | import TaxationWithRoot.DS_for_Health_and_Pension_Insurance; | ||
16 | import TaxationWithRoot.DS_for_Interest_Expense; | ||
17 | import TaxationWithRoot.DS_for_Loss_Carryforward; | ||
18 | import TaxationWithRoot.DS_for_Permanent_Expense; | ||
19 | import TaxationWithRoot.DS_for_Private_Insurance_and_Plan; | ||
20 | import TaxationWithRoot.Dependent; | 14 | import TaxationWithRoot.Dependent; |
21 | import TaxationWithRoot.Dependent_Type; | 15 | import TaxationWithRoot.Dependent_Type; |
22 | import TaxationWithRoot.Disability_Types; | 16 | import TaxationWithRoot.Disability_Types; |
@@ -54,11 +48,9 @@ import TaxationWithRoot.Permanent_Expense; | |||
54 | import TaxationWithRoot.Physical_Person; | 48 | import TaxationWithRoot.Physical_Person; |
55 | import TaxationWithRoot.Private_Insurance_and_Plan; | 49 | import TaxationWithRoot.Private_Insurance_and_Plan; |
56 | import TaxationWithRoot.Professional_Expense; | 50 | import TaxationWithRoot.Professional_Expense; |
57 | import TaxationWithRoot.Professional_Expenses_Deduction; | ||
58 | import TaxationWithRoot.Rentals_and_Leases_Income; | 51 | import TaxationWithRoot.Rentals_and_Leases_Income; |
59 | import TaxationWithRoot.Resident_Tax_Payer; | 52 | import TaxationWithRoot.Resident_Tax_Payer; |
60 | import TaxationWithRoot.Resource; | 53 | import TaxationWithRoot.Resource; |
61 | import TaxationWithRoot.Root; | ||
62 | import TaxationWithRoot.Separation_Causes; | 54 | import TaxationWithRoot.Separation_Causes; |
63 | import TaxationWithRoot.Special_Expense_DS; | 55 | import TaxationWithRoot.Special_Expense_DS; |
64 | import TaxationWithRoot.Spousal_Expense_AC; | 56 | import TaxationWithRoot.Spousal_Expense_AC; |
@@ -346,76 +338,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
346 | * <!-- end-user-doc --> | 338 | * <!-- end-user-doc --> |
347 | * @generated | 339 | * @generated |
348 | */ | 340 | */ |
349 | private EClass fdEClass = null; | ||
350 | |||
351 | /** | ||
352 | * <!-- begin-user-doc --> | ||
353 | * <!-- end-user-doc --> | ||
354 | * @generated | ||
355 | */ | ||
356 | private EClass professional_Expenses_DeductionEClass = null; | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | private EClass foEClass = null; | ||
364 | |||
365 | /** | ||
366 | * <!-- begin-user-doc --> | ||
367 | * <!-- end-user-doc --> | ||
368 | * @generated | ||
369 | */ | ||
370 | private EClass dS_for_Permanent_ExpenseEClass = null; | ||
371 | |||
372 | /** | ||
373 | * <!-- begin-user-doc --> | ||
374 | * <!-- end-user-doc --> | ||
375 | * @generated | ||
376 | */ | ||
377 | private EClass dsEClass = null; | ||
378 | |||
379 | /** | ||
380 | * <!-- begin-user-doc --> | ||
381 | * <!-- end-user-doc --> | ||
382 | * @generated | ||
383 | */ | ||
384 | private EClass dS_for_Interest_ExpenseEClass = null; | ||
385 | |||
386 | /** | ||
387 | * <!-- begin-user-doc --> | ||
388 | * <!-- end-user-doc --> | ||
389 | * @generated | ||
390 | */ | ||
391 | private EClass dS_for_Health_and_Pension_InsuranceEClass = null; | ||
392 | |||
393 | /** | ||
394 | * <!-- begin-user-doc --> | ||
395 | * <!-- end-user-doc --> | ||
396 | * @generated | ||
397 | */ | ||
398 | private EClass dS_for_Private_Insurance_and_PlanEClass = null; | ||
399 | |||
400 | /** | ||
401 | * <!-- begin-user-doc --> | ||
402 | * <!-- end-user-doc --> | ||
403 | * @generated | ||
404 | */ | ||
405 | private EClass dS_for_Loss_CarryforwardEClass = null; | ||
406 | |||
407 | /** | ||
408 | * <!-- begin-user-doc --> | ||
409 | * <!-- end-user-doc --> | ||
410 | * @generated | ||
411 | */ | ||
412 | private EClass dS_for_DonationEClass = null; | ||
413 | |||
414 | /** | ||
415 | * <!-- begin-user-doc --> | ||
416 | * <!-- end-user-doc --> | ||
417 | * @generated | ||
418 | */ | ||
419 | private EClass permanent_ExpenseEClass = null; | 341 | private EClass permanent_ExpenseEClass = null; |
420 | 342 | ||
421 | /** | 343 | /** |
@@ -507,13 +429,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
507 | * <!-- end-user-doc --> | 429 | * <!-- end-user-doc --> |
508 | * @generated | 430 | * @generated |
509 | */ | 431 | */ |
510 | private EClass rootEClass = null; | ||
511 | |||
512 | /** | ||
513 | * <!-- begin-user-doc --> | ||
514 | * <!-- end-user-doc --> | ||
515 | * @generated | ||
516 | */ | ||
517 | private EEnum grantorEEnum = null; | 432 | private EEnum grantorEEnum = null; |
518 | 433 | ||
519 | /** | 434 | /** |
@@ -2561,166 +2476,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
2561 | * @generated | 2476 | * @generated |
2562 | */ | 2477 | */ |
2563 | @Override | 2478 | @Override |
2564 | public EClass getFD() { | ||
2565 | return fdEClass; | ||
2566 | } | ||
2567 | |||
2568 | /** | ||
2569 | * <!-- begin-user-doc --> | ||
2570 | * <!-- end-user-doc --> | ||
2571 | * @generated | ||
2572 | */ | ||
2573 | @Override | ||
2574 | public EAttribute getFD_Distance_declared_in_january() { | ||
2575 | return (EAttribute)fdEClass.getEStructuralFeatures().get(0); | ||
2576 | } | ||
2577 | |||
2578 | /** | ||
2579 | * <!-- begin-user-doc --> | ||
2580 | * <!-- end-user-doc --> | ||
2581 | * @generated | ||
2582 | */ | ||
2583 | @Override | ||
2584 | public EClass getProfessional_Expenses_Deduction() { | ||
2585 | return professional_Expenses_DeductionEClass; | ||
2586 | } | ||
2587 | |||
2588 | /** | ||
2589 | * <!-- begin-user-doc --> | ||
2590 | * <!-- end-user-doc --> | ||
2591 | * @generated | ||
2592 | */ | ||
2593 | @Override | ||
2594 | public EClass getFO() { | ||
2595 | return foEClass; | ||
2596 | } | ||
2597 | |||
2598 | /** | ||
2599 | * <!-- begin-user-doc --> | ||
2600 | * <!-- end-user-doc --> | ||
2601 | * @generated | ||
2602 | */ | ||
2603 | @Override | ||
2604 | public EClass getDS_for_Permanent_Expense() { | ||
2605 | return dS_for_Permanent_ExpenseEClass; | ||
2606 | } | ||
2607 | |||
2608 | /** | ||
2609 | * <!-- begin-user-doc --> | ||
2610 | * <!-- end-user-doc --> | ||
2611 | * @generated | ||
2612 | */ | ||
2613 | @Override | ||
2614 | public EAttribute getDS_for_Permanent_Expense_Permanent_expense_category() { | ||
2615 | return (EAttribute)dS_for_Permanent_ExpenseEClass.getEStructuralFeatures().get(0); | ||
2616 | } | ||
2617 | |||
2618 | /** | ||
2619 | * <!-- begin-user-doc --> | ||
2620 | * <!-- end-user-doc --> | ||
2621 | * @generated | ||
2622 | */ | ||
2623 | @Override | ||
2624 | public EClass getDS() { | ||
2625 | return dsEClass; | ||
2626 | } | ||
2627 | |||
2628 | /** | ||
2629 | * <!-- begin-user-doc --> | ||
2630 | * <!-- end-user-doc --> | ||
2631 | * @generated | ||
2632 | */ | ||
2633 | @Override | ||
2634 | public EAttribute getDS_Maximum_deductible_amount() { | ||
2635 | return (EAttribute)dsEClass.getEStructuralFeatures().get(0); | ||
2636 | } | ||
2637 | |||
2638 | /** | ||
2639 | * <!-- begin-user-doc --> | ||
2640 | * <!-- end-user-doc --> | ||
2641 | * @generated | ||
2642 | */ | ||
2643 | @Override | ||
2644 | public EAttribute getDS_Id3() { | ||
2645 | return (EAttribute)dsEClass.getEStructuralFeatures().get(1); | ||
2646 | } | ||
2647 | |||
2648 | /** | ||
2649 | * <!-- begin-user-doc --> | ||
2650 | * <!-- end-user-doc --> | ||
2651 | * @generated | ||
2652 | */ | ||
2653 | @Override | ||
2654 | public EClass getDS_for_Interest_Expense() { | ||
2655 | return dS_for_Interest_ExpenseEClass; | ||
2656 | } | ||
2657 | |||
2658 | /** | ||
2659 | * <!-- begin-user-doc --> | ||
2660 | * <!-- end-user-doc --> | ||
2661 | * @generated | ||
2662 | */ | ||
2663 | @Override | ||
2664 | public EClass getDS_for_Health_and_Pension_Insurance() { | ||
2665 | return dS_for_Health_and_Pension_InsuranceEClass; | ||
2666 | } | ||
2667 | |||
2668 | /** | ||
2669 | * <!-- begin-user-doc --> | ||
2670 | * <!-- end-user-doc --> | ||
2671 | * @generated | ||
2672 | */ | ||
2673 | @Override | ||
2674 | public EAttribute getDS_for_Health_and_Pension_Insurance_Insurance_category() { | ||
2675 | return (EAttribute)dS_for_Health_and_Pension_InsuranceEClass.getEStructuralFeatures().get(0); | ||
2676 | } | ||
2677 | |||
2678 | /** | ||
2679 | * <!-- begin-user-doc --> | ||
2680 | * <!-- end-user-doc --> | ||
2681 | * @generated | ||
2682 | */ | ||
2683 | @Override | ||
2684 | public EClass getDS_for_Private_Insurance_and_Plan() { | ||
2685 | return dS_for_Private_Insurance_and_PlanEClass; | ||
2686 | } | ||
2687 | |||
2688 | /** | ||
2689 | * <!-- begin-user-doc --> | ||
2690 | * <!-- end-user-doc --> | ||
2691 | * @generated | ||
2692 | */ | ||
2693 | @Override | ||
2694 | public EAttribute getDS_for_Private_Insurance_and_Plan_Private_insurance_and_plan_category() { | ||
2695 | return (EAttribute)dS_for_Private_Insurance_and_PlanEClass.getEStructuralFeatures().get(0); | ||
2696 | } | ||
2697 | |||
2698 | /** | ||
2699 | * <!-- begin-user-doc --> | ||
2700 | * <!-- end-user-doc --> | ||
2701 | * @generated | ||
2702 | */ | ||
2703 | @Override | ||
2704 | public EClass getDS_for_Loss_Carryforward() { | ||
2705 | return dS_for_Loss_CarryforwardEClass; | ||
2706 | } | ||
2707 | |||
2708 | /** | ||
2709 | * <!-- begin-user-doc --> | ||
2710 | * <!-- end-user-doc --> | ||
2711 | * @generated | ||
2712 | */ | ||
2713 | @Override | ||
2714 | public EClass getDS_for_Donation() { | ||
2715 | return dS_for_DonationEClass; | ||
2716 | } | ||
2717 | |||
2718 | /** | ||
2719 | * <!-- begin-user-doc --> | ||
2720 | * <!-- end-user-doc --> | ||
2721 | * @generated | ||
2722 | */ | ||
2723 | @Override | ||
2724 | public EClass getPermanent_Expense() { | 2479 | public EClass getPermanent_Expense() { |
2725 | return permanent_ExpenseEClass; | 2480 | return permanent_ExpenseEClass; |
2726 | } | 2481 | } |
@@ -2951,16 +2706,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
2951 | * @generated | 2706 | * @generated |
2952 | */ | 2707 | */ |
2953 | @Override | 2708 | @Override |
2954 | public EClass getRoot() { | ||
2955 | return rootEClass; | ||
2956 | } | ||
2957 | |||
2958 | /** | ||
2959 | * <!-- begin-user-doc --> | ||
2960 | * <!-- end-user-doc --> | ||
2961 | * @generated | ||
2962 | */ | ||
2963 | @Override | ||
2964 | public EEnum getGrantor() { | 2709 | public EEnum getGrantor() { |
2965 | return grantorEEnum; | 2710 | return grantorEEnum; |
2966 | } | 2711 | } |
@@ -3358,32 +3103,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
3358 | 3103 | ||
3359 | cisEClass = createEClass(CIS); | 3104 | cisEClass = createEClass(CIS); |
3360 | 3105 | ||
3361 | fdEClass = createEClass(FD); | ||
3362 | createEAttribute(fdEClass, FD__DISTANCE_DECLARED_IN_JANUARY); | ||
3363 | |||
3364 | professional_Expenses_DeductionEClass = createEClass(PROFESSIONAL_EXPENSES_DEDUCTION); | ||
3365 | |||
3366 | foEClass = createEClass(FO); | ||
3367 | |||
3368 | dS_for_Permanent_ExpenseEClass = createEClass(DS_FOR_PERMANENT_EXPENSE); | ||
3369 | createEAttribute(dS_for_Permanent_ExpenseEClass, DS_FOR_PERMANENT_EXPENSE__PERMANENT_EXPENSE_CATEGORY); | ||
3370 | |||
3371 | dsEClass = createEClass(DS); | ||
3372 | createEAttribute(dsEClass, DS__MAXIMUM_DEDUCTIBLE_AMOUNT); | ||
3373 | createEAttribute(dsEClass, DS__ID3); | ||
3374 | |||
3375 | dS_for_Interest_ExpenseEClass = createEClass(DS_FOR_INTEREST_EXPENSE); | ||
3376 | |||
3377 | dS_for_Health_and_Pension_InsuranceEClass = createEClass(DS_FOR_HEALTH_AND_PENSION_INSURANCE); | ||
3378 | createEAttribute(dS_for_Health_and_Pension_InsuranceEClass, DS_FOR_HEALTH_AND_PENSION_INSURANCE__INSURANCE_CATEGORY); | ||
3379 | |||
3380 | dS_for_Private_Insurance_and_PlanEClass = createEClass(DS_FOR_PRIVATE_INSURANCE_AND_PLAN); | ||
3381 | createEAttribute(dS_for_Private_Insurance_and_PlanEClass, DS_FOR_PRIVATE_INSURANCE_AND_PLAN__PRIVATE_INSURANCE_AND_PLAN_CATEGORY); | ||
3382 | |||
3383 | dS_for_Loss_CarryforwardEClass = createEClass(DS_FOR_LOSS_CARRYFORWARD); | ||
3384 | |||
3385 | dS_for_DonationEClass = createEClass(DS_FOR_DONATION); | ||
3386 | |||
3387 | permanent_ExpenseEClass = createEClass(PERMANENT_EXPENSE); | 3106 | permanent_ExpenseEClass = createEClass(PERMANENT_EXPENSE); |
3388 | createEAttribute(permanent_ExpenseEClass, PERMANENT_EXPENSE__CATEGORY); | 3107 | createEAttribute(permanent_ExpenseEClass, PERMANENT_EXPENSE__CATEGORY); |
3389 | 3108 | ||
@@ -3420,8 +3139,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
3420 | resourceEClass = createEClass(RESOURCE); | 3139 | resourceEClass = createEClass(RESOURCE); |
3421 | createEReference(resourceEClass, RESOURCE__CONTAINS); | 3140 | createEReference(resourceEClass, RESOURCE__CONTAINS); |
3422 | 3141 | ||
3423 | rootEClass = createEClass(ROOT); | ||
3424 | |||
3425 | // Create enums | 3142 | // Create enums |
3426 | grantorEEnum = createEEnum(GRANTOR); | 3143 | grantorEEnum = createEEnum(GRANTOR); |
3427 | disability_TypesEEnum = createEEnum(DISABILITY_TYPES); | 3144 | disability_TypesEEnum = createEEnum(DISABILITY_TYPES); |
@@ -3470,12 +3187,8 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
3470 | // Add supertypes to classes | 3187 | // Add supertypes to classes |
3471 | tax_PayerEClass.getESuperTypes().add(this.getPhysical_Person()); | 3188 | tax_PayerEClass.getESuperTypes().add(this.getPhysical_Person()); |
3472 | tax_PayerEClass.getESuperTypes().add(this.getTax_Case()); | 3189 | tax_PayerEClass.getESuperTypes().add(this.getTax_Case()); |
3473 | tax_PayerEClass.getESuperTypes().add(this.getRoot()); | ||
3474 | addressEClass.getESuperTypes().add(this.getRoot()); | ||
3475 | dependentEClass.getESuperTypes().add(this.getPhysical_Person()); | 3190 | dependentEClass.getESuperTypes().add(this.getPhysical_Person()); |
3476 | householdEClass.getESuperTypes().add(this.getTax_Case()); | 3191 | householdEClass.getESuperTypes().add(this.getTax_Case()); |
3477 | tax_CaseEClass.getESuperTypes().add(this.getRoot()); | ||
3478 | income_Tax_CreditEClass.getESuperTypes().add(this.getRoot()); | ||
3479 | fiscal_AddressEClass.getESuperTypes().add(this.getAddress()); | 3192 | fiscal_AddressEClass.getESuperTypes().add(this.getAddress()); |
3480 | habitual_AddressEClass.getESuperTypes().add(this.getAddress()); | 3193 | habitual_AddressEClass.getESuperTypes().add(this.getAddress()); |
3481 | marriage_RecordEClass.getESuperTypes().add(this.getLegal_Union_Record()); | 3194 | marriage_RecordEClass.getESuperTypes().add(this.getLegal_Union_Record()); |
@@ -3493,16 +3206,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
3493 | cimEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); | 3206 | cimEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); |
3494 | cipEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); | 3207 | cipEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); |
3495 | cisEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); | 3208 | cisEClass.getESuperTypes().add(this.getIncome_Tax_Credit()); |
3496 | fdEClass.getESuperTypes().add(this.getProfessional_Expenses_Deduction()); | ||
3497 | professional_Expenses_DeductionEClass.getESuperTypes().add(this.getRoot()); | ||
3498 | foEClass.getESuperTypes().add(this.getProfessional_Expenses_Deduction()); | ||
3499 | dS_for_Permanent_ExpenseEClass.getESuperTypes().add(this.getDS()); | ||
3500 | dsEClass.getESuperTypes().add(this.getRoot()); | ||
3501 | dS_for_Interest_ExpenseEClass.getESuperTypes().add(this.getDS()); | ||
3502 | dS_for_Health_and_Pension_InsuranceEClass.getESuperTypes().add(this.getDS()); | ||
3503 | dS_for_Private_Insurance_and_PlanEClass.getESuperTypes().add(this.getDS()); | ||
3504 | dS_for_Loss_CarryforwardEClass.getESuperTypes().add(this.getDS()); | ||
3505 | dS_for_DonationEClass.getESuperTypes().add(this.getDS()); | ||
3506 | permanent_ExpenseEClass.getESuperTypes().add(this.getSpecial_Expense_DS()); | 3209 | permanent_ExpenseEClass.getESuperTypes().add(this.getSpecial_Expense_DS()); |
3507 | special_Expense_DSEClass.getESuperTypes().add(this.getExpense()); | 3210 | special_Expense_DSEClass.getESuperTypes().add(this.getExpense()); |
3508 | interest_ExpenseEClass.getESuperTypes().add(this.getSpecial_Expense_DS()); | 3211 | interest_ExpenseEClass.getESuperTypes().add(this.getSpecial_Expense_DS()); |
@@ -3741,32 +3444,6 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
3741 | 3444 | ||
3742 | initEClass(cisEClass, TaxationWithRoot.CIS.class, "CIS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 3445 | initEClass(cisEClass, TaxationWithRoot.CIS.class, "CIS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
3743 | 3446 | ||
3744 | initEClass(fdEClass, TaxationWithRoot.FD.class, "FD", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3745 | initEAttribute(getFD_Distance_declared_in_january(), ecorePackage.getEDouble(), "distance_declared_in_january", null, 1, 1, TaxationWithRoot.FD.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3746 | |||
3747 | initEClass(professional_Expenses_DeductionEClass, Professional_Expenses_Deduction.class, "Professional_Expenses_Deduction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3748 | |||
3749 | initEClass(foEClass, TaxationWithRoot.FO.class, "FO", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3750 | |||
3751 | initEClass(dS_for_Permanent_ExpenseEClass, DS_for_Permanent_Expense.class, "DS_for_Permanent_Expense", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3752 | initEAttribute(getDS_for_Permanent_Expense_Permanent_expense_category(), this.getCategory_of_Permanent_Expense(), "permanent_expense_category", null, 1, 1, DS_for_Permanent_Expense.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3753 | |||
3754 | initEClass(dsEClass, TaxationWithRoot.DS.class, "DS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3755 | initEAttribute(getDS_Maximum_deductible_amount(), ecorePackage.getEDouble(), "maximum_deductible_amount", null, 1, 1, TaxationWithRoot.DS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3756 | initEAttribute(getDS_Id3(), ecorePackage.getEString(), "id3", null, 1, 1, TaxationWithRoot.DS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); | ||
3757 | |||
3758 | initEClass(dS_for_Interest_ExpenseEClass, DS_for_Interest_Expense.class, "DS_for_Interest_Expense", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3759 | |||
3760 | initEClass(dS_for_Health_and_Pension_InsuranceEClass, DS_for_Health_and_Pension_Insurance.class, "DS_for_Health_and_Pension_Insurance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3761 | initEAttribute(getDS_for_Health_and_Pension_Insurance_Insurance_category(), this.getCategory_of_Health_and_Pension_Insurances(), "insurance_category", null, 1, 1, DS_for_Health_and_Pension_Insurance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3762 | |||
3763 | initEClass(dS_for_Private_Insurance_and_PlanEClass, DS_for_Private_Insurance_and_Plan.class, "DS_for_Private_Insurance_and_Plan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3764 | initEAttribute(getDS_for_Private_Insurance_and_Plan_Private_insurance_and_plan_category(), this.getCategory_of_Private_Insurance_and_Plan(), "private_insurance_and_plan_category", null, 1, 1, DS_for_Private_Insurance_and_Plan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
3765 | |||
3766 | initEClass(dS_for_Loss_CarryforwardEClass, DS_for_Loss_Carryforward.class, "DS_for_Loss_Carryforward", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3767 | |||
3768 | initEClass(dS_for_DonationEClass, DS_for_Donation.class, "DS_for_Donation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3769 | |||
3770 | initEClass(permanent_ExpenseEClass, Permanent_Expense.class, "Permanent_Expense", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 3447 | initEClass(permanent_ExpenseEClass, Permanent_Expense.class, "Permanent_Expense", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
3771 | initEAttribute(getPermanent_Expense_Category(), this.getCategory_of_Permanent_Expense(), "category", null, 1, 1, Permanent_Expense.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 3448 | initEAttribute(getPermanent_Expense_Category(), this.getCategory_of_Permanent_Expense(), "category", null, 1, 1, Permanent_Expense.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
3772 | 3449 | ||
@@ -3801,9 +3478,7 @@ public class TaxationPackageImpl extends EPackageImpl implements TaxationPackage | |||
3801 | initEClass(miscellaneous_Expense_FOEClass, Miscellaneous_Expense_FO.class, "Miscellaneous_Expense_FO", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 3478 | initEClass(miscellaneous_Expense_FOEClass, Miscellaneous_Expense_FO.class, "Miscellaneous_Expense_FO", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
3802 | 3479 | ||
3803 | initEClass(resourceEClass, Resource.class, "Resource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 3480 | initEClass(resourceEClass, Resource.class, "Resource", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
3804 | initEReference(getResource_Contains(), this.getRoot(), null, "contains", null, 0, -1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 3481 | initEReference(getResource_Contains(), this.getHousehold(), null, "contains", null, 0, -1, Resource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
3805 | |||
3806 | initEClass(rootEClass, Root.class, "Root", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
3807 | 3482 | ||
3808 | // Initialize enums and add enum literals | 3483 | // Initialize enums and add enum literals |
3809 | initEEnum(grantorEEnum, Grantor.class, "Grantor"); | 3484 | initEEnum(grantorEEnum, Grantor.class, "Grantor"); |