AssistantMVC
Exam
examItems
controllers
views
ExamItem
question
Open
MultipleChoice
numberOfChoices
selectionWay
optional
Observable
observers
Observer
Controller
View
fontName
fontColor
controller
ExamController
ExamItemController
MultipleChoiceController
numberOfChoices
selectionWay
OpenController
ExamView
ExamItemView
OpenView
MultipleChoiceView
numberOfChoices
selectionWay
<?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="AssistantMVC"
    nsURI="http://gts.inf.um.es/test/assistant_mvc" nsPrefix="mvc">
  <eClassifiers xsi:type="ecore:EClass" name="Exam" eSuperTypes="#//Observable">
    <eStructuralFeatures xsi:type="ecore:EReference" name="examItems" upperBound="-1"
        eType="#//ExamItem" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="controllers" upperBound="-1"
        eType="#//Controller" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="views" upperBound="-1"
        eType="#//View" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ExamItem" abstract="true" eSuperTypes="#//Observable">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="question" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Open" eSuperTypes="#//ExamItem"/>
  <eClassifiers xsi:type="ecore:EClass" name="MultipleChoice" eSuperTypes="#//ExamItem">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfChoices" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="selectionWay" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="optional" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Observable">
    <eStructuralFeatures xsi:type="ecore:EReference" name="observers" upperBound="-1"
        eType="#//Observer"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Observer"/>
  <eClassifiers xsi:type="ecore:EClass" name="Controller" abstract="true" eSuperTypes="#//Observer"/>
  <eClassifiers xsi:type="ecore:EClass" name="View" abstract="true" eSuperTypes="#//Observer">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="fontColor" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="controller" eType="#//Controller"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ExamController" eSuperTypes="#//Controller"/>
  <eClassifiers xsi:type="ecore:EClass" name="ExamItemController" abstract="true"
      eSuperTypes="#//Controller"/>
  <eClassifiers xsi:type="ecore:EClass" name="MultipleChoiceController" eSuperTypes="#//ExamItemController">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfChoices" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="selectionWay" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="OpenController" eSuperTypes="#//ExamItemController"/>
  <eClassifiers xsi:type="ecore:EClass" name="ExamView" eSuperTypes="#//View"/>
  <eClassifiers xsi:type="ecore:EClass" name="ExamItemView" eSuperTypes="#//View"/>
  <eClassifiers xsi:type="ecore:EClass" name="OpenView" eSuperTypes="#//ExamView"/>
  <eClassifiers xsi:type="ecore:EClass" name="MultipleChoiceView" eSuperTypes="#//ExamItemView">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="numberOfChoices" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="selectionWay" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"mvc","nsURI":"http://gts.inf.um.es/test/assistant_mvc","name":"AssistantMVC","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Exam","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ExamItem","instanceClass":null,"abstract":true,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Open","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"MultipleChoice","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Observable","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Observer","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Controller","instanceClass":null,"abstract":true,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"View","instanceClass":null,"abstract":true,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ExamController","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ExamItemController","instanceClass":null,"abstract":true,"id":10,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"MultipleChoiceController","instanceClass":null,"abstract":false,"id":11,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"OpenController","instanceClass":null,"abstract":false,"id":12,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ExamView","instanceClass":null,"abstract":false,"id":13,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ExamItemView","instanceClass":null,"abstract":false,"id":14,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"OpenView","instanceClass":null,"abstract":false,"id":15,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"MultipleChoiceView","instanceClass":null,"abstract":false,"id":16,"interface":false,"eClass":"EClass"},{"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":"examItems","changeable":true,"resolveProxies":true,"lowerBound":0,"id":17,"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":"controllers","changeable":true,"resolveProxies":true,"lowerBound":0,"id":18,"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":"views","changeable":true,"resolveProxies":true,"lowerBound":0,"id":19,"derived":false},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"id":22,"eClass":"EGenericType"},{"id":23,"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":"question","changeable":true,"lowerBound":0,"iD":false,"id":24,"derived":false},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"id":27,"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":"numberOfChoices","changeable":true,"lowerBound":0,"iD":false,"id":28,"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":"selectionWay","changeable":true,"lowerBound":0,"iD":false,"id":29,"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":"optional","changeable":true,"lowerBound":0,"iD":false,"id":30,"derived":false},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"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":"observers","changeable":true,"resolveProxies":true,"lowerBound":0,"id":35,"derived":false},{"id":36,"eClass":"EGenericType"},{"id":37,"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":"fontName","changeable":true,"lowerBound":0,"iD":false,"id":38,"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":"fontColor","changeable":true,"lowerBound":0,"iD":false,"id":39,"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":"controller","changeable":true,"resolveProxies":true,"lowerBound":0,"id":40,"derived":false},{"id":41,"eClass":"EGenericType"},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"id":46,"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":"numberOfChoices","changeable":true,"lowerBound":0,"iD":false,"id":47,"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":"selectionWay","changeable":true,"lowerBound":0,"iD":false,"id":48,"derived":false},{"id":49,"eClass":"EGenericType"},{"id":50,"eClass":"EGenericType"},{"id":51,"eClass":"EGenericType"},{"id":52,"eClass":"EGenericType"},{"id":53,"eClass":"EGenericType"},{"id":54,"eClass":"EGenericType"},{"id":55,"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":"numberOfChoices","changeable":true,"lowerBound":0,"iD":false,"id":56,"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":"selectionWay","changeable":true,"lowerBound":0,"iD":false,"id":57,"derived":false},{"id":58,"eClass":"EGenericType"},{"id":59,"eClass":"EGenericType"},{"id":60,"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":0,"target":13},{"source":0,"target":14},{"source":0,"target":15},{"source":0,"target":16},{"source":1,"target":0},{"source":1,"target":5},{"source":1,"target":17},{"source":1,"target":18},{"source":1,"target":19},{"source":1,"target":20},{"source":17,"target":2},{"source":17,"target":21},{"source":17,"target":1},{"source":21,"target":2},{"source":18,"target":7},{"source":18,"target":22},{"source":18,"target":1},{"source":22,"target":7},{"source":19,"target":8},{"source":19,"target":23},{"source":19,"target":1},{"source":23,"target":8},{"source":20,"target":5},{"source":2,"target":0},{"source":2,"target":5},{"source":2,"target":24},{"source":2,"target":25},{"source":24,"target":26},{"source":24,"target":2},{"source":25,"target":5},{"source":3,"target":0},{"source":3,"target":2},{"source":3,"target":27},{"source":27,"target":2},{"source":4,"target":0},{"source":4,"target":2},{"source":4,"target":28},{"source":4,"target":29},{"source":4,"target":30},{"source":4,"target":31},{"source":28,"target":32},{"source":28,"target":4},{"source":29,"target":33},{"source":29,"target":4},{"source":30,"target":34},{"source":30,"target":4},{"source":31,"target":2},{"source":5,"target":0},{"source":5,"target":35},{"source":35,"target":6},{"source":35,"target":36},{"source":35,"target":5},{"source":36,"target":6},{"source":6,"target":0},{"source":7,"target":0},{"source":7,"target":6},{"source":7,"target":37},{"source":37,"target":6},{"source":8,"target":0},{"source":8,"target":6},{"source":8,"target":38},{"source":8,"target":39},{"source":8,"target":40},{"source":8,"target":41},{"source":38,"target":42},{"source":38,"target":8},{"source":39,"target":43},{"source":39,"target":8},{"source":40,"target":7},{"source":40,"target":44},{"source":40,"target":8},{"source":44,"target":7},{"source":41,"target":6},{"source":9,"target":0},{"source":9,"target":7},{"source":9,"target":45},{"source":45,"target":7},{"source":10,"target":0},{"source":10,"target":7},{"source":10,"target":46},{"source":46,"target":7},{"source":11,"target":0},{"source":11,"target":10},{"source":11,"target":47},{"source":11,"target":48},{"source":11,"target":49},{"source":47,"target":50},{"source":47,"target":11},{"source":48,"target":51},{"source":48,"target":11},{"source":49,"target":10},{"source":12,"target":0},{"source":12,"target":10},{"source":12,"target":52},{"source":52,"target":10},{"source":13,"target":0},{"source":13,"target":8},{"source":13,"target":53},{"source":53,"target":8},{"source":14,"target":0},{"source":14,"target":8},{"source":14,"target":54},{"source":54,"target":8},{"source":15,"target":0},{"source":15,"target":13},{"source":15,"target":55},{"source":55,"target":13},{"source":16,"target":0},{"source":16,"target":14},{"source":16,"target":56},{"source":16,"target":57},{"source":16,"target":58},{"source":56,"target":59},{"source":56,"target":16},{"source":57,"target":60},{"source":57,"target":16},{"source":58,"target":14}],"multigraph":true}