<?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" xmi:id="_GJgywOt4EeeGy5tFxte9Vg" name="library" nsURI="http:///org/eclipse/example/library.ecore" nsPrefix="org.eclipse.example.library">
  <eAnnotations xmi:id="_GJgywOt4EeeGy5tFxte9Vg0" source="genmymodel">
    <details xmi:id="_GJgywOt4EeeGy5tFxte9Vg00" key="uuid" value="_GJgywOt4EeeGy5tFxte9Vg"/>
  </eAnnotations>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_GJgywet4EeeGy5tFxte9Vg" name="Book">
    <eAnnotations xmi:id="_GJgywet4EeeGy5tFxte9Vg0" source="genmymodel">
      <details xmi:id="_GJgywet4EeeGy5tFxte9Vg00" key="uuid" value="_GJgywet4EeeGy5tFxte9Vg"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_GJgywut4EeeGy5tFxte9Vg" name="title">
      <eAnnotations xmi:id="_GJgywut4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgywut4EeeGy5tFxte9Vg00" key="uuid" value="_GJgywut4EeeGy5tFxte9Vg"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_GJgyw-t4EeeGy5tFxte9Vg" name="pages" defaultValueLiteral="100">
      <eAnnotations xmi:id="_GJgyw-t4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyw-t4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyw-t4EeeGy5tFxte9Vg"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_GJgyxOt4EeeGy5tFxte9Vg" name="category" eType="_GJgyxut4EeeGy5tFxte9Vg">
      <eAnnotations xmi:id="_GJgyxOt4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyxOt4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyxOt4EeeGy5tFxte9Vg"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_GJgyxet4EeeGy5tFxte9Vg" name="author" eType="_GJgyzut4EeeGy5tFxte9Vg" eOpposite="_GJgy0Ot4EeeGy5tFxte9Vg">
      <eAnnotations xmi:id="_GJgyxet4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyxet4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyxet4EeeGy5tFxte9Vg"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" xmi:id="_GJgyxut4EeeGy5tFxte9Vg" name="BookCategory">
    <eAnnotations xmi:id="_GJgyxut4EeeGy5tFxte9Vg0" source="genmymodel">
      <details xmi:id="_GJgyxut4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyxut4EeeGy5tFxte9Vg"/>
    </eAnnotations>
    <eLiterals xmi:id="_GJgyx-t4EeeGy5tFxte9Vg" name="Mystery">
      <eAnnotations xmi:id="_GJgyx-t4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyx-t4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyx-t4EeeGy5tFxte9Vg"/>
      </eAnnotations>
    </eLiterals>
    <eLiterals xmi:id="_GJgyyOt4EeeGy5tFxte9Vg" name="ScienceFiction" value="1">
      <eAnnotations xmi:id="_GJgyyOt4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyyOt4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyyOt4EeeGy5tFxte9Vg"/>
      </eAnnotations>
    </eLiterals>
    <eLiterals xmi:id="_GJgyyet4EeeGy5tFxte9Vg" name="Biography" value="2">
      <eAnnotations xmi:id="_GJgyyet4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyyet4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyyet4EeeGy5tFxte9Vg"/>
      </eAnnotations>
    </eLiterals>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_GJgyyut4EeeGy5tFxte9Vg" name="Library">
    <eAnnotations xmi:id="_GJgyyut4EeeGy5tFxte9Vg0" source="genmymodel">
      <details xmi:id="_GJgyyut4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyyut4EeeGy5tFxte9Vg"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_GJgyy-t4EeeGy5tFxte9Vg" name="name">
      <eAnnotations xmi:id="_GJgyy-t4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyy-t4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyy-t4EeeGy5tFxte9Vg"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_GJgyzOt4EeeGy5tFxte9Vg" name="writers" upperBound="-1" eType="_GJgyzut4EeeGy5tFxte9Vg" containment="true" resolveProxies="false">
      <eAnnotations xmi:id="_GJgyzOt4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyzOt4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyzOt4EeeGy5tFxte9Vg"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_GJgyzet4EeeGy5tFxte9Vg" name="books" upperBound="-1" eType="_GJgywet4EeeGy5tFxte9Vg" containment="true" resolveProxies="false">
      <eAnnotations xmi:id="_GJgyzet4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyzet4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyzet4EeeGy5tFxte9Vg"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_GJgyzut4EeeGy5tFxte9Vg" name="Writer">
    <eAnnotations xmi:id="_GJgyzut4EeeGy5tFxte9Vg0" source="genmymodel">
      <details xmi:id="_GJgyzut4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyzut4EeeGy5tFxte9Vg"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_GJgyz-t4EeeGy5tFxte9Vg" name="name">
      <eAnnotations xmi:id="_GJgyz-t4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgyz-t4EeeGy5tFxte9Vg00" key="uuid" value="_GJgyz-t4EeeGy5tFxte9Vg"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_GJgy0Ot4EeeGy5tFxte9Vg" name="books" upperBound="-1" eType="_GJgywet4EeeGy5tFxte9Vg" eOpposite="_GJgyxet4EeeGy5tFxte9Vg">
      <eAnnotations xmi:id="_GJgy0Ot4EeeGy5tFxte9Vg0" source="genmymodel">
        <details xmi:id="_GJgy0Ot4EeeGy5tFxte9Vg00" key="uuid" value="_GJgy0Ot4EeeGy5tFxte9Vg"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"org.eclipse.example.library","nsURI":"http:///org/eclipse/example/library.ecore","name":"library","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Book","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"BookCategory","instanceClass":null,"id":2,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Library","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Writer","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"title","changeable":true,"lowerBound":0,"iD":false,"id":5,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":100,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"100","unsettable":false,"transient":false,"unique":true,"name":"pages","changeable":true,"lowerBound":0,"iD":false,"id":6,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"category","changeable":true,"lowerBound":0,"iD":false,"id":7,"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":"author","changeable":true,"resolveProxies":true,"lowerBound":0,"id":8,"derived":false},{"id":9,"eClass":"EGenericType"},{"id":10,"eClass":"EGenericType"},{"id":11,"eClass":"EGenericType"},{"id":12,"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":"books","changeable":true,"resolveProxies":true,"lowerBound":0,"id":13,"derived":false},{"name":"Mystery","id":14,"value":0,"literal":"Mystery","eClass":"EEnumLiteral"},{"name":"ScienceFiction","id":15,"value":1,"literal":"ScienceFiction","eClass":"EEnumLiteral"},{"name":"Biography","id":16,"value":2,"literal":"Biography","eClass":"EEnumLiteral"},{"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":17,"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":"writers","changeable":true,"resolveProxies":false,"lowerBound":0,"id":18,"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":"books","changeable":true,"resolveProxies":false,"lowerBound":0,"id":19,"derived":false},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"id":22,"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":23,"derived":false},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":1,"target":0},{"source":1,"target":5},{"source":1,"target":6},{"source":1,"target":7},{"source":1,"target":8},{"source":5,"target":9},{"source":5,"target":1},{"source":6,"target":10},{"source":6,"target":1},{"source":7,"target":2},{"source":7,"target":11},{"source":7,"target":1},{"source":11,"target":2},{"source":8,"target":4},{"source":8,"target":12},{"source":8,"target":1},{"source":8,"target":13},{"source":12,"target":4},{"source":2,"target":0},{"source":2,"target":14},{"source":2,"target":15},{"source":2,"target":16},{"source":14,"target":2},{"source":15,"target":2},{"source":16,"target":2},{"source":3,"target":0},{"source":3,"target":17},{"source":3,"target":18},{"source":3,"target":19},{"source":17,"target":20},{"source":17,"target":3},{"source":18,"target":4},{"source":18,"target":21},{"source":18,"target":3},{"source":21,"target":4},{"source":19,"target":1},{"source":19,"target":22},{"source":19,"target":3},{"source":22,"target":1},{"source":4,"target":0},{"source":4,"target":23},{"source":4,"target":13},{"source":23,"target":24},{"source":23,"target":4},{"source":13,"target":1},{"source":13,"target":25},{"source":13,"target":4},{"source":13,"target":8},{"source":25,"target":1}],"multigraph":true}
library
Book
title
pages
100
category
author
BookCategory
Mystery
Mystery
ScienceFiction
ScienceFiction
Biography
Biography
Library
name
writers
books
Writer
name
books