SomeMetamodel.ecore 1.61 KB
Newer Older
Erwan Bousse's avatar
Erwan Bousse committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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="somemetamodel" nsURI="http://somemetamodel" nsPrefix="somemetamodel">
  <eClassifiers xsi:type="ecore:EClass" name="A">
    <eStructuralFeatures xsi:type="ecore:EReference" name="b" eType="#//B" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="c" eType="#//C"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="d" eType="#//D" eOpposite="#//D/a"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="e" upperBound="-1" eType="#//E"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="x" eType="ecore:EClass SomeMetamodelExtension.ecore#//X"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="B">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="n1_m" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="n2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByte"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="C">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="yay_m" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="D">
    <eStructuralFeatures xsi:type="ecore:EReference" name="a" eType="#//A" eOpposite="#//A/d"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="E"/>
</ecore:EPackage>