blob: 1cfb53880c1502706942096e85e45d349cfd61cd [file] [log] [blame]
<?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="simplegraph2graph" nsURI="http://www.eclipse.org/qvt/examples/0.1/SimpleGraph2Graph"
nsPrefix="simplegraph2graph">
<eClassifiers xsi:type="ecore:EClass" name="Graph2Graph">
<eStructuralFeatures xsi:type="ecore:EReference" name="graph1" eType="ecore:EClass SimpleGraph.ecore#//Graph">
<eAnnotations source="http://www.eclipse.org/qvt#Domains">
<details key="referredDomain" value="SOURCE"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="graph2" eType="ecore:EClass SimpleGraph.ecore#//Graph">
<eAnnotations source="http://www.eclipse.org/qvt#Domains">
<details key="referredDomain" value="TARGET"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="element2Element" upperBound="-1"
eType="#//Element2Element" containment="true" eOpposite="#//Element2Element/owner"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Element2Element" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Graph2Graph"
eOpposite="#//Graph2Graph/element2Element"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Edge2Edge">
<eStructuralFeatures xsi:type="ecore:EReference" name="edge1" eType="ecore:EClass SimpleGraph.ecore#//Edge"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="edge2" eType="ecore:EClass SimpleGraph.ecore#//Edge"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="target" eType="#//Node2Node"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="source" eType="#//Node2Node"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Node2Node" eSuperTypes="#//Element2Element">
<eStructuralFeatures xsi:type="ecore:EReference" name="node1" eType="ecore:EClass SimpleGraph.ecore#//Node"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="node2" eType="ecore:EClass SimpleGraph.ecore#//Node"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>