PrimitiveTypes
Integer
java.lang.Object
Integer
String
java.lang.Object
String
Boolean
java.lang.Object
Boolean
Book
Book
title
chapters
Chapter
title
nbPages
author
book
<?xml version="1.0" encoding="ASCII"?>
<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://primitiveTypes" nsPrefix="pt">
    <eClassifiers xsi:type="ecore:EDataType" name="Integer" instanceTypeName="Integer"/>
    <eClassifiers xsi:type="ecore:EDataType" name="String" instanceTypeName="String"/>
    <eClassifiers xsi:type="ecore:EDataType" name="Boolean" instanceTypeName="Boolean"/>
  </ecore:EPackage>
  <ecore:EPackage name="Book" nsURI="http://Book" nsPrefix="Book">
    <eClassifiers xsi:type="ecore:EClass" name="Book">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" ordered="false"
          lowerBound="1" eType="#/0/String"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="chapters" upperBound="-1"
          eType="#/1/Chapter" containment="true" eOpposite="#/1/Chapter/book"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Chapter">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" ordered="false"
          lowerBound="1" eType="#/0/String"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="nbPages" ordered="false"
          lowerBound="1" eType="#/0/Integer"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="author" ordered="false"
          lowerBound="1" eType="#/0/String"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="book" ordered="false"
          lowerBound="1" eType="#/1/Book" eOpposite="#/1/Book/chapters"/>
    </eClassifiers>
  </ecore:EPackage>
</xmi:XMI>

{"directed":true,"nodes":[{"nsPrefix":"pt","nsURI":"http://primitiveTypes","name":"PrimitiveTypes","id":0,"eClass":"EPackage"},{"instanceTypeName":"Integer","defaultValue":null,"instanceClassName":"java.lang.Object","name":"Integer","instanceClass":"java.lang.Object","id":1,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":"String","defaultValue":null,"instanceClassName":"java.lang.Object","name":"String","instanceClass":"java.lang.Object","id":2,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":"Boolean","defaultValue":null,"instanceClassName":"java.lang.Object","name":"Boolean","instanceClass":"java.lang.Object","id":3,"serializable":true,"eClass":"EDataType"},{"nsPrefix":"Book","nsURI":"http://Book","name":"Book","id":4,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Book","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Chapter","instanceClass":null,"abstract":false,"id":6,"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":true,"name":"title","changeable":true,"lowerBound":1,"iD":false,"id":7,"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":"chapters","changeable":true,"resolveProxies":true,"lowerBound":0,"id":8,"derived":false},{"id":9,"eClass":"EGenericType"},{"id":10,"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":"book","changeable":true,"resolveProxies":true,"lowerBound":1,"id":11,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"title","changeable":true,"lowerBound":1,"iD":false,"id":12,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"nbPages","changeable":true,"lowerBound":1,"iD":false,"id":13,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"author","changeable":true,"lowerBound":1,"iD":false,"id":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"id":16,"eClass":"EGenericType"},{"id":17,"eClass":"EGenericType"},{"id":18,"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":5,"target":4},{"source":5,"target":7},{"source":5,"target":8},{"source":7,"target":2},{"source":7,"target":9},{"source":7,"target":5},{"source":9,"target":2},{"source":8,"target":6},{"source":8,"target":10},{"source":8,"target":5},{"source":8,"target":11},{"source":10,"target":6},{"source":6,"target":4},{"source":6,"target":12},{"source":6,"target":13},{"source":6,"target":14},{"source":6,"target":11},{"source":12,"target":2},{"source":12,"target":15},{"source":12,"target":6},{"source":15,"target":2},{"source":13,"target":1},{"source":13,"target":16},{"source":13,"target":6},{"source":16,"target":1},{"source":14,"target":2},{"source":14,"target":17},{"source":14,"target":6},{"source":17,"target":2},{"source":11,"target":5},{"source":11,"target":18},{"source":11,"target":6},{"source":11,"target":8},{"source":18,"target":5}],"multigraph":true}