1378 lines
44 KiB
Java
1378 lines
44 KiB
Java
/**
|
|
* generated by Xtext 2.23.0
|
|
*/
|
|
package fr.n7.gAME.impl;
|
|
|
|
import fr.n7.gAME.Action;
|
|
import fr.n7.gAME.Chemin;
|
|
import fr.n7.gAME.Condition;
|
|
import fr.n7.gAME.ConditionConnaissance;
|
|
import fr.n7.gAME.ConditionEt;
|
|
import fr.n7.gAME.ConditionObjet;
|
|
import fr.n7.gAME.ConditionTest;
|
|
import fr.n7.gAME.Connaissance;
|
|
import fr.n7.gAME.Description;
|
|
import fr.n7.gAME.Explorateur;
|
|
import fr.n7.gAME.GAMEFactory;
|
|
import fr.n7.gAME.GAMEPackage;
|
|
import fr.n7.gAME.Interaction;
|
|
import fr.n7.gAME.Jeu;
|
|
import fr.n7.gAME.Lieu;
|
|
import fr.n7.gAME.NOTConditionConnaissance;
|
|
import fr.n7.gAME.Objet;
|
|
import fr.n7.gAME.Personne;
|
|
import fr.n7.gAME.Territoire;
|
|
import fr.n7.gAME.Transformation;
|
|
|
|
import org.eclipse.emf.ecore.EAttribute;
|
|
import org.eclipse.emf.ecore.EClass;
|
|
import org.eclipse.emf.ecore.EPackage;
|
|
import org.eclipse.emf.ecore.EReference;
|
|
|
|
import org.eclipse.emf.ecore.impl.EPackageImpl;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* An implementation of the model <b>Package</b>.
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
public class GAMEPackageImpl extends EPackageImpl implements GAMEPackage
|
|
{
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass jeuEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass explorateurEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass territoireEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass lieuEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass cheminEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass objetEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass transformationEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass connaissanceEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass personneEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass interactionEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass actionEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass descriptionEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass conditionEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass conditionEtEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass conditionTestEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass conditionConnaissanceEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass notConditionConnaissanceEClass = null;
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private EClass conditionObjetEClass = null;
|
|
|
|
/**
|
|
* Creates an instance of the model <b>Package</b>, registered with
|
|
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
|
|
* package URI value.
|
|
* <p>Note: the correct way to create the package is via the static
|
|
* factory method {@link #init init()}, which also performs
|
|
* initialization of the package, or returns the registered package,
|
|
* if one already exists.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @see org.eclipse.emf.ecore.EPackage.Registry
|
|
* @see fr.n7.gAME.GAMEPackage#eNS_URI
|
|
* @see #init()
|
|
* @generated
|
|
*/
|
|
private GAMEPackageImpl()
|
|
{
|
|
super(eNS_URI, GAMEFactory.eINSTANCE);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private static boolean isInited = false;
|
|
|
|
/**
|
|
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
|
|
*
|
|
* <p>This method is used to initialize {@link GAMEPackage#eINSTANCE} when that field is accessed.
|
|
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @see #eNS_URI
|
|
* @see #createPackageContents()
|
|
* @see #initializePackageContents()
|
|
* @generated
|
|
*/
|
|
public static GAMEPackage init()
|
|
{
|
|
if (isInited) return (GAMEPackage)EPackage.Registry.INSTANCE.getEPackage(GAMEPackage.eNS_URI);
|
|
|
|
// Obtain or create and register package
|
|
Object registeredGAMEPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
|
|
GAMEPackageImpl theGAMEPackage = registeredGAMEPackage instanceof GAMEPackageImpl ? (GAMEPackageImpl)registeredGAMEPackage : new GAMEPackageImpl();
|
|
|
|
isInited = true;
|
|
|
|
// Create package meta-data objects
|
|
theGAMEPackage.createPackageContents();
|
|
|
|
// Initialize created meta-data
|
|
theGAMEPackage.initializePackageContents();
|
|
|
|
// Mark meta-data to indicate it can't be changed
|
|
theGAMEPackage.freeze();
|
|
|
|
// Update the registry and return the package
|
|
EPackage.Registry.INSTANCE.put(GAMEPackage.eNS_URI, theGAMEPackage);
|
|
return theGAMEPackage;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getJeu()
|
|
{
|
|
return jeuEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getJeu_Explorateur()
|
|
{
|
|
return (EReference)jeuEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getJeu_Territoire()
|
|
{
|
|
return (EReference)jeuEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getJeu_Objets()
|
|
{
|
|
return (EReference)jeuEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getJeu_Connaissances()
|
|
{
|
|
return (EReference)jeuEClass.getEStructuralFeatures().get(3);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getJeu_Personnes()
|
|
{
|
|
return (EReference)jeuEClass.getEStructuralFeatures().get(4);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getJeu_Transformations()
|
|
{
|
|
return (EReference)jeuEClass.getEStructuralFeatures().get(5);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getExplorateur()
|
|
{
|
|
return explorateurEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getExplorateur_TailleInventaire()
|
|
{
|
|
return (EAttribute)explorateurEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getExplorateur_Connaissances()
|
|
{
|
|
return (EAttribute)explorateurEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getExplorateur_Objets()
|
|
{
|
|
return (EAttribute)explorateurEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getTerritoire()
|
|
{
|
|
return territoireEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getTerritoire_Lieux()
|
|
{
|
|
return (EReference)territoireEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getTerritoire_Chemins()
|
|
{
|
|
return (EReference)territoireEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getLieu()
|
|
{
|
|
return lieuEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getLieu_Nom()
|
|
{
|
|
return (EAttribute)lieuEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getLieu_Deposable()
|
|
{
|
|
return (EReference)lieuEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getLieu_Depart()
|
|
{
|
|
return (EReference)lieuEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getLieu_Fin()
|
|
{
|
|
return (EReference)lieuEClass.getEStructuralFeatures().get(3);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getLieu_Personnes()
|
|
{
|
|
return (EAttribute)lieuEClass.getEStructuralFeatures().get(4);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getLieu_Descriptions()
|
|
{
|
|
return (EReference)lieuEClass.getEStructuralFeatures().get(5);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getLieu_Objets()
|
|
{
|
|
return (EAttribute)lieuEClass.getEStructuralFeatures().get(6);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getLieu_Connaissances()
|
|
{
|
|
return (EAttribute)lieuEClass.getEStructuralFeatures().get(7);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getChemin()
|
|
{
|
|
return cheminEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getChemin_LieuIn()
|
|
{
|
|
return (EAttribute)cheminEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getChemin_LieuOut()
|
|
{
|
|
return (EAttribute)cheminEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getChemin_Ouvert()
|
|
{
|
|
return (EReference)cheminEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getChemin_Visible()
|
|
{
|
|
return (EReference)cheminEClass.getEStructuralFeatures().get(3);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getChemin_Obligatoire()
|
|
{
|
|
return (EReference)cheminEClass.getEStructuralFeatures().get(4);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getChemin_Connaissances()
|
|
{
|
|
return (EAttribute)cheminEClass.getEStructuralFeatures().get(5);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getChemin_ObjetsRecus()
|
|
{
|
|
return (EAttribute)cheminEClass.getEStructuralFeatures().get(6);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getChemin_ObjetsConso()
|
|
{
|
|
return (EAttribute)cheminEClass.getEStructuralFeatures().get(7);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getChemin_Descriptions()
|
|
{
|
|
return (EReference)cheminEClass.getEStructuralFeatures().get(8);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getObjet()
|
|
{
|
|
return objetEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getObjet_Nom()
|
|
{
|
|
return (EAttribute)objetEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getObjet_Taille()
|
|
{
|
|
return (EAttribute)objetEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getObjet_Visible()
|
|
{
|
|
return (EReference)objetEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getObjet_Descriptions()
|
|
{
|
|
return (EReference)objetEClass.getEStructuralFeatures().get(3);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getTransformation()
|
|
{
|
|
return transformationEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getTransformation_Condition()
|
|
{
|
|
return (EReference)transformationEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getTransformation_ObjetsIn()
|
|
{
|
|
return (EAttribute)transformationEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getTransformation_ObjetsOut()
|
|
{
|
|
return (EAttribute)transformationEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getConnaissance()
|
|
{
|
|
return connaissanceEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getConnaissance_Nom()
|
|
{
|
|
return (EAttribute)connaissanceEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getConnaissance_Visible()
|
|
{
|
|
return (EReference)connaissanceEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getConnaissance_Descriptions()
|
|
{
|
|
return (EReference)connaissanceEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getPersonne()
|
|
{
|
|
return personneEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getPersonne_Nom()
|
|
{
|
|
return (EAttribute)personneEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getPersonne_Visible()
|
|
{
|
|
return (EReference)personneEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getPersonne_Obligatoire()
|
|
{
|
|
return (EReference)personneEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getPersonne_Interactions()
|
|
{
|
|
return (EReference)personneEClass.getEStructuralFeatures().get(3);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getInteraction()
|
|
{
|
|
return interactionEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getInteraction_Visible()
|
|
{
|
|
return (EReference)interactionEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getInteraction_Connaissances()
|
|
{
|
|
return (EAttribute)interactionEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getInteraction_ObjetsRecus()
|
|
{
|
|
return (EAttribute)interactionEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getInteraction_ObjetsConso()
|
|
{
|
|
return (EAttribute)interactionEClass.getEStructuralFeatures().get(3);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getInteraction_Actions()
|
|
{
|
|
return (EReference)interactionEClass.getEStructuralFeatures().get(4);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getAction()
|
|
{
|
|
return actionEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getAction_Visible()
|
|
{
|
|
return (EReference)actionEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getAction_FinInteraction()
|
|
{
|
|
return (EReference)actionEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getAction_Connaissances()
|
|
{
|
|
return (EAttribute)actionEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getAction_ObjetsRecus()
|
|
{
|
|
return (EAttribute)actionEClass.getEStructuralFeatures().get(3);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getAction_ObjetsConso()
|
|
{
|
|
return (EAttribute)actionEClass.getEStructuralFeatures().get(4);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getAction_Descriptions()
|
|
{
|
|
return (EReference)actionEClass.getEStructuralFeatures().get(5);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getDescription()
|
|
{
|
|
return descriptionEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getDescription_Texte()
|
|
{
|
|
return (EAttribute)descriptionEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getDescription_Condition()
|
|
{
|
|
return (EReference)descriptionEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getCondition()
|
|
{
|
|
return conditionEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getCondition_Condition()
|
|
{
|
|
return (EReference)conditionEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getConditionEt()
|
|
{
|
|
return conditionEtEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EReference getConditionEt_ConditionTest()
|
|
{
|
|
return (EReference)conditionEtEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getConditionTest()
|
|
{
|
|
return conditionTestEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getConditionConnaissance()
|
|
{
|
|
return conditionConnaissanceEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getConditionConnaissance_Connaissance()
|
|
{
|
|
return (EAttribute)conditionConnaissanceEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getNOTConditionConnaissance()
|
|
{
|
|
return notConditionConnaissanceEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getNOTConditionConnaissance_Connaissance()
|
|
{
|
|
return (EAttribute)notConditionConnaissanceEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EClass getConditionObjet()
|
|
{
|
|
return conditionObjetEClass;
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getConditionObjet_Objet()
|
|
{
|
|
return (EAttribute)conditionObjetEClass.getEStructuralFeatures().get(0);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getConditionObjet_Comparateur()
|
|
{
|
|
return (EAttribute)conditionObjetEClass.getEStructuralFeatures().get(1);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public EAttribute getConditionObjet_Nombre()
|
|
{
|
|
return (EAttribute)conditionObjetEClass.getEStructuralFeatures().get(2);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
@Override
|
|
public GAMEFactory getGAMEFactory()
|
|
{
|
|
return (GAMEFactory)getEFactoryInstance();
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private boolean isCreated = false;
|
|
|
|
/**
|
|
* Creates the meta-model objects for the package. This method is
|
|
* guarded to have no affect on any invocation but its first.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
public void createPackageContents()
|
|
{
|
|
if (isCreated) return;
|
|
isCreated = true;
|
|
|
|
// Create classes and their features
|
|
jeuEClass = createEClass(JEU);
|
|
createEReference(jeuEClass, JEU__EXPLORATEUR);
|
|
createEReference(jeuEClass, JEU__TERRITOIRE);
|
|
createEReference(jeuEClass, JEU__OBJETS);
|
|
createEReference(jeuEClass, JEU__CONNAISSANCES);
|
|
createEReference(jeuEClass, JEU__PERSONNES);
|
|
createEReference(jeuEClass, JEU__TRANSFORMATIONS);
|
|
|
|
explorateurEClass = createEClass(EXPLORATEUR);
|
|
createEAttribute(explorateurEClass, EXPLORATEUR__TAILLE_INVENTAIRE);
|
|
createEAttribute(explorateurEClass, EXPLORATEUR__CONNAISSANCES);
|
|
createEAttribute(explorateurEClass, EXPLORATEUR__OBJETS);
|
|
|
|
territoireEClass = createEClass(TERRITOIRE);
|
|
createEReference(territoireEClass, TERRITOIRE__LIEUX);
|
|
createEReference(territoireEClass, TERRITOIRE__CHEMINS);
|
|
|
|
lieuEClass = createEClass(LIEU);
|
|
createEAttribute(lieuEClass, LIEU__NOM);
|
|
createEReference(lieuEClass, LIEU__DEPOSABLE);
|
|
createEReference(lieuEClass, LIEU__DEPART);
|
|
createEReference(lieuEClass, LIEU__FIN);
|
|
createEAttribute(lieuEClass, LIEU__PERSONNES);
|
|
createEReference(lieuEClass, LIEU__DESCRIPTIONS);
|
|
createEAttribute(lieuEClass, LIEU__OBJETS);
|
|
createEAttribute(lieuEClass, LIEU__CONNAISSANCES);
|
|
|
|
cheminEClass = createEClass(CHEMIN);
|
|
createEAttribute(cheminEClass, CHEMIN__LIEU_IN);
|
|
createEAttribute(cheminEClass, CHEMIN__LIEU_OUT);
|
|
createEReference(cheminEClass, CHEMIN__OUVERT);
|
|
createEReference(cheminEClass, CHEMIN__VISIBLE);
|
|
createEReference(cheminEClass, CHEMIN__OBLIGATOIRE);
|
|
createEAttribute(cheminEClass, CHEMIN__CONNAISSANCES);
|
|
createEAttribute(cheminEClass, CHEMIN__OBJETS_RECUS);
|
|
createEAttribute(cheminEClass, CHEMIN__OBJETS_CONSO);
|
|
createEReference(cheminEClass, CHEMIN__DESCRIPTIONS);
|
|
|
|
objetEClass = createEClass(OBJET);
|
|
createEAttribute(objetEClass, OBJET__NOM);
|
|
createEAttribute(objetEClass, OBJET__TAILLE);
|
|
createEReference(objetEClass, OBJET__VISIBLE);
|
|
createEReference(objetEClass, OBJET__DESCRIPTIONS);
|
|
|
|
transformationEClass = createEClass(TRANSFORMATION);
|
|
createEReference(transformationEClass, TRANSFORMATION__CONDITION);
|
|
createEAttribute(transformationEClass, TRANSFORMATION__OBJETS_IN);
|
|
createEAttribute(transformationEClass, TRANSFORMATION__OBJETS_OUT);
|
|
|
|
connaissanceEClass = createEClass(CONNAISSANCE);
|
|
createEAttribute(connaissanceEClass, CONNAISSANCE__NOM);
|
|
createEReference(connaissanceEClass, CONNAISSANCE__VISIBLE);
|
|
createEReference(connaissanceEClass, CONNAISSANCE__DESCRIPTIONS);
|
|
|
|
personneEClass = createEClass(PERSONNE);
|
|
createEAttribute(personneEClass, PERSONNE__NOM);
|
|
createEReference(personneEClass, PERSONNE__VISIBLE);
|
|
createEReference(personneEClass, PERSONNE__OBLIGATOIRE);
|
|
createEReference(personneEClass, PERSONNE__INTERACTIONS);
|
|
|
|
interactionEClass = createEClass(INTERACTION);
|
|
createEReference(interactionEClass, INTERACTION__VISIBLE);
|
|
createEAttribute(interactionEClass, INTERACTION__CONNAISSANCES);
|
|
createEAttribute(interactionEClass, INTERACTION__OBJETS_RECUS);
|
|
createEAttribute(interactionEClass, INTERACTION__OBJETS_CONSO);
|
|
createEReference(interactionEClass, INTERACTION__ACTIONS);
|
|
|
|
actionEClass = createEClass(ACTION);
|
|
createEReference(actionEClass, ACTION__VISIBLE);
|
|
createEReference(actionEClass, ACTION__FIN_INTERACTION);
|
|
createEAttribute(actionEClass, ACTION__CONNAISSANCES);
|
|
createEAttribute(actionEClass, ACTION__OBJETS_RECUS);
|
|
createEAttribute(actionEClass, ACTION__OBJETS_CONSO);
|
|
createEReference(actionEClass, ACTION__DESCRIPTIONS);
|
|
|
|
descriptionEClass = createEClass(DESCRIPTION);
|
|
createEAttribute(descriptionEClass, DESCRIPTION__TEXTE);
|
|
createEReference(descriptionEClass, DESCRIPTION__CONDITION);
|
|
|
|
conditionEClass = createEClass(CONDITION);
|
|
createEReference(conditionEClass, CONDITION__CONDITION);
|
|
|
|
conditionEtEClass = createEClass(CONDITION_ET);
|
|
createEReference(conditionEtEClass, CONDITION_ET__CONDITION_TEST);
|
|
|
|
conditionTestEClass = createEClass(CONDITION_TEST);
|
|
|
|
conditionConnaissanceEClass = createEClass(CONDITION_CONNAISSANCE);
|
|
createEAttribute(conditionConnaissanceEClass, CONDITION_CONNAISSANCE__CONNAISSANCE);
|
|
|
|
notConditionConnaissanceEClass = createEClass(NOT_CONDITION_CONNAISSANCE);
|
|
createEAttribute(notConditionConnaissanceEClass, NOT_CONDITION_CONNAISSANCE__CONNAISSANCE);
|
|
|
|
conditionObjetEClass = createEClass(CONDITION_OBJET);
|
|
createEAttribute(conditionObjetEClass, CONDITION_OBJET__OBJET);
|
|
createEAttribute(conditionObjetEClass, CONDITION_OBJET__COMPARATEUR);
|
|
createEAttribute(conditionObjetEClass, CONDITION_OBJET__NOMBRE);
|
|
}
|
|
|
|
/**
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
private boolean isInitialized = false;
|
|
|
|
/**
|
|
* Complete the initialization of the package and its meta-model. This
|
|
* method is guarded to have no affect on any invocation but its first.
|
|
* <!-- begin-user-doc -->
|
|
* <!-- end-user-doc -->
|
|
* @generated
|
|
*/
|
|
public void initializePackageContents()
|
|
{
|
|
if (isInitialized) return;
|
|
isInitialized = true;
|
|
|
|
// Initialize package
|
|
setName(eNAME);
|
|
setNsPrefix(eNS_PREFIX);
|
|
setNsURI(eNS_URI);
|
|
|
|
// Create type parameters
|
|
|
|
// Set bounds for type parameters
|
|
|
|
// Add supertypes to classes
|
|
conditionConnaissanceEClass.getESuperTypes().add(this.getConditionTest());
|
|
notConditionConnaissanceEClass.getESuperTypes().add(this.getConditionTest());
|
|
conditionObjetEClass.getESuperTypes().add(this.getConditionTest());
|
|
|
|
// Initialize classes and features; add operations and parameters
|
|
initEClass(jeuEClass, Jeu.class, "Jeu", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEReference(getJeu_Explorateur(), this.getExplorateur(), null, "explorateur", null, 0, 1, Jeu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getJeu_Territoire(), this.getTerritoire(), null, "territoire", null, 0, 1, Jeu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getJeu_Objets(), this.getObjet(), null, "objets", null, 0, -1, Jeu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getJeu_Connaissances(), this.getConnaissance(), null, "connaissances", null, 0, -1, Jeu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getJeu_Personnes(), this.getPersonne(), null, "personnes", null, 0, -1, Jeu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getJeu_Transformations(), this.getTransformation(), null, "transformations", null, 0, -1, Jeu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(explorateurEClass, Explorateur.class, "Explorateur", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getExplorateur_TailleInventaire(), ecorePackage.getEInt(), "tailleInventaire", null, 0, 1, Explorateur.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getExplorateur_Connaissances(), ecorePackage.getEString(), "connaissances", null, 0, -1, Explorateur.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getExplorateur_Objets(), ecorePackage.getEString(), "objets", null, 0, -1, Explorateur.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(territoireEClass, Territoire.class, "Territoire", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEReference(getTerritoire_Lieux(), this.getLieu(), null, "lieux", null, 0, -1, Territoire.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getTerritoire_Chemins(), this.getChemin(), null, "chemins", null, 0, -1, Territoire.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(lieuEClass, Lieu.class, "Lieu", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getLieu_Nom(), ecorePackage.getEString(), "nom", null, 0, 1, Lieu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getLieu_Deposable(), this.getCondition(), null, "deposable", null, 0, 1, Lieu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getLieu_Depart(), this.getCondition(), null, "depart", null, 0, 1, Lieu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getLieu_Fin(), this.getCondition(), null, "fin", null, 0, 1, Lieu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getLieu_Personnes(), ecorePackage.getEString(), "personnes", null, 0, -1, Lieu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getLieu_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, Lieu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getLieu_Objets(), ecorePackage.getEString(), "objets", null, 0, -1, Lieu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getLieu_Connaissances(), ecorePackage.getEString(), "connaissances", null, 0, -1, Lieu.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(cheminEClass, Chemin.class, "Chemin", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getChemin_LieuIn(), ecorePackage.getEString(), "lieuIn", null, 0, 1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getChemin_LieuOut(), ecorePackage.getEString(), "lieuOut", null, 0, 1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getChemin_Ouvert(), this.getCondition(), null, "ouvert", null, 0, 1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getChemin_Visible(), this.getCondition(), null, "visible", null, 0, 1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getChemin_Obligatoire(), this.getCondition(), null, "obligatoire", null, 0, 1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getChemin_Connaissances(), ecorePackage.getEString(), "connaissances", null, 0, -1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getChemin_ObjetsRecus(), ecorePackage.getEString(), "objetsRecus", null, 0, -1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getChemin_ObjetsConso(), ecorePackage.getEString(), "objetsConso", null, 0, -1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getChemin_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, Chemin.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(objetEClass, Objet.class, "Objet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getObjet_Nom(), ecorePackage.getEString(), "nom", null, 0, 1, Objet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getObjet_Taille(), ecorePackage.getEInt(), "taille", null, 0, 1, Objet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getObjet_Visible(), this.getCondition(), null, "visible", null, 0, 1, Objet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getObjet_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, Objet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(transformationEClass, Transformation.class, "Transformation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEReference(getTransformation_Condition(), this.getCondition(), null, "condition", null, 0, 1, Transformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getTransformation_ObjetsIn(), ecorePackage.getEString(), "objetsIn", null, 0, -1, Transformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getTransformation_ObjetsOut(), ecorePackage.getEString(), "objetsOut", null, 0, -1, Transformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(connaissanceEClass, Connaissance.class, "Connaissance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getConnaissance_Nom(), ecorePackage.getEString(), "nom", null, 0, 1, Connaissance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getConnaissance_Visible(), this.getCondition(), null, "visible", null, 0, 1, Connaissance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getConnaissance_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, Connaissance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(personneEClass, Personne.class, "Personne", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getPersonne_Nom(), ecorePackage.getEString(), "nom", null, 0, 1, Personne.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getPersonne_Visible(), this.getCondition(), null, "visible", null, 0, 1, Personne.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getPersonne_Obligatoire(), this.getCondition(), null, "obligatoire", null, 0, 1, Personne.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getPersonne_Interactions(), this.getInteraction(), null, "interactions", null, 0, -1, Personne.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(interactionEClass, Interaction.class, "Interaction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEReference(getInteraction_Visible(), this.getCondition(), null, "visible", null, 0, 1, Interaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getInteraction_Connaissances(), ecorePackage.getEString(), "connaissances", null, 0, -1, Interaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getInteraction_ObjetsRecus(), ecorePackage.getEString(), "objetsRecus", null, 0, -1, Interaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getInteraction_ObjetsConso(), ecorePackage.getEString(), "objetsConso", null, 0, -1, Interaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getInteraction_Actions(), this.getAction(), null, "actions", null, 0, -1, Interaction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(actionEClass, Action.class, "Action", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEReference(getAction_Visible(), this.getCondition(), null, "visible", null, 0, 1, Action.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getAction_FinInteraction(), this.getCondition(), null, "finInteraction", null, 0, 1, Action.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getAction_Connaissances(), ecorePackage.getEString(), "connaissances", null, 0, -1, Action.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getAction_ObjetsRecus(), ecorePackage.getEString(), "objetsRecus", null, 0, -1, Action.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getAction_ObjetsConso(), ecorePackage.getEString(), "objetsConso", null, 0, -1, Action.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getAction_Descriptions(), this.getDescription(), null, "descriptions", null, 0, -1, Action.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(descriptionEClass, Description.class, "Description", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getDescription_Texte(), ecorePackage.getEString(), "texte", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEReference(getDescription_Condition(), this.getCondition(), null, "condition", null, 0, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(conditionEClass, Condition.class, "Condition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEReference(getCondition_Condition(), this.getConditionEt(), null, "condition", null, 0, -1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(conditionEtEClass, ConditionEt.class, "ConditionEt", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEReference(getConditionEt_ConditionTest(), this.getConditionTest(), null, "conditionTest", null, 0, -1, ConditionEt.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(conditionTestEClass, ConditionTest.class, "ConditionTest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
|
|
initEClass(conditionConnaissanceEClass, ConditionConnaissance.class, "ConditionConnaissance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getConditionConnaissance_Connaissance(), ecorePackage.getEString(), "connaissance", null, 0, 1, ConditionConnaissance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(notConditionConnaissanceEClass, NOTConditionConnaissance.class, "NOTConditionConnaissance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getNOTConditionConnaissance_Connaissance(), ecorePackage.getEString(), "connaissance", null, 0, 1, NOTConditionConnaissance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
initEClass(conditionObjetEClass, ConditionObjet.class, "ConditionObjet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
|
|
initEAttribute(getConditionObjet_Objet(), ecorePackage.getEString(), "objet", null, 0, 1, ConditionObjet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getConditionObjet_Comparateur(), ecorePackage.getEString(), "comparateur", null, 0, 1, ConditionObjet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
initEAttribute(getConditionObjet_Nombre(), ecorePackage.getEInt(), "nombre", null, 0, 1, ConditionObjet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
|
|
|
|
// Create resource
|
|
createResource(eNS_URI);
|
|
}
|
|
|
|
} //GAMEPackageImpl
|