Skip to main content
summaryrefslogtreecommitdiffstats
blob: dacb6961d753095cd29cce81ae03156d76c41ad5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?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>

Back to the top