schoolIncqDerived
Course
subject
weight
school
teacher
schoolClass
School
name
address
years
teachers
courses
numberOfTeachers
teachersWithMostCourses
lastYear
currentYear
SchoolClass
code
year
students
courses
homeroomTeacher
SpecialisationCourse
specialisation
Student
name
schoolClass
Teacher
name
school
courses
homeroomedClass
Year
startingDate
school
schoolClasses
<?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="schoolIncqDerived"
    nsURI="http:///schoolIncqDerived.ecore" nsPrefix="schoolIncqDerived">
  <eClassifiers xsi:type="ecore:EClass" name="Course">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="subject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="weight" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="school" eType="#//School"
        transient="true" eOpposite="#//School/courses"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="teacher" eType="#//Teacher"
        transient="true" eOpposite="#//Teacher/courses"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="schoolClass" eType="#//SchoolClass"
        transient="true" eOpposite="#//SchoolClass/courses"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="School">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="address" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="years" upperBound="-1"
        eType="#//Year" containment="true" resolveProxies="false" eOpposite="#//Year/school"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="teachers" upperBound="-1"
        eType="#//Teacher" containment="true" resolveProxies="false" eOpposite="#//Teacher/school"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="courses" upperBound="-1"
        eType="#//Course" containment="true" resolveProxies="false" eOpposite="#//Course/school"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfTeachers" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
        changeable="false" volatile="true" transient="true" derived="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="teachersWithMostCourses"
        upperBound="-1" eType="#//Teacher" changeable="false" volatile="true" transient="true"
        derived="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="lastYear" eType="#//Year"
        changeable="false" volatile="true" transient="true" derived="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="currentYear" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="SchoolClass">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="code" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="year" eType="#//Year" transient="true"
        eOpposite="#//Year/schoolClasses"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="students" upperBound="-1"
        eType="#//Student" containment="true" resolveProxies="false" eOpposite="#//Student/schoolClass"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="courses" upperBound="-1"
        eType="#//Course" resolveProxies="false" eOpposite="#//Course/schoolClass"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="homeroomTeacher" eType="#//Teacher"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="SpecialisationCourse" eSuperTypes="#//Course">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="specialisation" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Student">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="schoolClass" eType="#//SchoolClass"
        transient="true" eOpposite="#//SchoolClass/students"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Teacher">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="school" eType="#//School"
        transient="true" eOpposite="#//School/teachers"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="courses" upperBound="-1"
        eType="#//Course" resolveProxies="false" eOpposite="#//Course/teacher"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="homeroomedClass" eType="#//SchoolClass"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Year">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="startingDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="school" eType="#//School"
        transient="true" eOpposite="#//School/years"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="schoolClasses" upperBound="-1"
        eType="#//SchoolClass" containment="true" resolveProxies="false" eOpposite="#//SchoolClass/year"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"schoolIncqDerived","nsURI":"http:///schoolIncqDerived.ecore","name":"schoolIncqDerived","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Course","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":"SchoolClass","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"SpecialisationCourse","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":"Teacher","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Year","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"subject","changeable":true,"lowerBound":0,"iD":false,"id":8,"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":"weight","changeable":true,"lowerBound":0,"iD":false,"id":9,"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":true,"unique":true,"name":"school","changeable":true,"resolveProxies":true,"lowerBound":0,"id":10,"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":true,"unique":true,"name":"teacher","changeable":true,"resolveProxies":true,"lowerBound":0,"id":11,"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":true,"unique":true,"name":"schoolClass","changeable":true,"resolveProxies":true,"lowerBound":0,"id":12,"derived":false},{"id":13,"eClass":"EGenericType"},{"id":14,"eClass":"EGenericType"},{"id":15,"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":"courses","changeable":true,"resolveProxies":false,"lowerBound":0,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"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":"courses","changeable":true,"resolveProxies":false,"lowerBound":0,"id":18,"derived":false},{"id":19,"eClass":"EGenericType"},{"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":"courses","changeable":true,"resolveProxies":false,"lowerBound":0,"id":20,"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":21,"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":"address","changeable":true,"lowerBound":0,"iD":false,"id":22,"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":"years","changeable":true,"resolveProxies":false,"lowerBound":0,"id":23,"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":"teachers","changeable":true,"resolveProxies":false,"lowerBound":0,"id":24,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":true,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":true,"unique":true,"name":"numberOfTeachers","changeable":false,"lowerBound":0,"iD":false,"id":25,"derived":true},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":true,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":true,"unique":true,"name":"teachersWithMostCourses","changeable":false,"resolveProxies":true,"lowerBound":0,"id":26,"derived":true},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":true,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":true,"unique":true,"name":"lastYear","changeable":false,"resolveProxies":true,"lowerBound":0,"id":27,"derived":true},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"currentYear","changeable":true,"lowerBound":0,"iD":false,"id":28,"derived":false},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":true,"unique":true,"name":"school","changeable":true,"resolveProxies":true,"lowerBound":0,"id":32,"derived":false},{"id":33,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":true,"unique":true,"name":"school","changeable":true,"resolveProxies":true,"lowerBound":0,"id":34,"derived":false},{"id":35,"eClass":"EGenericType"},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"id":39,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":"\u0000","volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"code","changeable":true,"lowerBound":0,"iD":false,"id":40,"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":true,"unique":true,"name":"year","changeable":true,"resolveProxies":true,"lowerBound":0,"id":41,"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":"students","changeable":true,"resolveProxies":false,"lowerBound":0,"id":42,"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":"homeroomTeacher","changeable":true,"resolveProxies":true,"lowerBound":0,"id":43,"derived":false},{"id":44,"eClass":"EGenericType"},{"id":45,"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":"schoolClasses","changeable":true,"resolveProxies":false,"lowerBound":0,"id":46,"derived":false},{"id":47,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":true,"unique":true,"name":"schoolClass","changeable":true,"resolveProxies":true,"lowerBound":0,"id":48,"derived":false},{"id":49,"eClass":"EGenericType"},{"id":50,"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":"specialisation","changeable":true,"lowerBound":0,"iD":false,"id":51,"derived":false},{"id":52,"eClass":"EGenericType"},{"id":53,"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":54,"derived":false},{"id":55,"eClass":"EGenericType"},{"id":56,"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":57,"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":"homeroomedClass","changeable":true,"resolveProxies":true,"lowerBound":0,"id":58,"derived":false},{"id":59,"eClass":"EGenericType"},{"id":60,"eClass":"EGenericType"},{"id":61,"eClass":"EGenericType"},{"id":62,"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":"startingDate","changeable":true,"lowerBound":0,"iD":false,"id":63,"derived":false},{"id":64,"eClass":"EGenericType"},{"id":65,"eClass":"EGenericType"},{"id":66,"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":8,"target":13},{"source":8,"target":1},{"source":9,"target":14},{"source":9,"target":1},{"source":10,"target":2},{"source":10,"target":15},{"source":10,"target":1},{"source":10,"target":16},{"source":15,"target":2},{"source":11,"target":6},{"source":11,"target":17},{"source":11,"target":1},{"source":11,"target":18},{"source":17,"target":6},{"source":12,"target":3},{"source":12,"target":19},{"source":12,"target":1},{"source":12,"target":20},{"source":19,"target":3},{"source":2,"target":0},{"source":2,"target":21},{"source":2,"target":22},{"source":2,"target":23},{"source":2,"target":24},{"source":2,"target":16},{"source":2,"target":25},{"source":2,"target":26},{"source":2,"target":27},{"source":2,"target":28},{"source":21,"target":29},{"source":21,"target":2},{"source":22,"target":30},{"source":22,"target":2},{"source":23,"target":7},{"source":23,"target":31},{"source":23,"target":2},{"source":23,"target":32},{"source":31,"target":7},{"source":24,"target":6},{"source":24,"target":33},{"source":24,"target":2},{"source":24,"target":34},{"source":33,"target":6},{"source":16,"target":1},{"source":16,"target":35},{"source":16,"target":2},{"source":16,"target":10},{"source":35,"target":1},{"source":25,"target":36},{"source":25,"target":2},{"source":26,"target":6},{"source":26,"target":37},{"source":26,"target":2},{"source":37,"target":6},{"source":27,"target":7},{"source":27,"target":38},{"source":27,"target":2},{"source":38,"target":7},{"source":28,"target":39},{"source":28,"target":2},{"source":3,"target":0},{"source":3,"target":40},{"source":3,"target":41},{"source":3,"target":42},{"source":3,"target":20},{"source":3,"target":43},{"source":40,"target":44},{"source":40,"target":3},{"source":41,"target":7},{"source":41,"target":45},{"source":41,"target":3},{"source":41,"target":46},{"source":45,"target":7},{"source":42,"target":5},{"source":42,"target":47},{"source":42,"target":3},{"source":42,"target":48},{"source":47,"target":5},{"source":20,"target":1},{"source":20,"target":49},{"source":20,"target":3},{"source":20,"target":12},{"source":49,"target":1},{"source":43,"target":6},{"source":43,"target":50},{"source":43,"target":3},{"source":50,"target":6},{"source":4,"target":0},{"source":4,"target":1},{"source":4,"target":51},{"source":4,"target":52},{"source":51,"target":53},{"source":51,"target":4},{"source":52,"target":1},{"source":5,"target":0},{"source":5,"target":54},{"source":5,"target":48},{"source":54,"target":55},{"source":54,"target":5},{"source":48,"target":3},{"source":48,"target":56},{"source":48,"target":5},{"source":48,"target":42},{"source":56,"target":3},{"source":6,"target":0},{"source":6,"target":57},{"source":6,"target":34},{"source":6,"target":18},{"source":6,"target":58},{"source":57,"target":59},{"source":57,"target":6},{"source":34,"target":2},{"source":34,"target":60},{"source":34,"target":6},{"source":34,"target":24},{"source":60,"target":2},{"source":18,"target":1},{"source":18,"target":61},{"source":18,"target":6},{"source":18,"target":11},{"source":61,"target":1},{"source":58,"target":3},{"source":58,"target":62},{"source":58,"target":6},{"source":62,"target":3},{"source":7,"target":0},{"source":7,"target":63},{"source":7,"target":32},{"source":7,"target":46},{"source":63,"target":64},{"source":63,"target":7},{"source":32,"target":2},{"source":32,"target":65},{"source":32,"target":7},{"source":32,"target":23},{"source":65,"target":2},{"source":46,"target":3},{"source":46,"target":66},{"source":46,"target":7},{"source":46,"target":41},{"source":66,"target":3}],"multigraph":true}