tDT4250_asssignment1_2
Program
Name
specialization
program_course
Credits
semester
Specialization
Name
semester
specialization
Semester
Number
semester_course
Credits
Semester_Course
Mandatory
course
Fall_or_spring
Course
Name
Code
Credits
7.5
StartDate
ExamDate
Calendar
java.util.Calendar
java.util.Calendar
course_code
java.lang.String
java.lang.String
Program_course
course
Fall_or_spring
Mandatory
Fall_or_spring
Fall
Fall
Spring
Spring
Semester_credits
int
int
Program_credits
int
int
Department
Name
course
program
<?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="tDT4250_asssignment1_2" nsURI="http://www.example.org/tDT4250_asssignment1_2"
    nsPrefix="tDT4250_asssignment1_2">
  <eClassifiers xsi:type="ecore:EClass" name="Program">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="nameCharacters"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="specialization" upperBound="-1"
        eType="#//Specialization" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="program_course" upperBound="-1"
        eType="#//Program_course" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Credits" eType="#//Program_credits"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="semester" upperBound="-1"
        eType="#//Semester" containment="true"/>
  </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="semester" upperBound="-1"
        eType="#//Semester" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="specialization" upperBound="-1"
        eType="#//Specialization"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Semester">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Number" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="semester_course" upperBound="-1"
        eType="#//Semester_Course" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Credits" eType="#//Semester_credits"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Semester_Course">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Mandatory" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="course" upperBound="-1"
        eType="#//Course" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Fall_or_spring" eType="#//Fall_or_spring"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Course">
    <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="#//course_code"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Credits" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
        defaultValueLiteral="7.5"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="StartDate" eType="#//Calendar"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="ExamDate" eType="#//Calendar"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="Calendar" instanceClassName="java.util.Calendar"/>
  <eClassifiers xsi:type="ecore:EDataType" name="course_code" instanceClassName="java.lang.String">
    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
      <details key="maxLength" value="7"/>
    </eAnnotations>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Program_course">
    <eStructuralFeatures xsi:type="ecore:EReference" name="course" upperBound="-1"
        eType="#//Course" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Fall_or_spring" eType="#//Fall_or_spring"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Mandatory" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="Fall_or_spring">
    <eLiterals name="Fall"/>
    <eLiterals name="Spring" value="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="Semester_credits" instanceClassName="int">
    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
      <details key="minInclusive" value="30"/>
    </eAnnotations>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="Program_credits" instanceClassName="int">
    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
      <details key="minExclusive" value="30"/>
    </eAnnotations>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Department">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="Name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="course" upperBound="-1"
        eType="#//Course" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="program" upperBound="-1"
        eType="#//Program" containment="true"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"tDT4250_asssignment1_2","nsURI":"http://www.example.org/tDT4250_asssignment1_2","name":"tDT4250_asssignment1_2","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Program","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Specialization","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Semester","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Semester_Course","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Course","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":"java.util.Calendar","defaultValue":null,"instanceClassName":"java.util.Calendar","name":"Calendar","instanceClass":"java.util.Calendar","id":6,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":"java.lang.String","defaultValue":null,"instanceClassName":"java.lang.String","name":"course_code","instanceClass":"java.lang.String","id":7,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Program_course","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"Fall_or_spring","instanceClass":null,"id":9,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":"int","defaultValue":0,"instanceClassName":"int","name":"Semester_credits","instanceClass":"int","id":10,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":"int","defaultValue":0,"instanceClassName":"int","name":"Program_credits","instanceClass":"int","id":11,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Department","instanceClass":null,"abstract":false,"id":12,"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":"Name","changeable":true,"lowerBound":0,"iD":false,"id":13,"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":"specialization","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"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":"program_course","changeable":true,"resolveProxies":true,"lowerBound":0,"id":15,"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":"Credits","changeable":true,"lowerBound":0,"iD":false,"id":16,"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":"semester","changeable":true,"resolveProxies":true,"lowerBound":0,"id":17,"derived":false},{"id":18,"eClass":"EGenericType"},{"id":19,"eClass":"EGenericType"},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"id":22,"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":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":"semester","changeable":true,"resolveProxies":true,"lowerBound":0,"id":24,"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":"specialization","changeable":true,"resolveProxies":true,"lowerBound":0,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"id":28,"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":false,"id":29,"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":"semester_course","changeable":true,"resolveProxies":true,"lowerBound":0,"id":30,"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":"Credits","changeable":true,"lowerBound":0,"iD":false,"id":31,"derived":false},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"id":34,"eClass":"EGenericType"},{"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":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":"course","changeable":true,"resolveProxies":true,"lowerBound":0,"id":36,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"Fall_or_spring","changeable":true,"lowerBound":0,"iD":false,"id":37,"derived":false},{"id":38,"eClass":"EGenericType"},{"id":39,"eClass":"EGenericType"},{"id":40,"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":41,"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":42,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":7.5,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"7.5","unsettable":false,"transient":false,"unique":true,"name":"Credits","changeable":true,"lowerBound":0,"iD":false,"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":"StartDate","changeable":true,"lowerBound":0,"iD":false,"id":44,"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":"ExamDate","changeable":true,"lowerBound":0,"iD":false,"id":45,"derived":false},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"id":48,"eClass":"EGenericType"},{"id":49,"eClass":"EGenericType"},{"id":50,"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":"course","changeable":true,"resolveProxies":true,"lowerBound":0,"id":51,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"Fall_or_spring","changeable":true,"lowerBound":0,"iD":false,"id":52,"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":53,"derived":false},{"id":54,"eClass":"EGenericType"},{"id":55,"eClass":"EGenericType"},{"id":56,"eClass":"EGenericType"},{"name":"Fall","id":57,"value":0,"literal":"Fall","eClass":"EEnumLiteral"},{"name":"Spring","id":58,"value":1,"literal":"Spring","eClass":"EEnumLiteral"},{"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":59,"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":"course","changeable":true,"resolveProxies":true,"lowerBound":0,"id":60,"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":"program","changeable":true,"resolveProxies":true,"lowerBound":0,"id":61,"derived":false},{"id":62,"eClass":"EGenericType"},{"id":63,"eClass":"EGenericType"},{"id":64,"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":0,"target":9},{"source":0,"target":10},{"source":0,"target":11},{"source":0,"target":12},{"source":1,"target":0},{"source":1,"target":13},{"source":1,"target":14},{"source":1,"target":15},{"source":1,"target":16},{"source":1,"target":17},{"source":13,"target":18},{"source":13,"target":1},{"source":14,"target":2},{"source":14,"target":19},{"source":14,"target":1},{"source":19,"target":2},{"source":15,"target":8},{"source":15,"target":20},{"source":15,"target":1},{"source":20,"target":8},{"source":16,"target":11},{"source":16,"target":21},{"source":16,"target":1},{"source":21,"target":11},{"source":17,"target":3},{"source":17,"target":22},{"source":17,"target":1},{"source":22,"target":3},{"source":2,"target":0},{"source":2,"target":23},{"source":2,"target":24},{"source":2,"target":25},{"source":23,"target":26},{"source":23,"target":2},{"source":24,"target":3},{"source":24,"target":27},{"source":24,"target":2},{"source":27,"target":3},{"source":25,"target":2},{"source":25,"target":28},{"source":25,"target":2},{"source":28,"target":2},{"source":3,"target":0},{"source":3,"target":29},{"source":3,"target":30},{"source":3,"target":31},{"source":29,"target":32},{"source":29,"target":3},{"source":30,"target":4},{"source":30,"target":33},{"source":30,"target":3},{"source":33,"target":4},{"source":31,"target":10},{"source":31,"target":34},{"source":31,"target":3},{"source":34,"target":10},{"source":4,"target":0},{"source":4,"target":35},{"source":4,"target":36},{"source":4,"target":37},{"source":35,"target":38},{"source":35,"target":4},{"source":36,"target":5},{"source":36,"target":39},{"source":36,"target":4},{"source":39,"target":5},{"source":37,"target":9},{"source":37,"target":40},{"source":37,"target":4},{"source":40,"target":9},{"source":5,"target":0},{"source":5,"target":41},{"source":5,"target":42},{"source":5,"target":43},{"source":5,"target":44},{"source":5,"target":45},{"source":41,"target":46},{"source":41,"target":5},{"source":42,"target":7},{"source":42,"target":47},{"source":42,"target":5},{"source":47,"target":7},{"source":43,"target":48},{"source":43,"target":5},{"source":44,"target":6},{"source":44,"target":49},{"source":44,"target":5},{"source":49,"target":6},{"source":45,"target":6},{"source":45,"target":50},{"source":45,"target":5},{"source":50,"target":6},{"source":6,"target":0},{"source":7,"target":0},{"source":8,"target":0},{"source":8,"target":51},{"source":8,"target":52},{"source":8,"target":53},{"source":51,"target":5},{"source":51,"target":54},{"source":51,"target":8},{"source":54,"target":5},{"source":52,"target":9},{"source":52,"target":55},{"source":52,"target":8},{"source":55,"target":9},{"source":53,"target":56},{"source":53,"target":8},{"source":9,"target":0},{"source":9,"target":57},{"source":9,"target":58},{"source":57,"target":9},{"source":58,"target":9},{"source":10,"target":0},{"source":11,"target":0},{"source":12,"target":0},{"source":12,"target":59},{"source":12,"target":60},{"source":12,"target":61},{"source":59,"target":62},{"source":59,"target":12},{"source":60,"target":5},{"source":60,"target":63},{"source":60,"target":12},{"source":63,"target":5},{"source":61,"target":1},{"source":61,"target":64},{"source":61,"target":12},{"source":64,"target":1}],"multigraph":true}