SimplePDLSemantics_updated.ecore 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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="SimplePDLSemantics"
  5. nsURI="http://simplepdl/1.0" nsPrefix="simplepdl">
  6. <eSubpackages name="DDMMSimplePDL" nsURI="simplepdl.ddmm" nsPrefix="simplepdl.ddmm">
  7. <eClassifiers xsi:type="ecore:EEnum" name="WorkSequenceType">
  8. <eLiterals name="startToStart"/>
  9. <eLiterals name="finishToStart" value="1"/>
  10. <eLiterals name="startToFinish" value="2"/>
  11. <eLiterals name="finishToFinish" value="3"/>
  12. </eClassifiers>
  13. <eClassifiers xsi:type="ecore:EClass" name="Process">
  14. <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
  15. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  16. <eStructuralFeatures xsi:type="ecore:EReference" name="processElements" upperBound="-1"
  17. eType="#//DDMMSimplePDL/ProcessElement" containment="true" eOpposite="#//DDMMSimplePDL/ProcessElement/parent"/>
  18. <eStructuralFeatures xsi:type="ecore:EReference" name="from" eType="#//DDMMSimplePDL/WorkDefinition"
  19. eOpposite="#//DDMMSimplePDL/WorkDefinition/process"/>
  20. </eClassifiers>
  21. <eClassifiers xsi:type="ecore:EClass" name="WorkDefinition" eSuperTypes="#//DDMMSimplePDL/ProcessElement">
  22. <eStructuralFeatures xsi:type="ecore:EReference" name="linksToPredecessors"
  23. upperBound="-1" eType="#//DDMMSimplePDL/WorkSequence" eOpposite="#//DDMMSimplePDL/WorkSequence/successor"/>
  24. <eStructuralFeatures xsi:type="ecore:EReference" name="linksToSuccessors" upperBound="-1"
  25. eType="#//DDMMSimplePDL/WorkSequence" eOpposite="#//DDMMSimplePDL/WorkSequence/predecessor"/>
  26. <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
  27. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  28. <eStructuralFeatures xsi:type="ecore:EReference" name="process" eType="#//DDMMSimplePDL/Process"
  29. containment="true" eOpposite="#//DDMMSimplePDL/Process/from"/>
  30. </eClassifiers>
  31. <eClassifiers xsi:type="ecore:EClass" name="WorkSequence" eSuperTypes="#//DDMMSimplePDL/ProcessElement">
  32. <eStructuralFeatures xsi:type="ecore:EAttribute" name="linkType" lowerBound="1"
  33. eType="#//DDMMSimplePDL/WorkSequenceType"/>
  34. <eStructuralFeatures xsi:type="ecore:EReference" name="predecessor" lowerBound="1"
  35. eType="#//DDMMSimplePDL/WorkDefinition" eOpposite="#//DDMMSimplePDL/WorkDefinition/linksToSuccessors"/>
  36. <eStructuralFeatures xsi:type="ecore:EReference" name="successor" lowerBound="1"
  37. eType="#//DDMMSimplePDL/WorkDefinition" eOpposite="#//DDMMSimplePDL/WorkDefinition/linksToPredecessors"/>
  38. </eClassifiers>
  39. <eClassifiers xsi:type="ecore:EClass" name="ProcessElement" abstract="true" interface="true">
  40. <eStructuralFeatures xsi:type="ecore:EReference" name="parent" lowerBound="1"
  41. eType="#//DDMMSimplePDL/Process" eOpposite="#//DDMMSimplePDL/Process/processElements"/>
  42. </eClassifiers>
  43. <eClassifiers xsi:type="ecore:EClass" name="Guidance" eSuperTypes="#//DDMMSimplePDL/ProcessElement">
  44. <eStructuralFeatures xsi:type="ecore:EReference" name="element" upperBound="-1"
  45. eType="#//DDMMSimplePDL/ProcessElement"/>
  46. <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  47. </eClassifiers>
  48. </eSubpackages>
  49. <eSubpackages name="EDMMSimplePDL" nsURI="simplepdl.edmm" nsPrefix="simplepdl.edmm">
  50. <eClassifiers xsi:type="ecore:EClass" name="Event" abstract="true" eSuperTypes="#//TM3SimplePDL/SPDLSimEvent"/>
  51. <eClassifiers xsi:type="ecore:EClass" name="WorkDefinitionEvent" abstract="true"
  52. eSuperTypes="#//EDMMSimplePDL/Event">
  53. <eStructuralFeatures xsi:type="ecore:EReference" name="workdefinition" lowerBound="1"
  54. eType="#//DDMMSimplePDL/WorkDefinition"/>
  55. </eClassifiers>
  56. <eClassifiers xsi:type="ecore:EClass" name="StartWD" eSuperTypes="#//EDMMSimplePDL/WorkDefinitionEvent"/>
  57. <eClassifiers xsi:type="ecore:EClass" name="FinishWD" eSuperTypes="#//EDMMSimplePDL/WorkDefinitionEvent"/>
  58. </eSubpackages>
  59. <eSubpackages name="SDMMSimplePDL" nsURI="simplepdl.sdmm" nsPrefix="simplepdl.sdmm">
  60. <eClassifiers xsi:type="ecore:EEnum" name="ExecutionState">
  61. <eLiterals name="notStarted"/>
  62. <eLiterals name="running" value="1"/>
  63. <eLiterals name="finished" value="2"/>
  64. </eClassifiers>
  65. <eClassifiers xsi:type="ecore:EEnum" name="TimeState">
  66. <eLiterals name="tooEarly"/>
  67. <eLiterals name="inTime" value="1"/>
  68. <eLiterals name="tooLate" value="2"/>
  69. </eClassifiers>
  70. <eClassifiers xsi:type="ecore:EClass" name="DynamicWorkDefinition" eSuperTypes="#//DDMMSimplePDL/WorkDefinition">
  71. <eStructuralFeatures xsi:type="ecore:EAttribute" name="state" lowerBound="1"
  72. eType="#//SDMMSimplePDL/ExecutionState"/>
  73. <eStructuralFeatures xsi:type="ecore:EAttribute" name="time" lowerBound="1"
  74. eType="#//SDMMSimplePDL/TimeState"/>
  75. <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeElapsed" lowerBound="1"
  76. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"/>
  77. </eClassifiers>
  78. </eSubpackages>
  79. <eSubpackages name="TM3SimplePDL" nsURI="simplepdl.tmmm" nsPrefix="simplepdl.tmmm">
  80. <eClassifiers xsi:type="ecore:EClass" name="SPDLScenario">
  81. <eStructuralFeatures xsi:type="ecore:EReference" name="traces" upperBound="-1"
  82. eType="#//TM3SimplePDL/SPDLTrace" eOpposite="#//TM3SimplePDL/SPDLTrace/scenario"/>
  83. <eStructuralFeatures xsi:type="ecore:EReference" name="simEvents" upperBound="-1"
  84. eType="#//TM3SimplePDL/SPDLSimEvent" containment="true"/>
  85. </eClassifiers>
  86. <eClassifiers xsi:type="ecore:EClass" name="SPDLTrace">
  87. <eStructuralFeatures xsi:type="ecore:EReference" name="scenario" lowerBound="1"
  88. eType="#//TM3SimplePDL/SPDLScenario" eOpposite="#//TM3SimplePDL/SPDLScenario/traces"/>
  89. </eClassifiers>
  90. <eClassifiers xsi:type="ecore:EClass" name="SPDLSimEvent">
  91. <eStructuralFeatures xsi:type="ecore:EAttribute" name="internal" lowerBound="1"
  92. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  93. <eStructuralFeatures xsi:type="ecore:EAttribute" name="date" lowerBound="1"
  94. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  95. <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
  96. eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
  97. defaultValueLiteral=""/>
  98. </eClassifiers>
  99. </eSubpackages>
  100. </ecore:EPackage>