aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore
diff options
context:
space:
mode:
authorLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-04-26 18:23:13 -0400
committerLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-04-26 18:23:13 -0400
commitc0a758eedd457a5d8eb9f1a6c17fc24143aabb3e (patch)
tree0c2e212e4e95c1d2311629128641d5cd561210f3 /Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore
parentMerge branch 'Attribute-Solver' (diff)
downloadVIATRA-Generator-c0a758eedd457a5d8eb9f1a6c17fc24143aabb3e.tar.gz
VIATRA-Generator-c0a758eedd457a5d8eb9f1a6c17fc24143aabb3e.tar.zst
VIATRA-Generator-c0a758eedd457a5d8eb9f1a6c17fc24143aabb3e.zip
Add PLEDGE case study files
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore')
-rw-r--r--Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore651
1 files changed, 651 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore
new file mode 100644
index 00000000..a1b9acd5
--- /dev/null
+++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.model/model/Taxation.ecore
@@ -0,0 +1,651 @@
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="Taxation" nsURI="http:///TaxCard.ecore" nsPrefix="TaxCard">
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_Card_Type">
100 <eLiterals name="Principal" literal="Principal"/>
101 <eLiterals name="Additional" value="1" literal="Additional"/>
102 </eClassifiers>
103 <eClassifiers xsi:type="ecore:EEnum" name="Tax_Office">
104 <eLiterals name="RTS_2" literal="RTS_2"/>
105 <eLiterals name="RTS_3" value="1" literal="RTS_3"/>
106 <eLiterals name="RTS_4" value="2" literal="RTS_4"/>
107 <eLiterals name="RTS_5" value="3" literal="RTS_5"/>
108 </eClassifiers>
109 <eClassifiers xsi:type="ecore:EEnum" name="Tax_Class_Category">
110 <eLiterals name="One" literal="One"/>
111 <eLiterals name="One_A" value="1" literal="One_A"/>
112 <eLiterals name="Two" value="2" literal="Two"/>
113 </eClassifiers>
114 <eClassifiers xsi:type="ecore:EEnum" name="Job_Activity">
115 <eLiterals name="Salary" literal="Salary"/>
116 <eLiterals name="Pension" value="1" literal="Pension"/>
117 <eLiterals name="Annuity" value="2" literal="Annuity"/>
118 </eClassifiers>
119 <eClassifiers xsi:type="ecore:EEnum" name="Town">
120 <eLiterals name="LL" literal="LL"/>
121 <eLiterals name="BB" value="1" literal="BB"/>
122 <eLiterals name="SS" value="2" literal="SS"/>
123 <eLiterals name="TT" value="3" literal="TT"/>
124 <eLiterals name="Other" value="4" literal="Other"/>
125 </eClassifiers>
126 <eClassifiers xsi:type="ecore:EEnum" name="Type_of_Rate">
127 <eLiterals name="REGULAR" literal="REGULAR"/>
128 <eLiterals name="REAL_COST" value="1" literal="REAL_COST"/>
129 </eClassifiers>
130 <eClassifiers xsi:type="ecore:EEnum" name="CE_Type">
131 <eLiterals name="INALIDITY_AND_INFIRMITY" literal="INALIDITY_AND_INFIRMITY"/>
132 <eLiterals name="DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD"
133 value="1" literal="DEPENDENCE_AND_CARE_EXCLUDING_CHLIDREN_NOT_PART_OF_HOUSEHOLD"/>
134 <eLiterals name="CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD" value="2" literal="CARE_FOR_CHILDREN_NOT_BEING_PART_OF_HOUSEHOLD"/>
135 </eClassifiers>
136 <eClassifiers xsi:type="ecore:EEnum" name="Expense_Purpose">
137 <eLiterals name="HOUSE_CARE" literal="HOUSE_CARE"/>
138 <eLiterals name="CHILD_CARE" value="1" literal="CHILD_CARE"/>
139 <eLiterals name="DEPENDENCE_CARE" value="2" literal="DEPENDENCE_CARE"/>
140 <eLiterals name="OTHER" value="3" literal="OTHER"/>
141 <eLiterals name="ALIMONY" value="4"/>
142 <eLiterals name="RECURRENT_DEPT" value="5"/>
143 </eClassifiers>
144 <eClassifiers xsi:type="ecore:EEnum" name="Dependent_Type">
145 <eLiterals name="CHILD" literal="CHILD"/>
146 <eLiterals name="SPOUSE" value="1" literal="SPOUSE"/>
147 <eLiterals name="RELATIVE" value="2" literal="RELATIVE"/>
148 <eLiterals name="OTHER_FAMILY_MEMBER" value="3" literal="OTHER_FAMILY_MEMBER"/>
149 <eLiterals name="NOT_OWN_CHILD" value="4"/>
150 </eClassifiers>
151 <eClassifiers xsi:type="ecore:EClass" name="Income_Tax">
152 <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" lowerBound="1"
153 eType="#//Tax_Payer"/>
154 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_amount" lowerBound="1"
155 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
156 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_year" lowerBound="1"
157 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
158 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id6" ordered="false" lowerBound="1"
159 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
160 </eClassifiers>
161 <eClassifiers xsi:type="ecore:EClass" name="Tax_Payer" abstract="true" eSuperTypes="#//Physical_Person #//Tax_Case">
162 <eAnnotations source="duplicates">
163 <contents xsi:type="ecore:EReference" name="expenses" ordered="false" upperBound="-1"
164 eType="#//Expense" containment="true">
165 <eAnnotations source="redefines" references="#//Physical_Person/expenses"/>
166 </contents>
167 </eAnnotations>
168 <eStructuralFeatures xsi:type="ecore:EReference" name="dependents" ordered="false"
169 upperBound="6" eType="#//Dependent" containment="true" eOpposite="#//Dependent/responsible_person"/>
170 <eStructuralFeatures xsi:type="ecore:EReference" name="from_agent" lowerBound="1"
171 eType="#//FromAgent" containment="true" eOpposite="#//FromAgent/taxPayer"/>
172 <eStructuralFeatures xsi:type="ecore:EReference" name="incomes" ordered="false"
173 lowerBound="1" upperBound="-1" eType="#//Income" containment="true" eOpposite="#//Income/taxPayer"/>
174 <eStructuralFeatures xsi:type="ecore:EReference" name="from_law" lowerBound="1"
175 eType="#//FromLaw" containment="true" eOpposite="#//FromLaw/taxPayer"/>
176 <eStructuralFeatures xsi:type="ecore:EAttribute" name="taxesDue" ordered="false"
177 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
178 </eClassifiers>
179 <eClassifiers xsi:type="ecore:EClass" name="Physical_Person">
180 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_assisting_spouse" lowerBound="1"
181 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" derived="true"/>
182 <eStructuralFeatures xsi:type="ecore:EAttribute" name="SSNo" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
183 iD="true"/>
184 <eStructuralFeatures xsi:type="ecore:EReference" name="addresses" ordered="false"
185 upperBound="-1" eType="#//Address" eOpposite="#//Address/taxPayer"/>
186 <eStructuralFeatures xsi:type="ecore:EAttribute" name="birth_year" ordered="false"
187 unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
188 <eStructuralFeatures xsi:type="ecore:EAttribute" name="disability_percentage"
189 ordered="false" unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
190 <eStructuralFeatures xsi:type="ecore:EAttribute" name="disability_type" ordered="false"
191 unique="false" lowerBound="1" eType="#//Disability_Types"/>
192 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_affiliated_personnaly_to_social_security"
193 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
194 derived="true"/>
195 <eStructuralFeatures xsi:type="ecore:EAttribute" name="birth_month" ordered="false"
196 unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
197 <eStructuralFeatures xsi:type="ecore:EAttribute" name="birth_day" ordered="false"
198 unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
199 <eStructuralFeatures xsi:type="ecore:EReference" name="expenses" ordered="false"
200 upperBound="-1" eType="#//Expense" eOpposite="#//Expense/beneficiary"/>
201 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_widower" ordered="false"
202 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
203 </eClassifiers>
204 <eClassifiers xsi:type="ecore:EClass" name="Address">
205 <eStructuralFeatures xsi:type="ecore:EAttribute" name="country" lowerBound="1"
206 eType="#//Country" defaultValueLiteral="ZZ"/>
207 <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" lowerBound="1"
208 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
209 <eStructuralFeatures xsi:type="ecore:EAttribute" name="zipCode" lowerBound="1"
210 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
211 <eStructuralFeatures xsi:type="ecore:EAttribute" name="city" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
212 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id2" ordered="false" lowerBound="1"
213 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
214 <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" ordered="false"
215 upperBound="-1" eType="#//Physical_Person" eOpposite="#//Physical_Person/addresses"/>
216 </eClassifiers>
217 <eClassifiers xsi:type="ecore:EClass" name="Expense">
218 <eStructuralFeatures xsi:type="ecore:EAttribute" name="declared_amount" lowerBound="1"
219 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
220 <eStructuralFeatures xsi:type="ecore:EAttribute" name="expense_purpose" lowerBound="1"
221 eType="#//Expense_Purpose" defaultValueLiteral="OTHER"/>
222 <eStructuralFeatures xsi:type="ecore:EReference" name="dependent" eType="#//Dependent"
223 eOpposite="#//Dependent/expense"/>
224 <eStructuralFeatures xsi:type="ecore:EReference" name="from_agent" ordered="false"
225 eType="#//FromAgent" eOpposite="#//FromAgent/expense"/>
226 <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1"
227 eType="#//Income" eOpposite="#//Income/expenses"/>
228 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id4" ordered="false" lowerBound="1"
229 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
230 <eStructuralFeatures xsi:type="ecore:EReference" name="beneficiary" ordered="false"
231 eType="#//Physical_Person" eOpposite="#//Physical_Person/expenses"/>
232 </eClassifiers>
233 <eClassifiers xsi:type="ecore:EClass" name="Dependent" eSuperTypes="#//Physical_Person">
234 <eStructuralFeatures xsi:type="ecore:EAttribute" name="dependent_type" lowerBound="1"
235 eType="#//Dependent_Type"/>
236 <eStructuralFeatures xsi:type="ecore:EReference" name="responsible_person" eType="#//Tax_Payer"
237 eOpposite="#//Tax_Payer/dependents"/>
238 <eStructuralFeatures xsi:type="ecore:EAttribute" name="continued_studies" lowerBound="1"
239 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="false"/>
240 <eStructuralFeatures xsi:type="ecore:EReference" name="allowances" ordered="false"
241 eType="#//External_Allowance" containment="true" eOpposite="#//External_Allowance/person"/>
242 <eStructuralFeatures xsi:type="ecore:EReference" name="household" ordered="false"
243 eType="#//Household" eOpposite="#//Household/children"/>
244 <eStructuralFeatures xsi:type="ecore:EReference" name="from_agent" ordered="false"
245 eType="#//FromAgent" eOpposite="#//FromAgent/dependent"/>
246 <eStructuralFeatures xsi:type="ecore:EReference" name="expense" ordered="false"
247 upperBound="-1" eType="#//Expense" eOpposite="#//Expense/dependent"/>
248 </eClassifiers>
249 <eClassifiers xsi:type="ecore:EClass" name="External_Allowance">
250 <eStructuralFeatures xsi:type="ecore:EAttribute" name="amount" lowerBound="1"
251 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
252 <eStructuralFeatures xsi:type="ecore:EAttribute" name="grantor" lowerBound="1"
253 eType="#//Grantor"/>
254 <eStructuralFeatures xsi:type="ecore:EAttribute" name="starting_year" ordered="false"
255 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
256 <eStructuralFeatures xsi:type="ecore:EAttribute" name="ending_year" ordered="false"
257 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
258 <eStructuralFeatures xsi:type="ecore:EReference" name="reciver" ordered="false"
259 lowerBound="1" eType="#//Physical_Person"/>
260 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id5" ordered="false" lowerBound="1"
261 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
262 <eStructuralFeatures xsi:type="ecore:EReference" name="person" ordered="false"
263 lowerBound="1" eType="#//Dependent" eOpposite="#//Dependent/allowances"/>
264 </eClassifiers>
265 <eClassifiers xsi:type="ecore:EClass" name="Household" eSuperTypes="#//Tax_Case">
266 <eStructuralFeatures xsi:type="ecore:EReference" name="parents" ordered="false"
267 lowerBound="1" eType="#//Legal_Union_Record" containment="true" eOpposite="#//Legal_Union_Record/household"/>
268 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id1" ordered="false" lowerBound="1"
269 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
270 <eStructuralFeatures xsi:type="ecore:EReference" name="children" ordered="false"
271 upperBound="-1" eType="#//Dependent" containment="true" eOpposite="#//Dependent/household"/>
272 </eClassifiers>
273 <eClassifiers xsi:type="ecore:EClass" name="Legal_Union_Record" abstract="true">
274 <eStructuralFeatures xsi:type="ecore:EAttribute" name="start_year" lowerBound="1"
275 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
276 <eStructuralFeatures xsi:type="ecore:EAttribute" name="end_year" lowerBound="1"
277 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
278 <eStructuralFeatures xsi:type="ecore:EAttribute" name="separation_cause" ordered="false"
279 lowerBound="1" eType="#//Separation_Causes"/>
280 <eStructuralFeatures xsi:type="ecore:EReference" name="individual_A" ordered="false"
281 lowerBound="1" eType="#//Physical_Person" containment="true">
282 <eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName">
283 <details key="body" value="legal_union_A"/>
284 </eAnnotations>
285 </eStructuralFeatures>
286 <eStructuralFeatures xsi:type="ecore:EReference" name="individual_B" ordered="false"
287 lowerBound="1" upperBound="-1" eType="#//Physical_Person" containment="true">
288 <eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName">
289 <details key="body" value="legal_union_B"/>
290 </eAnnotations>
291 </eStructuralFeatures>
292 <eStructuralFeatures xsi:type="ecore:EReference" name="properties" ordered="false"
293 lowerBound="1" upperBound="-1" eType="#//Tax_Property" containment="true"
294 eOpposite="#//Tax_Property/union_record"/>
295 <eStructuralFeatures xsi:type="ecore:EAttribute" name="mutual_agreement" ordered="false"
296 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
297 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id9" ordered="false" lowerBound="1"
298 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
299 <eStructuralFeatures xsi:type="ecore:EReference" name="household" ordered="false"
300 lowerBound="1" eType="#//Household" eOpposite="#//Household/parents"/>
301 </eClassifiers>
302 <eClassifiers xsi:type="ecore:EEnum" name="Separation_Causes">
303 <eLiterals name="NONE"/>
304 <eLiterals name="DIVORCE" value="1"/>
305 <eLiterals name="SEPARATION_DE_FAIT" value="2"/>
306 <eLiterals name="SEPARATION_BY_COURT" value="3"/>
307 </eClassifiers>
308 <eClassifiers xsi:type="ecore:EClass" name="Tax_Property">
309 <eStructuralFeatures xsi:type="ecore:EAttribute" name="starting_year" ordered="false"
310 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
311 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id10" ordered="false" lowerBound="1"
312 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
313 <eStructuralFeatures xsi:type="ecore:EReference" name="union_record" ordered="false"
314 lowerBound="1" eType="#//Legal_Union_Record" eOpposite="#//Legal_Union_Record/properties"/>
315 </eClassifiers>
316 <eClassifiers xsi:type="ecore:EClass" name="Tax_Case" abstract="true" interface="true"/>
317 <eClassifiers xsi:type="ecore:EClass" name="FromAgent">
318 <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" lowerBound="1"
319 eType="#//Tax_Payer" eOpposite="#//Tax_Payer/from_agent"/>
320 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_dependent_eligible_for_CE_Not_In_Houshold_Children_Care"
321 ordered="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
322 <eStructuralFeatures xsi:type="ecore:EReference" name="expense" ordered="false"
323 eType="#//Expense" eOpposite="#//Expense/from_agent"/>
324 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_eligible_debt" ordered="false"
325 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
326 <eStructuralFeatures xsi:type="ecore:EReference" name="dependent" ordered="false"
327 eType="#//Dependent" eOpposite="#//Dependent/from_agent"/>
328 </eClassifiers>
329 <eClassifiers xsi:type="ecore:EClass" name="Income" abstract="true">
330 <eStructuralFeatures xsi:type="ecore:EAttribute" name="income_amount" ordered="false"
331 unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble">
332 <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
333 <details key="derivation" value="let non_null_amounts:OrderedSet(Income_Detail)=self.details->select(det:Income_Detail|det.amount>0)->asOrderedSet() in&#xA;non_null_amounts->collect(amount)->min()"/>
334 </eAnnotations>
335 </eStructuralFeatures>
336 <eStructuralFeatures xsi:type="ecore:EReference" name="income_type" lowerBound="1"
337 eType="#//Income_Type" containment="true" eOpposite="#//Income_Type/income"/>
338 <eStructuralFeatures xsi:type="ecore:EAttribute" name="start_date_within_taxation_year"
339 ordered="false" unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
340 <eStructuralFeatures xsi:type="ecore:EAttribute" name="start_date_of_contract"
341 ordered="false" unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
342 <eStructuralFeatures xsi:type="ecore:EAttribute" name="end_date_within_taxation_year"
343 ordered="false" unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
344 <eStructuralFeatures xsi:type="ecore:EReference" name="tax_card" eType="#//Tax_Card"
345 containment="true" eOpposite="#//Tax_Card/income"/>
346 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_liability" lowerBound="1"
347 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
348 <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" ordered="false"
349 lowerBound="1" eType="#//Tax_Payer" eOpposite="#//Tax_Payer/incomes"/>
350 <eStructuralFeatures xsi:type="ecore:EReference" name="details" lowerBound="12"
351 upperBound="12" eType="#//Income_Detail" containment="true" eOpposite="#//Income_Detail/income"/>
352 <eStructuralFeatures xsi:type="ecore:EAttribute" name="num" ordered="false" lowerBound="1"
353 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" iD="true"/>
354 <eStructuralFeatures xsi:type="ecore:EReference" name="expenses" ordered="false"
355 upperBound="-1" eType="#//Expense" containment="true" eOpposite="#//Expense/income"/>
356 </eClassifiers>
357 <eClassifiers xsi:type="ecore:EClass" name="Income_Type" abstract="true">
358 <eStructuralFeatures xsi:type="ecore:EAttribute" name="subjectToWithholdingTax"
359 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
360 derived="true">
361 <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
362 <details key="derivation" value="&#xA;&#x9;&#x9;&#x9;&#x9;self.income.tax_card->notEmpty()&#xA;&#x9;&#x9;&#x9;&#x9;"/>
363 </eAnnotations>
364 </eStructuralFeatures>
365 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id8" ordered="false" lowerBound="1"
366 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
367 <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1"
368 eType="#//Income" eOpposite="#//Income/income_type"/>
369 </eClassifiers>
370 <eClassifiers xsi:type="ecore:EClass" name="Tax_Card">
371 <eStructuralFeatures xsi:type="ecore:EAttribute" name="card_identifier" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
372 iD="true"/>
373 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_card_type" lowerBound="1"
374 eType="#//Tax_Card_Type" derived="true">
375 <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
376 <details key="derivation" value="if(self.income.taxPayer.incomes->size()=1) then &#xA;Tax_Card_Type::Principal&#xA;&#x9;else&#xA;&#x9;&#x9;let all_incomes:OrderedSet(Income)=self.income.taxPayer.incomes->select(inc:Income| inc.income_amount= self.income.taxPayer.incomes.income_amount->max())->asOrderedSet() in&#xA;&#x9;&#x9;let bigest_income:Income= all_incomes->first() in&#xA;&#x9;&#x9;&#x9; if(bigest_income=self.income) then&#xA;&#x9;&#x9;&#x9; &#x9; Tax_Card_Type::Principal&#xA;&#x9;&#x9;&#x9; else&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;Tax_Card_Type::Additional&#xA;&#x9;&#x9;&#x9;&#x9;endif&#xA;endif&#xA;&#x9;&#x9;&#x9;&#x9;"/>
377 </eAnnotations>
378 </eStructuralFeatures>
379 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_office" lowerBound="1"
380 eType="#//Tax_Office"/>
381 <eStructuralFeatures xsi:type="ecore:EAttribute" name="valid_from_date" ordered="false"
382 unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
383 <eStructuralFeatures xsi:type="ecore:EAttribute" name="valid_until_date" ordered="false"
384 unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
385 <eStructuralFeatures xsi:type="ecore:EAttribute" name="percentage_of_witholding"
386 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
387 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payers_name_surname"
388 ordered="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
389 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payers_partner_name_surname"
390 ordered="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
391 <eStructuralFeatures xsi:type="ecore:EReference" name="tax_payers_address" eType="#//Address"/>
392 <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_Employer_SSNo" ordered="false"
393 unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
394 <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_employers_name" ordered="false"
395 unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
396 <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_activity_type" lowerBound="1"
397 eType="#//Job_Activity"/>
398 <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_place_of_work" lowerBound="1"
399 eType="#//Town"/>
400 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FD_daily" ordered="false"
401 unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
402 defaultValueLiteral="0.0"/>
403 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FD_monthly" ordered="false"
404 unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
405 defaultValueLiteral="0.0"/>
406 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_daily" unique="false"
407 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
408 defaultValueLiteral="0.0"/>
409 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_monthly" unique="false"
410 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
411 defaultValueLiteral="0.0"/>
412 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_yearly" unique="false"
413 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
414 defaultValueLiteral="0.0"/>
415 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_daily" unique="false"
416 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
417 defaultValueLiteral="0.0"/>
418 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_monthly" unique="false"
419 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
420 defaultValueLiteral="0.0"/>
421 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_yearly" unique="false"
422 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
423 defaultValueLiteral="0.0"/>
424 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_daily" unique="false"
425 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
426 defaultValueLiteral="0.0"/>
427 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_monthly" lowerBound="1"
428 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/>
429 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_daily" unique="false"
430 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
431 defaultValueLiteral="0.0"/>
432 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_monthly" unique="false"
433 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
434 defaultValueLiteral="0.0"/>
435 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_yearly" unique="false"
436 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
437 defaultValueLiteral="0.0"/>
438 <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIS_daily" unique="false"
439 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
440 defaultValueLiteral="0.0"/>
441 <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIS_monthly" unique="false"
442 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
443 defaultValueLiteral="0.0"/>
444 <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIM_daily" unique="false"
445 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
446 defaultValueLiteral="0.0"/>
447 <eStructuralFeatures xsi:type="ecore:EAttribute" name="validity" lowerBound="1"
448 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
449 <eStructuralFeatures xsi:type="ecore:EReference" name="income_Tax_Credit" ordered="false"
450 upperBound="-1" eType="#//Income_Tax_Credit" eOpposite="#//Income_Tax_Credit/taxation_Frame"/>
451 <eStructuralFeatures xsi:type="ecore:EReference" name="previous" eType="#//Tax_Card"
452 eOpposite="#//Tax_Card/current_tax_card"/>
453 <eStructuralFeatures xsi:type="ecore:EReference" name="current_tax_card" eType="#//Tax_Card"
454 eOpposite="#//Tax_Card/previous"/>
455 <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIM_yearly" ordered="false"
456 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
457 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_Alimony_yearly"
458 ordered="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
459 <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_Debt_yearly"
460 ordered="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
461 <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1"
462 eType="#//Income" eOpposite="#//Income/tax_card"/>
463 </eClassifiers>
464 <eClassifiers xsi:type="ecore:EClass" name="Income_Tax_Credit">
465 <eStructuralFeatures xsi:type="ecore:EAttribute" name="grantedBy" lowerBound="1"
466 eType="#//Grantor"/>
467 <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" eType="#//Tax_Payer"/>
468 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_year" lowerBound="1"
469 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
470 <eStructuralFeatures xsi:type="ecore:EAttribute" name="yearly" lowerBound="1"
471 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="300.0"/>
472 <eStructuralFeatures xsi:type="ecore:EAttribute" name="monthly" lowerBound="1"
473 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="25.0"/>
474 <eStructuralFeatures xsi:type="ecore:EAttribute" name="daily" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
475 defaultValueLiteral="1.0"/>
476 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id7" ordered="false" lowerBound="1"
477 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
478 <eStructuralFeatures xsi:type="ecore:EReference" name="taxation_Frame" eType="#//Tax_Card"
479 eOpposite="#//Tax_Card/income_Tax_Credit"/>
480 </eClassifiers>
481 <eClassifiers xsi:type="ecore:EClass" name="Income_Detail">
482 <eStructuralFeatures xsi:type="ecore:EAttribute" name="amount" lowerBound="1"
483 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
484 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_worked" lowerBound="1"
485 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
486 <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1"
487 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
488 <eStructuralFeatures xsi:type="ecore:EAttribute" name="worked_days" lowerBound="1"
489 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
490 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_contributing_CNS" ordered="false"
491 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
492 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id5" ordered="false" lowerBound="1"
493 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
494 <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1"
495 eType="#//Income" eOpposite="#//Income/details"/>
496 </eClassifiers>
497 <eClassifiers xsi:type="ecore:EClass" name="FromLaw">
498 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" ordered="false" lowerBound="1"
499 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
500 <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" lowerBound="1"
501 eType="#//Tax_Payer" eOpposite="#//Tax_Payer/from_law"/>
502 </eClassifiers>
503 <eClassifiers xsi:type="ecore:EClass" name="Fiscal_Address" eSuperTypes="#//Address"/>
504 <eClassifiers xsi:type="ecore:EClass" name="Habitual_Address" eSuperTypes="#//Address"/>
505 <eClassifiers xsi:type="ecore:EClass" name="Marriage_Record" eSuperTypes="#//Legal_Union_Record"/>
506 <eClassifiers xsi:type="ecore:EClass" name="Non_Resident_Tax_Payer" eSuperTypes="#//Tax_Payer">
507 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_assimilated_to_resident"
508 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
509 defaultValueLiteral="false"/>
510 </eClassifiers>
511 <eClassifiers xsi:type="ecore:EClass" name="Partnership_Record" eSuperTypes="#//Legal_Union_Record"/>
512 <eClassifiers xsi:type="ecore:EClass" name="Resident_Tax_Payer" eSuperTypes="#//Tax_Payer"/>
513 <eClassifiers xsi:type="ecore:EClass" name="Trade_and_Business_Income" eSuperTypes="#//Income_Type"/>
514 <eClassifiers xsi:type="ecore:EClass" name="Agriculture_and_Forestry_Income" eSuperTypes="#//Income_Type"/>
515 <eClassifiers xsi:type="ecore:EClass" name="Pensions_and_Annuities_Income" eSuperTypes="#//Income_Type">
516 <eStructuralFeatures xsi:type="ecore:EAttribute" name="occasional_payement" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
517 defaultValueLiteral="false"/>
518 </eClassifiers>
519 <eClassifiers xsi:type="ecore:EClass" name="Capital_and_Investments_Income" eSuperTypes="#//Income_Type"/>
520 <eClassifiers xsi:type="ecore:EClass" name="Employment_Income" eSuperTypes="#//Income_Type"/>
521 <eClassifiers xsi:type="ecore:EClass" name="Rentals_and_Leases_Income" eSuperTypes="#//Income_Type">
522 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_periodic" lowerBound="1"
523 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="true"/>
524 </eClassifiers>
525 <eClassifiers xsi:type="ecore:EClass" name="Foreign_Income" eSuperTypes="#//Income"/>
526 <eClassifiers xsi:type="ecore:EClass" name="Local_Income" eSuperTypes="#//Income"/>
527 <eClassifiers xsi:type="ecore:EClass" name="CIM" eSuperTypes="#//Income_Tax_Credit"/>
528 <eClassifiers xsi:type="ecore:EClass" name="CIP" eSuperTypes="#//Income_Tax_Credit"/>
529 <eClassifiers xsi:type="ecore:EClass" name="CIS" eSuperTypes="#//Income_Tax_Credit"/>
530 <eClassifiers xsi:type="ecore:EClass" name="FD" eSuperTypes="#//Professional_Expenses_Deduction">
531 <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance_declared_in_january"
532 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
533 <eStructuralFeatures xsi:type="ecore:EAttribute" name="calculated_distance" lowerBound="1"
534 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" derived="true"/>
535 </eClassifiers>
536 <eClassifiers xsi:type="ecore:EClass" name="Professional_Expenses_Deduction"/>
537 <eClassifiers xsi:type="ecore:EClass" name="FO" eSuperTypes="#//Professional_Expenses_Deduction">
538 <eStructuralFeatures xsi:type="ecore:EAttribute" name="rate_type_for_FO" lowerBound="1"
539 eType="#//Type_of_Rate" derived="true"/>
540 </eClassifiers>
541 <eClassifiers xsi:type="ecore:EClass" name="DS_for_Permanent_Expense" eSuperTypes="#//DS">
542 <eStructuralFeatures xsi:type="ecore:EAttribute" name="permanent_expense_category"
543 lowerBound="1" eType="#//Category_of_Permanent_Expense"/>
544 </eClassifiers>
545 <eClassifiers xsi:type="ecore:EClass" name="DS">
546 <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximum_deductible_amount"
547 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
548 <eStructuralFeatures xsi:type="ecore:EAttribute" name="id3" ordered="false" lowerBound="1"
549 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/>
550 </eClassifiers>
551 <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Permanent_Expense">
552 <eLiterals name="MISCELLANEOUS_DEBT" literal="MISCELLANEOUS_DEBT"/>
553 <eLiterals name="ALIMONY" value="1" literal="ALIMONY"/>
554 </eClassifiers>
555 <eClassifiers xsi:type="ecore:EClass" name="DS_for_Interest_Expense" eSuperTypes="#//DS"/>
556 <eClassifiers xsi:type="ecore:EClass" name="DS_for_Health_and_Pension_Insurance"
557 eSuperTypes="#//DS">
558 <eStructuralFeatures xsi:type="ecore:EAttribute" name="insurance_category" lowerBound="1"
559 eType="#//Category_of_Health_and_Pension_Insurances"/>
560 </eClassifiers>
561 <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Health_and_Pension_Insurances">
562 <eLiterals name="MANDATORY_HEALTH_AND_PENSION_INSURANCE" literal="MANDATORY_HEALTH_AND_PENSION_INSURANCE"/>
563 <eLiterals name="ADDITIONAL_EMPLOYERS_PENSION_INSURANCE" value="1" literal="ADDITIONAL_EMPLOYERS_PENSION_INSURANCE"/>
564 <eLiterals name="CONTINUED_HEALTH_AND_PENSION_INSURANCE" value="2" literal="CONTINUED_HEALTH_AND_PENSION_INSURANCE"/>
565 </eClassifiers>
566 <eClassifiers xsi:type="ecore:EClass" name="DS_for_Private_Insurance_and_Plan" eSuperTypes="#//DS">
567 <eStructuralFeatures xsi:type="ecore:EAttribute" name="private_insurance_and_plan_category"
568 lowerBound="1" eType="#//Category_of_Private_Insurance_and_Plan"/>
569 <eStructuralFeatures xsi:type="ecore:EAttribute" name="increase_for_life_insurance"
570 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
571 derived="true"/>
572 <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximum_deductible_amount_for_private_insurance"
573 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
574 derived="true"/>
575 <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximum_deductible_amount_for_old_age_pension_plan"
576 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
577 derived="true"/>
578 </eClassifiers>
579 <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Private_Insurance_and_Plan">
580 <eLiterals name="PRIVATE_INSURANCE" literal="PRIVATE_INSURANCE"/>
581 <eLiterals name="PRIVATE_LIFE_INSURANCE" value="1" literal="PRIVATE_LIFE_INSURANCE"/>
582 <eLiterals name="COMPANY_MEMBERS_PRIVATE_INSURANCE" value="2" literal="COMPANY_MEMBERS_PRIVATE_INSURANCE"/>
583 <eLiterals name="HOUSING_SAVING_PLAN" value="3" literal="HOUSING_SAVING_PLAN"/>
584 <eLiterals name="OLD_AGE_PENSION_PLAN" value="4" literal="OLD_AGE_PENSION_PLAN"/>
585 </eClassifiers>
586 <eClassifiers xsi:type="ecore:EClass" name="DS_for_Loss_Carryforward" eSuperTypes="#//DS"/>
587 <eClassifiers xsi:type="ecore:EClass" name="DS_for_Donation" eSuperTypes="#//DS"/>
588 <eClassifiers xsi:type="ecore:EClass" name="Permanent_Expense" eSuperTypes="#//Special_Expense_DS">
589 <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1"
590 eType="#//Category_of_Permanent_Expense"/>
591 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_eligible_for_deduction"
592 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
593 defaultValueLiteral="false" derived="true"/>
594 </eClassifiers>
595 <eClassifiers xsi:type="ecore:EClass" name="Special_Expense_DS" eSuperTypes="#//Expense"/>
596 <eClassifiers xsi:type="ecore:EClass" name="Interest_Expense" eSuperTypes="#//Special_Expense_DS"/>
597 <eClassifiers xsi:type="ecore:EClass" name="Private_Insurance_and_Plan" eSuperTypes="#//Special_Expense_DS">
598 <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1"
599 eType="#//Category_of_Private_Insurance_and_Plan"/>
600 <eStructuralFeatures xsi:type="ecore:EAttribute" name="duration_of_contract" lowerBound="1"
601 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
602 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_private_insurance_and_plan_eligible_for_deduction"
603 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
604 defaultValueLiteral="false" derived="true"/>
605 </eClassifiers>
606 <eClassifiers xsi:type="ecore:EClass" name="Health_and_Pension_Insurance" eSuperTypes="#//Special_Expense_DS">
607 <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1"
608 eType="#//Category_of_Health_and_Pension_Insurances"/>
609 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_related_to_additional_salary"
610 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
611 defaultValueLiteral="false"/>
612 </eClassifiers>
613 <eClassifiers xsi:type="ecore:EClass" name="Donation" eSuperTypes="#//Special_Expense_DS">
614 <eStructuralFeatures xsi:type="ecore:EAttribute" name="beneficiary1" lowerBound="1"
615 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
616 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_beneficiary_eligible"
617 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
618 defaultValueLiteral="false" derived="true"/>
619 <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_donation_reported" lowerBound="1"
620 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
621 </eClassifiers>
622 <eClassifiers xsi:type="ecore:EClass" name="Loss_Carryforward" eSuperTypes="#//Special_Expense_DS">
623 <eStructuralFeatures xsi:type="ecore:EAttribute" name="regular_accountability"
624 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
625 derived="true"/>
626 <eStructuralFeatures xsi:type="ecore:EAttribute" name="compensation_by_other_means"
627 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
628 derived="true"/>
629 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payer_has_inherited_business_ownership"
630 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
631 defaultValueLiteral="false" derived="true"/>
632 <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payer_has_been_partner_in_business"
633 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
634 defaultValueLiteral="true" derived="true"/>
635 </eClassifiers>
636 <eClassifiers xsi:type="ecore:EClass" name="Spousal_Expense_AC" eSuperTypes="#//Expense"/>
637 <eClassifiers xsi:type="ecore:EClass" name="Extraordinary_Expense_CE" eSuperTypes="#//Expense">
638 <eStructuralFeatures xsi:type="ecore:EAttribute" name="thresholded_deduction_percentage"
639 lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
640 <eStructuralFeatures xsi:type="ecore:EAttribute" name="ce_type" lowerBound="1"
641 eType="#//CE_Type"/>
642 </eClassifiers>
643 <eClassifiers xsi:type="ecore:EClass" name="Travel_Expense_FD" eSuperTypes="#//Professional_Expense"/>
644 <eClassifiers xsi:type="ecore:EClass" name="Professional_Expense" eSuperTypes="#//Expense"/>
645 <eClassifiers xsi:type="ecore:EClass" name="Miscellaneous_Expense_FO" eSuperTypes="#//Professional_Expense"/>
646 <eClassifiers xsi:type="ecore:EEnum" name="Legal_Union_Types">
647 <eLiterals name="MARIAGE"/>
648 <eLiterals name="PARTNERSHIP" value="1"/>
649 <eLiterals name="OTHER" value="2"/>
650 </eClassifiers>
651</ecore:EPackage>