Skip to main content
summaryrefslogblamecommitdiffstats
blob: 70e9b4fca7b2f5e621006965d4ee3d432fe43d6b (plain) (tree)
1
2
3
4
                                      


                                                                                                                                                      























                                                                                                                                     
<?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="diningphils" nsURI="http://www.eclipse.org/emf/2010/Henshin/Examples/DiningPhilosophers"
    nsPrefix="diningphils">
  <eClassifiers xsi:type="ecore:EClass" name="Table">
    <eStructuralFeatures xsi:type="ecore:EReference" name="plates" upperBound="-1"
        eType="#//Plate" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="philosophers" upperBound="-1"
        eType="#//Philosopher" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="forks" upperBound="-1"
        eType="#//Fork" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Philosopher">
    <eStructuralFeatures xsi:type="ecore:EReference" name="plate" eType="#//Plate"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="left" eType="#//Fork" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="right" eType="#//Fork"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Plate">
    <eStructuralFeatures xsi:type="ecore:EReference" name="left" eType="#//Fork"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="right" eType="#//Fork"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Fork">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
</ecore:EPackage>

Back to the top