projet-genie-logiciel-systeme/workspace/game/game.ecore
2021-11-24 11:00:35 +01:00

131 lines
14 KiB
XML
Executable file

<?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="game" nsURI="http://game" nsPrefix="game">
<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"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Lieu">
<eStructuralFeatures xsi:type="ecore:EReference" name="territoire" lowerBound="1" eType="#//Territoire"/>
<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:EReference" name="connaissances" upperBound="-1" eType="#//Connaissance" eOpposite="#//Connaissance/lieu"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="personnes" upperBound="-1" eType="#//Personne" eOpposite="#//Personne/lieu"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1" eType="#//Objet" eOpposite="#//Objet/lieu"/>
<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="deposable" lowerBound="1" eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="description" lowerBound="1" eType="#//Description" eOpposite="#//Description/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="objets" upperBound="-1" eType="#//Objet"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissances" upperBound="-1" eType="#//Connaissance" eOpposite="#//Connaissance/chemin"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsConso" upperBound="-1" eType="#//Objet" eOpposite="#//Objet/cheminConso"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ouvert" lowerBound="1" eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" lowerBound="1" eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="obligatoire" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="description" lowerBound="1" eType="#//Description" eOpposite="#//Description/chemin"/>
</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:EReference" name="lieu" eType="#//Lieu" eOpposite="#//Lieu/objets"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="chemin" eType="#//Chemin"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="cheminConso" eType="#//Chemin" eOpposite="#//Chemin/objetsConso"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="interaction" eType="#//Interraction" eOpposite="#//Interraction/objets"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="action" eType="#//Action" eOpposite="#//Action/objets"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="actionConso" eType="#//Action" eOpposite="#//Action/objetsConso"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="transformationResultat" eType="#//Transformation" eOpposite="#//Transformation/objetsResultats"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="conditionObjet" eType="#//ConditionObjet" eOpposite="#//ConditionObjet/objet"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="transformation" upperBound="-1" eType="#//Transformation" eOpposite="#//Transformation/objetSource"/>
<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="visible" lowerBound="1" eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="description" lowerBound="1" eType="#//Description" eOpposite="#//Description/objet"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Transformation">
<eStructuralFeatures xsi:type="ecore:EReference" name="condition" lowerBound="1" eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsResultats" upperBound="-1" eType="#//Objet" eOpposite="#//Objet/transformationResultat"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objetSource" upperBound="-1" eType="#//Objet" eOpposite="#//Objet/transformation"/>
</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="chemin" eType="#//Chemin" eOpposite="#//Chemin/connaissances"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="interaction" eType="#//Interraction" eOpposite="#//Interraction/connaissance"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="action" eType="#//Action" eOpposite="#//Action/connaissance"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="conditionConnaissance" upperBound="-1" eType="#//ConditionConnaissance" eOpposite="#//ConditionConnaissance/connaissance"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" lowerBound="1" eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="description" lowerBound="1" eType="#//Description" eOpposite="#//Description/connaissance"/>
</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"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="obligatoire" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="interractions" lowerBound="1" upperBound="-1" eType="#//Interraction" eOpposite="#//Interraction/personne"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Interraction">
<eStructuralFeatures xsi:type="ecore:EReference" name="choix" lowerBound="1" eType="#//Choix" eOpposite="#//Choix/interraction"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="personne" lowerBound="1" eType="#//Personne" eOpposite="#//Personne/interractions"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1" eType="#//Objet" eOpposite="#//Objet/interaction"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissance" upperBound="-1" eType="#//Connaissance" eOpposite="#//Connaissance/interaction"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" lowerBound="1" eType="#//Condition"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Choix">
<eStructuralFeatures xsi:type="ecore:EReference" name="interraction" lowerBound="1" eType="#//Interraction" eOpposite="#//Interraction/choix"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="actions" lowerBound="1" upperBound="-1" eType="#//Action" eOpposite="#//Action/choix"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Action">
<eStructuralFeatures xsi:type="ecore:EReference" name="choix" lowerBound="1" eType="#//Choix" eOpposite="#//Choix/actions"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objets" upperBound="-1" eType="#//Objet" eOpposite="#//Objet/action"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objetsConso" upperBound="-1" eType="#//Objet" eOpposite="#//Objet/actionConso"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissance" upperBound="-1" eType="#//Connaissance" eOpposite="#//Connaissance/action"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="visible" lowerBound="1" eType="#//Condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="finInterraction" lowerBound="1" eType="#//Condition"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Description">
<eStructuralFeatures xsi:type="ecore:EReference" name="lieu" eType="#//Lieu" eOpposite="#//Lieu/description"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="chemin" eType="#//Chemin" eOpposite="#//Chemin/description"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissance" eType="#//Connaissance" eOpposite="#//Connaissance/description"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="objet" eType="#//Objet" eOpposite="#//Objet/description"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="textes" lowerBound="1" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="conditions" lowerBound="1" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Condition">
<eStructuralFeatures xsi:type="ecore:EReference" name="conditionOu" lowerBound="1" upperBound="-1" eType="#//ConditionOu" eOpposite="#//ConditionOu/condition"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="explorateur" eType="#//Explorateur"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConditionOu">
<eStructuralFeatures xsi:type="ecore:EReference" name="conditionEt" lowerBound="1" upperBound="-1" eType="#//ConditionEt" eOpposite="#//ConditionEt/conditionOu"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="condition" lowerBound="1" eType="#//Condition" eOpposite="#//Condition/conditionOu"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConditionEt">
<eStructuralFeatures xsi:type="ecore:EReference" name="conditionTest" lowerBound="1" upperBound="-1" eType="#//ConditionTest" eOpposite="#//ConditionTest/conditionEt"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="conditionOu" lowerBound="1" eType="#//ConditionOu" eOpposite="#//ConditionOu/conditionEt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConditionTest">
<eStructuralFeatures xsi:type="ecore:EReference" name="conditionEt" lowerBound="1" eType="#//ConditionEt" eOpposite="#//ConditionEt/conditionTest"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConditionConnaissance" eSuperTypes="#//ConditionTest">
<eStructuralFeatures xsi:type="ecore:EReference" name="connaissance" lowerBound="1" eType="#//Connaissance" eOpposite="#//Connaissance/conditionConnaissance"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="negation" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConditionObjet" eSuperTypes="#//ConditionTest">
<eStructuralFeatures xsi:type="ecore:EReference" name="objet" lowerBound="1" eType="#//Objet" eOpposite="#//Objet/conditionObjet"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nombre" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="superieurEgale" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
</ecore:EPackage>