uml2rdbms
AttributeToColumn
type
AssociationToForeignKey
referenced
owner
name
association
foreignKey
ClassToTable
owner
associationsToForeignKeys
name
umlClass
table
primaryKey
FromAttribute
name
kind
owner
leafs
attribute
FromAttributeOwner
fromAttributes
NonLeafAttribute
PackageToSchema
classesToTables
primitivesToNames
name
umlPackage
schema
PrimitiveToName
owner
name
primitive
typeName
ToColumn
column
<?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="uml2rdbms" nsURI="http://www.eclipse.org/qvt/examples/0.1/ManualUML2RDBMS"
    nsPrefix="uml2rdbms">
  <eClassifiers xsi:type="ecore:EClass" name="AttributeToColumn" eSuperTypes="#//FromAttribute #//ToColumn">
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//PrimitiveToName"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="AssociationToForeignKey" eSuperTypes="#//ToColumn">
    <eStructuralFeatures xsi:type="ecore:EReference" name="referenced" eType="#//ClassToTable"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//ClassToTable"
        eOpposite="#//ClassToTable/associationsToForeignKeys"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="association" eType="ecore:EClass ManualUML.ecore#//Association"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="foreignKey" eType="ecore:EClass ManualRDBMS.ecore#//ForeignKey"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ClassToTable" eSuperTypes="#//FromAttributeOwner #//ToColumn">
    <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//PackageToSchema"
        eOpposite="#//PackageToSchema/classesToTables"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="associationsToForeignKeys"
        upperBound="-1" eType="#//AssociationToForeignKey" containment="true" eOpposite="#//AssociationToForeignKey/owner"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="umlClass" eType="ecore:EClass ManualUML.ecore#//Class"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="table" eType="ecore:EClass ManualRDBMS.ecore#//Table"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="primaryKey" eType="ecore:EClass ManualRDBMS.ecore#//Key"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="FromAttribute" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//FromAttributeOwner"
        eOpposite="#//FromAttributeOwner/fromAttributes"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="leafs" ordered="false"
        upperBound="-1" eType="#//AttributeToColumn"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="attribute" eType="ecore:EClass ManualUML.ecore#//Attribute"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="FromAttributeOwner" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EReference" name="fromAttributes" ordered="false"
        upperBound="-1" eType="#//FromAttribute" containment="true" eOpposite="#//FromAttribute/owner"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="NonLeafAttribute" eSuperTypes="#//FromAttributeOwner #//FromAttribute"/>
  <eClassifiers xsi:type="ecore:EClass" name="PackageToSchema">
    <eStructuralFeatures xsi:type="ecore:EReference" name="classesToTables" ordered="false"
        upperBound="-1" eType="#//ClassToTable" containment="true" eOpposite="#//ClassToTable/owner"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="primitivesToNames" ordered="false"
        upperBound="-1" eType="#//PrimitiveToName" containment="true" eOpposite="#//PrimitiveToName/owner"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="umlPackage" lowerBound="1"
        eType="ecore:EClass ManualUML.ecore#//Package"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="schema" lowerBound="1"
        eType="ecore:EClass ManualRDBMS.ecore#//Schema"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PrimitiveToName">
    <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//PackageToSchema"
        eOpposite="#//PackageToSchema/primitivesToNames"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="primitive" lowerBound="1"
        eType="ecore:EClass ManualUML.ecore#//PrimitiveDataType"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeName" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ToColumn">
    <eStructuralFeatures xsi:type="ecore:EReference" name="column" eType="ecore:EClass ManualRDBMS.ecore#//Column"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"uml2rdbms","nsURI":"http://www.eclipse.org/qvt/examples/0.1/ManualUML2RDBMS","name":"uml2rdbms","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"AttributeToColumn","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"AssociationToForeignKey","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ClassToTable","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"FromAttribute","instanceClass":null,"abstract":true,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"FromAttributeOwner","instanceClass":null,"abstract":true,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NonLeafAttribute","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PackageToSchema","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PrimitiveToName","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ToColumn","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"type","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":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"referenced","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"derived":false},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"owner","changeable":true,"resolveProxies":true,"lowerBound":0,"id":15,"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":"name","changeable":true,"lowerBound":0,"iD":false,"id":16,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"association","changeable":true,"resolveProxies":true,"lowerBound":0,"id":17,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"foreignKey","changeable":true,"resolveProxies":true,"lowerBound":0,"id":18,"derived":false},{"id":19,"eClass":"EGenericType"},{"id":20,"eClass":"EGenericType"},{"id":21,"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":"associationsToForeignKeys","changeable":true,"resolveProxies":true,"lowerBound":0,"id":22,"derived":false},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"owner","changeable":true,"resolveProxies":true,"lowerBound":0,"id":26,"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":"name","changeable":true,"lowerBound":0,"iD":false,"id":27,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"umlClass","changeable":true,"resolveProxies":true,"lowerBound":0,"id":28,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"table","changeable":true,"resolveProxies":true,"lowerBound":0,"id":29,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"primaryKey","changeable":true,"resolveProxies":true,"lowerBound":0,"id":30,"derived":false},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"classesToTables","changeable":true,"resolveProxies":true,"lowerBound":0,"id":34,"derived":false},{"id":35,"eClass":"EGenericType"},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"id":39,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":40,"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":"kind","changeable":true,"lowerBound":0,"iD":false,"id":41,"derived":false},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"owner","changeable":true,"resolveProxies":true,"lowerBound":0,"id":42,"derived":false},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"leafs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":43,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"attribute","changeable":true,"resolveProxies":true,"lowerBound":0,"id":44,"derived":false},{"id":45,"eClass":"EGenericType"},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"fromAttributes","changeable":true,"resolveProxies":true,"lowerBound":0,"id":48,"derived":false},{"id":49,"eClass":"EGenericType"},{"id":50,"eClass":"EGenericType"},{"id":51,"eClass":"EGenericType"},{"id":52,"eClass":"EGenericType"},{"id":53,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"primitivesToNames","changeable":true,"resolveProxies":true,"lowerBound":0,"id":54,"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":"name","changeable":true,"lowerBound":0,"iD":false,"id":55,"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":"umlPackage","changeable":true,"resolveProxies":true,"lowerBound":1,"id":56,"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":"schema","changeable":true,"resolveProxies":true,"lowerBound":1,"id":57,"derived":false},{"id":58,"eClass":"EGenericType"},{"id":59,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"owner","changeable":true,"resolveProxies":true,"lowerBound":0,"id":60,"derived":false},{"id":61,"eClass":"EGenericType"},{"id":62,"eClass":"EGenericType"},{"id":63,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":64,"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":"primitive","changeable":true,"resolveProxies":true,"lowerBound":1,"id":65,"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":"typeName","changeable":true,"lowerBound":1,"iD":false,"id":66,"derived":false},{"id":67,"eClass":"EGenericType"},{"id":68,"eClass":"EGenericType"},{"id":69,"eClass":"EGenericType"},{"id":70,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"column","changeable":true,"resolveProxies":true,"lowerBound":0,"id":71,"derived":false},{"id":72,"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":0,"target":7},{"source":0,"target":8},{"source":0,"target":9},{"source":1,"target":0},{"source":1,"target":4},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":1,"target":12},{"source":10,"target":8},{"source":10,"target":13},{"source":10,"target":1},{"source":13,"target":8},{"source":11,"target":4},{"source":12,"target":9},{"source":2,"target":0},{"source":2,"target":9},{"source":2,"target":14},{"source":2,"target":15},{"source":2,"target":16},{"source":2,"target":17},{"source":2,"target":18},{"source":2,"target":19},{"source":14,"target":3},{"source":14,"target":20},{"source":14,"target":2},{"source":20,"target":3},{"source":15,"target":3},{"source":15,"target":21},{"source":15,"target":2},{"source":15,"target":22},{"source":21,"target":3},{"source":16,"target":23},{"source":16,"target":2},{"source":17,"target":24},{"source":17,"target":2},{"source":18,"target":25},{"source":18,"target":2},{"source":19,"target":9},{"source":3,"target":0},{"source":3,"target":5},{"source":3,"target":9},{"source":3,"target":26},{"source":3,"target":22},{"source":3,"target":27},{"source":3,"target":28},{"source":3,"target":29},{"source":3,"target":30},{"source":3,"target":31},{"source":3,"target":32},{"source":26,"target":7},{"source":26,"target":33},{"source":26,"target":3},{"source":26,"target":34},{"source":33,"target":7},{"source":22,"target":2},{"source":22,"target":35},{"source":22,"target":3},{"source":22,"target":15},{"source":35,"target":2},{"source":27,"target":36},{"source":27,"target":3},{"source":28,"target":37},{"source":28,"target":3},{"source":29,"target":38},{"source":29,"target":3},{"source":30,"target":39},{"source":30,"target":3},{"source":31,"target":5},{"source":32,"target":9},{"source":4,"target":0},{"source":4,"target":40},{"source":4,"target":41},{"source":4,"target":42},{"source":4,"target":43},{"source":4,"target":44},{"source":40,"target":45},{"source":40,"target":4},{"source":41,"target":46},{"source":41,"target":4},{"source":42,"target":5},{"source":42,"target":47},{"source":42,"target":4},{"source":42,"target":48},{"source":47,"target":5},{"source":43,"target":1},{"source":43,"target":49},{"source":43,"target":4},{"source":49,"target":1},{"source":44,"target":50},{"source":44,"target":4},{"source":5,"target":0},{"source":5,"target":48},{"source":48,"target":4},{"source":48,"target":51},{"source":48,"target":5},{"source":48,"target":42},{"source":51,"target":4},{"source":6,"target":0},{"source":6,"target":5},{"source":6,"target":4},{"source":6,"target":52},{"source":6,"target":53},{"source":52,"target":5},{"source":53,"target":4},{"source":7,"target":0},{"source":7,"target":34},{"source":7,"target":54},{"source":7,"target":55},{"source":7,"target":56},{"source":7,"target":57},{"source":34,"target":3},{"source":34,"target":58},{"source":34,"target":7},{"source":34,"target":26},{"source":58,"target":3},{"source":54,"target":8},{"source":54,"target":59},{"source":54,"target":7},{"source":54,"target":60},{"source":59,"target":8},{"source":55,"target":61},{"source":55,"target":7},{"source":56,"target":62},{"source":56,"target":7},{"source":57,"target":63},{"source":57,"target":7},{"source":8,"target":0},{"source":8,"target":60},{"source":8,"target":64},{"source":8,"target":65},{"source":8,"target":66},{"source":60,"target":7},{"source":60,"target":67},{"source":60,"target":8},{"source":60,"target":54},{"source":67,"target":7},{"source":64,"target":68},{"source":64,"target":8},{"source":65,"target":69},{"source":65,"target":8},{"source":66,"target":70},{"source":66,"target":8},{"source":9,"target":0},{"source":9,"target":71},{"source":71,"target":72},{"source":71,"target":9}],"multigraph":true}