bowling
Player
firstname
lastname
street
streetnumber
city
dateOfBirth
height
isProfessional
game
playerlist
Game
date
frames
player
matchup
Matchup
game
tournament
Playerlist
name
player
tournament
Tournament
title
type
matchups
playerlist
TournamentType
Amateur
Amateur
Pro
Pro
<?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="bowling"
    nsURI="http:///org/eclipse/example/bowling.ecore" nsPrefix="org.unicase.example.bowling">
  <eClassifiers xsi:type="ecore:EClass" name="Player">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="firstname" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastname" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="streetnumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="city" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="dateOfBirth" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="height" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="digits" value="2"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isProfessional" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="game" upperBound="-1" eType="#//Game"
        eOpposite="#//Game/player">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="playerlist" eType="#//Playerlist"
        eOpposite="#//Playerlist/player">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Game">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="date" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="frames" upperBound="10"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="player" eType="#//Player"
        eOpposite="#//Player/game">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="matchup" eType="#//Matchup"
        eOpposite="#//Matchup/game">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Matchup">
    <eStructuralFeatures xsi:type="ecore:EReference" name="game" upperBound="2" eType="#//Game"
        containment="true" eOpposite="#//Game/matchup"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="tournament" eType="#//Tournament"
        eOpposite="#//Tournament/matchups">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Playerlist">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="player" upperBound="-1"
        eType="#//Player" containment="true" eOpposite="#//Player/playerlist">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="tournament" eType="#//Tournament"
        eOpposite="#//Tournament/playerlist">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Tournament">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//TournamentType"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="matchups" upperBound="-1"
        eType="#//Matchup" containment="true" eOpposite="#//Matchup/tournament">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="playerlist" eType="#//Playerlist"
        eOpposite="#//Playerlist/tournament">
      <eAnnotations source="org.unicase.ui.meeditor">
        <details key="position" value="right"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="TournamentType">
    <eLiterals name="Amateur"/>
    <eLiterals name="Pro" value="1"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"org.unicase.example.bowling","nsURI":"http:///org/eclipse/example/bowling.ecore","name":"bowling","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Player","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Game","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Matchup","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Playerlist","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Tournament","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"TournamentType","instanceClass":null,"id":6,"serializable":true,"eClass":"EEnum"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"firstname","changeable":true,"lowerBound":0,"iD":false,"id":7,"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":"lastname","changeable":true,"lowerBound":0,"iD":false,"id":8,"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":"street","changeable":true,"lowerBound":0,"iD":false,"id":9,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"streetnumber","changeable":true,"lowerBound":0,"iD":false,"id":10,"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":"city","changeable":true,"lowerBound":0,"iD":false,"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":"dateOfBirth","changeable":true,"lowerBound":0,"iD":false,"id":12,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"height","changeable":true,"lowerBound":0,"iD":false,"id":13,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"isProfessional","changeable":true,"lowerBound":0,"iD":false,"id":14,"derived":false},{"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":"game","changeable":true,"resolveProxies":true,"lowerBound":0,"id":15,"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":"playerlist","changeable":true,"resolveProxies":true,"lowerBound":0,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"id":19,"eClass":"EGenericType"},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"id":25,"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":"player","changeable":true,"resolveProxies":true,"lowerBound":0,"id":26,"derived":false},{"id":27,"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":"player","changeable":true,"resolveProxies":true,"lowerBound":0,"id":28,"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":"date","changeable":true,"lowerBound":0,"iD":false,"id":29,"derived":false},{"ordered":true,"upperBound":10,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"frames","changeable":true,"lowerBound":0,"iD":false,"id":30,"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":"matchup","changeable":true,"resolveProxies":true,"lowerBound":0,"id":31,"derived":false},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"id":34,"eClass":"EGenericType"},{"id":35,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":2,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"game","changeable":true,"resolveProxies":true,"lowerBound":0,"id":36,"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":"tournament","changeable":true,"resolveProxies":true,"lowerBound":0,"id":37,"derived":false},{"id":38,"eClass":"EGenericType"},{"id":39,"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":"matchups","changeable":true,"resolveProxies":true,"lowerBound":0,"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":"name","changeable":true,"lowerBound":0,"iD":false,"id":41,"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":"tournament","changeable":true,"resolveProxies":true,"lowerBound":0,"id":42,"derived":false},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"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":"playerlist","changeable":true,"resolveProxies":true,"lowerBound":0,"id":46,"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":"title","changeable":true,"lowerBound":0,"iD":false,"id":47,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"type","changeable":true,"lowerBound":0,"iD":false,"id":48,"derived":false},{"id":49,"eClass":"EGenericType"},{"id":50,"eClass":"EGenericType"},{"id":51,"eClass":"EGenericType"},{"id":52,"eClass":"EGenericType"},{"name":"Amateur","id":53,"value":0,"literal":"Amateur","eClass":"EEnumLiteral"},{"name":"Pro","id":54,"value":1,"literal":"Pro","eClass":"EEnumLiteral"}],"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":1,"target":0},{"source":1,"target":7},{"source":1,"target":8},{"source":1,"target":9},{"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":1,"target":16},{"source":7,"target":17},{"source":7,"target":1},{"source":8,"target":18},{"source":8,"target":1},{"source":9,"target":19},{"source":9,"target":1},{"source":10,"target":20},{"source":10,"target":1},{"source":11,"target":21},{"source":11,"target":1},{"source":12,"target":22},{"source":12,"target":1},{"source":13,"target":23},{"source":13,"target":1},{"source":14,"target":24},{"source":14,"target":1},{"source":15,"target":2},{"source":15,"target":25},{"source":15,"target":1},{"source":15,"target":26},{"source":25,"target":2},{"source":16,"target":4},{"source":16,"target":27},{"source":16,"target":1},{"source":16,"target":28},{"source":27,"target":4},{"source":2,"target":0},{"source":2,"target":29},{"source":2,"target":30},{"source":2,"target":26},{"source":2,"target":31},{"source":29,"target":32},{"source":29,"target":2},{"source":30,"target":33},{"source":30,"target":2},{"source":26,"target":1},{"source":26,"target":34},{"source":26,"target":2},{"source":26,"target":15},{"source":34,"target":1},{"source":31,"target":3},{"source":31,"target":35},{"source":31,"target":2},{"source":31,"target":36},{"source":35,"target":3},{"source":3,"target":0},{"source":3,"target":36},{"source":3,"target":37},{"source":36,"target":2},{"source":36,"target":38},{"source":36,"target":3},{"source":36,"target":31},{"source":38,"target":2},{"source":37,"target":5},{"source":37,"target":39},{"source":37,"target":3},{"source":37,"target":40},{"source":39,"target":5},{"source":4,"target":0},{"source":4,"target":41},{"source":4,"target":28},{"source":4,"target":42},{"source":41,"target":43},{"source":41,"target":4},{"source":28,"target":1},{"source":28,"target":44},{"source":28,"target":4},{"source":28,"target":16},{"source":44,"target":1},{"source":42,"target":5},{"source":42,"target":45},{"source":42,"target":4},{"source":42,"target":46},{"source":45,"target":5},{"source":5,"target":0},{"source":5,"target":47},{"source":5,"target":48},{"source":5,"target":40},{"source":5,"target":46},{"source":47,"target":49},{"source":47,"target":5},{"source":48,"target":6},{"source":48,"target":50},{"source":48,"target":5},{"source":50,"target":6},{"source":40,"target":3},{"source":40,"target":51},{"source":40,"target":5},{"source":40,"target":37},{"source":51,"target":3},{"source":46,"target":4},{"source":46,"target":52},{"source":46,"target":5},{"source":46,"target":42},{"source":52,"target":4},{"source":6,"target":0},{"source":6,"target":53},{"source":6,"target":54},{"source":53,"target":6},{"source":54,"target":6}],"multigraph":true}