This commit is contained in:
Laureηt 2021-10-20 16:57:21 +02:00
parent 93532d7c67
commit 52aacc4288
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
16 changed files with 164 additions and 227 deletions

View file

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:diagram="http://www.eclipse.org/sirius/diagram/1.1.0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.3/notation" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/style/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/style">
<viewpoint:DAnalysis uid="_8tPnQCxCEeyIb_aAzHoOBA" selectedViews="_8vS1sCxCEeyIb_aAzHoOBA _8veb4CxCEeyIb_aAzHoOBA _8vfqACxCEeyIb_aAzHoOBA _8vitUCxCEeyIb_aAzHoOBA" version="14.3.1.202003261200">
<semanticResources>petriNet.ecore</semanticResources>
<semanticResources>petriNet.genmodel</semanticResources>
<semanticResources>PetriNet.ecore</semanticResources>
<semanticResources>PetriNet.genmodel</semanticResources>
<ownedViews xmi:type="viewpoint:DView" uid="_8vS1sCxCEeyIb_aAzHoOBA">
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']"/>
<ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_9Y_6ASxCEeyIb_aAzHoOBA" name="petrinet class diagram" repPath="#_9Y5zYCxCEeyIb_aAzHoOBA" changeId="4f3bb097-e80a-4128-9372-c3fe2680afe4">
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
<target xmi:type="ecore:EPackage" href="petriNet.ecore#/"/>
<target xmi:type="ecore:EPackage" href="PetriNet.ecore#/"/>
</ownedRepresentationDescriptors>
</ownedViews>
<ownedViews xmi:type="viewpoint:DView" uid="_8veb4CxCEeyIb_aAzHoOBA">
@ -202,8 +202,8 @@
</data>
</ownedAnnotationEntries>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_9xmAMCxCEeyIb_aAzHoOBA" name="Network" tooltipText="" outgoingEdges="_9xyNcCxCEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="petriNet.ecore#//Network"/>
<semanticElements xmi:type="ecore:EClass" href="petriNet.ecore#//Network"/>
<target xmi:type="ecore:EClass" href="PetriNet.ecore#//Network"/>
<semanticElements xmi:type="ecore:EClass" href="PetriNet.ecore#//Network"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -212,8 +212,8 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_9xtU8ixCEeyIb_aAzHoOBA" name="name : EString" tooltipText="">
<target xmi:type="ecore:EAttribute" href="petriNet.ecore#//Network/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="petriNet.ecore#//Network/name"/>
<target xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Network/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Network/name"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_9xt8ACxCEeyIb_aAzHoOBA" labelAlignment="LEFT" description="_9xtU8yxCEeyIb_aAzHoOBA">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -221,8 +221,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_9xn1YCxCEeyIb_aAzHoOBA" name="Node" tooltipText="" incomingEdges="_9xw_UCxCEeyIb_aAzHoOBA _9xxmYyxCEeyIb_aAzHoOBA _9xyNcCxCEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="petriNet.ecore#//Node"/>
<semanticElements xmi:type="ecore:EClass" href="petriNet.ecore#//Node"/>
<target xmi:type="ecore:EClass" href="PetriNet.ecore#//Node"/>
<semanticElements xmi:type="ecore:EClass" href="PetriNet.ecore#//Node"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -232,8 +232,8 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_9xt8ASxCEeyIb_aAzHoOBA" name="name : EString" tooltipText="">
<target xmi:type="ecore:EAttribute" href="petriNet.ecore#//Node/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="petriNet.ecore#//Node/name"/>
<target xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Node/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Node/name"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_9xujECxCEeyIb_aAzHoOBA" labelAlignment="LEFT" description="_9xtU8yxCEeyIb_aAzHoOBA">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -241,8 +241,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_9xoccCxCEeyIb_aAzHoOBA" name="Place" tooltipText="" outgoingEdges="_9xw_UCxCEeyIb_aAzHoOBA _9xzblixCEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="petriNet.ecore#//Place"/>
<semanticElements xmi:type="ecore:EClass" href="petriNet.ecore#//Place"/>
<target xmi:type="ecore:EClass" href="PetriNet.ecore#//Place"/>
<semanticElements xmi:type="ecore:EClass" href="PetriNet.ecore#//Place"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -251,8 +251,8 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_9xujESxCEeyIb_aAzHoOBA" name="tokens : EInt" tooltipText="">
<target xmi:type="ecore:EAttribute" href="petriNet.ecore#//Place/tokens"/>
<semanticElements xmi:type="ecore:EAttribute" href="petriNet.ecore#//Place/tokens"/>
<target xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Place/tokens"/>
<semanticElements xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Place/tokens"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_9xvKICxCEeyIb_aAzHoOBA" labelAlignment="LEFT" description="_9xtU8yxCEeyIb_aAzHoOBA">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -260,8 +260,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_9xpDgSxCEeyIb_aAzHoOBA" name="Arc" tooltipText="" outgoingEdges="_9xy0iSxCEeyIb_aAzHoOBA" incomingEdges="_9xzblixCEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="petriNet.ecore#//Arc"/>
<semanticElements xmi:type="ecore:EClass" href="petriNet.ecore#//Arc"/>
<target xmi:type="ecore:EClass" href="PetriNet.ecore#//Arc"/>
<semanticElements xmi:type="ecore:EClass" href="PetriNet.ecore#//Arc"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -270,16 +270,16 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_9xvKISxCEeyIb_aAzHoOBA" name="weight : EInt" tooltipText="">
<target xmi:type="ecore:EAttribute" href="petriNet.ecore#//Arc/weight"/>
<semanticElements xmi:type="ecore:EAttribute" href="petriNet.ecore#//Arc/weight"/>
<target xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Arc/weight"/>
<semanticElements xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Arc/weight"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_9xvxMCxCEeyIb_aAzHoOBA" labelAlignment="LEFT" description="_9xtU8yxCEeyIb_aAzHoOBA">
<labelFormat>bold</labelFormat>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/>
</ownedElements>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_9xvxMSxCEeyIb_aAzHoOBA" name="outgoing : EBoolean = false" tooltipText="">
<target xmi:type="ecore:EAttribute" href="petriNet.ecore#//Arc/outgoing"/>
<semanticElements xmi:type="ecore:EAttribute" href="petriNet.ecore#//Arc/outgoing"/>
<target xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Arc/outgoing"/>
<semanticElements xmi:type="ecore:EAttribute" href="PetriNet.ecore#//Arc/outgoing"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_9xvxMixCEeyIb_aAzHoOBA" labelAlignment="LEFT" description="_9xtU8yxCEeyIb_aAzHoOBA">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -287,8 +287,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_9xpqkSxCEeyIb_aAzHoOBA" name="Transition" tooltipText="" outgoingEdges="_9xxmYyxCEeyIb_aAzHoOBA" incomingEdges="_9xy0iSxCEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="petriNet.ecore#//Transition"/>
<semanticElements xmi:type="ecore:EClass" href="petriNet.ecore#//Transition"/>
<target xmi:type="ecore:EClass" href="PetriNet.ecore#//Transition"/>
<semanticElements xmi:type="ecore:EClass" href="PetriNet.ecore#//Transition"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -298,8 +298,8 @@
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_9xw_UCxCEeyIb_aAzHoOBA" sourceNode="_9xoccCxCEeyIb_aAzHoOBA" targetNode="_9xn1YCxCEeyIb_aAzHoOBA">
<target xmi:type="ecore:EClass" href="petriNet.ecore#//Place"/>
<semanticElements xmi:type="ecore:EClass" href="petriNet.ecore#//Place"/>
<target xmi:type="ecore:EClass" href="PetriNet.ecore#//Place"/>
<semanticElements xmi:type="ecore:EClass" href="PetriNet.ecore#//Place"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_9xw_USxCEeyIb_aAzHoOBA" targetArrow="InputClosedArrow" routingStyle="tree">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_9xw_UixCEeyIb_aAzHoOBA" showIcon="false">
@ -310,8 +310,8 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_9xxmYyxCEeyIb_aAzHoOBA" sourceNode="_9xpqkSxCEeyIb_aAzHoOBA" targetNode="_9xn1YCxCEeyIb_aAzHoOBA">
<target xmi:type="ecore:EClass" href="petriNet.ecore#//Transition"/>
<semanticElements xmi:type="ecore:EClass" href="petriNet.ecore#//Transition"/>
<target xmi:type="ecore:EClass" href="PetriNet.ecore#//Transition"/>
<semanticElements xmi:type="ecore:EClass" href="PetriNet.ecore#//Transition"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_9xxmZCxCEeyIb_aAzHoOBA" targetArrow="InputClosedArrow" routingStyle="tree">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_9xxmZSxCEeyIb_aAzHoOBA" showIcon="false">
@ -322,9 +322,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_9xyNcCxCEeyIb_aAzHoOBA" sourceNode="_9xmAMCxCEeyIb_aAzHoOBA" targetNode="_9xn1YCxCEeyIb_aAzHoOBA" beginLabel="[1..1] network" endLabel="[0..*] nodes">
<target xmi:type="ecore:EReference" href="petriNet.ecore#//Network/nodes"/>
<semanticElements xmi:type="ecore:EReference" href="petriNet.ecore#//Node/network"/>
<semanticElements xmi:type="ecore:EReference" href="petriNet.ecore#//Network/nodes"/>
<target xmi:type="ecore:EReference" href="PetriNet.ecore#//Network/nodes"/>
<semanticElements xmi:type="ecore:EReference" href="PetriNet.ecore#//Node/network"/>
<semanticElements xmi:type="ecore:EReference" href="PetriNet.ecore#//Network/nodes"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_9xy0gyxCEeyIb_aAzHoOBA" description="_9xy0gCxCEeyIb_aAzHoOBA" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_9xy0hCxCEeyIb_aAzHoOBA" showIcon="false"/>
<endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_9xy0hSxCEeyIb_aAzHoOBA" showIcon="false"/>
@ -332,9 +332,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_9xy0iSxCEeyIb_aAzHoOBA" sourceNode="_9xpDgSxCEeyIb_aAzHoOBA" targetNode="_9xpqkSxCEeyIb_aAzHoOBA" beginLabel="[0..*] arcs" endLabel="[1..1] transition">
<target xmi:type="ecore:EReference" href="petriNet.ecore#//Arc/transition"/>
<semanticElements xmi:type="ecore:EReference" href="petriNet.ecore#//Transition/arcs"/>
<semanticElements xmi:type="ecore:EReference" href="petriNet.ecore#//Arc/transition"/>
<target xmi:type="ecore:EReference" href="PetriNet.ecore#//Arc/transition"/>
<semanticElements xmi:type="ecore:EReference" href="PetriNet.ecore#//Transition/arcs"/>
<semanticElements xmi:type="ecore:EReference" href="PetriNet.ecore#//Arc/transition"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_9xzbkCxCEeyIb_aAzHoOBA" description="_9xy0iixCEeyIb_aAzHoOBA" sourceArrow="InputArrow" targetArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_9xzbkSxCEeyIb_aAzHoOBA" showIcon="false">
<labelFormat>bold</labelFormat>
@ -346,9 +346,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_9xzblixCEeyIb_aAzHoOBA" sourceNode="_9xoccCxCEeyIb_aAzHoOBA" targetNode="_9xpDgSxCEeyIb_aAzHoOBA" beginLabel="[1..1] place" endLabel="[0..*] arcs">
<target xmi:type="ecore:EReference" href="petriNet.ecore#//Place/arcs"/>
<semanticElements xmi:type="ecore:EReference" href="petriNet.ecore#//Place/arcs"/>
<semanticElements xmi:type="ecore:EReference" href="petriNet.ecore#//Arc/place"/>
<target xmi:type="ecore:EReference" href="PetriNet.ecore#//Place/arcs"/>
<semanticElements xmi:type="ecore:EReference" href="PetriNet.ecore#//Place/arcs"/>
<semanticElements xmi:type="ecore:EReference" href="PetriNet.ecore#//Arc/place"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_9xzblyxCEeyIb_aAzHoOBA" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_9xzbmCxCEeyIb_aAzHoOBA" showIcon="false"/>
@ -362,6 +362,6 @@
<activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Package']"/>
<activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Validation']"/>
<activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Archetype']/@ownedRepresentationExtensions[name='Entities%20With%20Archetypes']/@layers[name='Archetypes']"/>
<target xmi:type="ecore:EPackage" href="petriNet.ecore#/"/>
<target xmi:type="ecore:EPackage" href="PetriNet.ecore#/"/>
</diagram:DSemanticDiagram>
</xmi:XMI>

