uml2rdbms
AssociationToForeignKey
referenced
owner
name
association
foreignKey
AttributeToColumn
type
ClassToTable
owner
associationToForeignKeys
name
umlClass
table
primaryKey
FromAttribute
name
kind
owner
leafs
attribute
FromAttributeOwner
fromAttributes
PackageToSchema
classesToTables
primitivesToNames
name
umlPackage
schema
PrimitiveToName
owner
name
primitive
typeName
ToColumn
column
NonLeafAttribute
type
<?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://org.eclipse.qvt.declarative.examples.qvtcore.uml2rdbms/uml2Rdbms"
    nsPrefix="uml2rdbms">
  <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/associationToForeignKeys"/>
    <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 SimpleUml.ecore#//Association"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="foreignKey" eType="ecore:EClass SimpleRdbms.ecore#//ForeignKey"/>
  </eClassifiers>
  <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="ClassToTable" eSuperTypes="#//FromAttributeOwner #//ToColumn">
    <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//PackageToSchema"
        eOpposite="#//PackageToSchema/classesToTables"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="associationToForeignKeys"
        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 SimpleUml.ecore#//Class"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="table" eType="ecore:EClass SimpleRdbms.ecore#//Table"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="primaryKey" eType="ecore:EClass SimpleRdbms.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" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="attribute" eType="ecore:EClass SimpleUml.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="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" eType="ecore:EClass SimpleUml.ecore#//Package"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="schema" eType="ecore:EClass SimpleRdbms.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" eType="ecore:EClass SimpleUml.ecore#//PrimitiveDataType"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ToColumn" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EReference" name="column" eType="ecore:EClass SimpleRdbms.ecore#//Column"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="NonLeafAttribute" eSuperTypes="#//FromAttributeOwner #//FromAttribute">
    <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//PrimitiveToName"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"uml2rdbms","nsURI":"http://org.eclipse.qvt.declarative.examples.qvtcore.uml2rdbms/uml2Rdbms","name":"uml2rdbms","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"AssociationToForeignKey","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"AttributeToColumn","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":"PackageToSchema","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PrimitiveToName","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ToColumn","instanceClass":null,"abstract":true,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NonLeafAttribute","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":"referenced","changeable":true,"resolveProxies":true,"lowerBound":0,"id":10,"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":11,"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":12,"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":13,"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":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"id":16,"eClass":"EGenericType"},{"id":17,"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":"associationToForeignKeys","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":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"type","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":true,"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"},{"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":52,"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":53,"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":"umlPackage","changeable":true,"resolveProxies":true,"lowerBound":0,"id":54,"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":"schema","changeable":true,"resolveProxies":true,"lowerBound":0,"id":55,"derived":false},{"id":56,"eClass":"EGenericType"},{"id":57,"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":58,"derived":false},{"id":59,"eClass":"EGenericType"},{"id":60,"eClass":"EGenericType"},{"id":61,"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":62,"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":"primitive","changeable":true,"resolveProxies":true,"lowerBound":0,"id":63,"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":"typeName","changeable":true,"lowerBound":0,"iD":false,"id":64,"derived":false},{"id":65,"eClass":"EGenericType"},{"id":66,"eClass":"EGenericType"},{"id":67,"eClass":"EGenericType"},{"id":68,"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":69,"derived":false},{"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":"type","changeable":true,"resolveProxies":true,"lowerBound":0,"id":71,"derived":false},{"id":72,"eClass":"EGenericType"},{"id":73,"eClass":"EGenericType"},{"id":74,"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":8},{"source":1,"target":10},{"source":1,"target":11},{"source":1,"target":12},{"source":1,"target":13},{"source":1,"target":14},{"source":1,"target":15},{"source":10,"target":3},{"source":10,"target":16},{"source":10,"target":1},{"source":16,"target":3},{"source":11,"target":3},{"source":11,"target":17},{"source":11,"target":1},{"source":11,"target":18},{"source":17,"target":3},{"source":12,"target":19},{"source":12,"target":1},{"source":13,"target":20},{"source":13,"target":1},{"source":14,"target":21},{"source":14,"target":1},{"source":15,"target":8},{"source":2,"target":0},{"source":2,"target":4},{"source":2,"target":8},{"source":2,"target":22},{"source":2,"target":23},{"source":2,"target":24},{"source":22,"target":7},{"source":22,"target":25},{"source":22,"target":2},{"source":25,"target":7},{"source":23,"target":4},{"source":24,"target":8},{"source":3,"target":0},{"source":3,"target":5},{"source":3,"target":8},{"source":3,"target":26},{"source":3,"target":18},{"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":6},{"source":26,"target":33},{"source":26,"target":3},{"source":26,"target":34},{"source":33,"target":6},{"source":18,"target":1},{"source":18,"target":35},{"source":18,"target":3},{"source":18,"target":11},{"source":35,"target":1},{"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":8},{"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":2},{"source":43,"target":49},{"source":43,"target":4},{"source":49,"target":2},{"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":34},{"source":6,"target":52},{"source":6,"target":53},{"source":6,"target":54},{"source":6,"target":55},{"source":34,"target":3},{"source":34,"target":56},{"source":34,"target":6},{"source":34,"target":26},{"source":56,"target":3},{"source":52,"target":7},{"source":52,"target":57},{"source":52,"target":6},{"source":52,"target":58},{"source":57,"target":7},{"source":53,"target":59},{"source":53,"target":6},{"source":54,"target":60},{"source":54,"target":6},{"source":55,"target":61},{"source":55,"target":6},{"source":7,"target":0},{"source":7,"target":58},{"source":7,"target":62},{"source":7,"target":63},{"source":7,"target":64},{"source":58,"target":6},{"source":58,"target":65},{"source":58,"target":7},{"source":58,"target":52},{"source":65,"target":6},{"source":62,"target":66},{"source":62,"target":7},{"source":63,"target":67},{"source":63,"target":7},{"source":64,"target":68},{"source":64,"target":7},{"source":8,"target":0},{"source":8,"target":69},{"source":69,"target":70},{"source":69,"target":8},{"source":9,"target":0},{"source":9,"target":5},{"source":9,"target":4},{"source":9,"target":71},{"source":9,"target":72},{"source":9,"target":73},{"source":71,"target":7},{"source":71,"target":74},{"source":71,"target":9},{"source":74,"target":7},{"source":72,"target":5},{"source":73,"target":4}],"multigraph":true}