PrimitiveTypes
Boolean
boolean
boolean
Integer
int
int
Class
NamedElt
name
Classifier
DataType
Class
super
attr
isAbstract
Attribute
multiValued
type
owner
<?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="ClassPrimitiveTypes" nsPrefix="ClassPrimitiveTypes">
    <eClassifiers xsi:type="ecore:EDataType" name="Boolean" instanceClassName="boolean"/>
    <eClassifiers xsi:type="ecore:EDataType" name="Integer" instanceClassName="int"/>
  </ecore:EPackage>
  <ecore:EPackage name="Class" nsURI="Ecore2Class_Class" nsPrefix="Ecore2Class_Class">
    <eClassifiers xsi:type="ecore:EClass" name="NamedElt" abstract="true">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false"
          lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Classifier" abstract="true" eSuperTypes="#/1/NamedElt"/>
    <eClassifiers xsi:type="ecore:EClass" name="DataType" eSuperTypes="#/1/Classifier"/>
    <eClassifiers xsi:type="ecore:EClass" name="Class" eSuperTypes="#/1/Classifier">
      <eStructuralFeatures xsi:type="ecore:EReference" name="super" ordered="false"
          upperBound="-1" eType="#/1/Class"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="attr" upperBound="-1"
          eType="#/1/Attribute" containment="true" eOpposite="#/1/Attribute/owner"/>
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="isAbstract" ordered="false"
          lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    </eClassifiers>
    <eClassifiers xsi:type="ecore:EClass" name="Attribute" eSuperTypes="#/1/NamedElt">
      <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiValued" ordered="false"
          lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="type" ordered="false"
          lowerBound="1" eType="#/1/Classifier"/>
      <eStructuralFeatures xsi:type="ecore:EReference" name="owner" ordered="false"
          lowerBound="1" eType="#/1/Class" eOpposite="#/1/Class/attr"/>
    </eClassifiers>
  </ecore:EPackage>
</xmi:XMI>

{"directed":true,"nodes":[{"nsPrefix":"ClassPrimitiveTypes","nsURI":"ClassPrimitiveTypes","name":"PrimitiveTypes","id":0,"eClass":"EPackage"},{"instanceTypeName":"boolean","defaultValue":false,"instanceClassName":"boolean","name":"Boolean","instanceClass":"boolean","id":1,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":"int","defaultValue":0,"instanceClassName":"int","name":"Integer","instanceClass":"int","id":2,"serializable":true,"eClass":"EDataType"},{"nsPrefix":"Ecore2Class_Class","nsURI":"Ecore2Class_Class","name":"Class","id":3,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NamedElt","instanceClass":null,"abstract":true,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Classifier","instanceClass":null,"abstract":true,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"DataType","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Class","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Attribute","instanceClass":null,"abstract":false,"id":8,"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":"name","changeable":true,"lowerBound":1,"iD":false,"id":9,"derived":false},{"id":10,"eClass":"EGenericType"},{"id":11,"eClass":"EGenericType"},{"id":12,"eClass":"EGenericType"},{"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":"super","changeable":true,"resolveProxies":true,"lowerBound":0,"id":13,"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":"attr","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"derived":false},{"ordered":false,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"isAbstract","changeable":true,"lowerBound":1,"iD":false,"id":15,"derived":false},{"id":16,"eClass":"EGenericType"},{"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":"owner","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"derived":false},{"id":20,"eClass":"EGenericType"},{"ordered":false,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"multiValued","changeable":true,"lowerBound":1,"iD":false,"id":21,"derived":false},{"container":false,"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":"type","changeable":true,"resolveProxies":true,"lowerBound":1,"id":22,"derived":false},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":1,"target":0},{"source":2,"target":0},{"source":3,"target":4},{"source":3,"target":5},{"source":3,"target":6},{"source":3,"target":7},{"source":3,"target":8},{"source":4,"target":3},{"source":4,"target":9},{"source":9,"target":10},{"source":9,"target":4},{"source":5,"target":3},{"source":5,"target":4},{"source":5,"target":11},{"source":11,"target":4},{"source":6,"target":3},{"source":6,"target":5},{"source":6,"target":12},{"source":12,"target":5},{"source":7,"target":3},{"source":7,"target":5},{"source":7,"target":13},{"source":7,"target":14},{"source":7,"target":15},{"source":7,"target":16},{"source":13,"target":7},{"source":13,"target":17},{"source":13,"target":7},{"source":17,"target":7},{"source":14,"target":8},{"source":14,"target":18},{"source":14,"target":7},{"source":14,"target":19},{"source":18,"target":8},{"source":15,"target":20},{"source":15,"target":7},{"source":16,"target":5},{"source":8,"target":3},{"source":8,"target":4},{"source":8,"target":21},{"source":8,"target":22},{"source":8,"target":19},{"source":8,"target":23},{"source":21,"target":24},{"source":21,"target":8},{"source":22,"target":5},{"source":22,"target":25},{"source":22,"target":8},{"source":25,"target":5},{"source":19,"target":7},{"source":19,"target":26},{"source":19,"target":8},{"source":19,"target":14},{"source":26,"target":7},{"source":23,"target":4}],"multigraph":true}