View file

@ -1,4 +1,4 @@
import 'petriNet.ecore'
import 'PetriNet.ecore'
package petrinet

View file

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 257 KiB

View file

@ -1,5 +1,5 @@
[comment encoding = UTF-8 /]
[module toTINA('http://petrinet')]
[module PetriNet2TINA('http://petrinet')]
[template public networkToTINA(aNetwork : Network)]
[comment @main/]

View file

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:diagram="http://www.eclipse.org/sirius/diagram/1.1.0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.3/notation" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/style/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/style">
<viewpoint:DAnalysis uid="_BpTvICkCEeymi53fmcz7Wg" selectedViews="_Bp_EkCkCEeymi53fmcz7Wg _BqFLMCkCEeymi53fmcz7Wg _BqFyQCkCEeymi53fmcz7Wg _BqI1kCkCEeymi53fmcz7Wg" version="14.3.1.202003261200">
<semanticResources>simplePDL.ecore</semanticResources>
<semanticResources>SimplePDL.ecore</semanticResources>
<ownedViews xmi:type="viewpoint:DView" uid="_Bp_EkCkCEeymi53fmcz7Wg">
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']"/>
<ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_Cl7IYSkCEeymi53fmcz7Wg" name="simplepdl class diagram" repPath="#_Cl4sICkCEeymi53fmcz7Wg" changeId="2914be5a-6605-4b7c-99a1-9444936a3e37">
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
<target xmi:type="ecore:EPackage" href="simplePDL.ecore#/"/>
<target xmi:type="ecore:EPackage" href="SimplePDL.ecore#/"/>
</ownedRepresentationDescriptors>
</ownedViews>
<ownedViews xmi:type="viewpoint:DView" uid="_BqFLMCkCEeymi53fmcz7Wg">
@ -332,8 +332,8 @@
</data>
</ownedAnnotationEntries>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C6XuYCkCEeymi53fmcz7Wg" name="WorkSequenceType" tooltipText="" width="12" height="10">
<target xmi:type="ecore:EEnum" href="simplePDL.ecore#//WorkSequenceType"/>
<semanticElements xmi:type="ecore:EEnum" href="simplePDL.ecore#//WorkSequenceType"/>
<target xmi:type="ecore:EEnum" href="SimplePDL.ecore#//WorkSequenceType"/>
<semanticElements xmi:type="ecore:EEnum" href="SimplePDL.ecore#//WorkSequenceType"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -342,32 +342,32 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6iGcykCEeymi53fmcz7Wg" name="startToStart" tooltipText="">
<target xmi:type="ecore:EEnumLiteral" href="simplePDL.ecore#//WorkSequenceType/startToStart"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="simplePDL.ecore#//WorkSequenceType/startToStart"/>
<target xmi:type="ecore:EEnumLiteral" href="SimplePDL.ecore#//WorkSequenceType/startToStart"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="SimplePDL.ecore#//WorkSequenceType/startToStart"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6itgCkCEeymi53fmcz7Wg" labelAlignment="LEFT">
<description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
</ownedElements>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6itgSkCEeymi53fmcz7Wg" name="finishToStart" tooltipText="">
<target xmi:type="ecore:EEnumLiteral" href="simplePDL.ecore#//WorkSequenceType/finishToStart"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="simplePDL.ecore#//WorkSequenceType/finishToStart"/>
<target xmi:type="ecore:EEnumLiteral" href="SimplePDL.ecore#//WorkSequenceType/finishToStart"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="SimplePDL.ecore#//WorkSequenceType/finishToStart"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6itgikCEeymi53fmcz7Wg" labelAlignment="LEFT">
<description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
</ownedElements>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6itgykCEeymi53fmcz7Wg" name="startToFinish" tooltipText="">
<target xmi:type="ecore:EEnumLiteral" href="simplePDL.ecore#//WorkSequenceType/startToFinish"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="simplePDL.ecore#//WorkSequenceType/startToFinish"/>
<target xmi:type="ecore:EEnumLiteral" href="SimplePDL.ecore#//WorkSequenceType/startToFinish"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="SimplePDL.ecore#//WorkSequenceType/startToFinish"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6ithCkCEeymi53fmcz7Wg" labelAlignment="LEFT">
<description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
</ownedElements>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6ithSkCEeymi53fmcz7Wg" name="finishToFinish" tooltipText="">
<target xmi:type="ecore:EEnumLiteral" href="simplePDL.ecore#//WorkSequenceType/finishToFinish"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="simplePDL.ecore#//WorkSequenceType/finishToFinish"/>
<target xmi:type="ecore:EEnumLiteral" href="SimplePDL.ecore#//WorkSequenceType/finishToFinish"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="SimplePDL.ecore#//WorkSequenceType/finishToFinish"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6jUkCkCEeymi53fmcz7Wg" labelAlignment="LEFT">
<description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
</ownedStyle>
@ -375,8 +375,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C6YVcCkCEeymi53fmcz7Wg" name="ProcessElement" tooltipText="" outgoingEdges="_NLhpgCxBEeyIb_aAzHoOBA _01T3ICxBEeyIb_aAzHoOBA" incomingEdges="_C6lJySkCEeymi53fmcz7Wg _C6mX4CkCEeymi53fmcz7Wg _C6mX5ykCEeymi53fmcz7Wg _C6mX7ikCEeymi53fmcz7Wg" width="12" height="10">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//ProcessElement"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//ProcessElement"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//ProcessElement"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//ProcessElement"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -387,8 +387,8 @@
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C6Y8gCkCEeymi53fmcz7Wg" name="WorkDefinition" tooltipText="" outgoingEdges="_C6lJySkCEeymi53fmcz7Wg _C6m-9ikCEeymi53fmcz7Wg _C6nmBikCEeymi53fmcz7Wg _NLnJECxBEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//WorkDefinition"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//WorkDefinition"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//WorkDefinition"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//WorkDefinition"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -397,8 +397,8 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6fDIykCEeymi53fmcz7Wg" name="name : EString" tooltipText="">
<target xmi:type="ecore:EAttribute" href="simplePDL.ecore#//WorkDefinition/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="simplePDL.ecore#//WorkDefinition/name"/>
<target xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//WorkDefinition/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//WorkDefinition/name"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6fqMCkCEeymi53fmcz7Wg" labelAlignment="LEFT" description="_C6fDJCkCEeymi53fmcz7Wg">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -406,8 +406,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C6ZjkCkCEeymi53fmcz7Wg" name="WorkSequence" tooltipText="" outgoingEdges="_C6mX4CkCEeymi53fmcz7Wg" incomingEdges="_C6m-9ikCEeymi53fmcz7Wg _C6nmBikCEeymi53fmcz7Wg" width="12" height="10">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//WorkSequence"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//WorkSequence"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//WorkSequence"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//WorkSequence"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -416,8 +416,8 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6fqMSkCEeymi53fmcz7Wg" name="linkType : WorkSequenceType = startToStart" tooltipText="">
<target xmi:type="ecore:EAttribute" href="simplePDL.ecore#//WorkSequence/linkType"/>
<semanticElements xmi:type="ecore:EAttribute" href="simplePDL.ecore#//WorkSequence/linkType"/>
<target xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//WorkSequence/linkType"/>
<semanticElements xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//WorkSequence/linkType"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6fqMikCEeymi53fmcz7Wg" labelAlignment="LEFT" description="_C6fDJCkCEeymi53fmcz7Wg">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -425,8 +425,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C6aKoCkCEeymi53fmcz7Wg" name="Process" tooltipText="" incomingEdges="_NLhpgCxBEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//Process"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//Process"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//Process"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//Process"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -435,8 +435,8 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6gRQCkCEeymi53fmcz7Wg" name="name : EString" tooltipText="">
<target xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Process/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Process/name"/>
<target xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Process/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Process/name"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6gRQSkCEeymi53fmcz7Wg" labelAlignment="LEFT" description="_C6fDJCkCEeymi53fmcz7Wg">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -444,8 +444,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C6aKoykCEeymi53fmcz7Wg" name="Guidance" tooltipText="" outgoingEdges="_C6mX5ykCEeymi53fmcz7Wg" incomingEdges="_01T3ICxBEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//Guidance"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//Guidance"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//Guidance"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//Guidance"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -454,8 +454,8 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6gRQikCEeymi53fmcz7Wg" name="text : EString" tooltipText="">
<target xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Guidance/text"/>
<semanticElements xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Guidance/text"/>
<target xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Guidance/text"/>
<semanticElements xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Guidance/text"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6g4UCkCEeymi53fmcz7Wg" labelAlignment="LEFT" description="_C6fDJCkCEeymi53fmcz7Wg">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -463,8 +463,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C6axsikCEeymi53fmcz7Wg" name="Resource" tooltipText="" outgoingEdges="_C6mX7ikCEeymi53fmcz7Wg _NLl68CxBEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//Resource"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//Resource"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//Resource"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//Resource"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -473,16 +473,16 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6g4USkCEeymi53fmcz7Wg" name="quantity : EInt" tooltipText="">
<target xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Resource/quantity"/>
<semanticElements xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Resource/quantity"/>
<target xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Resource/quantity"/>
<semanticElements xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Resource/quantity"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6g4UikCEeymi53fmcz7Wg" labelAlignment="LEFT" description="_C6fDJCkCEeymi53fmcz7Wg">
<labelFormat>bold</labelFormat>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/>
</ownedElements>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6hfYCkCEeymi53fmcz7Wg" name="name : EString" tooltipText="">
<target xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Resource/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Resource/name"/>
<target xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Resource/name"/>
<semanticElements xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Resource/name"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6hfYSkCEeymi53fmcz7Wg" labelAlignment="LEFT" description="_C6fDJCkCEeymi53fmcz7Wg">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -490,8 +490,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_C6bYwikCEeymi53fmcz7Wg" name="Request" tooltipText="" incomingEdges="_NLl68CxBEeyIb_aAzHoOBA _NLnJECxBEeyIb_aAzHoOBA" width="12" height="10">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//Request"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//Request"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//Request"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//Request"/>
<arrangeConstraints>KEEP_LOCATION</arrangeConstraints>
<arrangeConstraints>KEEP_SIZE</arrangeConstraints>
<arrangeConstraints>KEEP_RATIO</arrangeConstraints>
@ -500,8 +500,8 @@
</ownedStyle>
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_C6hfYikCEeymi53fmcz7Wg" name="quantity : EInt" tooltipText="">
<target xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Request/quantity"/>
<semanticElements xmi:type="ecore:EAttribute" href="simplePDL.ecore#//Request/quantity"/>
<target xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Request/quantity"/>
<semanticElements xmi:type="ecore:EAttribute" href="SimplePDL.ecore#//Request/quantity"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_C6iGcCkCEeymi53fmcz7Wg" labelAlignment="LEFT" description="_C6fDJCkCEeymi53fmcz7Wg">
<labelFormat>bold</labelFormat>
</ownedStyle>
@ -509,8 +509,8 @@
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_C6lJySkCEeymi53fmcz7Wg" sourceNode="_C6Y8gCkCEeymi53fmcz7Wg" targetNode="_C6YVcCkCEeymi53fmcz7Wg">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//WorkDefinition"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//WorkDefinition"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//WorkDefinition"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//WorkDefinition"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_C6lw0CkCEeymi53fmcz7Wg" targetArrow="InputClosedArrow" routingStyle="tree">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_C6lw0SkCEeymi53fmcz7Wg" showIcon="false">
@ -521,8 +521,8 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_C6mX4CkCEeymi53fmcz7Wg" sourceNode="_C6ZjkCkCEeymi53fmcz7Wg" targetNode="_C6YVcCkCEeymi53fmcz7Wg">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//WorkSequence"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//WorkSequence"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//WorkSequence"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//WorkSequence"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_C6mX4SkCEeymi53fmcz7Wg" targetArrow="InputClosedArrow" routingStyle="tree">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_C6mX4ikCEeymi53fmcz7Wg" showIcon="false">
@ -533,8 +533,8 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_C6mX5ykCEeymi53fmcz7Wg" sourceNode="_C6aKoykCEeymi53fmcz7Wg" targetNode="_C6YVcCkCEeymi53fmcz7Wg">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//Guidance"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//Guidance"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//Guidance"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//Guidance"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_C6mX6CkCEeymi53fmcz7Wg" targetArrow="InputClosedArrow" routingStyle="tree">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_C6mX6SkCEeymi53fmcz7Wg" showIcon="false">
@ -545,8 +545,8 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_C6mX7ikCEeymi53fmcz7Wg" sourceNode="_C6axsikCEeymi53fmcz7Wg" targetNode="_C6YVcCkCEeymi53fmcz7Wg">
<target xmi:type="ecore:EClass" href="simplePDL.ecore#//Resource"/>
<semanticElements xmi:type="ecore:EClass" href="simplePDL.ecore#//Resource"/>
<target xmi:type="ecore:EClass" href="SimplePDL.ecore#//Resource"/>
<semanticElements xmi:type="ecore:EClass" href="SimplePDL.ecore#//Resource"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_C6m-8CkCEeymi53fmcz7Wg" targetArrow="InputClosedArrow" routingStyle="tree">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_C6m-8SkCEeymi53fmcz7Wg" showIcon="false">
@ -557,9 +557,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_C6m-9ikCEeymi53fmcz7Wg" sourceNode="_C6Y8gCkCEeymi53fmcz7Wg" targetNode="_C6ZjkCkCEeymi53fmcz7Wg" beginLabel="[1..1] successor" endLabel="[0..*] linksToPredecessors">
<target xmi:type="ecore:EReference" href="simplePDL.ecore#//WorkDefinition/linksToPredecessors"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//WorkDefinition/linksToPredecessors"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//WorkSequence/successor"/>
<target xmi:type="ecore:EReference" href="SimplePDL.ecore#//WorkDefinition/linksToPredecessors"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//WorkDefinition/linksToPredecessors"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//WorkSequence/successor"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_C6nmACkCEeymi53fmcz7Wg" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_C6nmASkCEeymi53fmcz7Wg" showIcon="false"/>
@ -568,9 +568,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_C6nmBikCEeymi53fmcz7Wg" sourceNode="_C6Y8gCkCEeymi53fmcz7Wg" targetNode="_C6ZjkCkCEeymi53fmcz7Wg" beginLabel="[1..1] predecessor" endLabel="[0..*] linksToSuccessors">
<target xmi:type="ecore:EReference" href="simplePDL.ecore#//WorkDefinition/linksToSuccessors"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//WorkDefinition/linksToSuccessors"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//WorkSequence/predecessor"/>
<target xmi:type="ecore:EReference" href="SimplePDL.ecore#//WorkDefinition/linksToSuccessors"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//WorkDefinition/linksToSuccessors"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//WorkSequence/predecessor"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_C6oNECkCEeymi53fmcz7Wg" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_C6oNESkCEeymi53fmcz7Wg" showIcon="false"/>
@ -579,9 +579,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_NLhpgCxBEeyIb_aAzHoOBA" sourceNode="_C6YVcCkCEeymi53fmcz7Wg" targetNode="_C6aKoCkCEeymi53fmcz7Wg" beginLabel="[0..*] processElements" endLabel="[1..1] process">
<target xmi:type="ecore:EReference" href="simplePDL.ecore#//ProcessElement/process"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//ProcessElement/process"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//Process/processElements"/>
<target xmi:type="ecore:EReference" href="SimplePDL.ecore#//ProcessElement/process"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//ProcessElement/process"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//Process/processElements"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_NLks0CxBEeyIb_aAzHoOBA" description="_NLkFwCxBEeyIb_aAzHoOBA" sourceArrow="InputArrow" targetArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_NLks0SxBEeyIb_aAzHoOBA" showIcon="false">
<labelFormat>bold</labelFormat>
@ -593,9 +593,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_NLl68CxBEeyIb_aAzHoOBA" sourceNode="_C6axsikCEeymi53fmcz7Wg" targetNode="_C6bYwikCEeymi53fmcz7Wg" beginLabel="[1..1] target" endLabel="[0..*] requests">
<target xmi:type="ecore:EReference" href="simplePDL.ecore#//Resource/requests"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//Resource/requests"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//Request/target"/>
<target xmi:type="ecore:EReference" href="SimplePDL.ecore#//Resource/requests"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//Resource/requests"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//Request/target"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_NLmiACxBEeyIb_aAzHoOBA" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_NLmiASxBEeyIb_aAzHoOBA" showIcon="false"/>
@ -604,9 +604,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_NLnJECxBEeyIb_aAzHoOBA" sourceNode="_C6Y8gCkCEeymi53fmcz7Wg" targetNode="_C6bYwikCEeymi53fmcz7Wg" beginLabel="[1..1] requester" endLabel="[0..*] requests">
<target xmi:type="ecore:EReference" href="simplePDL.ecore#//WorkDefinition/requests"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//Request/requester"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//WorkDefinition/requests"/>
<target xmi:type="ecore:EReference" href="SimplePDL.ecore#//WorkDefinition/requests"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//Request/requester"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//WorkDefinition/requests"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_NLoXMyxBEeyIb_aAzHoOBA" description="_NLoXMCxBEeyIb_aAzHoOBA" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0">
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_NLoXNCxBEeyIb_aAzHoOBA" showIcon="false"/>
<endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_NLoXNSxBEeyIb_aAzHoOBA" showIcon="false"/>
@ -614,9 +614,9 @@
<actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_01T3ICxBEeyIb_aAzHoOBA" sourceNode="_C6YVcCkCEeymi53fmcz7Wg" targetNode="_C6aKoykCEeymi53fmcz7Wg" beginLabel="[0..*] elements" endLabel="[0..*] guidances">
<target xmi:type="ecore:EReference" href="simplePDL.ecore#//ProcessElement/guidances"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//Guidance/elements"/>
<semanticElements xmi:type="ecore:EReference" href="simplePDL.ecore#//ProcessElement/guidances"/>
<target xmi:type="ecore:EReference" href="SimplePDL.ecore#//ProcessElement/guidances"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//Guidance/elements"/>
<semanticElements xmi:type="ecore:EReference" href="SimplePDL.ecore#//ProcessElement/guidances"/>
<ownedStyle xmi:type="diagram:EdgeStyle" uid="_01VFQCxBEeyIb_aAzHoOBA" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0">
<description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']/@style"/>
<beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_01VFQSxBEeyIb_aAzHoOBA" showIcon="false"/>
@ -630,6 +630,6 @@
<activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Package']"/>
<activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Validation']"/>
<activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Archetype']/@ownedRepresentationExtensions[name='Entities%20With%20Archetypes']/@layers[name='Archetypes']"/>
<target xmi:type="ecore:EPackage" href="simplePDL.ecore#/"/>
<target xmi:type="ecore:EPackage" href="SimplePDL.ecore#/"/>
</diagram:DSemanticDiagram>
</xmi:XMI>

