projet-genie-logiciel-systeme/workspace/jeuexp/jeuexp.ecore
2021-11-19 20:09:58 +01:00

86 lines
5.4 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="jeuexp" nsURI="http://jeuexp" nsPrefix="jeuexp">
<eClassifiers xsi:type="ecore:EClass" name="Jeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="elementsjeu" lowerBound="2"
upperBound="-1" eType="#//ElementJeu" eOpposite="#//ElementJeu/jeu"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ElementJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="jeu" lowerBound="1" eType="#//Jeu"
eOpposite="#//Jeu/elementsjeu"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Explorateur" eSuperTypes="#//ElementJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
eType="#//Connaissance" eOpposite="#//Connaissance/explorateur"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1"
eType="#//Objet" eOpposite="#//Objet/explorateur"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="tailleTotaleMax" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Territoire" eSuperTypes="#//ElementJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="lieux" lowerBound="1" upperBound="-1"
eType="#//Lieu" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="chemins" upperBound="-1"
eType="#//Chemin" containment="true" eOpposite="#//Chemin/territoire"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="depart" lowerBound="1"
eType="#//Depart"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="fin" lowerBound="1" eType="#//Fin"
eOpposite="#//Lieu/territoire"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Lieu">
<eStructuralFeatures xsi:type="ecore:EReference" name="territoire" lowerBound="1"
eType="#//Territoire" eOpposite="#//Territoire/fin"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="chemins1" eType="#//Chemin"
eOpposite="#//Chemin/lieu1"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="chemins2" upperBound="-1"
eType="#//Chemin" eOpposite="#//Chemin/lieu2"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="explore" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1"
eType="#//Connaissance" eOpposite="#//Connaissance/lieu"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1"
eType="#//Objet" eOpposite="#//Objet/lieu"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="personnes" upperBound="-1"
eType="#//Personne" eOpposite="#//Personne/lieu"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Depart" eSuperTypes="#//Lieu"/>
<eClassifiers xsi:type="ecore:EClass" name="Fin" eSuperTypes="#//Lieu"/>
<eClassifiers xsi:type="ecore:EClass" name="Chemin">
<eStructuralFeatures xsi:type="ecore:EReference" name="territoire" lowerBound="1"
eType="#//Territoire" eOpposite="#//Territoire/chemins"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="lieu1" lowerBound="1" eType="#//Lieu"
eOpposite="#//Lieu/chemins1"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="lieu2" lowerBound="1" eType="#//Lieu"
eOpposite="#//Lieu/chemins2"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ouvert" lowerBound="1"
eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" lowerBound="1"
eType="#//Condition"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Objet" eSuperTypes="#//ElementJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="explorateur" eType="#//Explorateur"
eOpposite="#//Explorateur/objets"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="taille" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="lieu" eType="#//Lieu" eOpposite="#//Lieu/objets"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" lowerBound="1"
eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="deposable" lowerBound="1"
eType="#//Condition"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Connaissance" eSuperTypes="#//ElementJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="explorateur" eType="#//Explorateur"
eOpposite="#//Explorateur/connaissances"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="lieu" eType="#//Lieu" eOpposite="#//Lieu/connaissances"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" lowerBound="1"
eType="#//Condition"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Personne" eSuperTypes="#//ElementJeu">
<eStructuralFeatures xsi:type="ecore:EReference" name="lieu" lowerBound="1" eType="#//Lieu"
eOpposite="#//Lieu/personnes"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" lowerBound="1"
eType="#//Condition"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Condition"/>
</ecore:EPackage>