1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<?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="tree"
nsURI="http:///org.eclipse.emf.test.models/Tree" nsPrefix="org.eclipse.emf.test.models.tree">
<eClassifiers xsi:type="ecore:EClass" name="Node">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//Node"
transient="true" eOpposite="#//Node/children"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
eType="#//Node" containment="true" eOpposite="#//Node/parent"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="data" eType="#//Data" eOpposite="#//Data/node"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="relatedNodes" upperBound="-1"
eType="#//Node"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Data">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="node" lowerBound="1" eType="#//Node"
eOpposite="#//Node/data"/>
</eClassifiers>
</ecore:EPackage>
|