SomeMetamodelExtension.ecore 1.28 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
<?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="somemetamodelextension" nsURI="http://somemetamodelextension/1.0"
    nsPrefix="somemetamodelextension">
  <eClassifiers xsi:type="ecore:EClass" name="X"/>
  <eClassifiers xsi:type="ecore:EClass" name="R">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="a_m" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="b" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eSubpackages name="hidden" nsURI="http://somemetamodelextension/1.0/hidden" nsPrefix="hidden">
    <eClassifiers xsi:type="ecore:EClass" name="Y">
      <eStructuralFeatures xsi:type="ecore:EReference" name="z" eType="#//hidden/Z"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Z">
      <eStructuralFeatures xsi:type="ecore:EReference" name="y" eType="#//hidden/Y"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="i_m" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eClassifiers>
  </eSubpackages>
</ecore:EPackage>