PetriNetSemantics_updated.ecore 6.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ecore:EPackage xmi:version="2.0"
  3. xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="petrinetsemantics"
  5. nsURI="http://petrinetsemantics/1.0" nsPrefix="petrinetsemantics">
  6. <eSubpackages name="DDMMPetriNet" nsURI="petrinet.ddmm" nsPrefix="petrinet.ddmm">
  7. <eClassifiers xsi:type="ecore:EClass" name="PetriNet">
  8. <eStructuralFeatures xsi:type="ecore:EReference" name="nodes" upperBound="-1"
  9. eType="#//DDMMPetriNet/Node" containment="true" eOpposite="#//DDMMPetriNet/Node/net"/>
  10. <eStructuralFeatures xsi:type="ecore:EReference" name="arcs" upperBound="-1"
  11. eType="#//DDMMPetriNet/Arc" containment="true" eOpposite="#//DDMMPetriNet/Arc/net"/>
  12. <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
  13. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  14. </eClassifiers>
  15. <eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="#//DDMMPetriNet/Node">
  16. <eStructuralFeatures xsi:type="ecore:EAttribute" name="min_time" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  17. <eStructuralFeatures xsi:type="ecore:EAttribute" name="max_time" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  18. </eClassifiers>
  19. <eClassifiers xsi:type="ecore:EClass" name="Node" abstract="true">
  20. <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
  21. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  22. <eStructuralFeatures xsi:type="ecore:EReference" name="net" lowerBound="1" eType="#//DDMMPetriNet/PetriNet"
  23. eOpposite="#//DDMMPetriNet/PetriNet/nodes"/>
  24. <eStructuralFeatures xsi:type="ecore:EReference" name="outgoings" upperBound="-1"
  25. eType="#//DDMMPetriNet/Arc" eOpposite="#//DDMMPetriNet/Arc/source"/>
  26. <eStructuralFeatures xsi:type="ecore:EReference" name="incomings" upperBound="-1"
  27. eType="#//DDMMPetriNet/Arc" eOpposite="#//DDMMPetriNet/Arc/target"/>
  28. </eClassifiers>
  29. <eClassifiers xsi:type="ecore:EClass" name="Place" eSuperTypes="#//DDMMPetriNet/Node">
  30. <eStructuralFeatures xsi:type="ecore:EAttribute" name="initialMarking" lowerBound="1"
  31. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  32. </eClassifiers>
  33. <eClassifiers xsi:type="ecore:EClass" name="Arc">
  34. <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
  35. eType="#//DDMMPetriNet/Node" eOpposite="#//DDMMPetriNet/Node/incomings"/>
  36. <eStructuralFeatures xsi:type="ecore:EReference" name="source" lowerBound="1"
  37. eType="#//DDMMPetriNet/Node" eOpposite="#//DDMMPetriNet/Node/outgoings"/>
  38. <eStructuralFeatures xsi:type="ecore:EReference" name="net" lowerBound="1" eType="#//DDMMPetriNet/PetriNet"
  39. eOpposite="#//DDMMPetriNet/PetriNet/arcs"/>
  40. <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" lowerBound="1"
  41. eType="#//DDMMPetriNet/ArcKind"/>
  42. <eStructuralFeatures xsi:type="ecore:EAttribute" name="weight" lowerBound="1"
  43. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  44. </eClassifiers>
  45. <eClassifiers xsi:type="ecore:EEnum" name="ArcKind">
  46. <eLiterals name="normal" value="1"/>
  47. <eLiterals name="read_arc" value="2"/>
  48. </eClassifiers>
  49. </eSubpackages>
  50. <eSubpackages name="SDMMPetriNet" nsURI="petrinet.sdmm" nsPrefix="petrinet.sdmm">
  51. <eClassifiers xsi:type="ecore:EClass" name="Node_dynamic" abstract="true">
  52. <eStructuralFeatures xsi:type="ecore:EReference" name="Node_static" lowerBound="1"
  53. eType="#//DDMMPetriNet/Node"/>
  54. </eClassifiers>
  55. <eClassifiers xsi:type="ecore:EClass" name="Place_dynamic" eSuperTypes="#//SDMMPetriNet/Node_dynamic">
  56. <eStructuralFeatures xsi:type="ecore:EReference" name="Place_static" lowerBound="1"
  57. eType="#//DDMMPetriNet/Place"/>
  58. <eStructuralFeatures xsi:type="ecore:EAttribute" name="marking" lowerBound="1"
  59. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  60. </eClassifiers>
  61. <eClassifiers xsi:type="ecore:EClass" name="PetriNet_dynamic">
  62. <eStructuralFeatures xsi:type="ecore:EReference" name="nodes" upperBound="-1"
  63. eType="#//SDMMPetriNet/Node_dynamic" containment="true"/>
  64. <eStructuralFeatures xsi:type="ecore:EReference" name="PetriNet_static" lowerBound="1"
  65. eType="#//DDMMPetriNet/PetriNet"/>
  66. </eClassifiers>
  67. </eSubpackages>
  68. <eSubpackages name="EDMMPetriNet" nsURI="petrinet.edmm" nsPrefix="petrinet.edmm">
  69. <eClassifiers xsi:type="ecore:EClass" name="PetriNetEvent" abstract="true" eSuperTypes="#//TM3PetriNet/PNSimEvent"/>
  70. <eClassifiers xsi:type="ecore:EClass" name="FireTransitionEvent" eSuperTypes="#//EDMMPetriNet/PetriNetEvent">
  71. <eStructuralFeatures xsi:type="ecore:EAttribute" name="time" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
  72. <eStructuralFeatures xsi:type="ecore:EReference" name="firedTransition" lowerBound="1"
  73. eType="#//DDMMPetriNet/Transition"/>
  74. </eClassifiers>
  75. </eSubpackages>
  76. <eSubpackages name="TM3PetriNet" nsURI="petrinet.tmmm" nsPrefix="petrinet.tmmm">
  77. <eClassifiers xsi:type="ecore:EClass" name="PNScenario">
  78. <eStructuralFeatures xsi:type="ecore:EReference" name="traces" upperBound="-1"
  79. eType="#//TM3PetriNet/PNTrace" eOpposite="#//TM3PetriNet/PNTrace/scenario"/>
  80. <eStructuralFeatures xsi:type="ecore:EReference" name="simEvents" upperBound="-1"
  81. eType="#//TM3PetriNet/PNSimEvent" containment="true"/>
  82. </eClassifiers>
  83. <eClassifiers xsi:type="ecore:EClass" name="PNTrace">
  84. <eStructuralFeatures xsi:type="ecore:EReference" name="scenario" lowerBound="1"
  85. eType="#//TM3PetriNet/PNScenario" eOpposite="#//TM3PetriNet/PNScenario/traces"/>
  86. </eClassifiers>
  87. <eClassifiers xsi:type="ecore:EClass" name="PNSimEvent">
  88. <eStructuralFeatures xsi:type="ecore:EAttribute" name="internal" lowerBound="1"
  89. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  90. <eStructuralFeatures xsi:type="ecore:EAttribute" name="date" lowerBound="1"
  91. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  92. <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
  93. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
  94. defaultValueLiteral=""/>
  95. </eClassifiers>
  96. </eSubpackages>
  97. </ecore:EPackage>