projet-mini-genie-logiciel-.../fr.n7.petriNet/petriNet.ecore
2021-10-05 22:17:48 +02:00

27 lines
1.8 KiB
XML

<?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">
<eClassifiers xsi:type="ecore:EClass" name="Place" eSuperTypes="#//Noeud">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="jetons" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="#//Noeud">
<eStructuralFeatures xsi:type="ecore:EReference" name="fleches" upperBound="-1"
eType="#//Flèche" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Flèche">
<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="sortant" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="cible" lowerBound="1" eType="#//Place"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Noeud" abstract="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:EClass" name="Reseau">
<eStructuralFeatures xsi:type="ecore:EReference" name="noeuds" upperBound="-1"
eType="#//Noeud" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>