diff options
author | 2020-04-26 18:23:13 -0400 | |
---|---|---|
committer | 2020-04-26 18:23:13 -0400 | |
commit | c0a758eedd457a5d8eb9f1a6c17fc24143aabb3e (patch) | |
tree | 0c2e212e4e95c1d2311629128641d5cd561210f3 /Tests/MODELS2020-CaseStudies/case.study.pledge.samples | |
parent | Merge branch 'Attribute-Solver' (diff) | |
download | VIATRA-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.samples')
4 files changed, 142 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/.project b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/.project new file mode 100644 index 00000000..d5638068 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/.project | |||
@@ -0,0 +1,11 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <projectDescription> | ||
3 | <name>case.study.a.instances</name> | ||
4 | <comment></comment> | ||
5 | <projects> | ||
6 | </projects> | ||
7 | <buildSpec> | ||
8 | </buildSpec> | ||
9 | <natures> | ||
10 | </natures> | ||
11 | </projectDescription> | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/FuncHH.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/FuncHH.xmi new file mode 100644 index 00000000..49e41c9e --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/FuncHH.xmi | |||
@@ -0,0 +1,52 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <TaxCard:Household | ||
3 | xmi:version="2.0" | ||
4 | xmlns:xmi="http://www.omg.org/XMI" | ||
5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
6 | xmlns:TaxCard="http:///TaxCard.ecore"> | ||
7 | <parents xsi:type="TaxCard:Marriage_Record" | ||
8 | start_year="1950" | ||
9 | end_year="-1"> | ||
10 | <individual_A | ||
11 | xsi:type="TaxCard:Resident_Tax_Payer" | ||
12 | birth_year="1950" | ||
13 | disability_type="NONE" | ||
14 | birth_month="10" | ||
15 | birth_day="6"> | ||
16 | <owns_Address | ||
17 | xsi:type="TaxCard:Habitual_Address" | ||
18 | id2=""/> | ||
19 | <incomes | ||
20 | xsi:type="TaxCard:Local_Income"> | ||
21 | <income_type | ||
22 | xsi:type="TaxCard:Capital_and_Investments_Income"/> | ||
23 | <details | ||
24 | distance="5.0"/> | ||
25 | <expenses | ||
26 | declared_amount="50.0"/> | ||
27 | </incomes> | ||
28 | </individual_A> | ||
29 | <individual_B | ||
30 | xsi:type="TaxCard:Non_Resident_Tax_Payer" | ||
31 | addresses="//@parents/@individual_B.0/@owns_Address.0 //@parents/@individual_B.0/@owns_Address.1" | ||
32 | birth_year="2000" | ||
33 | disability_percentage="0.5" | ||
34 | disability_type="A" | ||
35 | birth_month="5" | ||
36 | birth_day="20"> | ||
37 | <owns_Address | ||
38 | xsi:type="TaxCard:Fiscal_Address" | ||
39 | taxPayer="//@parents/@individual_B.0"/> | ||
40 | <owns_Address | ||
41 | xsi:type="TaxCard:Habitual_Address" | ||
42 | country="BB" | ||
43 | taxPayer="//@parents/@individual_B.0"/> | ||
44 | </individual_B> | ||
45 | <individual_B | ||
46 | birth_year="1980" | ||
47 | disability_percentage="0.99" | ||
48 | disability_type="OTHER" | ||
49 | birth_month="7" | ||
50 | birth_day="6"/> | ||
51 | </parents> | ||
52 | </TaxCard:Household> | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/FuncHH_new.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/FuncHH_new.xmi new file mode 100644 index 00000000..80783b87 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/FuncHH_new.xmi | |||
@@ -0,0 +1,72 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <TaxCard:Household | ||
3 | xmi:version="2.0" | ||
4 | xmlns:xmi="http://www.omg.org/XMI" | ||
5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
6 | xmlns:TaxCard="http:///TaxCard.ecore"> | ||
7 | <parents xsi:type="TaxCard:Marriage_Record" | ||
8 | start_year="1950" | ||
9 | end_year="-1"> | ||
10 | <individual_A | ||
11 | xsi:type="TaxCard:Resident_Tax_Payer" | ||
12 | birth_year="2000" | ||
13 | disability_type="NONE" | ||
14 | birth_month="10" | ||
15 | birth_day="6"> | ||
16 | <owns_Address | ||
17 | xsi:type="TaxCard:Habitual_Address" | ||
18 | id2=""/> | ||
19 | <dependents | ||
20 | birth_year="1995" | ||
21 | disability_type="NONE" | ||
22 | birth_month="6" | ||
23 | birth_day="5"/> | ||
24 | <incomes | ||
25 | xsi:type="TaxCard:Local_Income" | ||
26 | income_amount="50.0"> | ||
27 | <income_type | ||
28 | xsi:type="TaxCard:Employment_Income"/> | ||
29 | <details | ||
30 | distance="20.0" | ||
31 | worked_days="5"/> | ||
32 | <details | ||
33 | distance="20.0" | ||
34 | worked_days="6"/> | ||
35 | <expenses | ||
36 | declared_amount="50.0"/> | ||
37 | </incomes> | ||
38 | </individual_A> | ||
39 | <individual_B | ||
40 | xsi:type="TaxCard:Non_Resident_Tax_Payer" | ||
41 | addresses="//@parents/@individual_B.0/@owns_Address.0 //@parents/@individual_B.0/@owns_Address.1" | ||
42 | birth_year="2000" | ||
43 | disability_percentage="0.5" | ||
44 | disability_type="A" | ||
45 | birth_month="5" | ||
46 | birth_day="20"> | ||
47 | <owns_Address | ||
48 | xsi:type="TaxCard:Fiscal_Address" | ||
49 | country="FF" | ||
50 | taxPayer="//@parents/@individual_B.0"/> | ||
51 | <owns_Address | ||
52 | xsi:type="TaxCard:Habitual_Address" | ||
53 | country="BB" | ||
54 | taxPayer="//@parents/@individual_B.0"/> | ||
55 | </individual_B> | ||
56 | <individual_B | ||
57 | birth_year="1980" | ||
58 | disability_percentage="0.99" | ||
59 | disability_type="OTHER" | ||
60 | birth_month="7" | ||
61 | birth_day="6"/> | ||
62 | </parents> | ||
63 | <children | ||
64 | birth_year="1990" | ||
65 | disability_percentage="0.5" | ||
66 | birth_month="1" | ||
67 | birth_day="1" | ||
68 | continued_studies="true"> | ||
69 | <allowances | ||
70 | reciver="//@parents/@individual_A"/> | ||
71 | </children> | ||
72 | </TaxCard:Household> | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/Resident_Tax_Payer.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/Resident_Tax_Payer.xmi new file mode 100644 index 00000000..bacb9caf --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.samples/Resident_Tax_Payer.xmi | |||
@@ -0,0 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <TaxCard:Resident_Tax_Payer | ||
3 | xmi:version="2.0" | ||
4 | xmlns:xmi="http://www.omg.org/XMI" | ||
5 | xmlns:TaxCard="http:///TaxCard.ecore"> | ||
6 | <dependents/> | ||
7 | </TaxCard:Resident_Tax_Payer> | ||