universityStudies
Course
name
code
credits
level
programmes
Programme
numberOfSemesters
specializations
name
semesters
Department
programmeType
Specialization
name
furtherSpecializations
semesters
Semester
season
semesterNumber
courseSlots
name
Department
Courses
Programmes
ProgrammeType
Bachelor
Bachelor
Master
Master
IntegrertMaster
IntegrertMaster
Årsstudie
Årsstudie
CourseSlot
course
MandatoryCourseSlot
ElectiveCourseSlot
optionalCourses
Seasons
Fall
Fall
Spring
Spring
Credits
Basic
7.5
Double
15.0
Full
30.0
Minor
5.0
<?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="universityStudies" nsURI="http://www.example.org/universityStudies"
    nsPrefix="universityStudies">
  <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
    <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL"/>
  </eAnnotations>
  <eClassifiers xsi:type="ecore:EClass" name="Course">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="ValidCode Validcredits"/>
    </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="code" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="credits" lowerBound="1"
        eType="#//Credits"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="level" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="programmes" upperBound="-1"
        eType="#//Programme" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Programme">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="validNumberOfSemesters validName departmentNotNull validProgrammeType"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfSemesters" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="specializations" upperBound="-1"
        eType="#//Specialization" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="semesters" upperBound="10"
        eType="#//Semester" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="Department" eType="#//Department"
        eOpposite="#//Department/Programmes"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="programmeType" eType="#//ProgrammeType"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Specialization">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="furtherSpecializations"
        upperBound="-1" eType="#//Specialization" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="semesters" upperBound="-1"
        eType="#//Semester" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Semester">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="isValidSeason courseNotNull enoughPoints"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL">
      <details key="courseNotNull" value="self.courseSlots.course -> notEmpty()"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="season" eType="#//Seasons"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="semesterNumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="courseSlots" lowerBound="1"
        upperBound="-1" eType="#//CourseSlot" 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="Department">
    <eStructuralFeatures xsi:type="ecore:EReference" name="Courses" upperBound="-1"
        eType="#//Course" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="Programmes" eType="#//Programme"
        containment="true" eOpposite="#//Programme/Department"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="ProgrammeType">
    <eLiterals name="Bachelor" value="6"/>
    <eLiterals name="Master" value="4"/>
    <eLiterals name="IntegrertMaster" value="10"/>
    <eLiterals name="Årsstudie" value="2"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="CourseSlot" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EReference" name="course" eType="#//Course"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="MandatoryCourseSlot" eSuperTypes="#//CourseSlot"/>
  <eClassifiers xsi:type="ecore:EClass" name="ElectiveCourseSlot" eSuperTypes="#//CourseSlot">
    <eStructuralFeatures xsi:type="ecore:EReference" name="optionalCourses" upperBound="-1"
        eType="#//Course"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="Seasons">
    <eLiterals name="Fall"/>
    <eLiterals name="Spring" value="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="Credits">
    <eLiterals name="Basic" literal="7.5"/>
    <eLiterals name="Double" literal="15.0"/>
    <eLiterals name="Full" literal="30.0"/>
    <eLiterals name="Minor" literal="5.0"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"universityStudies","nsURI":"http://www.example.org/universityStudies","name":"universityStudies","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":"Programme","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Specialization","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Semester","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Department","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"ProgrammeType","instanceClass":null,"id":6,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"CourseSlot","instanceClass":null,"abstract":true,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"MandatoryCourseSlot","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ElectiveCourseSlot","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"Seasons","instanceClass":null,"id":10,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"instanceClassName":null,"name":"Credits","instanceClass":null,"id":11,"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":"name","changeable":true,"lowerBound":0,"iD":false,"id":12,"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":"code","changeable":true,"lowerBound":0,"iD":false,"id":13,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"credits","changeable":true,"lowerBound":1,"iD":false,"id":14,"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":"level","changeable":true,"lowerBound":1,"iD":false,"id":15,"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":"programmes","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"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"numberOfSemesters","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":"specializations","changeable":true,"resolveProxies":true,"lowerBound":0,"id":23,"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":24,"derived":false},{"container":false,"ordered":true,"upperBound":10,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"semesters","changeable":true,"resolveProxies":true,"lowerBound":0,"id":25,"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":"Department","changeable":true,"resolveProxies":true,"lowerBound":0,"id":26,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"programmeType","changeable":true,"lowerBound":0,"iD":false,"id":27,"derived":false},{"id":28,"eClass":"EGenericType"},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"Programmes","changeable":true,"resolveProxies":true,"lowerBound":0,"id":33,"derived":false},{"id":34,"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":35,"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":"furtherSpecializations","changeable":true,"resolveProxies":true,"lowerBound":0,"id":36,"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":"semesters","changeable":true,"resolveProxies":true,"lowerBound":0,"id":37,"derived":false},{"id":38,"eClass":"EGenericType"},{"id":39,"eClass":"EGenericType"},{"id":40,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"season","changeable":true,"lowerBound":0,"iD":false,"id":41,"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":"semesterNumber","changeable":true,"lowerBound":0,"iD":false,"id":42,"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":"courseSlots","changeable":true,"resolveProxies":true,"lowerBound":1,"id":43,"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":44,"derived":false},{"id":45,"eClass":"EGenericType"},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"id":48,"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":true,"lowerBound":0,"id":49,"derived":false},{"id":50,"eClass":"EGenericType"},{"id":51,"eClass":"EGenericType"},{"name":"Bachelor","id":52,"value":6,"literal":"Bachelor","eClass":"EEnumLiteral"},{"name":"Master","id":53,"value":4,"literal":"Master","eClass":"EEnumLiteral"},{"name":"IntegrertMaster","id":54,"value":10,"literal":"IntegrertMaster","eClass":"EEnumLiteral"},{"name":"Årsstudie","id":55,"value":2,"literal":"Årsstudie","eClass":"EEnumLiteral"},{"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":"course","changeable":true,"resolveProxies":true,"lowerBound":0,"id":56,"derived":false},{"id":57,"eClass":"EGenericType"},{"id":58,"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":"optionalCourses","changeable":true,"resolveProxies":true,"lowerBound":0,"id":59,"derived":false},{"id":60,"eClass":"EGenericType"},{"id":61,"eClass":"EGenericType"},{"name":"Fall","id":62,"value":0,"literal":"Fall","eClass":"EEnumLiteral"},{"name":"Spring","id":63,"value":1,"literal":"Spring","eClass":"EEnumLiteral"},{"name":"Basic","id":64,"value":0,"literal":"7.5","eClass":"EEnumLiteral"},{"name":"Double","id":65,"value":0,"literal":"15.0","eClass":"EEnumLiteral"},{"name":"Full","id":66,"value":0,"literal":"30.0","eClass":"EEnumLiteral"},{"name":"Minor","id":67,"value":0,"literal":"5.0","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":0,"target":7},{"source":0,"target":8},{"source":0,"target":9},{"source":0,"target":10},{"source":0,"target":11},{"source":1,"target":0},{"source":1,"target":12},{"source":1,"target":13},{"source":1,"target":14},{"source":1,"target":15},{"source":1,"target":16},{"source":12,"target":17},{"source":12,"target":1},{"source":13,"target":18},{"source":13,"target":1},{"source":14,"target":11},{"source":14,"target":19},{"source":14,"target":1},{"source":19,"target":11},{"source":15,"target":20},{"source":15,"target":1},{"source":16,"target":2},{"source":16,"target":21},{"source":16,"target":1},{"source":21,"target":2},{"source":2,"target":0},{"source":2,"target":22},{"source":2,"target":23},{"source":2,"target":24},{"source":2,"target":25},{"source":2,"target":26},{"source":2,"target":27},{"source":22,"target":28},{"source":22,"target":2},{"source":23,"target":3},{"source":23,"target":29},{"source":23,"target":2},{"source":29,"target":3},{"source":24,"target":30},{"source":24,"target":2},{"source":25,"target":4},{"source":25,"target":31},{"source":25,"target":2},{"source":31,"target":4},{"source":26,"target":5},{"source":26,"target":32},{"source":26,"target":2},{"source":26,"target":33},{"source":32,"target":5},{"source":27,"target":6},{"source":27,"target":34},{"source":27,"target":2},{"source":34,"target":6},{"source":3,"target":0},{"source":3,"target":35},{"source":3,"target":36},{"source":3,"target":37},{"source":35,"target":38},{"source":35,"target":3},{"source":36,"target":3},{"source":36,"target":39},{"source":36,"target":3},{"source":39,"target":3},{"source":37,"target":4},{"source":37,"target":40},{"source":37,"target":3},{"source":40,"target":4},{"source":4,"target":0},{"source":4,"target":41},{"source":4,"target":42},{"source":4,"target":43},{"source":4,"target":44},{"source":41,"target":10},{"source":41,"target":45},{"source":41,"target":4},{"source":45,"target":10},{"source":42,"target":46},{"source":42,"target":4},{"source":43,"target":7},{"source":43,"target":47},{"source":43,"target":4},{"source":47,"target":7},{"source":44,"target":48},{"source":44,"target":4},{"source":5,"target":0},{"source":5,"target":49},{"source":5,"target":33},{"source":49,"target":1},{"source":49,"target":50},{"source":49,"target":5},{"source":50,"target":1},{"source":33,"target":2},{"source":33,"target":51},{"source":33,"target":5},{"source":33,"target":26},{"source":51,"target":2},{"source":6,"target":0},{"source":6,"target":52},{"source":6,"target":53},{"source":6,"target":54},{"source":6,"target":55},{"source":52,"target":6},{"source":53,"target":6},{"source":54,"target":6},{"source":55,"target":6},{"source":7,"target":0},{"source":7,"target":56},{"source":56,"target":1},{"source":56,"target":57},{"source":56,"target":7},{"source":57,"target":1},{"source":8,"target":0},{"source":8,"target":7},{"source":8,"target":58},{"source":58,"target":7},{"source":9,"target":0},{"source":9,"target":7},{"source":9,"target":59},{"source":9,"target":60},{"source":59,"target":1},{"source":59,"target":61},{"source":59,"target":9},{"source":61,"target":1},{"source":60,"target":7},{"source":10,"target":0},{"source":10,"target":62},{"source":10,"target":63},{"source":62,"target":10},{"source":63,"target":10},{"source":11,"target":0},{"source":11,"target":64},{"source":11,"target":65},{"source":11,"target":66},{"source":11,"target":67},{"source":64,"target":11},{"source":65,"target":11},{"source":66,"target":11},{"source":67,"target":11}],"multigraph":true}