PrimitiveTypes
Boolean
boolean
boolean
Integer
java.lang.Object
integer
String
java.lang.Object
string
MySQL
NamedElement
name
DataBase
tables
Table
columns
database
Column
type
isPrimaryKey
defaultValue
comment
table
IntegerColumn
isAutoIncrement
EnumColumn
enumSet
EnumSet
enumItems
EnumItem
enumSet
ForeignColumn
refers
<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI 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">
  <ecore:EPackage name="PrimitiveTypes" nsURI="http:///MySQLPT.ecore" nsPrefix="MySQLPT">
    <eClassifiers xsi:type="ecore:EDataType" name="Boolean" instanceClassName="boolean"/>
    <eClassifiers xsi:type="ecore:EDataType" name="Integer" instanceTypeName="integer"/>
    <eClassifiers xsi:type="ecore:EDataType" name="String" instanceTypeName="string"/>
  </ecore:EPackage>
  <ecore:EPackage name="MySQL" nsURI="http:///mysql.ecore" nsPrefix="mysql">
    <eClassifiers xsi:type="ecore:EClass" name="NamedElement" abstract="true">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false"
          unique="false" lowerBound="1" eType="#/0/String"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="DataBase" eSuperTypes="#/1/NamedElement">
      <eStructuralFeatures xsi:type="ecore:EReference" name="tables" ordered="false"
          upperBound="-1" eType="#/1/Table" containment="true" eOpposite="#/1/Table/database"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Table" eSuperTypes="#/1/NamedElement">
      <eStructuralFeatures xsi:type="ecore:EReference" name="columns" upperBound="-1"
          eType="#/1/Column" containment="true" eOpposite="#/1/Column/table"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="database" ordered="false"
          lowerBound="1" eType="#/1/DataBase" eOpposite="#/1/DataBase/tables"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Column" eSuperTypes="#/1/NamedElement">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" ordered="false"
          unique="false" lowerBound="1" eType="#/0/String"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="isPrimaryKey" ordered="false"
          unique="false" lowerBound="1" eType="#/0/Boolean"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" ordered="false"
          unique="false" lowerBound="1" eType="#/0/String"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" ordered="false"
          unique="false" lowerBound="1" eType="#/0/String"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="table" ordered="false"
          lowerBound="1" eType="#/1/Table" eOpposite="#/1/Table/columns"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="IntegerColumn" eSuperTypes="#/1/Column">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="isAutoIncrement" ordered="false"
          unique="false" lowerBound="1" eType="#/0/Boolean"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="EnumColumn" eSuperTypes="#/1/Column">
      <eStructuralFeatures xsi:type="ecore:EReference" name="enumSet" ordered="false"
          lowerBound="1" eType="#/1/EnumSet" containment="true"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="EnumSet">
      <eStructuralFeatures xsi:type="ecore:EReference" name="enumItems" ordered="false"
          upperBound="-1" eType="#/1/EnumItem" containment="true" eOpposite="#/1/EnumItem/enumSet"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="EnumItem" eSuperTypes="#/1/NamedElement">
      <eStructuralFeatures xsi:type="ecore:EReference" name="enumSet" ordered="false"
          lowerBound="1" eType="#/1/EnumSet" eOpposite="#/1/EnumSet/enumItems"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="ForeignColumn" eSuperTypes="#/1/Column">
      <eStructuralFeatures xsi:type="ecore:EReference" name="refers" lowerBound="1"
          eType="#/1/Table"/>
    </eClassifiers>
  </ecore:EPackage>
</xmi:XMI>

