tdt4250
Course
ID
credit
name
has
isAttended
isCoordinated
Assignment
ID
name
content
mandatory
isSolved
Answer
content
Student
attends
submit
ResponsibilityRole
LECTURER
LECTURER
COORDINATOR
COORDINATOR
ASSISTANT
ASSISTANT
Person
ID
name
Teacher
role
coordinates
Root
containsA
containsB
<?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" xmi:id="_bDIm8CdxEeKsSJflfBDxuw" name="tdt4250" nsURI="http://tdt4250/1.0" nsPrefix="tdt4250">
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_bDIm8SdxEeKsSJflfBDxuw" name="Course">
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDJOACdxEeKsSJflfBDxuw" name="ID">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDJ1ECdxEeKsSJflfBDxuw" name="credit">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDKcICdxEeKsSJflfBDxuw" name="name">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDLDMCdxEeKsSJflfBDxuw" name="has" upperBound="-1" eType="_bDNfcCdxEeKsSJflfBDxuw" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDLqQCdxEeKsSJflfBDxuw" name="isAttended" upperBound="-1" eType="_bDTmECdxEeKsSJflfBDxuw" eOpposite="_bDUNICdxEeKsSJflfBDxuw"/>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDMRUCdxEeKsSJflfBDxuw" name="isCoordinated" upperBound="-1" eType="_bDYekCdxEeKsSJflfBDxuw" eOpposite="_bDZFoidxEeKsSJflfBDxuw"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_bDNfcCdxEeKsSJflfBDxuw" name="Assignment">
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDOGgCdxEeKsSJflfBDxuw" name="ID">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDOtkCdxEeKsSJflfBDxuw" name="name">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDPUoCdxEeKsSJflfBDxuw" name="content">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDQiwCdxEeKsSJflfBDxuw" name="mandatory">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDRJ0CdxEeKsSJflfBDxuw" name="isSolved" upperBound="-1" eType="_bDSX8CdxEeKsSJflfBDxuw"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_bDSX8CdxEeKsSJflfBDxuw" name="Answer">
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDS_ACdxEeKsSJflfBDxuw" name="content">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_bDTmECdxEeKsSJflfBDxuw" name="Student" eSuperTypes="_bDXQcCdxEeKsSJflfBDxuw">
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDUNICdxEeKsSJflfBDxuw" name="attends" upperBound="-1" eType="_bDIm8SdxEeKsSJflfBDxuw" eOpposite="_bDLqQCdxEeKsSJflfBDxuw"/>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDU0MCdxEeKsSJflfBDxuw" name="submit" upperBound="-1" eType="_bDSX8CdxEeKsSJflfBDxuw"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" xmi:id="_bDVbQCdxEeKsSJflfBDxuw" name="ResponsibilityRole">
    <eLiterals xmi:id="_bDWCUCdxEeKsSJflfBDxuw" name="LECTURER"/>
    <eLiterals xmi:id="_bDWCUSdxEeKsSJflfBDxuw" name="COORDINATOR" value="1"/>
    <eLiterals xmi:id="_bDWpYCdxEeKsSJflfBDxuw" name="ASSISTANT" value="2"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_bDXQcCdxEeKsSJflfBDxuw" name="Person">
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDXQcSdxEeKsSJflfBDxuw" name="ID">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDX3gCdxEeKsSJflfBDxuw" name="name">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_bDYekCdxEeKsSJflfBDxuw" name="Teacher" eSuperTypes="_bDXQcCdxEeKsSJflfBDxuw">
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_bDZFoCdxEeKsSJflfBDxuw" name="role" eType="_bDVbQCdxEeKsSJflfBDxuw"/>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDZFoidxEeKsSJflfBDxuw" name="coordinates" upperBound="-1" eType="_bDIm8SdxEeKsSJflfBDxuw" eOpposite="_bDMRUCdxEeKsSJflfBDxuw"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_bDZssCdxEeKsSJflfBDxuw" name="Root">
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDaTwCdxEeKsSJflfBDxuw" name="containsA" upperBound="-1" eType="_bDIm8SdxEeKsSJflfBDxuw"/>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_bDaTwidxEeKsSJflfBDxuw" name="containsB" upperBound="-1" eType="_bDXQcCdxEeKsSJflfBDxuw"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"tdt4250","nsURI":"http://tdt4250/1.0","name":"tdt4250","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":"Assignment","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Answer","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Student","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"ResponsibilityRole","instanceClass":null,"id":5,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Person","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Teacher","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Root","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"ID","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":"credit","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":"name","changeable":true,"lowerBound":0,"iD":false,"id":11,"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":"has","changeable":true,"resolveProxies":true,"lowerBound":0,"id":12,"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":"isAttended","changeable":true,"resolveProxies":true,"lowerBound":0,"id":13,"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":"isCoordinated","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"id":16,"eClass":"EGenericType"},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"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":"attends","changeable":true,"resolveProxies":true,"lowerBound":0,"id":20,"derived":false},{"id":21,"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":"coordinates","changeable":true,"resolveProxies":true,"lowerBound":0,"id":22,"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":"ID","changeable":true,"lowerBound":0,"iD":false,"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},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"content","changeable":true,"lowerBound":0,"iD":false,"id":25,"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":"mandatory","changeable":true,"lowerBound":0,"iD":false,"id":26,"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":"isSolved","changeable":true,"resolveProxies":true,"lowerBound":0,"id":27,"derived":false},{"id":28,"eClass":"EGenericType"},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"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":"content","changeable":true,"lowerBound":0,"iD":false,"id":33,"derived":false},{"id":34,"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":"submit","changeable":true,"resolveProxies":true,"lowerBound":0,"id":35,"derived":false},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"name":"LECTURER","id":39,"value":0,"literal":"LECTURER","eClass":"EEnumLiteral"},{"name":"COORDINATOR","id":40,"value":1,"literal":"COORDINATOR","eClass":"EEnumLiteral"},{"name":"ASSISTANT","id":41,"value":2,"literal":"ASSISTANT","eClass":"EEnumLiteral"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"ID","changeable":true,"lowerBound":0,"iD":false,"id":42,"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":43,"derived":false},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"role","changeable":true,"lowerBound":0,"iD":false,"id":46,"derived":false},{"id":47,"eClass":"EGenericType"},{"id":48,"eClass":"EGenericType"},{"id":49,"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":"containsA","changeable":true,"resolveProxies":true,"lowerBound":0,"id":50,"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":"containsB","changeable":true,"resolveProxies":true,"lowerBound":0,"id":51,"derived":false},{"id":52,"eClass":"EGenericType"},{"id":53,"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":1,"target":13},{"source":1,"target":14},{"source":9,"target":15},{"source":9,"target":1},{"source":10,"target":16},{"source":10,"target":1},{"source":11,"target":17},{"source":11,"target":1},{"source":12,"target":2},{"source":12,"target":18},{"source":12,"target":1},{"source":18,"target":2},{"source":13,"target":4},{"source":13,"target":19},{"source":13,"target":1},{"source":13,"target":20},{"source":19,"target":4},{"source":14,"target":7},{"source":14,"target":21},{"source":14,"target":1},{"source":14,"target":22},{"source":21,"target":7},{"source":2,"target":0},{"source":2,"target":23},{"source":2,"target":24},{"source":2,"target":25},{"source":2,"target":26},{"source":2,"target":27},{"source":23,"target":28},{"source":23,"target":2},{"source":24,"target":29},{"source":24,"target":2},{"source":25,"target":30},{"source":25,"target":2},{"source":26,"target":31},{"source":26,"target":2},{"source":27,"target":3},{"source":27,"target":32},{"source":27,"target":2},{"source":32,"target":3},{"source":3,"target":0},{"source":3,"target":33},{"source":33,"target":34},{"source":33,"target":3},{"source":4,"target":0},{"source":4,"target":6},{"source":4,"target":20},{"source":4,"target":35},{"source":4,"target":36},{"source":20,"target":1},{"source":20,"target":37},{"source":20,"target":4},{"source":20,"target":13},{"source":37,"target":1},{"source":35,"target":3},{"source":35,"target":38},{"source":35,"target":4},{"source":38,"target":3},{"source":36,"target":6},{"source":5,"target":0},{"source":5,"target":39},{"source":5,"target":40},{"source":5,"target":41},{"source":39,"target":5},{"source":40,"target":5},{"source":41,"target":5},{"source":6,"target":0},{"source":6,"target":42},{"source":6,"target":43},{"source":42,"target":44},{"source":42,"target":6},{"source":43,"target":45},{"source":43,"target":6},{"source":7,"target":0},{"source":7,"target":6},{"source":7,"target":46},{"source":7,"target":22},{"source":7,"target":47},{"source":46,"target":5},{"source":46,"target":48},{"source":46,"target":7},{"source":48,"target":5},{"source":22,"target":1},{"source":22,"target":49},{"source":22,"target":7},{"source":22,"target":14},{"source":49,"target":1},{"source":47,"target":6},{"source":8,"target":0},{"source":8,"target":50},{"source":8,"target":51},{"source":50,"target":1},{"source":50,"target":52},{"source":50,"target":8},{"source":52,"target":1},{"source":51,"target":6},{"source":51,"target":53},{"source":51,"target":8},{"source":53,"target":6}],"multigraph":true}