diff options
author | 2020-05-06 16:16:57 -0400 | |
---|---|---|
committer | 2020-05-06 16:16:57 -0400 | |
commit | e44d27fde5c3b6c933ea3de33781f6ad03d6545b (patch) | |
tree | fd4a58ed41ff3a91702cb1b7b89a9d9688fc1b4e /Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/Taxation.ecore | |
parent | Adjust classpath for Z3 in viatra2logic (diff) | |
download | VIATRA-Generator-e44d27fde5c3b6c933ea3de33781f6ad03d6545b.tar.gz VIATRA-Generator-e44d27fde5c3b6c933ea3de33781f6ad03d6545b.tar.zst VIATRA-Generator-e44d27fde5c3b6c933ea3de33781f6ad03d6545b.zip |
Adjustments to FamilyTree and Pledge Case studies
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/Taxation.ecore')
-rw-r--r-- | Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/Taxation.ecore | 641 |
1 files changed, 641 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/Taxation.ecore b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/Taxation.ecore new file mode 100644 index 00000000..cfed4729 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/config/Taxation.ecore | |||
@@ -0,0 +1,641 @@ | |||
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
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:EReference" name="tax_card" eType="#//Tax_Card" | ||
339 | containment="true" eOpposite="#//Tax_Card/income"/> | ||
340 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_liability" lowerBound="1" | ||
341 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
342 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" ordered="false" | ||
343 | lowerBound="1" eType="#//Tax_Payer" eOpposite="#//Tax_Payer/incomes"/> | ||
344 | <eStructuralFeatures xsi:type="ecore:EReference" name="details" lowerBound="12" | ||
345 | upperBound="12" eType="#//Income_Detail" containment="true" eOpposite="#//Income_Detail/income"/> | ||
346 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="num" ordered="false" lowerBound="1" | ||
347 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" iD="true"/> | ||
348 | <eStructuralFeatures xsi:type="ecore:EReference" name="expenses" ordered="false" | ||
349 | upperBound="-1" eType="#//Expense" containment="true" eOpposite="#//Expense/income"/> | ||
350 | </eClassifiers> | ||
351 | <eClassifiers xsi:type="ecore:EClass" name="Income_Type" abstract="true"> | ||
352 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="subjectToWithholdingTax" | ||
353 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
354 | derived="true"> | ||
355 | <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> | ||
356 | <details key="derivation" value="
				self.income.tax_card->notEmpty()
				"/> | ||
357 | </eAnnotations> | ||
358 | </eStructuralFeatures> | ||
359 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id8" ordered="false" lowerBound="1" | ||
360 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
361 | <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1" | ||
362 | eType="#//Income" eOpposite="#//Income/income_type"/> | ||
363 | </eClassifiers> | ||
364 | <eClassifiers xsi:type="ecore:EClass" name="Tax_Card"> | ||
365 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="card_identifier" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" | ||
366 | iD="true"/> | ||
367 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_card_type" lowerBound="1" | ||
368 | eType="#//Tax_Card_Type" derived="true"> | ||
369 | <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> | ||
370 | <details key="derivation" value="if(self.income.taxPayer.incomes->size()=1) then 
Tax_Card_Type::Principal
	else
		let all_incomes:OrderedSet(Income)=self.income.taxPayer.incomes->select(inc:Income| inc.income_amount= self.income.taxPayer.incomes.income_amount->max())->asOrderedSet() in
		let bigest_income:Income= all_incomes->first() in
			 if(bigest_income=self.income) then
			 	 Tax_Card_Type::Principal
			 else
					Tax_Card_Type::Additional
				endif
endif
				"/> | ||
