|
a |
|
b/eu.opensourceprojects.mondo.benchmarks.itmfactory/models/SpreadsheetMLSimplified.ecore |
|
|
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="SpreadsheetMLSimplified" nsURI="www.spreadsheet.com" nsPrefix="www.spreadsheet.com">
|
|
|
4 |
<eClassifiers xsi:type="ecore:EClass" name="DateTimeType">
|
|
|
5 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="year" ordered="false" lowerBound="1"
|
|
|
6 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
|
7 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="month" ordered="false"
|
|
|
8 |
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
|
9 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="day" ordered="false" lowerBound="1"
|
|
|
10 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
|
11 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hour" ordered="false" lowerBound="1"
|
|
|
12 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
|
13 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="minute" ordered="false"
|
|
|
14 |
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
|
15 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="second" ordered="false"
|
|
|
16 |
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
|
17 |
</eClassifiers>
|
|
|
18 |
<eClassifiers xsi:type="ecore:EClass" name="ValueType" abstract="true">
|
|
|
19 |
<eStructuralFeatures xsi:type="ecore:EReference" name="vt_data" ordered="false"
|
|
|
20 |
lowerBound="1" eType="#//Data" eOpposite="#//Data/value"/>
|
|
|
21 |
</eClassifiers>
|
|
|
22 |
<eClassifiers xsi:type="ecore:EClass" name="StringValue" eSuperTypes="#//ValueType">
|
|
|
23 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false"
|
|
|
24 |
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
|
25 |
</eClassifiers>
|
|
|
26 |
<eClassifiers xsi:type="ecore:EClass" name="NumberValue" eSuperTypes="#//ValueType">
|
|
|
27 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false"
|
|
|
28 |
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
|
|
|
29 |
</eClassifiers>
|
|
|
30 |
<eClassifiers xsi:type="ecore:EClass" name="DateTimeTypeValue" eSuperTypes="#//ValueType">
|
|
|
31 |
<eStructuralFeatures xsi:type="ecore:EReference" name="value" ordered="false"
|
|
|
32 |
lowerBound="1" eType="#//DateTimeType" containment="true"/>
|
|
|
33 |
</eClassifiers>
|
|
|
34 |
<eClassifiers xsi:type="ecore:EClass" name="BooleanValue" eSuperTypes="#//ValueType">
|
|
|
35 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false"
|
|
|
36 |
lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
|
|
37 |
</eClassifiers>
|
|
|
38 |
<eClassifiers xsi:type="ecore:EClass" name="ErrorValue" eSuperTypes="#//ValueType"/>
|
|
|
39 |
<eClassifiers xsi:type="ecore:EClass" name="Workbook">
|
|
|
40 |
<eStructuralFeatures xsi:type="ecore:EReference" name="wb_worksheets" upperBound="-1"
|
|
|
41 |
eType="#//Worksheet" containment="true" eOpposite="#//Worksheet/ws_workbook"/>
|
|
|
42 |
</eClassifiers>
|
|
|
43 |
<eClassifiers xsi:type="ecore:EClass" name="Worksheet">
|
|
|
44 |
<eStructuralFeatures xsi:type="ecore:EReference" name="ws_workbook" ordered="false"
|
|
|
45 |
lowerBound="1" eType="#//Workbook" eOpposite="#//Workbook/wb_worksheets"/>
|
|
|
46 |
<eStructuralFeatures xsi:type="ecore:EReference" name="ws_table" ordered="false"
|
|
|
47 |
eType="#//Table" containment="true" eOpposite="#//Table/t_worksheet"/>
|
|
|
48 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
|
|
|
49 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
|
50 |
</eClassifiers>
|
|
|
51 |
<eClassifiers xsi:type="ecore:EClass" name="Table">
|
|
|
52 |
<eStructuralFeatures xsi:type="ecore:EReference" name="t_worksheet" ordered="false"
|
|
|
53 |
lowerBound="1" eType="#//Worksheet" eOpposite="#//Worksheet/ws_table"/>
|
|
|
54 |
<eStructuralFeatures xsi:type="ecore:EReference" name="t_cols" upperBound="-1"
|
|
|
55 |
eType="#//Column" containment="true" eOpposite="#//Column/c_table"/>
|
|
|
56 |
<eStructuralFeatures xsi:type="ecore:EReference" name="t_rows" upperBound="-1"
|
|
|
57 |
eType="#//Row" containment="true" eOpposite="#//Row/r_table"/>
|
|
|
58 |
</eClassifiers>
|
|
|
59 |
<eClassifiers xsi:type="ecore:EClass" name="TableElement" abstract="true">
|
|
|
60 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="index" ordered="false"
|
|
|
61 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
|
62 |
</eClassifiers>
|
|
|
63 |
<eClassifiers xsi:type="ecore:EClass" name="ColOrRowElement" abstract="true" eSuperTypes="#//TableElement">
|
|
|
64 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hidden" ordered="false"
|
|
|
65 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
|
|
66 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="span" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
|
67 |
</eClassifiers>
|
|
|
68 |
<eClassifiers xsi:type="ecore:EClass" name="Column" eSuperTypes="#//ColOrRowElement">
|
|
|
69 |
<eStructuralFeatures xsi:type="ecore:EReference" name="c_table" ordered="false"
|
|
|
70 |
lowerBound="1" eType="#//Table" eOpposite="#//Table/t_cols"/>
|
|
|
71 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="autoFitWidth" ordered="false"
|
|
|
72 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
|
|
73 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="width" ordered="false"
|
|
|
74 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
|
|
|
75 |
</eClassifiers>
|
|
|
76 |
<eClassifiers xsi:type="ecore:EClass" name="Row" eSuperTypes="#//ColOrRowElement">
|
|
|
77 |
<eStructuralFeatures xsi:type="ecore:EReference" name="r_table" ordered="false"
|
|
|
78 |
lowerBound="1" eType="#//Table" eOpposite="#//Table/t_rows"/>
|
|
|
79 |
<eStructuralFeatures xsi:type="ecore:EReference" name="r_cells" upperBound="-1"
|
|
|
80 |
eType="#//Cell" containment="true" eOpposite="#//Cell/c_row"/>
|
|
|
81 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="autoFitHeight" ordered="false"
|
|
|
82 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
|
|
83 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="height" ordered="false"
|
|
|
84 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
|
|
|
85 |
</eClassifiers>
|
|
|
86 |
<eClassifiers xsi:type="ecore:EClass" name="Cell" eSuperTypes="#//TableElement">
|
|
|
87 |
<eStructuralFeatures xsi:type="ecore:EReference" name="c_row" ordered="false"
|
|
|
88 |
lowerBound="1" eType="#//Row" eOpposite="#//Row/r_cells"/>
|
|
|
89 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="arrayRange" ordered="false"
|
|
|
90 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
|
91 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="formula" ordered="false"
|
|
|
92 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
|
93 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hRef" ordered="false" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
|
|
|
94 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="mergeAcross" ordered="false"
|
|
|
95 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
|
|
|
96 |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="mergeDown" ordered="false"
|
|
|
97 |
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
|
|
|
98 |
<eStructuralFeatures xsi:type="ecore:EReference" name="c_data" ordered="false"
|
|
|
99 |
eType="#//Data" containment="true" eOpposite="#//Data/d_cell"/>
|
|
|
100 |
</eClassifiers>
|
|
|
101 |
<eClassifiers xsi:type="ecore:EClass" name="Data">
|
|
|
102 |
<eStructuralFeatures xsi:type="ecore:EReference" name="d_cell" ordered="false"
|
|
|
103 |
lowerBound="1" eType="#//Cell" eOpposite="#//Cell/c_data"/>
|
|
|
104 |
<eStructuralFeatures xsi:type="ecore:EReference" name="value" ordered="false"
|
|
|
105 |
lowerBound="1" eType="#//ValueType" containment="true" eOpposite="#//ValueType/vt_data"/>
|
|
|
106 |
</eClassifiers>
|
|
|
107 |
</ecore:EPackage>
|