projet-mini-genie-logiciel-.../fr.n7.petriNet/petriNet.ecore

27 lines
1.8 KiB
Plaintext
Raw Normal View History

2021-10-03 20:23:04 +00:00
<?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"
2021-10-05 20:17:48 +00:00
eType="#//Flèche" containment="true"/>
2021-10-03 20:23:04 +00:00
</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>