diff options
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model')
6 files changed, 1008 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/TaxationWithRoot.ecore b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/TaxationWithRoot.ecore new file mode 100644 index 00000000..4c418a20 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/TaxationWithRoot.ecore | |||
@@ -0,0 +1,551 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="TaxationWithRoot" nsURI="http:///TaxCardWithRoot.ecore" nsPrefix="TaxCardWithRoot"> | ||
4 | <eAnnotations source="http://www.eclipse.org/OCL/Import"> | ||
5 | <details key="ecore" value="http://www.eclipse.org/emf/2002/Ecore"/> | ||
6 | </eAnnotations> | ||
7 | <eClassifiers xsi:type="ecore:EEnum" name="Grantor"> | ||
8 | <eLiterals name="WWW" literal="WWW"/> | ||
9 | <eLiterals name="Employer" value="1" literal="Employer"/> | ||
10 | <eLiterals name="MMM" value="2" literal="MMM"/> | ||
11 | <eLiterals name="UUU" value="3" literal="UUU"/> | ||
12 | <eLiterals name="YYY" value="4" literal="YYY"/> | ||
13 | <eLiterals name="OOO" value="5" literal="OOO"/> | ||
14 | </eClassifiers> | ||
15 | <eClassifiers xsi:type="ecore:EClass" name="Constants" abstract="true"> | ||
16 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMUM_CE_RATE_FOR_CHILD_NOT_BEING_PART_OF_HOUSEHOLD" | ||
17 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
18 | defaultValueLiteral="3480.0"/> | ||
19 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMUM_CE_RATE_FOR_HOUSE_CARE_AND_CHILD_PART_OF_THE_HOUSEHOLD_CARE" | ||
20 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
21 | defaultValueLiteral="3600.0"/> | ||
22 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MINIMUM_SALARY" lowerBound="1" | ||
23 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="1500.0"/> | ||
24 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_FOR_EXTRA_PROFESSIONAL_DEDUCTION" | ||
25 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
26 | defaultValueLiteral="4500.0"/> | ||
27 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMUM_DEDUCTIBLE_PERCENTAGE_FOR_DONATIONS" | ||
28 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
29 | defaultValueLiteral="20.0"/> | ||
30 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MINIMUM_DEDUCTIBLE_AMOUNT_FOR_DONATIONS" | ||
31 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
32 | defaultValueLiteral="120.0"/> | ||
33 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMUM_DEDUCTIBLE_AMOUNT_FOR_ADDITIONAL_PENSION_AND_INSURANC" | ||
34 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
35 | defaultValueLiteral="0.0"/> | ||
36 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMUM_DEDUCTIBLE_AMOUNT_FOR_ALIMONY_EXPENSE" | ||
37 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
38 | defaultValueLiteral="24000.0"/> | ||
39 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMAL_DISTANCE_FOR_TRAVEL_EXPENSE_DEDUCTION" | ||
40 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
41 | defaultValueLiteral="99.0"/> | ||
42 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMAL_FLAT_DISTANCE_FOR_TRAVEL_EXPENSE_DEDUCTION" | ||
43 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
44 | defaultValueLiteral="30.0"/> | ||
45 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MINIMAL_DISTANCE_FOR_TRAVEL_EXPENSE_DEDUCTION" | ||
46 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
47 | defaultValueLiteral="4.0"/> | ||
48 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIM_DAILY" lowerBound="1" | ||
49 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="2.0"/> | ||
50 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIM_MONTHLY" | ||
51 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
52 | defaultValueLiteral="62.0"/> | ||
53 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIM_YEARLY" lowerBound="1" | ||
54 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="750.0"/> | ||
55 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIP_DAILY" lowerBound="1" | ||
56 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="1.0"/> | ||
57 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIP_MONTHLY" | ||
58 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
59 | defaultValueLiteral="25.0"/> | ||
60 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIP_YEARLY" lowerBound="1" | ||
61 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="30.0"/> | ||
62 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIS_DAILY" lowerBound="1" | ||
63 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="1.0"/> | ||
64 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIS_MONTHLY" | ||
65 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
66 | defaultValueLiteral="25.0"/> | ||
67 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_CIS_YEARLY" lowerBound="1" | ||
68 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="300.0"/> | ||
69 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_FOR_TRAVEL_EXPENSE_PER_UNIT" | ||
70 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
71 | defaultValueLiteral="99.0"/> | ||
72 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMUM_DEDUCTIBLE_AMOUNT_FOR_DS" | ||
73 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
74 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="FLAT_RATE_FOR_MISCELLANEOUS_EXPENSE" | ||
75 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
76 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="DISABILITY_FLAT_RATE_FOR_MISCELLANEOUS_EXPENSE" | ||
77 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
78 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="MAXIMUM_DEDUCTIBLE_AMOUNT_FOR_ADDITIONAL_PENSION_AND_INSURANCE" | ||
79 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
80 | </eClassifiers> | ||
81 | <eClassifiers xsi:type="ecore:EEnum" name="Disability_Types"> | ||
82 | <eLiterals name="beug"/> | ||
83 | <eLiterals name="NONE" value="1"/> | ||
84 | <eLiterals name="A" value="2" literal="A"/> | ||
85 | <eLiterals name="B" value="3" literal="B"/> | ||
86 | <eLiterals name="C" value="4" literal="C"/> | ||
87 | <eLiterals name="D" value="5" literal="D"/> | ||
88 | <eLiterals name="E" value="6" literal="E"/> | ||
89 | <eLiterals name="OTHER" value="7"/> | ||
90 | </eClassifiers> | ||
91 | <eClassifiers xsi:type="ecore:EEnum" name="Country"> | ||
92 | <eLiterals name="ZZ" literal="ZZ"/> | ||
93 | <eLiterals name="FF" value="1" literal="FF"/> | ||
94 | <eLiterals name="BB" value="2" literal="BB"/> | ||
95 | <eLiterals name="DD" value="3" literal="DD"/> | ||
96 | <eLiterals name="NN" value="4" literal="NN"/> | ||
97 | <eLiterals name="OTHER" value="5" literal="OTHER"/> | ||
98 | </eClassifiers> | ||
99 | <eClassifiers xsi:type="ecore:EEnum" name="Tax_Office"> | ||
100 | <eLiterals name="RTS_2" literal="RTS_2"/> | ||
101 | <eLiterals name="RTS_3" value="1" literal="RTS_3"/> | ||
102 | <eLiterals name="RTS_4" value="2" literal="RTS_4"/> | ||
103 | <eLiterals name="RTS_5" value="3" literal="RTS_5"/> | ||
104 | </eClassifiers> | ||
105 | <eClassifiers xsi:type="ecore:EEnum" name="Tax_Class_Category"> | ||
106 | <eLiterals name="One" literal="One"/> | ||
107 | <eLiterals name="One_A" value="1" literal="One_A"/> | ||
108 | <eLiterals name="Two" value="2" literal="Two"/> | ||
109 | </eClassifiers> | ||
110 | <eClassifiers xsi:type="ecore:EEnum" name="Job_Activity"> | ||
111 | <eLiterals name="Salary" literal="Salary"/> | ||
112 | <eLiterals name="Pension" value="1" literal="Pension"/> | ||
113 | <eLiterals name="Annuity" value="2" literal="Annuity"/> | ||
114 | </eClassifiers> | ||
115 | <eClassifiers xsi:type="ecore:EEnum" name="Town"> | ||
116 | <eLiterals name="LL" literal="LL"/> | ||
117 | <eLiterals name="BB" value="1" literal="BB"/> | ||
118 | <eLiterals name="SS" value="2" literal="SS"/> | ||
119 | <eLiterals name="TT" value="3" literal="TT"/> | ||
120 | <eLiterals name="Other" value="4" literal="Other"/> | ||
121 | </eClassifiers> | ||
122 | <eClassifiers xsi:type="ecore:EEnum" name="CE_Type"> | ||
123 | <eLiterals name="INALIDITY_AND_INFIRMITY" literal="INALIDITY_AND_INFIRMITY"/> | ||
124 | <eLiterals name="DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD" | ||
125 | value="1" literal="DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD"/> | ||
126 | <eLiterals name="CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD" value="2" literal="CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD"/> | ||
127 | </eClassifiers> | ||
128 | <eClassifiers xsi:type="ecore:EEnum" name="Expense_Purpose"> | ||
129 | <eLiterals name="HOUSE_CARE" literal="HOUSE_CARE"/> | ||
130 | <eLiterals name="CHILD_CARE" value="1" literal="CHILD_CARE"/> | ||
131 | <eLiterals name="DEPENDENCE_CARE" value="2" literal="DEPENDENCE_CARE"/> | ||
132 | <eLiterals name="OTHER" value="3" literal="OTHER"/> | ||
133 | <eLiterals name="ALIMONY" value="4"/> | ||
134 | <eLiterals name="RECURRENT_DEPT" value="5"/> | ||
135 | </eClassifiers> | ||
136 | <eClassifiers xsi:type="ecore:EEnum" name="Dependent_Type"> | ||
137 | <eLiterals name="CHILD" literal="CHILD"/> | ||
138 | <eLiterals name="SPOUSE" value="1" literal="SPOUSE"/> | ||
139 | <eLiterals name="RELATIVE" value="2" literal="RELATIVE"/> | ||
140 | <eLiterals name="OTHER_FAMILY_MEMBER" value="3" literal="OTHER_FAMILY_MEMBER"/> | ||
141 | <eLiterals name="NOT_OWN_CHILD" value="4"/> | ||
142 | </eClassifiers> | ||
143 | <eClassifiers xsi:type="ecore:EClass" name="Income_Tax"> | ||
144 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" lowerBound="1" | ||
145 | eType="#//Tax_Payer"/> | ||
146 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_amount" lowerBound="1" | ||
147 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
148 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_year" lowerBound="1" | ||
149 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
150 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id6" ordered="false" lowerBound="1" | ||
151 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
152 | </eClassifiers> | ||
153 | <eClassifiers xsi:type="ecore:EClass" name="Tax_Payer" abstract="true" eSuperTypes="#//Physical_Person #//Tax_Case"> | ||
154 | <eAnnotations source="duplicates"> | ||
155 | <contents xsi:type="ecore:EReference" name="expenses" ordered="false" upperBound="-1" | ||
156 | eType="#//Expense" containment="true"> | ||
157 | <eAnnotations source="redefines" references="#//Physical_Person/expenses"/> | ||
158 | </contents> | ||
159 | </eAnnotations> | ||
160 | <eStructuralFeatures xsi:type="ecore:EReference" name="dependents" ordered="false" | ||
161 | upperBound="6" eType="#//Dependent" containment="true" eOpposite="#//Dependent/responsible_person"/> | ||
162 | <eStructuralFeatures xsi:type="ecore:EReference" name="from_agent" lowerBound="1" | ||
163 | eType="#//FromAgent" containment="true" eOpposite="#//FromAgent/taxPayer"/> | ||
164 | <eStructuralFeatures xsi:type="ecore:EReference" name="incomes" ordered="false" | ||
165 | lowerBound="1" upperBound="-1" eType="#//Income" containment="true" eOpposite="#//Income/taxPayer"/> | ||
166 | <eStructuralFeatures xsi:type="ecore:EReference" name="from_law" lowerBound="1" | ||
167 | eType="#//FromLaw" containment="true" eOpposite="#//FromLaw/taxPayer"/> | ||
168 | </eClassifiers> | ||
169 | <eClassifiers xsi:type="ecore:EClass" name="Physical_Person"> | ||
170 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="SSNo" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" | ||
171 | iD="true"/> | ||
172 | <eStructuralFeatures xsi:type="ecore:EReference" name="addresses" ordered="false" | ||
173 | upperBound="-1" eType="#//Address" eOpposite="#//Address/taxPayer"/> | ||
174 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="birth_year" ordered="false" | ||
175 | unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
176 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="disability_percentage" | ||
177 | ordered="false" unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
178 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="disability_type" ordered="false" | ||
179 | unique="false" lowerBound="1" eType="#//Disability_Types"/> | ||
180 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="birth_month" ordered="false" | ||
181 | unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
182 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="birth_day" ordered="false" | ||
183 | unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
184 | <eStructuralFeatures xsi:type="ecore:EReference" name="expenses" ordered="false" | ||
185 | upperBound="-1" eType="#//Expense" eOpposite="#//Expense/beneficiary"/> | ||
186 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_widower" ordered="false" | ||
187 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
188 | </eClassifiers> | ||
189 | <eClassifiers xsi:type="ecore:EClass" name="Address"> | ||
190 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="country" lowerBound="1" | ||
191 | eType="#//Country" defaultValueLiteral="ZZ"/> | ||
192 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" lowerBound="1" | ||
193 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
194 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="zipCode" lowerBound="1" | ||
195 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
196 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="city" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
197 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id2" ordered="false" lowerBound="1" | ||
198 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
199 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" ordered="false" | ||
200 | upperBound="-1" eType="#//Physical_Person" eOpposite="#//Physical_Person/addresses"/> | ||
201 | </eClassifiers> | ||
202 | <eClassifiers xsi:type="ecore:EClass" name="Expense"> | ||
203 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="declared_amount" lowerBound="1" | ||
204 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
205 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="expense_purpose" lowerBound="1" | ||
206 | eType="#//Expense_Purpose" defaultValueLiteral="OTHER"/> | ||
207 | <eStructuralFeatures xsi:type="ecore:EReference" name="dependent" eType="#//Dependent" | ||
208 | eOpposite="#//Dependent/expense"/> | ||
209 | <eStructuralFeatures xsi:type="ecore:EReference" name="from_agent" ordered="false" | ||
210 | eType="#//FromAgent" eOpposite="#//FromAgent/expense"/> | ||
211 | <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1" | ||
212 | eType="#//Income" eOpposite="#//Income/expenses"/> | ||
213 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id4" ordered="false" lowerBound="1" | ||
214 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
215 | <eStructuralFeatures xsi:type="ecore:EReference" name="beneficiary" ordered="false" | ||
216 | eType="#//Physical_Person" eOpposite="#//Physical_Person/expenses"/> | ||
217 | </eClassifiers> | ||
218 | <eClassifiers xsi:type="ecore:EClass" name="Dependent" eSuperTypes="#//Physical_Person"> | ||
219 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="dependent_type" lowerBound="1" | ||
220 | eType="#//Dependent_Type"/> | ||
221 | <eStructuralFeatures xsi:type="ecore:EReference" name="responsible_person" eType="#//Tax_Payer" | ||
222 | eOpposite="#//Tax_Payer/dependents"/> | ||
223 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="continued_studies" lowerBound="1" | ||
224 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false"/> | ||
225 | <eStructuralFeatures xsi:type="ecore:EReference" name="allowances" ordered="false" | ||
226 | eType="#//External_Allowance" containment="true" eOpposite="#//External_Allowance/person"/> | ||
227 | <eStructuralFeatures xsi:type="ecore:EReference" name="household" ordered="false" | ||
228 | eType="#//Household" eOpposite="#//Household/children"/> | ||
229 | <eStructuralFeatures xsi:type="ecore:EReference" name="from_agent" ordered="false" | ||
230 | eType="#//FromAgent" eOpposite="#//FromAgent/dependent"/> | ||
231 | <eStructuralFeatures xsi:type="ecore:EReference" name="expense" ordered="false" | ||
232 | upperBound="-1" eType="#//Expense" eOpposite="#//Expense/dependent"/> | ||
233 | </eClassifiers> | ||
234 | <eClassifiers xsi:type="ecore:EClass" name="External_Allowance"> | ||
235 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="grantor" lowerBound="1" | ||
236 | eType="#//Grantor"/> | ||
237 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="starting_year" ordered="false" | ||
238 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
239 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ending_year" ordered="false" | ||
240 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
241 | <eStructuralFeatures xsi:type="ecore:EReference" name="reciver" ordered="false" | ||
242 | lowerBound="1" eType="#//Physical_Person"/> | ||
243 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id5" ordered="false" lowerBound="1" | ||
244 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
245 | <eStructuralFeatures xsi:type="ecore:EReference" name="person" ordered="false" | ||
246 | lowerBound="1" eType="#//Dependent" eOpposite="#//Dependent/allowances"/> | ||
247 | </eClassifiers> | ||
248 | <eClassifiers xsi:type="ecore:EClass" name="Household" eSuperTypes="#//Tax_Case"> | ||
249 | <eStructuralFeatures xsi:type="ecore:EReference" name="parents" ordered="false" | ||
250 | lowerBound="1" eType="#//Legal_Union_Record" containment="true" eOpposite="#//Legal_Union_Record/household"/> | ||
251 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id1" ordered="false" lowerBound="1" | ||
252 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
253 | <eStructuralFeatures xsi:type="ecore:EReference" name="children" ordered="false" | ||
254 | upperBound="-1" eType="#//Dependent" containment="true" eOpposite="#//Dependent/household"/> | ||
255 | </eClassifiers> | ||
256 | <eClassifiers xsi:type="ecore:EClass" name="Legal_Union_Record" abstract="true"> | ||
257 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="start_year" lowerBound="1" | ||
258 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
259 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="end_year" lowerBound="1" | ||
260 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
261 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="separation_cause" ordered="false" | ||
262 | lowerBound="1" eType="#//Separation_Causes"/> | ||
263 | <eStructuralFeatures xsi:type="ecore:EReference" name="individual_A" ordered="false" | ||
264 | lowerBound="1" eType="#//Physical_Person" containment="true"> | ||
265 | <eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName"> | ||
266 | <details key="body" value="legal_union_A"/> | ||
267 | </eAnnotations> | ||
268 | </eStructuralFeatures> | ||
269 | <eStructuralFeatures xsi:type="ecore:EReference" name="individual_B" ordered="false" | ||
270 | lowerBound="1" upperBound="-1" eType="#//Physical_Person" containment="true"> | ||
271 | <eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName"> | ||
272 | <details key="body" value="legal_union_B"/> | ||
273 | </eAnnotations> | ||
274 | </eStructuralFeatures> | ||
275 | <eStructuralFeatures xsi:type="ecore:EReference" name="properties" ordered="false" | ||
276 | lowerBound="1" upperBound="-1" eType="#//Tax_Property" containment="true" | ||
277 | eOpposite="#//Tax_Property/union_record"/> | ||
278 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="mutual_agreement" ordered="false" | ||
279 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
280 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id9" ordered="false" lowerBound="1" | ||
281 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
282 | <eStructuralFeatures xsi:type="ecore:EReference" name="household" ordered="false" | ||
283 | lowerBound="1" eType="#//Household" eOpposite="#//Household/parents"/> | ||
284 | </eClassifiers> | ||
285 | <eClassifiers xsi:type="ecore:EEnum" name="Separation_Causes"> | ||
286 | <eLiterals name="NONE"/> | ||
287 | <eLiterals name="DIVORCE" value="1"/> | ||
288 | <eLiterals name="SEPARATION_DE_FAIT" value="2"/> | ||
289 | <eLiterals name="SEPARATION_BY_COURT" value="3"/> | ||
290 | </eClassifiers> | ||
291 | <eClassifiers xsi:type="ecore:EClass" name="Tax_Property"> | ||
292 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="starting_year" ordered="false" | ||
293 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
294 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id10" ordered="false" lowerBound="1" | ||
295 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
296 | <eStructuralFeatures xsi:type="ecore:EReference" name="union_record" ordered="false" | ||
297 | lowerBound="1" eType="#//Legal_Union_Record" eOpposite="#//Legal_Union_Record/properties"/> | ||
298 | </eClassifiers> | ||
299 | <eClassifiers xsi:type="ecore:EClass" name="Tax_Case" abstract="true" interface="true"/> | ||
300 | <eClassifiers xsi:type="ecore:EClass" name="FromAgent"> | ||
301 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" lowerBound="1" | ||
302 | eType="#//Tax_Payer" eOpposite="#//Tax_Payer/from_agent"/> | ||
303 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_dependent_eligible_for_CE_Not_In_Houshold_Children_Care" | ||
304 | ordered="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
305 | <eStructuralFeatures xsi:type="ecore:EReference" name="expense" ordered="false" | ||
306 | eType="#//Expense" eOpposite="#//Expense/from_agent"/> | ||
307 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_eligible_debt" ordered="false" | ||
308 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
309 | <eStructuralFeatures xsi:type="ecore:EReference" name="dependent" ordered="false" | ||
310 | eType="#//Dependent" eOpposite="#//Dependent/from_agent"/> | ||
311 | </eClassifiers> | ||
312 | <eClassifiers xsi:type="ecore:EClass" name="Income" abstract="true"> | ||
313 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="income_amount" ordered="false" | ||
314 | unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"> | ||
315 | <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> | ||
316 | <details key="derivation" value="let non_null_amounts:OrderedSet(Income_Detail)=self.details->select(det:Income_Detail|det.amount>0)->asOrderedSet() in
non_null_amounts->collect(amount)->min()"/> | ||
317 | </eAnnotations> | ||
318 | </eStructuralFeatures> | ||
319 | <eStructuralFeatures xsi:type="ecore:EReference" name="income_type" lowerBound="1" | ||
320 | eType="#//Income_Type" containment="true" eOpposite="#//Income_Type/income"/> | ||
321 | <eStructuralFeatures xsi:type="ecore:EReference" name="tax_card" eType="#//Tax_Card" | ||
322 | containment="true" eOpposite="#//Tax_Card/income"/> | ||
323 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_liability" lowerBound="1" | ||
324 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
325 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" ordered="false" | ||
326 | lowerBound="1" eType="#//Tax_Payer" eOpposite="#//Tax_Payer/incomes"/> | ||
327 | <eStructuralFeatures xsi:type="ecore:EReference" name="details" lowerBound="12" | ||
328 | upperBound="12" eType="#//Income_Detail" containment="true" eOpposite="#//Income_Detail/income"/> | ||
329 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="num" ordered="false" lowerBound="1" | ||
330 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" iD="true"/> | ||
331 | <eStructuralFeatures xsi:type="ecore:EReference" name="expenses" ordered="false" | ||
332 | upperBound="-1" eType="#//Expense" containment="true" eOpposite="#//Expense/income"/> | ||
333 | </eClassifiers> | ||
334 | <eClassifiers xsi:type="ecore:EClass" name="Income_Type" abstract="true"> | ||
335 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id8" ordered="false" lowerBound="1" | ||
336 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
337 | <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1" | ||
338 | eType="#//Income" eOpposite="#//Income/income_type"/> | ||
339 | </eClassifiers> | ||
340 | <eClassifiers xsi:type="ecore:EClass" name="Tax_Card"> | ||
341 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="card_identifier" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" | ||
342 | iD="true"/> | ||
343 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_office" lowerBound="1" | ||
344 | eType="#//Tax_Office"/> | ||
345 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="percentage_of_witholding" | ||
346 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
347 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payers_name_surname" | ||
348 | ordered="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
349 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payers_partner_name_surname" | ||
350 | ordered="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
351 | <eStructuralFeatures xsi:type="ecore:EReference" name="tax_payers_address" eType="#//Address"/> | ||
352 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_Employer_SSNo" ordered="false" | ||
353 | unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
354 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_employers_name" ordered="false" | ||
355 | unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
356 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_activity_type" lowerBound="1" | ||
357 | eType="#//Job_Activity"/> | ||
358 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_place_of_work" lowerBound="1" | ||
359 | eType="#//Town"/> | ||
360 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FD_daily" ordered="false" | ||
361 | unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
362 | defaultValueLiteral="0.0"/> | ||
363 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FD_monthly" ordered="false" | ||
364 | unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
365 | defaultValueLiteral="0.0"/> | ||
366 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_daily" unique="false" | ||
367 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
368 | defaultValueLiteral="0.0"/> | ||
369 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_monthly" unique="false" | ||
370 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
371 | defaultValueLiteral="0.0"/> | ||
372 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_yearly" unique="false" | ||
373 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
374 | defaultValueLiteral="0.0"/> | ||
375 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_daily" unique="false" | ||
376 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
377 | defaultValueLiteral="0.0"/> | ||
378 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_monthly" unique="false" | ||
379 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
380 | defaultValueLiteral="0.0"/> | ||
381 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_yearly" unique="false" | ||
382 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
383 | defaultValueLiteral="0.0"/> | ||
384 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_daily" unique="false" | ||
385 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
386 | defaultValueLiteral="0.0"/> | ||
387 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_monthly" lowerBound="1" | ||
388 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> | ||
389 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_daily" unique="false" | ||
390 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
391 | defaultValueLiteral="0.0"/> | ||
392 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_monthly" unique="false" | ||
393 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
394 | defaultValueLiteral="0.0"/> | ||
395 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_yearly" unique="false" | ||
396 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
397 | defaultValueLiteral="0.0"/> | ||
398 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIS_daily" unique="false" | ||
399 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
400 | defaultValueLiteral="0.0"/> | ||
401 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIS_monthly" unique="false" | ||
402 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
403 | defaultValueLiteral="0.0"/> | ||
404 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIM_daily" unique="false" | ||
405 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
406 | defaultValueLiteral="0.0"/> | ||
407 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="validity" lowerBound="1" | ||
408 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
409 | <eStructuralFeatures xsi:type="ecore:EReference" name="income_Tax_Credit" ordered="false" | ||
410 | upperBound="-1" eType="#//Income_Tax_Credit" eOpposite="#//Income_Tax_Credit/taxation_Frame"/> | ||
411 | <eStructuralFeatures xsi:type="ecore:EReference" name="previous" eType="#//Tax_Card" | ||
412 | eOpposite="#//Tax_Card/current_tax_card"/> | ||
413 | <eStructuralFeatures xsi:type="ecore:EReference" name="current_tax_card" eType="#//Tax_Card" | ||
414 | eOpposite="#//Tax_Card/previous"/> | ||
415 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIM_yearly" ordered="false" | ||
416 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
417 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_Alimony_yearly" | ||
418 | ordered="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
419 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_Debt_yearly" | ||
420 | ordered="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
421 | <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1" | ||
422 | eType="#//Income" eOpposite="#//Income/tax_card"/> | ||
423 | </eClassifiers> | ||
424 | <eClassifiers xsi:type="ecore:EClass" name="Income_Tax_Credit"> | ||
425 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="grantedBy" lowerBound="1" | ||
426 | eType="#//Grantor"/> | ||
427 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" eType="#//Tax_Payer"/> | ||
428 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_year" lowerBound="1" | ||
429 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
430 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="yearly" lowerBound="1" | ||
431 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="300.0"/> | ||
432 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="monthly" lowerBound="1" | ||
433 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="25.0"/> | ||
434 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="daily" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
435 | defaultValueLiteral="1.0"/> | ||
436 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id7" ordered="false" lowerBound="1" | ||
437 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
438 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxation_Frame" eType="#//Tax_Card" | ||
439 | eOpposite="#//Tax_Card/income_Tax_Credit"/> | ||
440 | </eClassifiers> | ||
441 | <eClassifiers xsi:type="ecore:EClass" name="Income_Detail"> | ||
442 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="amount" lowerBound="1" | ||
443 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
444 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_worked" lowerBound="1" | ||
445 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
446 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" | ||
447 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
448 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="worked_days" lowerBound="1" | ||
449 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
450 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_contributing_CNS" ordered="false" | ||
451 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
452 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id5" ordered="false" lowerBound="1" | ||
453 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
454 | <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1" | ||
455 | eType="#//Income" eOpposite="#//Income/details"/> | ||
456 | </eClassifiers> | ||
457 | <eClassifiers xsi:type="ecore:EClass" name="FromLaw"> | ||
458 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" ordered="false" lowerBound="1" | ||
459 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
460 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" lowerBound="1" | ||
461 | eType="#//Tax_Payer" eOpposite="#//Tax_Payer/from_law"/> | ||
462 | </eClassifiers> | ||
463 | <eClassifiers xsi:type="ecore:EClass" name="Fiscal_Address" eSuperTypes="#//Address"/> | ||
464 | <eClassifiers xsi:type="ecore:EClass" name="Habitual_Address" eSuperTypes="#//Address"/> | ||
465 | <eClassifiers xsi:type="ecore:EClass" name="Marriage_Record" eSuperTypes="#//Legal_Union_Record"/> | ||
466 | <eClassifiers xsi:type="ecore:EClass" name="Non_Resident_Tax_Payer" eSuperTypes="#//Tax_Payer"> | ||
467 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_assimilated_to_resident" | ||
468 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
469 | defaultValueLiteral="false"/> | ||
470 | </eClassifiers> | ||
471 | <eClassifiers xsi:type="ecore:EClass" name="Partnership_Record" eSuperTypes="#//Legal_Union_Record"/> | ||
472 | <eClassifiers xsi:type="ecore:EClass" name="Resident_Tax_Payer" eSuperTypes="#//Tax_Payer"/> | ||
473 | <eClassifiers xsi:type="ecore:EClass" name="Trade_and_Business_Income" eSuperTypes="#//Income_Type"/> | ||
474 | <eClassifiers xsi:type="ecore:EClass" name="Agriculture_and_Forestry_Income" eSuperTypes="#//Income_Type"/> | ||
475 | <eClassifiers xsi:type="ecore:EClass" name="Pensions_and_Annuities_Income" eSuperTypes="#//Income_Type"> | ||
476 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="occasional_payement" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
477 | defaultValueLiteral="false"/> | ||
478 | </eClassifiers> | ||
479 | <eClassifiers xsi:type="ecore:EClass" name="Capital_and_Investments_Income" eSuperTypes="#//Income_Type"/> | ||
480 | <eClassifiers xsi:type="ecore:EClass" name="Employment_Income" eSuperTypes="#//Income_Type"/> | ||
481 | <eClassifiers xsi:type="ecore:EClass" name="Rentals_and_Leases_Income" eSuperTypes="#//Income_Type"> | ||
482 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_periodic" lowerBound="1" | ||
483 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="true"/> | ||
484 | </eClassifiers> | ||
485 | <eClassifiers xsi:type="ecore:EClass" name="Foreign_Income" eSuperTypes="#//Income"/> | ||
486 | <eClassifiers xsi:type="ecore:EClass" name="Local_Income" eSuperTypes="#//Income"/> | ||
487 | <eClassifiers xsi:type="ecore:EClass" name="CIM" eSuperTypes="#//Income_Tax_Credit"/> | ||
488 | <eClassifiers xsi:type="ecore:EClass" name="CIP" eSuperTypes="#//Income_Tax_Credit"/> | ||
489 | <eClassifiers xsi:type="ecore:EClass" name="CIS" eSuperTypes="#//Income_Tax_Credit"/> | ||
490 | <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Permanent_Expense"> | ||
491 | <eLiterals name="MISCELLANEOUS_DEBT" literal="MISCELLANEOUS_DEBT"/> | ||
492 | <eLiterals name="ALIMONY" value="1" literal="ALIMONY"/> | ||
493 | </eClassifiers> | ||
494 | <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Health_and_Pension_Insurances"> | ||
495 | <eLiterals name="MANDATORY_HEALTH_AND_PENSION_INSURANCE" literal="MANDATORY_HEALTH_AND_PENSION_INSURANCE"/> | ||
496 | <eLiterals name="ADDITIONAL_EMPLOYERS_PENSION_INSURANCE" value="1" literal="ADDITIONAL_EMPLOYERS_PENSION_INSURANCE"/> | ||
497 | <eLiterals name="CONTINUED_HEALTH_AND_PENSION_INSURANCE" value="2" literal="CONTINUED_HEALTH_AND_PENSION_INSURANCE"/> | ||
498 | </eClassifiers> | ||
499 | <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Private_Insurance_and_Plan"> | ||
500 | <eLiterals name="PRIVATE_INSURANCE" literal="PRIVATE_INSURANCE"/> | ||
501 | <eLiterals name="PRIVATE_LIFE_INSURANCE" value="1" literal="PRIVATE_LIFE_INSURANCE"/> | ||
502 | <eLiterals name="COMPANY_MEMBERS_PRIVATE_INSURANCE" value="2" literal="COMPANY_MEMBERS_PRIVATE_INSURANCE"/> | ||
503 | <eLiterals name="HOUSING_SAVING_PLAN" value="3" literal="HOUSING_SAVING_PLAN"/> | ||
504 | <eLiterals name="OLD_AGE_PENSION_PLAN" value="4" literal="OLD_AGE_PENSION_PLAN"/> | ||
505 | </eClassifiers> | ||
506 | <eClassifiers xsi:type="ecore:EClass" name="Permanent_Expense" eSuperTypes="#//Special_Expense_DS"> | ||
507 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1" | ||
508 | eType="#//Category_of_Permanent_Expense"/> | ||
509 | </eClassifiers> | ||
510 | <eClassifiers xsi:type="ecore:EClass" name="Special_Expense_DS" eSuperTypes="#//Expense"/> | ||
511 | <eClassifiers xsi:type="ecore:EClass" name="Interest_Expense" eSuperTypes="#//Special_Expense_DS"/> | ||
512 | <eClassifiers xsi:type="ecore:EClass" name="Private_Insurance_and_Plan" eSuperTypes="#//Special_Expense_DS"> | ||
513 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1" | ||
514 | eType="#//Category_of_Private_Insurance_and_Plan"/> | ||
515 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="duration_of_contract" lowerBound="1" | ||
516 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
517 | </eClassifiers> | ||
518 | <eClassifiers xsi:type="ecore:EClass" name="Health_and_Pension_Insurance" eSuperTypes="#//Special_Expense_DS"> | ||
519 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1" | ||
520 | eType="#//Category_of_Health_and_Pension_Insurances"/> | ||
521 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_related_to_additional_salary" | ||
522 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
523 | defaultValueLiteral="false"/> | ||
524 | </eClassifiers> | ||
525 | <eClassifiers xsi:type="ecore:EClass" name="Donation" eSuperTypes="#//Special_Expense_DS"> | ||
526 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="beneficiary1" lowerBound="1" | ||
527 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
528 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_donation_reported" lowerBound="1" | ||
529 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
530 | </eClassifiers> | ||
531 | <eClassifiers xsi:type="ecore:EClass" name="Loss_Carryforward" eSuperTypes="#//Special_Expense_DS"/> | ||
532 | <eClassifiers xsi:type="ecore:EClass" name="Spousal_Expense_AC" eSuperTypes="#//Expense"/> | ||
533 | <eClassifiers xsi:type="ecore:EClass" name="Extraordinary_Expense_CE" eSuperTypes="#//Expense"> | ||
534 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="thresholded_deduction_percentage" | ||
535 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
536 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ce_type" lowerBound="1" | ||
537 | eType="#//CE_Type"/> | ||
538 | </eClassifiers> | ||
539 | <eClassifiers xsi:type="ecore:EClass" name="Travel_Expense_FD" eSuperTypes="#//Professional_Expense"/> | ||
540 | <eClassifiers xsi:type="ecore:EClass" name="Professional_Expense" eSuperTypes="#//Expense"/> | ||
541 | <eClassifiers xsi:type="ecore:EClass" name="Miscellaneous_Expense_FO" eSuperTypes="#//Professional_Expense"/> | ||
542 | <eClassifiers xsi:type="ecore:EEnum" name="Legal_Union_Types"> | ||
543 | <eLiterals name="MARIAGE"/> | ||
544 | <eLiterals name="PARTNERSHIP" value="1"/> | ||
545 | <eLiterals name="OTHER" value="2"/> | ||
546 | </eClassifiers> | ||
547 | <eClassifiers xsi:type="ecore:EClass" name="Resource"> | ||
548 | <eStructuralFeatures xsi:type="ecore:EReference" name="contains" upperBound="-1" | ||
549 | eType="#//Household" containment="true"/> | ||
550 | </eClassifiers> | ||
551 | </ecore:EPackage> | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/TaxationWithRoot.genmodel b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/TaxationWithRoot.genmodel new file mode 100644 index 00000000..c3466ca0 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/TaxationWithRoot.genmodel | |||
@@ -0,0 +1,344 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | ||
3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/models20.diversity-calculator/src" modelPluginID="models20.diversity-calculator" | ||
4 | modelName="TaxationWithRoot" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" | ||
5 | importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" copyrightFields="false" | ||
6 | operationReflection="true" importOrganizing="true"> | ||
7 | <foreignModel>TaxationWithRoot.ecore</foreignModel> | ||
8 | <genPackages prefix="TaxationWithRoot" disposableProviderFactory="true" ecorePackage="TaxationWithRoot.ecore#/"> | ||
9 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Grantor"> | ||
10 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Grantor/WWW"/> | ||
11 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Grantor/Employer"/> | ||
12 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Grantor/MMM"/> | ||
13 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Grantor/UUU"/> | ||
14 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Grantor/YYY"/> | ||
15 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Grantor/OOO"/> | ||
16 | </genEnums> | ||
17 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Disability_Types"> | ||
18 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Disability_Types/beug"/> | ||
19 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Disability_Types/NONE"/> | ||
20 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Disability_Types/A"/> | ||
21 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Disability_Types/B"/> | ||
22 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Disability_Types/C"/> | ||
23 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Disability_Types/D"/> | ||
24 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Disability_Types/E"/> | ||
25 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Disability_Types/OTHER"/> | ||
26 | </genEnums> | ||
27 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Country"> | ||
28 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Country/ZZ"/> | ||
29 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Country/FF"/> | ||
30 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Country/BB"/> | ||
31 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Country/DD"/> | ||
32 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Country/NN"/> | ||
33 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Country/OTHER"/> | ||
34 | </genEnums> | ||
35 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Tax_Office"> | ||
36 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Tax_Office/RTS_2"/> | ||
37 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Tax_Office/RTS_3"/> | ||
38 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Tax_Office/RTS_4"/> | ||
39 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Tax_Office/RTS_5"/> | ||
40 | </genEnums> | ||
41 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Tax_Class_Category"> | ||
42 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Tax_Class_Category/One"/> | ||
43 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Tax_Class_Category/One_A"/> | ||
44 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Tax_Class_Category/Two"/> | ||
45 | </genEnums> | ||
46 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Job_Activity"> | ||
47 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Job_Activity/Salary"/> | ||
48 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Job_Activity/Pension"/> | ||
49 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Job_Activity/Annuity"/> | ||
50 | </genEnums> | ||
51 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Town"> | ||
52 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Town/LL"/> | ||
53 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Town/BB"/> | ||
54 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Town/SS"/> | ||
55 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Town/TT"/> | ||
56 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Town/Other"/> | ||
57 | </genEnums> | ||
58 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//CE_Type"> | ||
59 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//CE_Type/INALIDITY_AND_INFIRMITY"/> | ||
60 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//CE_Type/DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD"/> | ||
61 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//CE_Type/CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD"/> | ||
62 | </genEnums> | ||
63 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Expense_Purpose"> | ||
64 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Expense_Purpose/HOUSE_CARE"/> | ||
65 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Expense_Purpose/CHILD_CARE"/> | ||
66 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Expense_Purpose/DEPENDENCE_CARE"/> | ||
67 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Expense_Purpose/OTHER"/> | ||
68 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Expense_Purpose/ALIMONY"/> | ||
69 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Expense_Purpose/RECURRENT_DEPT"/> | ||
70 | </genEnums> | ||
71 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Dependent_Type"> | ||
72 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Dependent_Type/CHILD"/> | ||
73 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Dependent_Type/SPOUSE"/> | ||
74 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Dependent_Type/RELATIVE"/> | ||
75 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Dependent_Type/OTHER_FAMILY_MEMBER"/> | ||
76 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Dependent_Type/NOT_OWN_CHILD"/> | ||
77 | </genEnums> | ||
78 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Separation_Causes"> | ||
79 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Separation_Causes/NONE"/> | ||
80 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Separation_Causes/DIVORCE"/> | ||
81 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Separation_Causes/SEPARATION_DE_FAIT"/> | ||
82 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Separation_Causes/SEPARATION_BY_COURT"/> | ||
83 | </genEnums> | ||
84 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Category_of_Permanent_Expense"> | ||
85 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Permanent_Expense/MISCELLANEOUS_DEBT"/> | ||
86 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Permanent_Expense/ALIMONY"/> | ||
87 | </genEnums> | ||
88 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Category_of_Health_and_Pension_Insurances"> | ||
89 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Health_and_Pension_Insurances/MANDATORY_HEALTH_AND_PENSION_INSURANCE"/> | ||
90 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Health_and_Pension_Insurances/ADDITIONAL_EMPLOYERS_PENSION_INSURANCE"/> | ||
91 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Health_and_Pension_Insurances/CONTINUED_HEALTH_AND_PENSION_INSURANCE"/> | ||
92 | </genEnums> | ||
93 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Category_of_Private_Insurance_and_Plan"> | ||
94 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Private_Insurance_and_Plan/PRIVATE_INSURANCE"/> | ||
95 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Private_Insurance_and_Plan/PRIVATE_LIFE_INSURANCE"/> | ||
96 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Private_Insurance_and_Plan/COMPANY_MEMBERS_PRIVATE_INSURANCE"/> | ||
97 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Private_Insurance_and_Plan/HOUSING_SAVING_PLAN"/> | ||
98 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Category_of_Private_Insurance_and_Plan/OLD_AGE_PENSION_PLAN"/> | ||
99 | </genEnums> | ||
100 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="TaxationWithRoot.ecore#//Legal_Union_Types"> | ||
101 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Legal_Union_Types/MARIAGE"/> | ||
102 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Legal_Union_Types/PARTNERSHIP"/> | ||
103 | <genEnumLiterals ecoreEnumLiteral="TaxationWithRoot.ecore#//Legal_Union_Types/OTHER"/> | ||
104 | </genEnums> | ||
105 | <genClasses image="false" ecoreClass="TaxationWithRoot.ecore#//Constants"> | ||
106 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMUM_CE_RATE_FOR_CHILD_NOT_BEING_PART_OF_HOUSEHOLD"/> | ||
107 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMUM_CE_RATE_FOR_HOUSE_CARE_AND_CHILD_PART_OF_THE_HOUSEHOLD_CARE"/> | ||
108 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MINIMUM_SALARY"/> | ||
109 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_FOR_EXTRA_PROFESSIONAL_DEDUCTION"/> | ||
110 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMUM_DEDUCTIBLE_PERCENTAGE_FOR_DONATIONS"/> | ||
111 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MINIMUM_DEDUCTIBLE_AMOUNT_FOR_DONATIONS"/> | ||
112 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMUM_DEDUCTIBLE_AMOUNT_FOR_ADDITIONAL_PENSION_AND_INSURANC"/> | ||
113 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMUM_DEDUCTIBLE_AMOUNT_FOR_ALIMONY_EXPENSE"/> | ||
114 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMAL_DISTANCE_FOR_TRAVEL_EXPENSE_DEDUCTION"/> | ||
115 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMAL_FLAT_DISTANCE_FOR_TRAVEL_EXPENSE_DEDUCTION"/> | ||
116 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MINIMAL_DISTANCE_FOR_TRAVEL_EXPENSE_DEDUCTION"/> | ||
117 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIM_DAILY"/> | ||
118 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIM_MONTHLY"/> | ||
119 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIM_YEARLY"/> | ||
120 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIP_DAILY"/> | ||
121 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIP_MONTHLY"/> | ||
122 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIP_YEARLY"/> | ||
123 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIS_DAILY"/> | ||
124 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIS_MONTHLY"/> | ||
125 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_CIS_YEARLY"/> | ||
126 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_FOR_TRAVEL_EXPENSE_PER_UNIT"/> | ||
127 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMUM_DEDUCTIBLE_AMOUNT_FOR_DS"/> | ||
128 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/FLAT_RATE_FOR_MISCELLANEOUS_EXPENSE"/> | ||
129 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/DISABILITY_FLAT_RATE_FOR_MISCELLANEOUS_EXPENSE"/> | ||
130 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Constants/MAXIMUM_DEDUCTIBLE_AMOUNT_FOR_ADDITIONAL_PENSION_AND_INSURANCE"/> | ||
131 | </genClasses> | ||
132 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Income_Tax"> | ||
133 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income_Tax/taxPayer"/> | ||
134 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax/tax_amount"/> | ||
135 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax/tax_year"/> | ||
136 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax/id6"/> | ||
137 | </genClasses> | ||
138 | <genClasses image="false" ecoreClass="TaxationWithRoot.ecore#//Tax_Payer"> | ||
139 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Payer/dependents"/> | ||
140 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Payer/from_agent"/> | ||
141 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Payer/incomes"/> | ||
142 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Payer/from_law"/> | ||
143 | </genClasses> | ||
144 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Physical_Person"> | ||
145 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Physical_Person/SSNo"/> | ||
146 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Physical_Person/addresses"/> | ||
147 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Physical_Person/birth_year"/> | ||
148 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Physical_Person/disability_percentage"/> | ||
149 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Physical_Person/disability_type"/> | ||
150 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Physical_Person/birth_month"/> | ||
151 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Physical_Person/birth_day"/> | ||
152 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Physical_Person/expenses"/> | ||
153 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Physical_Person/is_widower"/> | ||
154 | </genClasses> | ||
155 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Address"> | ||
156 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Address/country"/> | ||
157 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Address/street"/> | ||
158 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Address/zipCode"/> | ||
159 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Address/city"/> | ||
160 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Address/id2"/> | ||
161 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Address/taxPayer"/> | ||
162 | </genClasses> | ||
163 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Expense"> | ||
164 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Expense/declared_amount"/> | ||
165 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Expense/expense_purpose"/> | ||
166 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Expense/dependent"/> | ||
167 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Expense/from_agent"/> | ||
168 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Expense/income"/> | ||
169 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Expense/id4"/> | ||
170 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Expense/beneficiary"/> | ||
171 | </genClasses> | ||
172 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Dependent"> | ||
173 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Dependent/dependent_type"/> | ||
174 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Dependent/responsible_person"/> | ||
175 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Dependent/continued_studies"/> | ||
176 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Dependent/allowances"/> | ||
177 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Dependent/household"/> | ||
178 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Dependent/from_agent"/> | ||
179 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Dependent/expense"/> | ||
180 | </genClasses> | ||
181 | <genClasses ecoreClass="TaxationWithRoot.ecore#//External_Allowance"> | ||
182 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//External_Allowance/grantor"/> | ||
183 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//External_Allowance/starting_year"/> | ||
184 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//External_Allowance/ending_year"/> | ||
185 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//External_Allowance/reciver"/> | ||
186 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//External_Allowance/id5"/> | ||
187 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//External_Allowance/person"/> | ||
188 | </genClasses> | ||
189 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Household"> | ||
190 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Household/parents"/> | ||
191 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Household/id1"/> | ||
192 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Household/children"/> | ||
193 | </genClasses> | ||
194 | <genClasses image="false" ecoreClass="TaxationWithRoot.ecore#//Legal_Union_Record"> | ||
195 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Legal_Union_Record/start_year"/> | ||
196 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Legal_Union_Record/end_year"/> | ||
197 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Legal_Union_Record/separation_cause"/> | ||
198 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Legal_Union_Record/individual_A"/> | ||
199 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Legal_Union_Record/individual_B"/> | ||
200 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Legal_Union_Record/properties"/> | ||
201 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Legal_Union_Record/mutual_agreement"/> | ||
202 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Legal_Union_Record/id9"/> | ||
203 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Legal_Union_Record/household"/> | ||
204 | </genClasses> | ||
205 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Tax_Property"> | ||
206 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Property/starting_year"/> | ||
207 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Property/id10"/> | ||
208 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Property/union_record"/> | ||
209 | </genClasses> | ||
210 | <genClasses image="false" ecoreClass="TaxationWithRoot.ecore#//Tax_Case"/> | ||
211 | <genClasses ecoreClass="TaxationWithRoot.ecore#//FromAgent"> | ||
212 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//FromAgent/taxPayer"/> | ||
213 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//FromAgent/is_dependent_eligible_for_CE_Not_In_Houshold_Children_Care"/> | ||
214 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//FromAgent/expense"/> | ||
215 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//FromAgent/is_eligible_debt"/> | ||
216 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//FromAgent/dependent"/> | ||
217 | </genClasses> | ||
218 | <genClasses image="false" ecoreClass="TaxationWithRoot.ecore#//Income"> | ||
219 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income/income_amount"/> | ||
220 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income/income_type"/> | ||
221 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income/tax_card"/> | ||
222 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income/tax_liability"/> | ||
223 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income/taxPayer"/> | ||
224 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income/details"/> | ||
225 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income/num"/> | ||
226 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income/expenses"/> | ||
227 | </genClasses> | ||
228 | <genClasses image="false" ecoreClass="TaxationWithRoot.ecore#//Income_Type"> | ||
229 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Type/id8"/> | ||
230 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income_Type/income"/> | ||
231 | </genClasses> | ||
232 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Tax_Card"> | ||
233 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/card_identifier"/> | ||
234 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/tax_office"/> | ||
235 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/percentage_of_witholding"/> | ||
236 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/tax_payers_name_surname"/> | ||
237 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/tax_payers_partner_name_surname"/> | ||
238 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Card/tax_payers_address"/> | ||
239 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/jobs_Employer_SSNo"/> | ||
240 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/jobs_employers_name"/> | ||
241 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/jobs_activity_type"/> | ||
242 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/jobs_place_of_work"/> | ||
243 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_FD_daily"/> | ||
244 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_FD_monthly"/> | ||
245 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_AC_daily"/> | ||
246 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_AC_monthly"/> | ||
247 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_AC_yearly"/> | ||
248 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_CE_daily"/> | ||
249 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_CE_monthly"/> | ||
250 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_CE_yearly"/> | ||
251 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_DS_daily"/> | ||
252 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_DS_monthly"/> | ||
253 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_FO_daily"/> | ||
254 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_FO_monthly"/> | ||
255 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_FO_yearly"/> | ||
256 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/credit_CIS_daily"/> | ||
257 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/credit_CIS_monthly"/> | ||
258 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/credit_CIM_daily"/> | ||
259 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/validity"/> | ||
260 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Card/income_Tax_Credit"/> | ||
261 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Card/previous"/> | ||
262 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Card/current_tax_card"/> | ||
263 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/credit_CIM_yearly"/> | ||
264 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_DS_Alimony_yearly"/> | ||
265 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Tax_Card/deduction_DS_Debt_yearly"/> | ||
266 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Tax_Card/income"/> | ||
267 | </genClasses> | ||
268 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Income_Tax_Credit"> | ||
269 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax_Credit/grantedBy"/> | ||
270 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income_Tax_Credit/taxPayer"/> | ||
271 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax_Credit/tax_year"/> | ||
272 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax_Credit/yearly"/> | ||
273 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax_Credit/monthly"/> | ||
274 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax_Credit/daily"/> | ||
275 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Tax_Credit/id7"/> | ||
276 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income_Tax_Credit/taxation_Frame"/> | ||
277 | </genClasses> | ||
278 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Income_Detail"> | ||
279 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Detail/amount"/> | ||
280 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Detail/is_worked"/> | ||
281 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Detail/distance"/> | ||
282 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Detail/worked_days"/> | ||
283 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Detail/is_contributing_CNS"/> | ||
284 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Income_Detail/id5"/> | ||
285 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Income_Detail/income"/> | ||
286 | </genClasses> | ||
287 | <genClasses ecoreClass="TaxationWithRoot.ecore#//FromLaw"> | ||
288 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//FromLaw/id"/> | ||
289 | <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//FromLaw/taxPayer"/> | ||
290 | </genClasses> | ||
291 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Fiscal_Address"/> | ||
292 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Habitual_Address"/> | ||
293 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Marriage_Record"/> | ||
294 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Non_Resident_Tax_Payer"> | ||
295 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Non_Resident_Tax_Payer/is_assimilated_to_resident"/> | ||
296 | </genClasses> | ||
297 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Partnership_Record"/> | ||
298 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Resident_Tax_Payer"/> | ||
299 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Trade_and_Business_Income"/> | ||
300 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Agriculture_and_Forestry_Income"/> | ||
301 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Pensions_and_Annuities_Income"> | ||
302 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Pensions_and_Annuities_Income/occasional_payement"/> | ||
303 | </genClasses> | ||
304 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Capital_and_Investments_Income"/> | ||
305 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Employment_Income"/> | ||
306 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Rentals_and_Leases_Income"> | ||
307 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Rentals_and_Leases_Income/is_periodic"/> | ||
308 | </genClasses> | ||
309 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Foreign_Income"/> | ||
310 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Local_Income"/> | ||
311 | <genClasses ecoreClass="TaxationWithRoot.ecore#//CIM"/> | ||
312 | <genClasses ecoreClass="TaxationWithRoot.ecore#//CIP"/> | ||
313 | <genClasses ecoreClass="TaxationWithRoot.ecore#//CIS"/> | ||
314 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Permanent_Expense"> | ||
315 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Permanent_Expense/category"/> | ||
316 | </genClasses> | ||
317 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Special_Expense_DS"/> | ||
318 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Interest_Expense"/> | ||
319 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Private_Insurance_and_Plan"> | ||
320 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Private_Insurance_and_Plan/category"/> | ||
321 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Private_Insurance_and_Plan/duration_of_contract"/> | ||
322 | </genClasses> | ||
323 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Health_and_Pension_Insurance"> | ||
324 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Health_and_Pension_Insurance/category"/> | ||
325 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Health_and_Pension_Insurance/is_related_to_additional_salary"/> | ||
326 | </genClasses> | ||
327 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Donation"> | ||
328 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Donation/beneficiary1"/> | ||
329 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Donation/is_donation_reported"/> | ||
330 | </genClasses> | ||
331 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Loss_Carryforward"/> | ||
332 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Spousal_Expense_AC"/> | ||
333 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Extraordinary_Expense_CE"> | ||
334 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Extraordinary_Expense_CE/thresholded_deduction_percentage"/> | ||
335 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute TaxationWithRoot.ecore#//Extraordinary_Expense_CE/ce_type"/> | ||
336 | </genClasses> | ||
337 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Travel_Expense_FD"/> | ||
338 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Professional_Expense"/> | ||
339 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Miscellaneous_Expense_FO"/> | ||
340 | <genClasses ecoreClass="TaxationWithRoot.ecore#//Resource"> | ||
341 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference TaxationWithRoot.ecore#//Resource/contains"/> | ||
342 | </genClasses> | ||
343 | </genPackages> | ||
344 | </genmodel:GenModel> | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/familytree.ecore b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/familytree.ecore new file mode 100644 index 00000000..128e5c63 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/familytree.ecore | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="familytree" nsURI="http://www.example.org/familytree" nsPrefix="familytree"> | ||
4 | <eClassifiers xsi:type="ecore:EClass" name="FamilyTree"> | ||
5 | <eStructuralFeatures xsi:type="ecore:EReference" name="members" upperBound="-1" | ||
6 | eType="#//Member" containment="true"/> | ||
7 | </eClassifiers> | ||
8 | <eClassifiers xsi:type="ecore:EClass" name="Member"> | ||
9 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
10 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="age" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" | ||
11 | defaultValueLiteral="0"/> | ||
12 | <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" | ||
13 | eType="#//Member" eOpposite="#//Member/parents"/> | ||
14 | <eStructuralFeatures xsi:type="ecore:EReference" name="parents" upperBound="2" | ||
15 | eType="#//Member" eOpposite="#//Member/children"/> | ||
16 | </eClassifiers> | ||
17 | </ecore:EPackage> | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/familytree.genmodel b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/familytree.genmodel new file mode 100644 index 00000000..e3c59b05 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/familytree.genmodel | |||
@@ -0,0 +1,19 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | ||
3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/models20.diversity-calculator/src" modelPluginID="models20.diversity-calculator" | ||
4 | modelName="Familytree" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" | ||
5 | importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" copyrightFields="false" | ||
6 | operationReflection="true" importOrganizing="true"> | ||
7 | <foreignModel>familytree.ecore</foreignModel> | ||
8 | <genPackages prefix="Familytree" disposableProviderFactory="true" ecorePackage="familytree.ecore#/"> | ||
9 | <genClasses ecoreClass="familytree.ecore#//FamilyTree"> | ||
10 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference familytree.ecore#//FamilyTree/members"/> | ||
11 | </genClasses> | ||
12 | <genClasses ecoreClass="familytree.ecore#//Member"> | ||
13 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute familytree.ecore#//Member/name"/> | ||
14 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute familytree.ecore#//Member/age"/> | ||
15 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference familytree.ecore#//Member/children"/> | ||
16 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference familytree.ecore#//Member/parents"/> | ||
17 | </genClasses> | ||
18 | </genPackages> | ||
19 | </genmodel:GenModel> | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/satellite.ecore b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/satellite.ecore new file mode 100644 index 00000000..6595c0a8 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/satellite.ecore | |||
@@ -0,0 +1,39 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="satellite" nsURI="http://www.example.org/satellite" nsPrefix="satellite"> | ||
4 | <eClassifiers xsi:type="ecore:EClass" name="ConstellationMission" abstract="true"> | ||
5 | <eStructuralFeatures xsi:type="ecore:EReference" name="groundStationNetwork" lowerBound="1" | ||
6 | eType="#//GroundStationNetwork" containment="true"/> | ||
7 | <eStructuralFeatures xsi:type="ecore:EReference" name="spacecraft" lowerBound="2" | ||
8 | upperBound="-1" eType="#//Spacecraft" containment="true"/> | ||
9 | </eClassifiers> | ||
10 | <eClassifiers xsi:type="ecore:EClass" name="InterferometryMission" eSuperTypes="#//ConstellationMission"> | ||
11 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="observationTime" lowerBound="1" | ||
12 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
13 | </eClassifiers> | ||
14 | <eClassifiers xsi:type="ecore:EClass" name="CommunicatingElement" abstract="true"> | ||
15 | <eStructuralFeatures xsi:type="ecore:EReference" name="commSubsystem" lowerBound="1" | ||
16 | upperBound="2" eType="#//CommSubsystem" containment="true"/> | ||
17 | </eClassifiers> | ||
18 | <eClassifiers xsi:type="ecore:EClass" name="GroundStationNetwork" eSuperTypes="#//CommunicatingElement"/> | ||
19 | <eClassifiers xsi:type="ecore:EClass" name="Spacecraft" abstract="true" eSuperTypes="#//CommunicatingElement"> | ||
20 | <eStructuralFeatures xsi:type="ecore:EReference" name="payload" eType="#//Payload" | ||
21 | containment="true"/> | ||
22 | </eClassifiers> | ||
23 | <eClassifiers xsi:type="ecore:EClass" name="CommSubsystem" abstract="true"> | ||
24 | <eStructuralFeatures xsi:type="ecore:EReference" name="target" eType="#//CommSubsystem"/> | ||
25 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="frequency" lowerBound="1" | ||
26 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
27 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="pathLength" lowerBound="1" | ||
28 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
29 | </eClassifiers> | ||
30 | <eClassifiers xsi:type="ecore:EClass" name="Payload" abstract="true"/> | ||
31 | <eClassifiers xsi:type="ecore:EClass" name="InterferometryPayload" eSuperTypes="#//Payload"/> | ||
32 | <eClassifiers xsi:type="ecore:EClass" name="CubeSat3U" eSuperTypes="#//CubeSat"/> | ||
33 | <eClassifiers xsi:type="ecore:EClass" name="CubeSat6U" eSuperTypes="#//CubeSat"/> | ||
34 | <eClassifiers xsi:type="ecore:EClass" name="SmallSat" eSuperTypes="#//Spacecraft"/> | ||
35 | <eClassifiers xsi:type="ecore:EClass" name="CubeSat" abstract="true" eSuperTypes="#//Spacecraft"/> | ||
36 | <eClassifiers xsi:type="ecore:EClass" name="UHFCommSubsystem" eSuperTypes="#//CommSubsystem"/> | ||
37 | <eClassifiers xsi:type="ecore:EClass" name="XCommSubsystem" eSuperTypes="#//CommSubsystem"/> | ||
38 | <eClassifiers xsi:type="ecore:EClass" name="KaCommSubsystem" eSuperTypes="#//CommSubsystem"/> | ||
39 | </ecore:EPackage> | ||
diff --git a/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/satellite.genmodel b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/satellite.genmodel new file mode 100644 index 00000000..61fa45ac --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/models20.diversity-calculator/model/satellite.genmodel | |||
@@ -0,0 +1,38 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | ||
3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/models20.diversity-calculator/src" modelPluginID="models20.diversity-calculator" | ||
4 | modelName="Satellite" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" | ||
5 | importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" copyrightFields="false" | ||
6 | operationReflection="true" importOrganizing="true"> | ||
7 | <foreignModel>satellite.ecore</foreignModel> | ||
8 | <genPackages prefix="Satellite" disposableProviderFactory="true" ecorePackage="satellite.ecore#/"> | ||
9 | <genClasses image="false" ecoreClass="satellite.ecore#//ConstellationMission"> | ||
10 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference satellite.ecore#//ConstellationMission/groundStationNetwork"/> | ||
11 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference satellite.ecore#//ConstellationMission/spacecraft"/> | ||
12 | </genClasses> | ||
13 | <genClasses ecoreClass="satellite.ecore#//InterferometryMission"> | ||
14 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute satellite.ecore#//InterferometryMission/observationTime"/> | ||
15 | </genClasses> | ||
16 | <genClasses image="false" ecoreClass="satellite.ecore#//CommunicatingElement"> | ||
17 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference satellite.ecore#//CommunicatingElement/commSubsystem"/> | ||
18 | </genClasses> | ||
19 | <genClasses ecoreClass="satellite.ecore#//GroundStationNetwork"/> | ||
20 | <genClasses image="false" ecoreClass="satellite.ecore#//Spacecraft"> | ||
21 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference satellite.ecore#//Spacecraft/payload"/> | ||
22 | </genClasses> | ||
23 | <genClasses image="false" ecoreClass="satellite.ecore#//CommSubsystem"> | ||
24 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference satellite.ecore#//CommSubsystem/target"/> | ||
25 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute satellite.ecore#//CommSubsystem/frequency"/> | ||
26 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute satellite.ecore#//CommSubsystem/pathLength"/> | ||
27 | </genClasses> | ||
28 | <genClasses image="false" ecoreClass="satellite.ecore#//Payload"/> | ||
29 | <genClasses ecoreClass="satellite.ecore#//InterferometryPayload"/> | ||
30 | <genClasses ecoreClass="satellite.ecore#//CubeSat3U"/> | ||
31 | <genClasses ecoreClass="satellite.ecore#//CubeSat6U"/> | ||
32 | <genClasses ecoreClass="satellite.ecore#//SmallSat"/> | ||
33 | <genClasses image="false" ecoreClass="satellite.ecore#//CubeSat"/> | ||
34 | <genClasses ecoreClass="satellite.ecore#//UHFCommSubsystem"/> | ||
35 | <genClasses ecoreClass="satellite.ecore#//XCommSubsystem"/> | ||
36 | <genClasses ecoreClass="satellite.ecore#//KaCommSubsystem"/> | ||
37 | </genPackages> | ||
38 | </genmodel:GenModel> | ||