{"directed":true,"nodes":[{"nsPrefix":"MySQLPT","nsURI":"http:///MySQLPT.ecore","name":"PrimitiveTypes","id":0,"eClass":"EPackage"},{"instanceTypeName":"boolean","defaultValue":false,"instanceClassName":"boolean","name":"Boolean","instanceClass":"boolean","id":1,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":"integer","defaultValue":null,"instanceClassName":"java.lang.Object","name":"Integer","instanceClass":"java.lang.Object","id":2,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":"string","defaultValue":null,"instanceClassName":"java.lang.Object","name":"String","instanceClass":"java.lang.Object","id":3,"serializable":true,"eClass":"EDataType"},{"nsPrefix":"mysql","nsURI":"http:///mysql.ecore","name":"MySQL","id":4,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NamedElement","instanceClass":null,"abstract":true,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"DataBase","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Table","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Column","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"IntegerColumn","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"EnumColumn","instanceClass":null,"abstract":false,"id":10,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"EnumSet","instanceClass":null,"abstract":false,"id":11,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"EnumItem","instanceClass":null,"abstract":false,"id":12,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ForeignColumn","instanceClass":null,"abstract":false,"id":13,"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":false,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":14,"derived":false},{"id":15,"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":"tables","changeable":true,"resolveProxies":true,"lowerBound":0,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"id":18,"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":"database","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"derived":false},{"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":"columns","changeable":true,"resolveProxies":true,"lowerBound":0,"id":20,"derived":false},{"id":21,"eClass":"EGenericType"},{"id":22,"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":"table","changeable":true,"resolveProxies":true,"lowerBound":1,"id":23,"derived":false},{"id":24,"eClass":"EGenericType"},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"type","changeable":true,"lowerBound":1,"iD":false,"id":25,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"isPrimaryKey","changeable":true,"lowerBound":1,"iD":false,"id":26,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"defaultValue","changeable":true,"lowerBound":1,"iD":false,"id":27,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"comment","changeable":true,"lowerBound":1,"iD":false,"id":28,"derived":false},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"id":34,"eClass":"EGenericType"},{"ordered":false,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"isAutoIncrement","changeable":true,"lowerBound":1,"iD":false,"id":35,"derived":false},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"enumSet","changeable":true,"resolveProxies":true,"lowerBound":1,"id":38,"derived":false},{"id":39,"eClass":"EGenericType"},{"id":40,"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":"enumItems","changeable":true,"resolveProxies":true,"lowerBound":0,"id":41,"derived":false},{"id":42,"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":"enumSet","changeable":true,"resolveProxies":true,"lowerBound":1,"id":43,"derived":false},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"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":"refers","changeable":true,"resolveProxies":true,"lowerBound":1,"id":46,"derived":false},{"id":47,"eClass":"EGenericType"},{"id":48,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":1,"target":0},{"source":2,"target":0},{"source":3,"target":0},{"source":4,"target":5},{"source":4,"target":6},{"source":4,"target":7},{"source":4,"target":8},{"source":4,"target":9},{"source":4,"target":10},{"source":4,"target":11},{"source":4,"target":12},{"source":4,"target":13},{"source":5,"target":4},{"source":5,"target":14},{"source":14,"target":3},{"source":14,"target":15},{"source":14,"target":5},{"source":15,"target":3},{"source":6,"target":4},{"source":6,"target":5},{"source":6,"target":16},{"source":6,"target":17},{"source":16,"target":7},{"source":16,"target":18},{"source":16,"target":6},{"source":16,"target":19},{"source":18,"target":7},{"source":17,"target":5},{"source":7,"target":4},{"source":7,"target":5},{"source":7,"target":20},{"source":7,"target":19},{"source":7,"target":21},{"source":20,"target":8},{"source":20,"target":22},{"source":20,"target":7},{"source":20,"target":23},{"source":22,"target":8},{"source":19,"target":6},{"source":19,"target":24},{"source":19,"target":7},{"source":19,"target":16},{"source":24,"target":6},{"source":21,"target":5},{"source":8,"target":4},{"source":8,"target":5},{"source":8,"target":25},{"source":8,"target":26},{"source":8,"target":27},{"source":8,"target":28},{"source":8,"target":23},{"source":8,"target":29},{"source":25,"target":3},{"source":25,"target":30},{"source":25,"target":8},{"source":30,"target":3},{"source":26,"target":1},{"source":26,"target":31},{"source":26,"target":8},{"source":31,"target":1},{"source":27,"target":3},{"source":27,"target":32},{"source":27,"target":8},{"source":32,"target":3},{"source":28,"target":3},{"source":28,"target":33},{"source":28,"target":8},{"source":33,"target":3},{"source":23,"target":7},{"source":23,"target":34},{"source":23,"target":8},{"source":23,"target":20},{"source":34,"target":7},{"source":29,"target":5},{"source":9,"target":4},{"source":9,"target":8},{"source":9,"target":35},{"source":9,"target":36},{"source":35,"target":1},{"source":35,"target":37},{"source":35,"target":9},{"source":37,"target":1},{"source":36,"target":8},{"source":10,"target":4},{"source":10,"target":8},{"source":10,"target":38},{"source":10,"target":39},{"source":38,"target":11},{"source":38,"target":40},{"source":38,"target":10},{"source":40,"target":11},{"source":39,"target":8},{"source":11,"target":4},{"source":11,"target":41},{"source":41,"target":12},{"source":41,"target":42},{"source":41,"target":11},{"source":41,"target":43},{"source":42,"target":12},{"source":12,"target":4},{"source":12,"target":5},{"source":12,"target":43},{"source":12,"target":44},{"source":43,"target":11},{"source":43,"target":45},{"source":43,"target":12},{"source":43,"target":41},{"source":45,"target":11},{"source":44,"target":5},{"source":13,"target":4},{"source":13,"target":8},{"source":13,"target":46},{"source":13,"target":47},{"source":46,"target":7},{"source":46,"target":48},{"source":46,"target":13},{"source":48,"target":7},{"source":47,"target":8}],"multigraph":true}