gametournament
Tournament
name
location
startDate
endDate
game
gamers
finalPhase
qualificationPhase
prize
Gamer
firstName
lastName
pseudo
victories
matches
Game
name
type
QualificationPhase
createPools
pools
FinalPhase
finalists
qualificationphase
GameType
ACTION
ACTION
RPG
RPG
FPS
FPS
STRATEGIC
STRATEGIC
COMBAT
COMBAT
Pool
generateClassment
participants
classment
<?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="gametournament" nsURI="http://com.sii/gametournament/1.0" nsPrefix="gametournament">
  <eClassifiers xsi:type="ecore:EClass" name="Tournament">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="checkName"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="location" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="startDate" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="endDate" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="game" lowerBound="1" eType="#//Game"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="gamers" upperBound="-1"
        eType="#//Gamer" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="finalPhase" lowerBound="1"
        eType="#//FinalPhase" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="qualificationPhase" lowerBound="1"
        eType="#//QualificationPhase" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="prize" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Gamer">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="firstName" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastName" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="pseudo" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="victories" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="matches" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Game">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1" eType="#//GameType"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="QualificationPhase">
    <eOperations name="createPools" eType="#//Pool"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="pools" lowerBound="1" upperBound="16"
        eType="#//Pool" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="FinalPhase">
    <eStructuralFeatures xsi:type="ecore:EReference" name="finalists" lowerBound="1"
        upperBound="16" eType="#//Gamer" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="qualificationphase" lowerBound="1"
        eType="#//QualificationPhase"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="GameType">
    <eLiterals name="ACTION"/>
    <eLiterals name="RPG" value="1"/>
    <eLiterals name="FPS" value="2"/>
    <eLiterals name="STRATEGIC" value="3"/>
    <eLiterals name="COMBAT" value="4"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Pool">
    <eOperations name="generateClassment"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="participants" lowerBound="4"
        upperBound="4" eType="#//Gamer" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="classment" lowerBound="4"
        upperBound="4" eType="#//Gamer"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"gametournament","nsURI":"http://com.sii/gametournament/1.0","name":"gametournament","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Tournament","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Gamer","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Game","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"QualificationPhase","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"FinalPhase","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"GameType","instanceClass":null,"id":6,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Pool","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"ordered":true,"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":8,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"location","changeable":true,"lowerBound":1,"iD":false,"id":9,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"startDate","changeable":true,"lowerBound":1,"iD":false,"id":10,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"endDate","changeable":true,"lowerBound":1,"iD":false,"id":11,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"game","changeable":true,"resolveProxies":true,"lowerBound":1,"id":12,"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":"gamers","changeable":true,"resolveProxies":true,"lowerBound":0,"id":13,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"finalPhase","changeable":true,"resolveProxies":true,"lowerBound":1,"id":14,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"qualificationPhase","changeable":true,"resolveProxies":true,"lowerBound":1,"id":15,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"prize","changeable":true,"lowerBound":1,"iD":false,"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"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"firstName","changeable":true,"lowerBound":1,"iD":false,"id":26,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"lastName","changeable":true,"lowerBound":1,"iD":false,"id":27,"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":"pseudo","changeable":true,"lowerBound":0,"iD":false,"id":28,"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":"victories","changeable":true,"lowerBound":0,"iD":false,"id":29,"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":"matches","changeable":true,"lowerBound":0,"iD":false,"id":30,"derived":false},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"id":34,"eClass":"EGenericType"},{"id":35,"eClass":"EGenericType"},{"ordered":true,"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":36,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"type","changeable":true,"lowerBound":1,"iD":false,"id":37,"derived":false},{"id":38,"eClass":"EGenericType"},{"id":39,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"createPools","lowerBound":0,"id":40,"many":false,"required":false,"eClass":"EOperation"},{"container":false,"ordered":true,"upperBound":16,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"pools","changeable":true,"resolveProxies":true,"lowerBound":1,"id":41,"derived":false},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":16,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"finalists","changeable":true,"resolveProxies":true,"lowerBound":1,"id":44,"derived":false},{"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":"qualificationphase","changeable":true,"resolveProxies":true,"lowerBound":1,"id":45,"derived":false},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"name":"ACTION","id":48,"value":0,"literal":"ACTION","eClass":"EEnumLiteral"},{"name":"RPG","id":49,"value":1,"literal":"RPG","eClass":"EEnumLiteral"},{"name":"FPS","id":50,"value":2,"literal":"FPS","eClass":"EEnumLiteral"},{"name":"STRATEGIC","id":51,"value":3,"literal":"STRATEGIC","eClass":"EEnumLiteral"},{"name":"COMBAT","id":52,"value":4,"literal":"COMBAT","eClass":"EEnumLiteral"},{"ordered":true,"upperBound":1,"unique":true,"name":"generateClassment","lowerBound":0,"id":53,"many":false,"required":false,"eClass":"EOperation"},{"container":false,"ordered":true,"upperBound":4,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"participants","changeable":true,"resolveProxies":true,"lowerBound":4,"id":54,"derived":false},{"container":false,"ordered":true,"upperBound":4,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"classment","changeable":true,"resolveProxies":true,"lowerBound":4,"id":55,"derived":false},{"id":56,"eClass":"EGenericType"},{"id":57,"eClass":"EGenericType"}],"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":0,"target":7},{"source":1,"target":0},{"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":8,"target":17},{"source":8,"target":1},{"source":9,"target":18},{"source":9,"target":1},{"source":10,"target":19},{"source":10,"target":1},{"source":11,"target":20},{"source":11,"target":1},{"source":12,"target":3},{"source":12,"target":21},{"source":12,"target":1},{"source":21,"target":3},{"source":13,"target":2},{"source":13,"target":22},{"source":13,"target":1},{"source":22,"target":2},{"source":14,"target":5},{"source":14,"target":23},{"source":14,"target":1},{"source":23,"target":5},{"source":15,"target":4},{"source":15,"target":24},{"source":15,"target":1},{"source":24,"target":4},{"source":16,"target":25},{"source":16,"target":1},{"source":2,"target":0},{"source":2,"target":26},{"source":2,"target":27},{"source":2,"target":28},{"source":2,"target":29},{"source":2,"target":30},{"source":26,"target":31},{"source":26,"target":2},{"source":27,"target":32},{"source":27,"target":2},{"source":28,"target":33},{"source":28,"target":2},{"source":29,"target":34},{"source":29,"target":2},{"source":30,"target":35},{"source":30,"target":2},{"source":3,"target":0},{"source":3,"target":36},{"source":3,"target":37},{"source":36,"target":38},{"source":36,"target":3},{"source":37,"target":6},{"source":37,"target":39},{"source":37,"target":3},{"source":39,"target":6},{"source":4,"target":0},{"source":4,"target":40},{"source":4,"target":41},{"source":40,"target":7},{"source":40,"target":42},{"source":40,"target":4},{"source":42,"target":7},{"source":41,"target":7},{"source":41,"target":43},{"source":41,"target":4},{"source":43,"target":7},{"source":5,"target":0},{"source":5,"target":44},{"source":5,"target":45},{"source":44,"target":2},{"source":44,"target":46},{"source":44,"target":5},{"source":46,"target":2},{"source":45,"target":4},{"source":45,"target":47},{"source":45,"target":5},{"source":47,"target":4},{"source":6,"target":0},{"source":6,"target":48},{"source":6,"target":49},{"source":6,"target":50},{"source":6,"target":51},{"source":6,"target":52},{"source":48,"target":6},{"source":49,"target":6},{"source":50,"target":6},{"source":51,"target":6},{"source":52,"target":6},{"source":7,"target":0},{"source":7,"target":53},{"source":7,"target":54},{"source":7,"target":55},{"source":53,"target":7},{"source":54,"target":2},{"source":54,"target":56},{"source":54,"target":7},{"source":56,"target":2},{"source":55,"target":2},{"source":55,"target":57},{"source":55,"target":7},{"source":57,"target":2}],"multigraph":true}