petriNet
Place
jeton
Transition
Noeud
name
noeudsSuccesseurs
noeudsPredecesseurs
Arc
predecesseur
successeur
poids
typeArc
PetriNetElt
net
PetriNet
petrinetelt
name
TypeArc
ArcSimple
ArcSimple
ReadArc
ReadArc
<?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="petriNet" nsURI="http://petrinet" nsPrefix="petrinet">
  <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:EClass" name="Place" eSuperTypes="#//Noeud">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="nombreJetonNonNul"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="nombreJetonNonNul" value="jeton >= 0"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="jeton" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="#//Noeud"/>
  <eClassifiers xsi:type="ecore:EClass" name="Noeud" abstract="true" eSuperTypes="#//PetriNetElt">
    <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="noeudsSuccesseurs" upperBound="-1"
        eType="#//Arc" eOpposite="#//Arc/predecesseur"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="noeudsPredecesseurs" upperBound="-1"
        eType="#//Arc" eOpposite="#//Arc/successeur"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Arc" eSuperTypes="#//PetriNetElt">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="poidsNonNul"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="poidsNonNul" value="poids > 0"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="predecesseur" eType="#//Noeud"
        eOpposite="#//Noeud/noeudsSuccesseurs"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="successeur" eType="#//Noeud"
        eOpposite="#//Noeud/noeudsPredecesseurs"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="poids" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="typeArc" eType="#//TypeArc"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PetriNetElt" abstract="true">
    <eAnnotations source="http://www.obeo.fr/dsl/dnc/archetype">
      <details key="archetype" value="Role"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="net" lowerBound="1" eType="#//PetriNet"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="PetriNet">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="placeNoSameName transitionNoSameName notSameSuccessorPredecessor notPlaceToPlaceOrTransitionToTransition noEmptyName"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="placeNoSameName" value="&#xA;&#x9;&#x9;&#x9;&#x9;self.petrinetelt&#xA;&#x9;&#x9;&#x9;&#x9;->select(e: PetriNetElt | e.oclIsKindOf(Place))&#xA;&#x9;&#x9;&#x9;&#x9;->collect(e: PetriNetElt | e.oclAsType(Place))&#xA;&#x9;&#x9;&#x9;&#x9;->forAll(w1, w2: Place | w1 = w2 or w1.name &lt;> w2.name)"/>
      <details key="transitionNoSameName" value="&#xA;&#x9;&#x9;&#x9;&#x9;self.petrinetelt&#xA;&#x9;&#x9;&#x9;&#x9;->select(e: PetriNetElt | e.oclIsKindOf(Transition))&#xA;&#x9;&#x9;&#x9;&#x9;->collect(e: PetriNetElt | e.oclAsType(Transition))&#xA;&#x9;&#x9;&#x9;&#x9;->forAll(w1, w2: Transition | w1 = w2 or w1.name &lt;> w2.name)"/>
      <details key="notSameSuccessorPredecessor" value="&#xA;&#x9;&#x9;&#x9;&#x9;self.petrinetelt&#xA;&#x9;&#x9;&#x9;&#x9;->select(e: PetriNetElt | e.oclIsKindOf(Arc))&#xA;&#x9;&#x9;&#x9;&#x9;->collect(e: PetriNetElt | e.oclAsType(Arc))&#xA;&#x9;&#x9;&#x9;&#x9;->forAll(a: Arc| a.successeur &lt;> a.predecesseur )"/>
      <details key="notPlaceToPlaceOrTransitionToTransition" value="&#xA;&#x9;&#x9;&#x9;&#x9;self.petrinetelt&#xA;&#x9;&#x9;&#x9;&#x9;->select(e: PetriNetElt | e.oclIsKindOf(Arc))&#xA;&#x9;&#x9;&#x9;&#x9;->collect(e: PetriNetElt | e.oclAsType(Arc))&#xA;&#x9;&#x9;&#x9;&#x9;->forAll(a: Arc| (a.successeur.oclIsTypeOf(Place) and a.predecesseur.oclIsTypeOf(Transition)) or (a.successeur.oclIsTypeOf(Transition) and a.predecesseur.oclIsTypeOf(Place) ) )"/>
      <details key="noEmptyName" value="name.size() > 0"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="petrinetelt" upperBound="-1"
        eType="#//PetriNetElt" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="TypeArc">
    <eLiterals name="ArcSimple"/>
    <eLiterals name="ReadArc" value="1"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"petrinet","nsURI":"http://petrinet","name":"petriNet","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Place","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Transition","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Noeud","instanceClass":null,"abstract":true,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Arc","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PetriNetElt","instanceClass":null,"abstract":true,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"PetriNet","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"TypeArc","instanceClass":null,"id":7,"serializable":true,"eClass":"EEnum"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"jeton","changeable":true,"lowerBound":1,"iD":false,"id":8,"derived":false},{"id":9,"eClass":"EGenericType"},{"id":10,"eClass":"EGenericType"},{"id":11,"eClass":"EGenericType"},{"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":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":"noeudsSuccesseurs","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":"noeudsPredecesseurs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"id":16,"eClass":"EGenericType"},{"id":17,"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":"predecesseur","changeable":true,"resolveProxies":true,"lowerBound":0,"id":18,"derived":false},{"id":19,"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":"successeur","changeable":true,"resolveProxies":true,"lowerBound":0,"id":20,"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":"poids","changeable":true,"lowerBound":1,"iD":false,"id":21,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"typeArc","changeable":true,"lowerBound":0,"iD":false,"id":22,"derived":false},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"id":27,"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":"net","changeable":true,"resolveProxies":true,"lowerBound":1,"id":28,"derived":false},{"id":29,"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":"petrinetelt","changeable":true,"resolveProxies":true,"lowerBound":0,"id":30,"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":31,"derived":false},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"name":"ArcSimple","id":34,"value":0,"literal":"ArcSimple","eClass":"EEnumLiteral"},{"name":"ReadArc","id":35,"value":1,"literal":"ReadArc","eClass":"EEnumLiteral"}],"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":3},{"source":1,"target":8},{"source":1,"target":9},{"source":8,"target":10},{"source":8,"target":1},{"source":9,"target":3},{"source":2,"target":0},{"source":2,"target":3},{"source":2,"target":11},{"source":11,"target":3},{"source":3,"target":0},{"source":3,"target":5},{"source":3,"target":12},{"source":3,"target":13},{"source":3,"target":14},{"source":3,"target":15},{"source":12,"target":16},{"source":12,"target":3},{"source":13,"target":4},{"source":13,"target":17},{"source":13,"target":3},{"source":13,"target":18},{"source":17,"target":4},{"source":14,"target":4},{"source":14,"target":19},{"source":14,"target":3},{"source":14,"target":20},{"source":19,"target":4},{"source":15,"target":5},{"source":4,"target":0},{"source":4,"target":5},{"source":4,"target":18},{"source":4,"target":20},{"source":4,"target":21},{"source":4,"target":22},{"source":4,"target":23},{"source":18,"target":3},{"source":18,"target":24},{"source":18,"target":4},{"source":18,"target":13},{"source":24,"target":3},{"source":20,"target":3},{"source":20,"target":25},{"source":20,"target":4},{"source":20,"target":14},{"source":25,"target":3},{"source":21,"target":26},{"source":21,"target":4},{"source":22,"target":7},{"source":22,"target":27},{"source":22,"target":4},{"source":27,"target":7},{"source":23,"target":5},{"source":5,"target":0},{"source":5,"target":28},{"source":28,"target":6},{"source":28,"target":29},{"source":28,"target":5},{"source":29,"target":6},{"source":6,"target":0},{"source":6,"target":30},{"source":6,"target":31},{"source":30,"target":5},{"source":30,"target":32},{"source":30,"target":6},{"source":32,"target":5},{"source":31,"target":33},{"source":31,"target":6},{"source":7,"target":0},{"source":7,"target":34},{"source":7,"target":35},{"source":34,"target":7},{"source":35,"target":7}],"multigraph":true}