simplepdl
WorkSequenceType
startToStart
startToStart
finishToStart
finishToStart
startToFinish
startToFinish
finishToFinish
finishToFinish
Process
name
processElement
WorkDefinition
linksToPredecessors
linksToSuccessors
name
allocation
WorkSequence
linkType
predecessor
successor
ProcessElement
process
Guidance
text
elements
Ressource
name
count
Allocation
ressource
needed
workdefinition
<?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="simplepdl" nsURI="http://simplepdl" nsPrefix="simplepdl">
  <eAnnotations source="http://www.eclipse.org/OCL/Import">
    <details key="ecore" value="http://www.eclipse.org/emf/2002/Ecore"/>
  </eAnnotations>
  <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
    <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
    <details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
    <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
  </eAnnotations>
  <eClassifiers xsi:type="ecore:EEnum" name="WorkSequenceType">
    <eLiterals name="startToStart"/>
    <eLiterals name="finishToStart" value="1"/>
    <eLiterals name="startToFinish" value="2"/>
    <eLiterals name="finishToFinish" value="3"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Process">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="noEmptyName"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="noEmptyName" value="name.size() > 0"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="processElement" upperBound="-1"
        eType="#//ProcessElement" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="WorkDefinition" eSuperTypes="#//ProcessElement">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="differentNames noEmptyName"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="differentNames" value="self.process.processElement&#xA;&#x9;&#x9;&#x9;->select(p | p.oclIsKindOf(WorkDefinition))&#xA;&#x9;&#x9;&#x9;->collect(p | p.oclAsType(WorkDefinition))&#xA;&#x9;&#x9;&#x9;->forAll(w1 | w1 = self or w1.name &lt;> self.name)"/>
      <details key="noEmptyName" value="name.size() > 0"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="linksToPredecessors" upperBound="-1"
        eType="#//WorkSequence" eOpposite="#//WorkSequence/successor"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="linksToSuccessors" upperBound="-1"
        eType="#//WorkSequence" eOpposite="#//WorkSequence/predecessor"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="allocation" upperBound="-1"
        eType="#//Allocation" containment="true" eOpposite="#//Allocation/workdefinition"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="WorkSequence" eSuperTypes="#//ProcessElement">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="previousWDinSameProcess nextWDinSameProcess nonReflexive"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="previousWDinSameProcess" value="self.process = self.predecessor.process"/>
      <details key="nextWDinSameProcess" value="self.process = self.successor.process"/>
      <details key="nonReflexive" value="self.predecessor &lt;> self.successor"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="linkType" lowerBound="1"
        eType="#//WorkSequenceType"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="predecessor" lowerBound="1"
        eType="#//WorkDefinition" eOpposite="#//WorkDefinition/linksToSuccessors"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="successor" lowerBound="1"
        eType="#//WorkDefinition" eOpposite="#//WorkDefinition/linksToPredecessors"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ProcessElement" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EReference" name="process" eType="#//Process"
        changeable="false" volatile="true" transient="true" derived="true" resolveProxies="false">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="derivation" value="Process.allInstances()&#xA;&#x9;&#x9;&#x9;&#x9;->select(p | p.processElement->includes(self))&#xA;&#x9;&#x9;&#x9;&#x9;->asSequence()->first()"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Guidance" eSuperTypes="#//ProcessElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="elements" upperBound="-1"
        eType="#//ProcessElement"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Ressource" eSuperTypes="#//ProcessElement">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="countPositif differentNames"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="countPositif" value="count >= 0"/>
      <details key="differentNames" value="self.process.processElement&#xA;&#x9;&#x9;&#x9;->select(p | p.oclIsKindOf(Ressource))&#xA;&#x9;&#x9;&#x9;->collect(p | p.oclAsType(Ressource))&#xA;&#x9;&#x9;&#x9;->forAll(w1 | w1 = self or w1.name &lt;> self.name)"/>
    </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="count" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Allocation">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="nonDepassement neededPositif"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="nonDepassement" value="needed &lt;= self.ressource.count"/>
      <details key="neededPositif" value="needed >= 0"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="ressource" lowerBound="1"
        eType="#//Ressource"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="needed" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="workdefinition" lowerBound="1"
        eType="#//WorkDefinition" eOpposite="#//WorkDefinition/allocation"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"simplepdl","nsURI":"http://simplepdl","name":"simplepdl","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"instanceClassName":null,"name":"WorkSequenceType","instanceClass":null,"id":1,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Process","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"WorkDefinition","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"WorkSequence","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ProcessElement","instanceClass":null,"abstract":true,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Guidance","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Ressource","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Allocation","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"name":"startToStart","id":9,"value":0,"literal":"startToStart","eClass":"EEnumLiteral"},{"name":"finishToStart","id":10,"value":1,"literal":"finishToStart","eClass":"EEnumLiteral"},{"name":"startToFinish","id":11,"value":2,"literal":"startToFinish","eClass":"EEnumLiteral"},{"name":"finishToFinish","id":12,"value":3,"literal":"finishToFinish","eClass":"EEnumLiteral"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":1,"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":"processElement","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"id":16,"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":"linksToPredecessors","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":false,"unsettable":false,"transient":false,"unique":true,"name":"linksToSuccessors","changeable":true,"resolveProxies":true,"lowerBound":0,"id":18,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":19,"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":"allocation","changeable":true,"resolveProxies":true,"lowerBound":0,"id":20,"derived":false},{"id":21,"eClass":"EGenericType"},{"id":22,"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":"successor","changeable":true,"resolveProxies":true,"lowerBound":1,"id":23,"derived":false},{"id":24,"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":"predecessor","changeable":true,"resolveProxies":true,"lowerBound":1,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"container":true,"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":"workdefinition","changeable":true,"resolveProxies":true,"lowerBound":1,"id":28,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"linkType","changeable":true,"lowerBound":1,"iD":false,"id":29,"derived":false},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":true,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":true,"unique":true,"name":"process","changeable":false,"resolveProxies":false,"lowerBound":0,"id":34,"derived":true},{"id":35,"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":"text","changeable":true,"lowerBound":0,"iD":false,"id":36,"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":"elements","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,"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":0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"count","changeable":true,"lowerBound":1,"iD":false,"id":42,"derived":false},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"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":"ressource","changeable":true,"resolveProxies":true,"lowerBound":1,"id":46,"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":"needed","changeable":true,"lowerBound":1,"iD":false,"id":47,"derived":false},{"id":48,"eClass":"EGenericType"},{"id":49,"eClass":"EGenericType"},{"id":50,"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":9,"target":1},{"source":10,"target":1},{"source":11,"target":1},{"source":12,"target":1},{"source":2,"target":0},{"source":2,"target":13},{"source":2,"target":14},{"source":13,"target":15},{"source":13,"target":2},{"source":14,"target":5},{"source":14,"target":16},{"source":14,"target":2},{"source":16,"target":5},{"source":3,"target":0},{"source":3,"target":5},{"source":3,"target":17},{"source":3,"target":18},{"source":3,"target":19},{"source":3,"target":20},{"source":3,"target":21},{"source":17,"target":4},{"source":17,"target":22},{"source":17,"target":3},{"source":17,"target":23},{"source":22,"target":4},{"source":18,"target":4},{"source":18,"target":24},{"source":18,"target":3},{"source":18,"target":25},{"source":24,"target":4},{"source":19,"target":26},{"source":19,"target":3},{"source":20,"target":8},{"source":20,"target":27},{"source":20,"target":3},{"source":20,"target":28},{"source":27,"target":8},{"source":21,"target":5},{"source":4,"target":0},{"source":4,"target":5},{"source":4,"target":29},{"source":4,"target":25},{"source":4,"target":23},{"source":4,"target":30},{"source":29,"target":1},{"source":29,"target":31},{"source":29,"target":4},{"source":31,"target":1},{"source":25,"target":3},{"source":25,"target":32},{"source":25,"target":4},{"source":25,"target":18},{"source":32,"target":3},{"source":23,"target":3},{"source":23,"target":33},{"source":23,"target":4},{"source":23,"target":17},{"source":33,"target":3},{"source":30,"target":5},{"source":5,"target":0},{"source":5,"target":34},{"source":34,"target":2},{"source":34,"target":35},{"source":34,"target":5},{"source":35,"target":2},{"source":6,"target":0},{"source":6,"target":5},{"source":6,"target":36},{"source":6,"target":37},{"source":6,"target":38},{"source":36,"target":39},{"source":36,"target":6},{"source":37,"target":5},{"source":37,"target":40},{"source":37,"target":6},{"source":40,"target":5},{"source":38,"target":5},{"source":7,"target":0},{"source":7,"target":5},{"source":7,"target":41},{"source":7,"target":42},{"source":7,"target":43},{"source":41,"target":44},{"source":41,"target":7},{"source":42,"target":45},{"source":42,"target":7},{"source":43,"target":5},{"source":8,"target":0},{"source":8,"target":46},{"source":8,"target":47},{"source":8,"target":28},{"source":46,"target":7},{"source":46,"target":48},{"source":46,"target":8},{"source":48,"target":7},{"source":47,"target":49},{"source":47,"target":8},{"source":28,"target":3},{"source":28,"target":50},{"source":28,"target":8},{"source":28,"target":20},{"source":50,"target":3}],"multigraph":true}