SimpleRDBMS
RdbmsColumn
rdbmsType
rdbmsOwner
rdbmsKey
rdbmsForeignKey
RdbmsForeignKey
rdbmsOwner
rdbmsRefersTo
rdbmsColumn
RdbmsKey
rdbmsColumn
rdbmsRefersToOpposite
rdbmsOwner
RdbmsModelElement
rdbmsName
rdbmsKind
id
RdbmsSchema
rdbmsTable
RdbmsTable
rdbmsColumn
rdbmsForeignKey
rdbmsKey
rdbmsSchema
<?xml version="1.0" encoding="ISO-8859-1"?>
<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="SimpleRDBMS"
    nsURI="urn:SimpleRDBMS.ecore" nsPrefix="SimpleRDBMS">
  <eClassifiers xsi:type="ecore:EClass" name="RdbmsColumn" eSuperTypes="#//RdbmsModelElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="rdbmsType" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsOwner" lowerBound="1"
        eType="#//RdbmsTable" eOpposite="#//RdbmsTable/rdbmsColumn"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsKey" upperBound="-1"
        eType="#//RdbmsKey" eOpposite="#//RdbmsKey/rdbmsColumn"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsForeignKey" upperBound="-1"
        eType="#//RdbmsForeignKey" eOpposite="#//RdbmsForeignKey/rdbmsColumn"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="RdbmsForeignKey" eSuperTypes="#//RdbmsModelElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsOwner" lowerBound="1"
        eType="#//RdbmsTable" eOpposite="#//RdbmsTable/rdbmsForeignKey"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsRefersTo" lowerBound="1"
        eType="#//RdbmsKey" eOpposite="#//RdbmsKey/rdbmsRefersToOpposite"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsColumn" upperBound="-1"
        eType="#//RdbmsColumn" eOpposite="#//RdbmsColumn/rdbmsForeignKey"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="RdbmsKey" eSuperTypes="#//RdbmsModelElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsColumn" upperBound="-1"
        eType="#//RdbmsColumn" eOpposite="#//RdbmsColumn/rdbmsKey"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsRefersToOpposite"
        upperBound="-1" eType="#//RdbmsForeignKey" eOpposite="#//RdbmsForeignKey/rdbmsRefersTo"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsOwner" lowerBound="1"
        eType="#//RdbmsTable" eOpposite="#//RdbmsTable/rdbmsKey"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="RdbmsModelElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="rdbmsName" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="rdbmsKind" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        iD="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="RdbmsSchema" eSuperTypes="#//RdbmsModelElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsTable" upperBound="-1"
        eType="#//RdbmsTable" containment="true" eOpposite="#//RdbmsTable/rdbmsSchema"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="RdbmsTable" eSuperTypes="#//RdbmsModelElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsColumn" upperBound="-1"
        eType="#//RdbmsColumn" containment="true" eOpposite="#//RdbmsColumn/rdbmsOwner"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsForeignKey" upperBound="-1"
        eType="#//RdbmsForeignKey" containment="true" eOpposite="#//RdbmsForeignKey/rdbmsOwner"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsKey" upperBound="-1"
        eType="#//RdbmsKey" containment="true" eOpposite="#//RdbmsKey/rdbmsOwner"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rdbmsSchema" lowerBound="1"
        eType="#//RdbmsSchema" eOpposite="#//RdbmsSchema/rdbmsTable"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"SimpleRDBMS","nsURI":"urn:SimpleRDBMS.ecore","name":"SimpleRDBMS","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"RdbmsColumn","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"RdbmsForeignKey","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"RdbmsKey","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"RdbmsModelElement","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"RdbmsSchema","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"RdbmsTable","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"rdbmsType","changeable":true,"lowerBound":1,"iD":false,"id":7,"derived":false},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"rdbmsOwner","changeable":true,"resolveProxies":true,"lowerBound":1,"id":8,"derived":false},{"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":"rdbmsKey","changeable":true,"resolveProxies":true,"lowerBound":0,"id":9,"derived":false},{"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":"rdbmsForeignKey","changeable":true,"resolveProxies":true,"lowerBound":0,"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":"rdbmsColumn","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":"rdbmsColumn","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":"rdbmsColumn","changeable":true,"resolveProxies":true,"lowerBound":0,"id":18,"derived":false},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"rdbmsOwner","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"rdbmsRefersTo","changeable":true,"resolveProxies":true,"lowerBound":1,"id":20,"derived":false},{"id":21,"eClass":"EGenericType"},{"id":22,"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":"rdbmsForeignKey","changeable":true,"resolveProxies":true,"lowerBound":0,"id":23,"derived":false},{"id":24,"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":"rdbmsRefersToOpposite","changeable":true,"resolveProxies":true,"lowerBound":0,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"rdbmsOwner","changeable":true,"resolveProxies":true,"lowerBound":1,"id":27,"derived":false},{"id":28,"eClass":"EGenericType"},{"id":29,"eClass":"EGenericType"},{"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":"rdbmsKey","changeable":true,"resolveProxies":true,"lowerBound":0,"id":32,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"rdbmsName","changeable":true,"lowerBound":1,"iD":false,"id":33,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"rdbmsKind","changeable":true,"lowerBound":1,"iD":false,"id":34,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"id","changeable":true,"lowerBound":0,"iD":true,"id":35,"derived":false},{"id":36,"eClass":"EGenericType"},{"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":"rdbmsTable","changeable":true,"resolveProxies":true,"lowerBound":0,"id":39,"derived":false},{"id":40,"eClass":"EGenericType"},{"id":41,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"rdbmsSchema","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":18},{"source":2,"target":21},{"source":19,"target":6},{"source":19,"target":22},{"source":19,"target":2},{"source":19,"target":23},{"source":22,"target":6},{"source":20,"target":3},{"source":20,"target":24},{"source":20,"target":2},{"source":20,"target":25},{"source":24,"target":3},{"source":18,"target":1},{"source":18,"target":26},{"source":18,"target":2},{"source":18,"target":10},{"source":26,"target":1},{"source":21,"target":4},{"source":3,"target":0},{"source":3,"target":4},{"source":3,"target":16},{"source":3,"target":25},{"source":3,"target":27},{"source":3,"target":28},{"source":16,"target":1},{"source":16,"target":29},{"source":16,"target":3},{"source":16,"target":9},{"source":29,"target":1},{"source":25,"target":2},{"source":25,"target":30},{"source":25,"target":3},{"source":25,"target":20},{"source":30,"target":2},{"source":27,"target":6},{"source":27,"target":31},{"source":27,"target":3},{"source":27,"target":32},{"source":31,"target":6},{"source":28,"target":4},{"source":4,"target":0},{"source":4,"target":33},{"source":4,"target":34},{"source":4,"target":35},{"source":33,"target":36},{"source":33,"target":4},{"source":34,"target":37},{"source":34,"target":4},{"source":35,"target":38},{"source":35,"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":14},{"source":6,"target":23},{"source":6,"target":32},{"source":6,"target":42},{"source":6,"target":43},{"source":14,"target":1},{"source":14,"target":44},{"source":14,"target":6},{"source":14,"target":8},{"source":44,"target":1},{"source":23,"target":2},{"source":23,"target":45},{"source":23,"target":6},{"source":23,"target":19},{"source":45,"target":2},{"source":32,"target":3},{"source":32,"target":46},{"source":32,"target":6},{"source":32,"target":27},{"source":46,"target":3},{"source":42,"target":5},{"source":42,"target":47},{"source":42,"target":6},{"source":42,"target":39},{"source":47,"target":5},{"source":43,"target":4}],"multigraph":true}