projet-mini-genie-logiciel-.../livrables/SimplePDL.ecore

59 lines
4.2 KiB
Plaintext
Raw Normal View History

2021-10-20 14:36:15 +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="simplepdl" nsURI="http://simplepdl" nsPrefix="simplepdl">
<eClassifiers xsi:type="ecore:EEnum" name="WorkSequenceType">
<eLiterals name="startToStart"/>
<eLiterals name="finishToStart" value="1"/>
<eLiterals name="startToFinish" value="2"/>
<eLiterals name="finishToFinish" value="3"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ProcessElement" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="process" lowerBound="1"
eType="#//Process" eOpposite="#//Process/processElements"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="guidances" upperBound="-1"
eType="#//Guidance" eOpposite="#//Guidance/elements"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="WorkDefinition" eSuperTypes="#//ProcessElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="linksToPredecessors" upperBound="-1"
eType="#//WorkSequence" eOpposite="#//WorkSequence/successor"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="linksToSuccessors" upperBound="-1"
eType="#//WorkSequence" eOpposite="#//WorkSequence/predecessor"/>
<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="requests" upperBound="-1"
eType="#//Request" containment="true" eOpposite="#//Request/requester"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="WorkSequence" eSuperTypes="#//ProcessElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="linkType" lowerBound="1"
eType="#//WorkSequenceType"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="predecessor" lowerBound="1"
eType="#//WorkDefinition" eOpposite="#//WorkDefinition/linksToSuccessors"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="successor" lowerBound="1"
eType="#//WorkDefinition" eOpposite="#//WorkDefinition/linksToPredecessors"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Process">
<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="processElements" upperBound="-1"
eType="#//ProcessElement" containment="true" eOpposite="#//ProcessElement/process"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Guidance" eSuperTypes="#//ProcessElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="text" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="elements" upperBound="-1"
eType="#//ProcessElement" eOpposite="#//ProcessElement/guidances"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Resource" eSuperTypes="#//ProcessElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="quantity" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<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="requests" upperBound="-1"
eType="#//Request" eOpposite="#//Request/target"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Request">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="quantity" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
eType="#//Resource" eOpposite="#//Resource/requests"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="requester" lowerBound="1"
eType="#//WorkDefinition" eOpposite="#//WorkDefinition/requests"/>
</eClassifiers>
</ecore:EPackage>