29 lines
1.8 KiB
XML
29 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="Network">
|
|
<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="nodes" upperBound="-1"
|
|
eType="#//Node" containment="true"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Node" 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="Place" eSuperTypes="#//Node">
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="tokens" lowerBound="1"
|
|
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Arc">
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="weight" lowerBound="1"
|
|
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
|
|
<eStructuralFeatures xsi:type="ecore:EAttribute" name="outgoing" lowerBound="1"
|
|
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
|
|
eType="#//Place"/>
|
|
</eClassifiers>
|
|
<eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="#//Node">
|
|
<eStructuralFeatures xsi:type="ecore:EReference" name="arcs" upperBound="-1" eType="#//Arc"
|
|
containment="true"/>
|
|
</eClassifiers>
|
|
</ecore:EPackage>
|