371 | </eAnnotations> | ||
372 | </eStructuralFeatures> | ||
373 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_office" lowerBound="1" | ||
374 | eType="#//Tax_Office"/> | ||
375 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="percentage_of_witholding" | ||
376 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
377 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payers_name_surname" | ||
378 | ordered="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
379 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payers_partner_name_surname" | ||
380 | ordered="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
381 | <eStructuralFeatures xsi:type="ecore:EReference" name="tax_payers_address" eType="#//Address"/> | ||
382 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_Employer_SSNo" ordered="false" | ||
383 | unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
384 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_employers_name" ordered="false" | ||
385 | unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
386 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_activity_type" lowerBound="1" | ||
387 | eType="#//Job_Activity"/> | ||
388 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="jobs_place_of_work" lowerBound="1" | ||
389 | eType="#//Town"/> | ||
390 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FD_daily" ordered="false" | ||
391 | unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
392 | defaultValueLiteral="0.0"/> | ||
393 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FD_monthly" ordered="false" | ||
394 | unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
395 | defaultValueLiteral="0.0"/> | ||
396 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_daily" unique="false" | ||
397 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
398 | defaultValueLiteral="0.0"/> | ||
399 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_monthly" unique="false" | ||
400 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
401 | defaultValueLiteral="0.0"/> | ||
402 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_AC_yearly" unique="false" | ||
403 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
404 | defaultValueLiteral="0.0"/> | ||
405 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_daily" unique="false" | ||
406 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
407 | defaultValueLiteral="0.0"/> | ||
408 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_monthly" unique="false" | ||
409 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
410 | defaultValueLiteral="0.0"/> | ||
411 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_CE_yearly" unique="false" | ||
412 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
413 | defaultValueLiteral="0.0"/> | ||
414 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_daily" unique="false" | ||
415 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
416 | defaultValueLiteral="0.0"/> | ||
417 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_monthly" lowerBound="1" | ||
418 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> | ||
419 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_daily" unique="false" | ||
420 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
421 | defaultValueLiteral="0.0"/> | ||
422 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_monthly" unique="false" | ||
423 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
424 | defaultValueLiteral="0.0"/> | ||
425 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_FO_yearly" unique="false" | ||
426 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
427 | defaultValueLiteral="0.0"/> | ||
428 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIS_daily" unique="false" | ||
429 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
430 | defaultValueLiteral="0.0"/> | ||
431 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIS_monthly" unique="false" | ||
432 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
433 | defaultValueLiteral="0.0"/> | ||
434 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIM_daily" unique="false" | ||
435 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
436 | defaultValueLiteral="0.0"/> | ||
437 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="validity" lowerBound="1" | ||
438 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
439 | <eStructuralFeatures xsi:type="ecore:EReference" name="income_Tax_Credit" ordered="false" | ||
440 | upperBound="-1" eType="#//Income_Tax_Credit" eOpposite="#//Income_Tax_Credit/taxation_Frame"/> | ||
441 | <eStructuralFeatures xsi:type="ecore:EReference" name="previous" eType="#//Tax_Card" | ||
442 | eOpposite="#//Tax_Card/current_tax_card"/> | ||
443 | <eStructuralFeatures xsi:type="ecore:EReference" name="current_tax_card" eType="#//Tax_Card" | ||
444 | eOpposite="#//Tax_Card/previous"/> | ||
445 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="credit_CIM_yearly" ordered="false" | ||
446 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
447 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_Alimony_yearly" | ||
448 | ordered="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
449 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="deduction_DS_Debt_yearly" | ||
450 | ordered="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
451 | <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1" | ||
452 | eType="#//Income" eOpposite="#//Income/tax_card"/> | ||
453 | </eClassifiers> | ||
454 | <eClassifiers xsi:type="ecore:EClass" name="Income_Tax_Credit"> | ||
455 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="grantedBy" lowerBound="1" | ||
456 | eType="#//Grantor"/> | ||
457 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" eType="#//Tax_Payer"/> | ||
458 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_year" lowerBound="1" | ||
459 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
460 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="yearly" lowerBound="1" | ||
461 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="300.0"/> | ||
462 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="monthly" lowerBound="1" | ||
463 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="25.0"/> | ||
464 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="daily" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
465 | defaultValueLiteral="1.0"/> | ||
466 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id7" ordered="false" lowerBound="1" | ||
467 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
468 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxation_Frame" eType="#//Tax_Card" | ||
469 | eOpposite="#//Tax_Card/income_Tax_Credit"/> | ||
470 | </eClassifiers> | ||
471 | <eClassifiers xsi:type="ecore:EClass" name="Income_Detail"> | ||
472 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="amount" lowerBound="1" | ||
473 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
474 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_worked" lowerBound="1" | ||
475 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
476 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" | ||
477 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
478 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="worked_days" lowerBound="1" | ||
479 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
480 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_contributing_CNS" ordered="false" | ||
481 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
482 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id5" ordered="false" lowerBound="1" | ||
483 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
484 | <eStructuralFeatures xsi:type="ecore:EReference" name="income" lowerBound="1" | ||
485 | eType="#//Income" eOpposite="#//Income/details"/> | ||
486 | </eClassifiers> | ||
487 | <eClassifiers xsi:type="ecore:EClass" name="FromLaw"> | ||
488 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" ordered="false" lowerBound="1" | ||
489 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
490 | <eStructuralFeatures xsi:type="ecore:EReference" name="taxPayer" lowerBound="1" | ||
491 | eType="#//Tax_Payer" eOpposite="#//Tax_Payer/from_law"/> | ||
492 | </eClassifiers> | ||
493 | <eClassifiers xsi:type="ecore:EClass" name="Fiscal_Address" eSuperTypes="#//Address"/> | ||
494 | <eClassifiers xsi:type="ecore:EClass" name="Habitual_Address" eSuperTypes="#//Address"/> | ||
495 | <eClassifiers xsi:type="ecore:EClass" name="Marriage_Record" eSuperTypes="#//Legal_Union_Record"/> | ||
496 | <eClassifiers xsi:type="ecore:EClass" name="Non_Resident_Tax_Payer" eSuperTypes="#//Tax_Payer"> | ||
497 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_assimilated_to_resident" | ||
498 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
499 | defaultValueLiteral="false"/> | ||
500 | </eClassifiers> | ||
501 | <eClassifiers xsi:type="ecore:EClass" name="Partnership_Record" eSuperTypes="#//Legal_Union_Record"/> | ||
502 | <eClassifiers xsi:type="ecore:EClass" name="Resident_Tax_Payer" eSuperTypes="#//Tax_Payer"/> | ||
503 | <eClassifiers xsi:type="ecore:EClass" name="Trade_and_Business_Income" eSuperTypes="#//Income_Type"/> | ||
504 | <eClassifiers xsi:type="ecore:EClass" name="Agriculture_and_Forestry_Income" eSuperTypes="#//Income_Type"/> | ||
505 | <eClassifiers xsi:type="ecore:EClass" name="Pensions_and_Annuities_Income" eSuperTypes="#//Income_Type"> | ||
506 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="occasional_payement" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
507 | defaultValueLiteral="false"/> | ||
508 | </eClassifiers> | ||
509 | <eClassifiers xsi:type="ecore:EClass" name="Capital_and_Investments_Income" eSuperTypes="#//Income_Type"/> | ||
510 | <eClassifiers xsi:type="ecore:EClass" name="Employment_Income" eSuperTypes="#//Income_Type"/> | ||
511 | <eClassifiers xsi:type="ecore:EClass" name="Rentals_and_Leases_Income" eSuperTypes="#//Income_Type"> | ||
512 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_periodic" lowerBound="1" | ||
513 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" defaultValueLiteral="true"/> | ||
514 | </eClassifiers> | ||
515 | <eClassifiers xsi:type="ecore:EClass" name="Foreign_Income" eSuperTypes="#//Income"/> | ||
516 | <eClassifiers xsi:type="ecore:EClass" name="Local_Income" eSuperTypes="#//Income"/> | ||
517 | <eClassifiers xsi:type="ecore:EClass" name="CIM" eSuperTypes="#//Income_Tax_Credit"/> | ||
518 | <eClassifiers xsi:type="ecore:EClass" name="CIP" eSuperTypes="#//Income_Tax_Credit"/> | ||
519 | <eClassifiers xsi:type="ecore:EClass" name="CIS" eSuperTypes="#//Income_Tax_Credit"/> | ||
520 | <eClassifiers xsi:type="ecore:EClass" name="FD" eSuperTypes="#//Professional_Expenses_Deduction"> | ||
521 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance_declared_in_january" | ||
522 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
523 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="calculated_distance" lowerBound="1" | ||
524 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" derived="true"/> | ||
525 | </eClassifiers> | ||
526 | <eClassifiers xsi:type="ecore:EClass" name="Professional_Expenses_Deduction"/> | ||
527 | <eClassifiers xsi:type="ecore:EClass" name="FO" eSuperTypes="#//Professional_Expenses_Deduction"> | ||
528 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="rate_type_for_FO" lowerBound="1" | ||
529 | eType="#//Type_of_Rate" derived="true"/> | ||
530 | </eClassifiers> | ||
531 | <eClassifiers xsi:type="ecore:EClass" name="DS_for_Permanent_Expense" eSuperTypes="#//DS"> | ||
532 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="permanent_expense_category" | ||
533 | lowerBound="1" eType="#//Category_of_Permanent_Expense"/> | ||
534 | </eClassifiers> | ||
535 | <eClassifiers xsi:type="ecore:EClass" name="DS"> | ||
536 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximum_deductible_amount" | ||
537 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
538 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="id3" ordered="false" lowerBound="1" | ||
539 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" iD="true"/> | ||
540 | </eClassifiers> | ||
541 | <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Permanent_Expense"> | ||
542 | <eLiterals name="MISCELLANEOUS_DEBT" literal="MISCELLANEOUS_DEBT"/> | ||
543 | <eLiterals name="ALIMONY" value="1" literal="ALIMONY"/> | ||
544 | </eClassifiers> | ||
545 | <eClassifiers xsi:type="ecore:EClass" name="DS_for_Interest_Expense" eSuperTypes="#//DS"/> | ||
546 | <eClassifiers xsi:type="ecore:EClass" name="DS_for_Health_and_Pension_Insurance" | ||
547 | eSuperTypes="#//DS"> | ||
548 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="insurance_category" lowerBound="1" | ||
549 | eType="#//Category_of_Health_and_Pension_Insurances"/> | ||
550 | </eClassifiers> | ||
551 | <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Health_and_Pension_Insurances"> | ||
552 | <eLiterals name="MANDATORY_HEALTH_AND_PENSION_INSURANCE" literal="MANDATORY_HEALTH_AND_PENSION_INSURANCE"/> | ||
553 | <eLiterals name="ADDITIONAL_EMPLOYERS_PENSION_INSURANCE" value="1" literal="ADDITIONAL_EMPLOYERS_PENSION_INSURANCE"/> | ||
554 | <eLiterals name="CONTINUED_HEALTH_AND_PENSION_INSURANCE" value="2" literal="CONTINUED_HEALTH_AND_PENSION_INSURANCE"/> | ||
555 | </eClassifiers> | ||
556 | <eClassifiers xsi:type="ecore:EClass" name="DS_for_Private_Insurance_and_Plan" eSuperTypes="#//DS"> | ||
557 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="private_insurance_and_plan_category" | ||
558 | lowerBound="1" eType="#//Category_of_Private_Insurance_and_Plan"/> | ||
559 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="increase_for_life_insurance" | ||
560 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
561 | derived="true"/> | ||
562 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximum_deductible_amount_for_private_insurance" | ||
563 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
564 | derived="true"/> | ||
565 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="maximum_deductible_amount_for_old_age_pension_plan" | ||
566 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
567 | derived="true"/> | ||
568 | </eClassifiers> | ||
569 | <eClassifiers xsi:type="ecore:EEnum" name="Category_of_Private_Insurance_and_Plan"> | ||
570 | <eLiterals name="PRIVATE_INSURANCE" literal="PRIVATE_INSURANCE"/> | ||
571 | <eLiterals name="PRIVATE_LIFE_INSURANCE" value="1" literal="PRIVATE_LIFE_INSURANCE"/> | ||
572 | <eLiterals name="COMPANY_MEMBERS_PRIVATE_INSURANCE" value="2" literal="COMPANY_MEMBERS_PRIVATE_INSURANCE"/> | ||
573 | <eLiterals name="HOUSING_SAVING_PLAN" value="3" literal="HOUSING_SAVING_PLAN"/> | ||
574 | <eLiterals name="OLD_AGE_PENSION_PLAN" value="4" literal="OLD_AGE_PENSION_PLAN"/> | ||
575 | </eClassifiers> | ||
576 | <eClassifiers xsi:type="ecore:EClass" name="DS_for_Loss_Carryforward" eSuperTypes="#//DS"/> | ||
577 | <eClassifiers xsi:type="ecore:EClass" name="DS_for_Donation" eSuperTypes="#//DS"/> | ||
578 | <eClassifiers xsi:type="ecore:EClass" name="Permanent_Expense" eSuperTypes="#//Special_Expense_DS"> | ||
579 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1" | ||
580 | eType="#//Category_of_Permanent_Expense"/> | ||
581 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_eligible_for_deduction" | ||
582 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
583 | defaultValueLiteral="false" derived="true"/> | ||
584 | </eClassifiers> | ||
585 | <eClassifiers xsi:type="ecore:EClass" name="Special_Expense_DS" eSuperTypes="#//Expense"/> | ||
586 | <eClassifiers xsi:type="ecore:EClass" name="Interest_Expense" eSuperTypes="#//Special_Expense_DS"/> | ||
587 | <eClassifiers xsi:type="ecore:EClass" name="Private_Insurance_and_Plan" eSuperTypes="#//Special_Expense_DS"> | ||
588 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1" | ||
589 | eType="#//Category_of_Private_Insurance_and_Plan"/> | ||
590 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="duration_of_contract" lowerBound="1" | ||
591 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
592 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_private_insurance_and_plan_eligible_for_deduction" | ||
593 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
594 | defaultValueLiteral="false" derived="true"/> | ||
595 | </eClassifiers> | ||
596 | <eClassifiers xsi:type="ecore:EClass" name="Health_and_Pension_Insurance" eSuperTypes="#//Special_Expense_DS"> | ||
597 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" lowerBound="1" | ||
598 | eType="#//Category_of_Health_and_Pension_Insurances"/> | ||
599 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_related_to_additional_salary" | ||
600 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
601 | defaultValueLiteral="false"/> | ||
602 | </eClassifiers> | ||
603 | <eClassifiers xsi:type="ecore:EClass" name="Donation" eSuperTypes="#//Special_Expense_DS"> | ||
604 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="beneficiary1" lowerBound="1" | ||
605 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
606 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_beneficiary_eligible" | ||
607 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
608 | defaultValueLiteral="false" derived="true"/> | ||
609 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="is_donation_reported" lowerBound="1" | ||
610 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
611 | </eClassifiers> | ||
612 | <eClassifiers xsi:type="ecore:EClass" name="Loss_Carryforward" eSuperTypes="#//Special_Expense_DS"> | ||
613 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="regular_accountability" | ||
614 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
615 | derived="true"/> | ||
616 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="compensation_by_other_means" | ||
617 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
618 | derived="true"/> | ||
619 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payer_has_inherited_business_ownership" | ||
620 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
621 | defaultValueLiteral="false" derived="true"/> | ||
622 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="tax_payer_has_been_partner_in_business" | ||
623 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | ||
624 | defaultValueLiteral="true" derived="true"/> | ||
625 | </eClassifiers> | ||
626 | <eClassifiers xsi:type="ecore:EClass" name="Spousal_Expense_AC" eSuperTypes="#//Expense"/> | ||
627 | <eClassifiers xsi:type="ecore:EClass" name="Extraordinary_Expense_CE" eSuperTypes="#//Expense"> | ||
628 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="thresholded_deduction_percentage" | ||
629 | lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
630 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ce_type" lowerBound="1" | ||
631 | eType="#//CE_Type"/> | ||
632 | </eClassifiers> | ||
633 | <eClassifiers xsi:type="ecore:EClass" name="Travel_Expense_FD" eSuperTypes="#//Professional_Expense"/> | ||
634 | <eClassifiers xsi:type="ecore:EClass" name="Professional_Expense" eSuperTypes="#//Expense"/> | ||
635 | <eClassifiers xsi:type="ecore:EClass" name="Miscellaneous_Expense_FO" eSuperTypes="#//Professional_Expense"/> | ||
636 | <eClassifiers xsi:type="ecore:EEnum" name="Legal_Union_Types"> | ||
637 | <eLiterals name="MARIAGE"/> | ||
638 | <eLiterals name="PARTNERSHIP" value="1"/> | ||
639 | <eLiterals name="OTHER" value="2"/> | ||
640 | </eClassifiers> | ||
641 | </ecore:EPackage> | ||