blob: dacb6961d753095cd29cce81ae03156d76c41ad5 [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/qvtd/test/compiler/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://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName">
<details key="body" value="middle1"/>
<details key="upper" value="1"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/qvt#Domains">
<details key="referredDomain" value="upperGraph"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="graph2" eType="ecore:EClass SimpleGraph.ecore#//Graph">
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName">
<details key="body" value="middle2"/>
<details key="upper" value="1"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/qvt#Domains">
<details key="referredDomain" value="lowerGraph"/>
</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" eSuperTypes="#//Element2Element">
<eStructuralFeatures xsi:type="ecore:EReference" name="edge1" eType="ecore:EClass SimpleGraph.ecore#//Edge">
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName">
<details key="body" value="middle1"/>
<details key="upper" value="1"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/qvt#Domains">
<details key="referredDomain" value="upperGraph"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="edge2" eType="ecore:EClass SimpleGraph.ecore#//Edge">
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName">
<details key="body" value="middle2"/>
<details key="upper" value="1"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/qvt#Domains">
<details key="referredDomain" value="lowerGraph"/>
</eAnnotations>
</eStructuralFeatures>
<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">
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName">
<details key="body" value="middle1"/>
<details key="upper" value="1"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/qvt#Domains">
<details key="referredDomain" value="upperGraph"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="node2" eType="ecore:EClass SimpleGraph.ecore#//Node">
<eAnnotations source="http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName">
<details key="body" value="middle2"/>
<details key="upper" value="1"/>
</eAnnotations>
<eAnnotations source="http://www.eclipse.org/qvt#Domains">
<details key="referredDomain" value="lowerGraph"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="label" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>