rdbmsMM
Column
type
owner
key
foreignKey
ForeignKey
schema
refersTo
owner
column
Key
owner
column
referedBy
RModelElement
kind
name
Schema
tables
Table
schema
column
key
foreignKey
<?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="rdbmsMM"
    nsURI="http://org.eclipse.qvt.declarative.examples.qvtcore.uml2rdbms/SimpleRdbms"
    nsPrefix="rdbmsMM">
  <eClassifiers xsi:type="ecore:EClass" name="Column" eSuperTypes="#//RModelElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" ordered="false" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false"
        lowerBound="1" eType="#//Table" eOpposite="#//Table/column"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="key" ordered="false" lowerBound="1"
        upperBound="-1" eType="#//Key" eOpposite="#//Key/column"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="foreignKey" ordered="false"
        lowerBound="1" upperBound="-1" eType="#//ForeignKey" eOpposite="#//ForeignKey/column"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ForeignKey" eSuperTypes="#//RModelElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="schema" ordered="false"
        lowerBound="1" eType="#//Schema"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="refersTo" ordered="false"
        lowerBound="1" eType="#//Key" eOpposite="#//Key/referedBy"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false"
        lowerBound="1" eType="#//Table" eOpposite="#//Table/foreignKey"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="column" upperBound="-1"
        eType="#//Column" eOpposite="#//Column/foreignKey"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Key" eSuperTypes="#//RModelElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false"
        lowerBound="1" eType="#//Table" eOpposite="#//Table/key"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="column" upperBound="-1"
        eType="#//Column" eOpposite="#//Column/key"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="referedBy" ordered="false"
        lowerBound="1" upperBound="-1" eType="#//ForeignKey" eOpposite="#//ForeignKey/refersTo"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="RModelElement" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" ordered="false" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Schema" eSuperTypes="#//RModelElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="tables" upperBound="-1"
        eType="#//Table" containment="true" eOpposite="#//Table/schema"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Table" eSuperTypes="#//RModelElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="schema" ordered="false"
        lowerBound="1" eType="#//Schema" eOpposite="#//Schema/tables"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="column" upperBound="-1"
        eType="#//Column" containment="true" eOpposite="#//Column/owner"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="key" upperBound="-1" eType="#//Key"
        containment="true" eOpposite="#//Key/owner"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="foreignKey" upperBound="-1"
        eType="#//ForeignKey" eOpposite="#//ForeignKey/owner"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"rdbmsMM","nsURI":"http://org.eclipse.qvt.declarative.examples.qvtcore.uml2rdbms/SimpleRdbms","name":"rdbmsMM","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Column","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ForeignKey","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Key","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"RModelElement","instanceClass":null,"abstract":true,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Schema","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Table","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"type","changeable":true,"lowerBound":1,"iD":false,"id":7,"derived":false},{"container":true,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"owner","changeable":true,"resolveProxies":true,"lowerBound":1,"id":8,"derived":false},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"key","changeable":true,"resolveProxies":true,"lowerBound":1,"id":9,"derived":false},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"foreignKey","changeable":true,"resolveProxies":true,"lowerBound":1,"id":10,"derived":false},{"id":11,"eClass":"EGenericType"},{"id":12,"eClass":"EGenericType"},{"id":13,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"column","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"column","changeable":true,"resolveProxies":true,"lowerBound":0,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"column","changeable":true,"resolveProxies":true,"lowerBound":0,"id":18,"derived":false},{"container":false,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"schema","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"derived":false},{"container":false,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"refersTo","changeable":true,"resolveProxies":true,"lowerBound":1,"id":20,"derived":false},{"container":false,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"owner","changeable":true,"resolveProxies":true,"lowerBound":1,"id":21,"derived":false},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"referedBy","changeable":true,"resolveProxies":true,"lowerBound":1,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"foreignKey","changeable":true,"resolveProxies":true,"lowerBound":0,"id":27,"derived":false},{"id":28,"eClass":"EGenericType"},{"container":true,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"owner","changeable":true,"resolveProxies":true,"lowerBound":1,"id":29,"derived":false},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"key","changeable":true,"resolveProxies":true,"lowerBound":0,"id":32,"derived":false},{"id":33,"eClass":"EGenericType"},{"id":34,"eClass":"EGenericType"},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"kind","changeable":true,"lowerBound":1,"iD":false,"id":35,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":36,"derived":false},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"tables","changeable":true,"resolveProxies":true,"lowerBound":0,"id":39,"derived":false},{"id":40,"eClass":"EGenericType"},{"id":41,"eClass":"EGenericType"},{"container":true,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"schema","changeable":true,"resolveProxies":true,"lowerBound":1,"id":42,"derived":false},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":0,"target":5},{"source":0,"target":6},{"source":1,"target":0},{"source":1,"target":4},{"source":1,"target":7},{"source":1,"target":8},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":7,"target":12},{"source":7,"target":1},{"source":8,"target":6},{"source":8,"target":13},{"source":8,"target":1},{"source":8,"target":14},{"source":13,"target":6},{"source":9,"target":3},{"source":9,"target":15},{"source":9,"target":1},{"source":9,"target":16},{"source":15,"target":3},{"source":10,"target":2},{"source":10,"target":17},{"source":10,"target":1},{"source":10,"target":18},{"source":17,"target":2},{"source":11,"target":4},{"source":2,"target":0},{"source":2,"target":4},{"source":2,"target":19},{"source":2,"target":20},{"source":2,"target":21},{"source":2,"target":18},{"source":2,"target":22},{"source":19,"target":5},{"source":19,"target":23},{"source":19,"target":2},{"source":23,"target":5},{"source":20,"target":3},{"source":20,"target":24},{"source":20,"target":2},{"source":20,"target":25},{"source":24,"target":3},{"source":21,"target":6},{"source":21,"target":26},{"source":21,"target":2},{"source":21,"target":27},{"source":26,"target":6},{"source":18,"target":1},{"source":18,"target":28},{"source":18,"target":2},{"source":18,"target":10},{"source":28,"target":1},{"source":22,"target":4},{"source":3,"target":0},{"source":3,"target":4},{"source":3,"target":29},{"source":3,"target":16},{"source":3,"target":25},{"source":3,"target":30},{"source":29,"target":6},{"source":29,"target":31},{"source":29,"target":3},{"source":29,"target":32},{"source":31,"target":6},{"source":16,"target":1},{"source":16,"target":33},{"source":16,"target":3},{"source":16,"target":9},{"source":33,"target":1},{"source":25,"target":2},{"source":25,"target":34},{"source":25,"target":3},{"source":25,"target":20},{"source":34,"target":2},{"source":30,"target":4},{"source":4,"target":0},{"source":4,"target":35},{"source":4,"target":36},{"source":35,"target":37},{"source":35,"target":4},{"source":36,"target":38},{"source":36,"target":4},{"source":5,"target":0},{"source":5,"target":4},{"source":5,"target":39},{"source":5,"target":40},{"source":39,"target":6},{"source":39,"target":41},{"source":39,"target":5},{"source":39,"target":42},{"source":41,"target":6},{"source":40,"target":4},{"source":6,"target":0},{"source":6,"target":4},{"source":6,"target":42},{"source":6,"target":14},{"source":6,"target":32},{"source":6,"target":27},{"source":6,"target":43},{"source":42,"target":5},{"source":42,"target":44},{"source":42,"target":6},{"source":42,"target":39},{"source":44,"target":5},{"source":14,"target":1},{"source":14,"target":45},{"source":14,"target":6},{"source":14,"target":8},{"source":45,"target":1},{"source":32,"target":3},{"source":32,"target":46},{"source":32,"target":6},{"source":32,"target":29},{"source":46,"target":3},{"source":27,"target":2},{"source":27,"target":47},{"source":27,"target":6},{"source":27,"target":21},{"source":47,"target":2},{"source":43,"target":4}],"multigraph":true}