-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocumentschema.ecore
43 lines (43 loc) · 2.78 KB
/
documentschema.ecore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="documentschema" nsURI="http://www.modelum.es/documentschema"
nsPrefix="documentschema">
<eClassifiers xsi:type="ecore:EClass" name="DocumentSchema" eSuperTypes="#//NamedElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="entities" lowerBound="1"
upperBound="-1" eType="#//EntityType" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EntityType" eSuperTypes="#//NamedElement #//Propertied"/>
<eClassifiers xsi:type="ecore:EClass" name="Property" abstract="true" eSuperTypes="#//NamedElement"/>
<eClassifiers xsi:type="ecore:EClass" name="Attribute" eSuperTypes="#//Property #//Bounded">
<eStructuralFeatures xsi:type="ecore:EReference" name="type" lowerBound="1" eType="#//Type"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Reference" eSuperTypes="#//Property #//Bounded">
<eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
eType="#//EntityType"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="type" lowerBound="1" eType="#//Type"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Aggregate" eSuperTypes="#//Property #//Propertied #//Bounded"/>
<eClassifiers xsi:type="ecore:EClass" name="Type" abstract="true"/>
<eClassifiers xsi:type="ecore:EClass" name="PrimitiveType" eSuperTypes="#//Type">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="datatype" eType="#//DataType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EEnum" name="DataType">
<eLiterals name="BOOLEAN"/>
<eLiterals name="INTEGER" value="1"/>
<eLiterals name="DOUBLE" value="2"/>
<eLiterals name="STRING" value="3"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="NamedElement" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Propertied" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="properties" upperBound="-1"
eType="#//Property" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Bounded" abstract="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="upperBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
</ecore:EPackage>