school
Academy
teachers
students
schools
name
School
rooms
teachers
students
name
rank
Teacher
evaluate
student
name
ClassRoom
number
teacher
children
Student
name
age
notations
Matter
Math
Notation
value
<?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="school" nsURI="http://com.tad.school/1.0" nsPrefix="school">
  <eClassifiers xsi:type="ecore:EClass" name="Academy">
    <eStructuralFeatures xsi:type="ecore:EReference" name="teachers" lowerBound="1"
        upperBound="-1" eType="#//Teacher" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="students" lowerBound="1"
        upperBound="-1" eType="#//Student" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="schools" lowerBound="1"
        upperBound="-1" eType="#//School" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="School">
    <eStructuralFeatures xsi:type="ecore:EReference" name="rooms" lowerBound="1" upperBound="-1"
        eType="#//ClassRoom" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="teachers" lowerBound="1"
        upperBound="-1" eType="#//Teacher"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="students" lowerBound="1"
        upperBound="-1" eType="#//Student"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="rank" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Teacher">
    <eOperations name="evaluate" eType="#//Notation">
      <eParameters name="student" eType="#//Student"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ClassRoom">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="number" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
        iD="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="teacher" lowerBound="1"
        eType="#//Teacher"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="children" lowerBound="1"
        upperBound="-1" eType="#//Student"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Student">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="checkName checkAge"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="age" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="notations" upperBound="-1"
        eType="#//Notation" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Matter"/>
  <eClassifiers xsi:type="ecore:EClass" name="Math" eSuperTypes="#//Matter"/>
  <eClassifiers xsi:type="ecore:EClass" name="Notation">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"school","nsURI":"http://com.tad.school/1.0","name":"school","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Academy","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"School","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Teacher","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ClassRoom","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Student","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Matter","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Math","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Notation","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"teachers","changeable":true,"resolveProxies":true,"lowerBound":1,"id":9,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"students","changeable":true,"resolveProxies":true,"lowerBound":1,"id":10,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"schools","changeable":true,"resolveProxies":true,"lowerBound":1,"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":"name","changeable":true,"lowerBound":0,"iD":false,"id":12,"derived":false},{"id":13,"eClass":"EGenericType"},{"id":14,"eClass":"EGenericType"},{"id":15,"eClass":"EGenericType"},{"id":16,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"rooms","changeable":true,"resolveProxies":true,"lowerBound":1,"id":17,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"teachers","changeable":true,"resolveProxies":true,"lowerBound":1,"id":18,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"students","changeable":true,"resolveProxies":true,"lowerBound":1,"id":19,"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":20,"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":"rank","changeable":true,"lowerBound":0,"iD":false,"id":21,"derived":false},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"evaluate","lowerBound":0,"id":27,"many":false,"required":false,"eClass":"EOperation"},{"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":28,"derived":false},{"id":29,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"student","lowerBound":0,"id":30,"many":false,"required":false,"eClass":"EParameter"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"number","changeable":true,"lowerBound":0,"iD":true,"id":33,"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":"teacher","changeable":true,"resolveProxies":true,"lowerBound":1,"id":34,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"children","changeable":true,"resolveProxies":true,"lowerBound":1,"id":35,"derived":false},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"},{"id":38,"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":39,"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":"age","changeable":true,"lowerBound":0,"iD":false,"id":40,"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":"notations","changeable":true,"resolveProxies":true,"lowerBound":0,"id":41,"derived":false},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"value","changeable":true,"lowerBound":0,"iD":false,"id":46,"derived":false},{"id":47,"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":0,"target":8},{"source":1,"target":0},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":1,"target":12},{"source":9,"target":3},{"source":9,"target":13},{"source":9,"target":1},{"source":13,"target":3},{"source":10,"target":5},{"source":10,"target":14},{"source":10,"target":1},{"source":14,"target":5},{"source":11,"target":2},{"source":11,"target":15},{"source":11,"target":1},{"source":15,"target":2},{"source":12,"target":16},{"source":12,"target":1},{"source":2,"target":0},{"source":2,"target":17},{"source":2,"target":18},{"source":2,"target":19},{"source":2,"target":20},{"source":2,"target":21},{"source":17,"target":4},{"source":17,"target":22},{"source":17,"target":2},{"source":22,"target":4},{"source":18,"target":3},{"source":18,"target":23},{"source":18,"target":2},{"source":23,"target":3},{"source":19,"target":5},{"source":19,"target":24},{"source":19,"target":2},{"source":24,"target":5},{"source":20,"target":25},{"source":20,"target":2},{"source":21,"target":26},{"source":21,"target":2},{"source":3,"target":0},{"source":3,"target":27},{"source":3,"target":28},{"source":27,"target":8},{"source":27,"target":29},{"source":27,"target":3},{"source":27,"target":30},{"source":29,"target":8},{"source":30,"target":5},{"source":30,"target":31},{"source":30,"target":27},{"source":31,"target":5},{"source":28,"target":32},{"source":28,"target":3},{"source":4,"target":0},{"source":4,"target":33},{"source":4,"target":34},{"source":4,"target":35},{"source":33,"target":36},{"source":33,"target":4},{"source":34,"target":3},{"source":34,"target":37},{"source":34,"target":4},{"source":37,"target":3},{"source":35,"target":5},{"source":35,"target":38},{"source":35,"target":4},{"source":38,"target":5},{"source":5,"target":0},{"source":5,"target":39},{"source":5,"target":40},{"source":5,"target":41},{"source":39,"target":42},{"source":39,"target":5},{"source":40,"target":43},{"source":40,"target":5},{"source":41,"target":8},{"source":41,"target":44},{"source":41,"target":5},{"source":44,"target":8},{"source":6,"target":0},{"source":7,"target":0},{"source":7,"target":6},{"source":7,"target":45},{"source":45,"target":6},{"source":8,"target":0},{"source":8,"target":46},{"source":46,"target":47},{"source":46,"target":8}],"multigraph":true}