toe
AllHolder
all
AllBase
Employee
name
salary
projects
department
contributions
Manager
leads
managedDepartment
Contribution
description
employee
project
Department
allSubDepartments
name
subDepartments
employees
parentDepartment
manager
Project
name
departmentWide
projectTeam
lead
contributions
<?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="toe"
    nsURI="http://www.eclipse.org/examples/gmf/ocldriven/table-of-organization-and-equipment"
    nsPrefix="toe">
  <eClassifiers xsi:type="ecore:EClass" name="AllHolder">
    <eStructuralFeatures xsi:type="ecore:EReference" name="all" upperBound="-1" eType="#//AllBase"
        containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="AllBase" abstract="true"/>
  <eClassifiers xsi:type="ecore:EClass" name="Employee" eSuperTypes="#//AllBase">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="salary" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="projects" upperBound="-1"
        eType="#//Project" eOpposite="#//Project/projectTeam"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="department" eType="#//Department"
        eOpposite="#//Department/employees"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="contributions" upperBound="-1"
        eType="#//Contribution" eOpposite="#//Contribution/employee"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Manager" eSuperTypes="#//Employee">
    <eStructuralFeatures xsi:type="ecore:EReference" name="leads" upperBound="-1"
        eType="#//Project" eOpposite="#//Project/lead"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="managedDepartment" eType="#//Department"
        eOpposite="#//Department/manager"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Contribution" eSuperTypes="#//AllBase">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="employee" eType="#//Employee"
        eOpposite="#//Employee/contributions"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="project" eType="#//Project"
        eOpposite="#//Project/contributions"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Department" eSuperTypes="#//AllBase">
    <eOperations name="allSubDepartments" upperBound="-1" eType="#//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="subDepartments" upperBound="-1"
        eType="#//Department" containment="true" eOpposite="#//Department/parentDepartment"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="employees" upperBound="-1"
        eType="#//Employee" containment="true" eOpposite="#//Employee/department"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="parentDepartment" eType="#//Department"
        eOpposite="#//Department/subDepartments"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="manager" lowerBound="1"
        eType="#//Manager" eOpposite="#//Manager/managedDepartment"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Project" eSuperTypes="#//AllBase">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="departmentWide" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="projectTeam" upperBound="-1"
        eType="#//Employee" eOpposite="#//Employee/projects"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="lead" eType="#//Manager"
        eOpposite="#//Manager/leads"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="contributions" upperBound="-1"
        eType="#//Contribution" eOpposite="#//Contribution/project"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"toe","nsURI":"http://www.eclipse.org/examples/gmf/ocldriven/table-of-organization-and-equipment","name":"toe","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"AllHolder","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"AllBase","instanceClass":null,"abstract":true,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Employee","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Manager","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Contribution","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Department","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Project","instanceClass":null,"abstract":false,"id":7,"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":"all","changeable":true,"resolveProxies":true,"lowerBound":0,"id":8,"derived":false},{"id":9,"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":10,"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":"salary","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":false,"unsettable":false,"transient":false,"unique":true,"name":"projects","changeable":true,"resolveProxies":true,"lowerBound":0,"id":12,"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":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":"contributions","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"},{"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":"projectTeam","changeable":true,"resolveProxies":true,"lowerBound":0,"id":19,"derived":false},{"id":20,"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":"employees","changeable":true,"resolveProxies":true,"lowerBound":0,"id":21,"derived":false},{"id":22,"eClass":"EGenericType"},{"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":"employee","changeable":true,"resolveProxies":true,"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":false,"unsettable":false,"transient":false,"unique":true,"name":"leads","changeable":true,"resolveProxies":true,"lowerBound":0,"id":24,"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":"managedDepartment","changeable":true,"resolveProxies":true,"lowerBound":0,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"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":"lead","changeable":true,"resolveProxies":true,"lowerBound":0,"id":28,"derived":false},{"id":29,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"manager","changeable":true,"resolveProxies":true,"lowerBound":1,"id":30,"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":"description","changeable":true,"lowerBound":0,"iD":false,"id":31,"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":"project","changeable":true,"resolveProxies":true,"lowerBound":0,"id":32,"derived":false},{"id":33,"eClass":"EGenericType"},{"id":34,"eClass":"EGenericType"},{"id":35,"eClass":"EGenericType"},{"id":36,"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":"contributions","changeable":true,"resolveProxies":true,"lowerBound":0,"id":37,"derived":false},{"ordered":true,"upperBound":-1,"unique":true,"name":"allSubDepartments","lowerBound":0,"id":38,"many":true,"required":false,"eClass":"EOperation"},{"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":39,"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":"subDepartments","changeable":true,"resolveProxies":true,"lowerBound":0,"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":false,"unique":true,"name":"parentDepartment","changeable":true,"resolveProxies":true,"lowerBound":0,"id":41,"derived":false},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"id":48,"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":49,"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":"departmentWide","changeable":true,"lowerBound":0,"iD":false,"id":50,"derived":false},{"id":51,"eClass":"EGenericType"},{"id":52,"eClass":"EGenericType"},{"id":53,"eClass":"EGenericType"},{"id":54,"eClass":"EGenericType"},{"id":55,"eClass":"EGenericType"},{"id":56,"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":8,"target":2},{"source":8,"target":9},{"source":8,"target":1},{"source":9,"target":2},{"source":2,"target":0},{"source":3,"target":0},{"source":3,"target":2},{"source":3,"target":10},{"source":3,"target":11},{"source":3,"target":12},{"source":3,"target":13},{"source":3,"target":14},{"source":3,"target":15},{"source":10,"target":16},{"source":10,"target":3},{"source":11,"target":17},{"source":11,"target":3},{"source":12,"target":7},{"source":12,"target":18},{"source":12,"target":3},{"source":12,"target":19},{"source":18,"target":7},{"source":13,"target":6},{"source":13,"target":20},{"source":13,"target":3},{"source":13,"target":21},{"source":20,"target":6},{"source":14,"target":5},{"source":14,"target":22},{"source":14,"target":3},{"source":14,"target":23},{"source":22,"target":5},{"source":15,"target":2},{"source":4,"target":0},{"source":4,"target":3},{"source":4,"target":24},{"source":4,"target":25},{"source":4,"target":26},{"source":24,"target":7},{"source":24,"target":27},{"source":24,"target":4},{"source":24,"target":28},{"source":27,"target":7},{"source":25,"target":6},{"source":25,"target":29},{"source":25,"target":4},{"source":25,"target":30},{"source":29,"target":6},{"source":26,"target":3},{"source":5,"target":0},{"source":5,"target":2},{"source":5,"target":31},{"source":5,"target":23},{"source":5,"target":32},{"source":5,"target":33},{"source":31,"target":34},{"source":31,"target":5},{"source":23,"target":3},{"source":23,"target":35},{"source":23,"target":5},{"source":23,"target":14},{"source":35,"target":3},{"source":32,"target":7},{"source":32,"target":36},{"source":32,"target":5},{"source":32,"target":37},{"source":36,"target":7},{"source":33,"target":2},{"source":6,"target":0},{"source":6,"target":2},{"source":6,"target":38},{"source":6,"target":39},{"source":6,"target":40},{"source":6,"target":21},{"source":6,"target":41},{"source":6,"target":30},{"source":6,"target":42},{"source":38,"target":6},{"source":38,"target":43},{"source":38,"target":6},{"source":43,"target":6},{"source":39,"target":44},{"source":39,"target":6},{"source":40,"target":6},{"source":40,"target":45},{"source":40,"target":6},{"source":40,"target":41},{"source":45,"target":6},{"source":21,"target":3},{"source":21,"target":46},{"source":21,"target":6},{"source":21,"target":13},{"source":46,"target":3},{"source":41,"target":6},{"source":41,"target":47},{"source":41,"target":6},{"source":41,"target":40},{"source":47,"target":6},{"source":30,"target":4},{"source":30,"target":48},{"source":30,"target":6},{"source":30,"target":25},{"source":48,"target":4},{"source":42,"target":2},{"source":7,"target":0},{"source":7,"target":2},{"source":7,"target":49},{"source":7,"target":50},{"source":7,"target":19},{"source":7,"target":28},{"source":7,"target":37},{"source":7,"target":51},{"source":49,"target":52},{"source":49,"target":7},{"source":50,"target":53},{"source":50,"target":7},{"source":19,"target":3},{"source":19,"target":54},{"source":19,"target":7},{"source":19,"target":12},{"source":54,"target":3},{"source":28,"target":4},{"source":28,"target":55},{"source":28,"target":7},{"source":28,"target":24},{"source":55,"target":4},{"source":37,"target":5},{"source":37,"target":56},{"source":37,"target":7},{"source":37,"target":32},{"source":56,"target":5},{"source":51,"target":2}],"multigraph":true}