View file

@ -1,4 +1,4 @@
import 'simplePDL.ecore'
import 'SimplePDL.ecore'
package simplepdl

View file

@ -24,11 +24,12 @@ import simplepdl.WorkSequence;
import simplepdl.WorkSequenceType;
import simplepdl.Request;
public class simplepdl2petrinet {
public class SimplePDL2PetriNet {
public static void main(String[] args) {
// Charger les package SimplePDL et Petrinet afin de les enregistrer dans le registre d'Eclipse.
// Charger les package SimplePDL et Petrinet afin de les enregistrer dans le
// registre d'Eclipse.
SimplepdlPackage packageInstance = SimplepdlPackage.eINSTANCE;
PetrinetPackage packageInstance2 = PetrinetPackage.eINSTANCE;
@ -49,7 +50,7 @@ public class simplepdl2petrinet {
Process process = (Process) resource.getContents().get(0);
// La fabrique pour fabriquer les éléments de PetriNET
PetrinetFactory myFactory = PetrinetFactory.eINSTANCE;
PetrinetFactory myFactory = PetrinetFactory.eINSTANCE;
// Créer un élément Network
Network network = myFactory.createNetwork();
@ -218,7 +219,6 @@ public class simplepdl2petrinet {
}
}
// Créer le nouveau xmi (modèle convertit)
URI convURI = URI.createURI("../fr.n7.petrinet/models/gen/developpement_java.xmi");
Resource conv = resSet.createResource(convURI);
@ -227,8 +227,8 @@ public class simplepdl2petrinet {
conv.getContents().add(network);
// Sauver la ressource
try {
conv.save(Collections.EMPTY_MAP);
try {
conv.save(Collections.EMPTY_MAP);
} catch (IOException e) {
e.printStackTrace();
}

View file

@ -4,7 +4,7 @@
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:petrinet="http://petrinet"
xsi:schemaLocation="http://petrinet petriNET.ecore"
xsi:schemaLocation="http://petrinet PetriNet.ecore"
name="mauvaisNetwork">
<nodes xsi:type="petrinet:Place"
name="okay"

View file

@ -1,37 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<simplepdl:Process
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:simplepdl="http://simplepdl"
xsi:schemaLocation="http://simplepdl simplePDL.ecore"
name="ExempleProcess1">
<processElements
xsi:type="simplepdl:Resource"
quantity="-5"
name="Crayon"/>
<processElements
xsi:type="simplepdl:Resource"
quantity="1"
name="00000"/>
<processElements
xsi:type="simplepdl:Resource"
name="zeroResource"/>
<processElements
xsi:type="simplepdl:Resource"
quantity="5"
name="Okay"/>
<processElements
xsi:type="simplepdl:WorkDefinition"
name="Demandeur">
<requests
quantity="-5"
target="//@processElements.0"/>
<requests
quantity="10000000"
target="//@processElements.3"/>
<requests
quantity="5"
target="//@processElements.3"/>
<simplepdl:Process xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:simplepdl="http://simplepdl" xsi:schemaLocation="http://simplepdl SimplePDL.ecore" name="ExempleProcess1">
<processElements xsi:type="simplepdl:Resource" quantity="-5" name="Crayon"/>
<processElements xsi:type="simplepdl:Resource" quantity="1" name="00000"/>
<processElements xsi:type="simplepdl:Resource" name="zeroResource"/>
<processElements xsi:type="simplepdl:Resource" quantity="5" name="Okay"/>
<processElements xsi:type="simplepdl:WorkDefinition" name="Demandeur">
<requests quantity="-5" target="//@processElements.0"/>
<requests quantity="10000000" target="//@processElements.3"/>
<requests quantity="5" target="//@processElements.3"/>
</processElements>
</simplepdl:Process>

View file

@ -1,32 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<simplepdl:Process
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:simplepdl="http://simplepdl"
xsi:schemaLocation="http://simplepdl simplePDL.ecore"
name="ExempleProcess1">
<processElements
xsi:type="simplepdl:WorkDefinition"
linksToSuccessors="//@processElements.1"
name="A1"/>
<processElements
xsi:type="simplepdl:WorkSequence"
predecessor="//@processElements.0"
successor="//@processElements.3"/>
<processElements
xsi:type="simplepdl:WorkDefinition"
name="000"/>
<processElements
xsi:type="simplepdl:WorkDefinition"
linksToPredecessors="//@processElements.1 //@processElements.4"
linksToSuccessors="//@processElements.4"
name="A 2"/>
<processElements
xsi:type="simplepdl:WorkSequence"
predecessor="//@processElements.3"
successor="//@processElements.3"/>
<processElements
xsi:type="simplepdl:WorkDefinition"
name="A1"/>
<simplepdl:Process xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:simplepdl="http://simplepdl" xsi:schemaLocation="http://simplepdl SimplePDL.ecore" name="ExempleProcess1">
<processElements xsi:type="simplepdl:WorkDefinition" linksToSuccessors="//@processElements.1" name="A1"/>
<processElements xsi:type="simplepdl:WorkSequence" predecessor="//@processElements.0" successor="//@processElements.3"/>
<processElements xsi:type="simplepdl:WorkDefinition" name="000"/>
<processElements xsi:type="simplepdl:WorkDefinition" linksToPredecessors="//@processElements.1 //@processElements.4" linksToSuccessors="//@processElements.4" name="A 2"/>
<processElements xsi:type="simplepdl:WorkSequence" predecessor="//@processElements.3" successor="//@processElements.3"/>
<processElements xsi:type="simplepdl:WorkDefinition" name="A1"/>
</simplepdl:Process>

View file

@ -1,24 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<petrinet:Network
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:petrinet="http://petrinet"
xsi:schemaLocation="http://petrinet petriNet.ecore"
name="gentilNetwork">
<nodes xsi:type="petrinet:Place"
name="debut"
tokens="1"
arcs="//@nodes.2/@arcs.0"/>
<nodes xsi:type="petrinet:Place"
name="fin"
arcs="//@nodes.2/@arcs.1"/>
<nodes xsi:type="petrinet:Transition"
name="debut2fin">
<arcs weight="1"
place="//@nodes.0"/>
<arcs weight="1"
outgoing="true"
place="//@nodes.1"/>
<petrinet:Network xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:petrinet="http://petrinet" xsi:schemaLocation="http://petrinet PetriNet.ecore" name="gentilNetwork">
<nodes xsi:type="petrinet:Place" name="debut" tokens="1" arcs="//@nodes.2/@arcs.0"/>
<nodes xsi:type="petrinet:Place" name="fin" arcs="//@nodes.2/@arcs.1"/>
<nodes xsi:type="petrinet:Transition" name="debut2fin">
<arcs weight="1" place="//@nodes.0"/>
<arcs weight="1" outgoing="true" place="//@nodes.1"/>
</nodes>
</petrinet:Network>

BIN
livrables/rapport.pdf Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB