| /******************************************************************************* | |
| * Copyright (c) 2009 The University of York. | |
| * This program and the accompanying materials | |
| * are made available under the terms of the Eclipse Public License 2.0 | |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ | |
| * | |
| * Contributors: | |
| * Dimitrios Kolovos - initial API and implementation | |
| ******************************************************************************/ | |
| /** | |
| * <copyright> | |
| * </copyright> | |
| * | |
| * $Id$ | |
| */ | |
| package friends; | |
| import org.eclipse.emf.ecore.EAttribute; | |
| import org.eclipse.emf.ecore.EClass; | |
| import org.eclipse.emf.ecore.EPackage; | |
| import org.eclipse.emf.ecore.EReference; | |
| /** | |
| * <!-- begin-user-doc --> | |
| * The <b>Package</b> for the model. | |
| * It contains accessors for the meta objects to represent | |
| * <ul> | |
| * <li>each class,</li> | |
| * <li>each feature of each class,</li> | |
| * <li>each enum,</li> | |
| * <li>and each data type</li> | |
| * </ul> | |
| * <!-- end-user-doc --> | |
| * @see friends.FriendsFactory | |
| * @model kind="package" | |
| * @generated | |
| */ | |
| public interface FriendsPackage extends EPackage { | |
| /** | |
| * The package name. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| String eNAME = "friends"; | |
| /** | |
| * The package namespace URI. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| String eNS_URI = "friends"; | |
| /** | |
| * The package namespace name. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| String eNS_PREFIX = ""; | |
| /** | |
| * The singleton instance of the package. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| FriendsPackage eINSTANCE = friends.impl.FriendsPackageImpl.init(); | |
| /** | |
| * The meta object id for the '{@link friends.impl.WorldImpl <em>World</em>}' class. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @see friends.impl.WorldImpl | |
| * @see friends.impl.FriendsPackageImpl#getWorld() | |
| * @generated | |
| */ | |
| int WORLD = 0; | |
| /** | |
| * The feature id for the '<em><b>People</b></em>' containment reference list. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| * @ordered | |
| */ | |
| int WORLD__PEOPLE = 0; | |
| /** | |
| * The number of structural features of the '<em>World</em>' class. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| * @ordered | |
| */ | |
| int WORLD_FEATURE_COUNT = 1; | |
| /** | |
| * The meta object id for the '{@link friends.impl.PersonImpl <em>Person</em>}' class. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @see friends.impl.PersonImpl | |
| * @see friends.impl.FriendsPackageImpl#getPerson() | |
| * @generated | |
| */ | |
| int PERSON = 1; | |
| /** | |
| * The feature id for the '<em><b>Name</b></em>' attribute. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| * @ordered | |
| */ | |
| int PERSON__NAME = 0; | |
| /** | |
| * The feature id for the '<em><b>Friend Of</b></em>' reference list. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| * @ordered | |
| */ | |
| int PERSON__FRIEND_OF = 1; | |
| /** | |
| * The feature id for the '<em><b>Enemy Of</b></em>' reference list. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| * @ordered | |
| */ | |
| int PERSON__ENEMY_OF = 2; | |
| /** | |
| * The number of structural features of the '<em>Person</em>' class. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| * @ordered | |
| */ | |
| int PERSON_FEATURE_COUNT = 3; | |
| /** | |
| * Returns the meta object for class '{@link friends.World <em>World</em>}'. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @return the meta object for class '<em>World</em>'. | |
| * @see friends.World | |
| * @generated | |
| */ | |
| EClass getWorld(); | |
| /** | |
| * Returns the meta object for the containment reference list '{@link friends.World#getPeople <em>People</em>}'. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @return the meta object for the containment reference list '<em>People</em>'. | |
| * @see friends.World#getPeople() | |
| * @see #getWorld() | |
| * @generated | |
| */ | |
| EReference getWorld_People(); | |
| /** | |
| * Returns the meta object for class '{@link friends.Person <em>Person</em>}'. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @return the meta object for class '<em>Person</em>'. | |
| * @see friends.Person | |
| * @generated | |
| */ | |
| EClass getPerson(); | |
| /** | |
| * Returns the meta object for the attribute '{@link friends.Person#getName <em>Name</em>}'. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @return the meta object for the attribute '<em>Name</em>'. | |
| * @see friends.Person#getName() | |
| * @see #getPerson() | |
| * @generated | |
| */ | |
| EAttribute getPerson_Name(); | |
| /** | |
| * Returns the meta object for the reference list '{@link friends.Person#getFriendOf <em>Friend Of</em>}'. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @return the meta object for the reference list '<em>Friend Of</em>'. | |
| * @see friends.Person#getFriendOf() | |
| * @see #getPerson() | |
| * @generated | |
| */ | |
| EReference getPerson_FriendOf(); | |
| /** | |
| * Returns the meta object for the reference list '{@link friends.Person#getEnemyOf <em>Enemy Of</em>}'. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @return the meta object for the reference list '<em>Enemy Of</em>'. | |
| * @see friends.Person#getEnemyOf() | |
| * @see #getPerson() | |
| * @generated | |
| */ | |
| EReference getPerson_EnemyOf(); | |
| /** | |
| * Returns the factory that creates the instances of the model. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @return the factory that creates the instances of the model. | |
| * @generated | |
| */ | |
| FriendsFactory getFriendsFactory(); | |
| /** | |
| * <!-- begin-user-doc --> | |
| * Defines literals for the meta objects that represent | |
| * <ul> | |
| * <li>each class,</li> | |
| * <li>each feature of each class,</li> | |
| * <li>each enum,</li> | |
| * <li>and each data type</li> | |
| * </ul> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| interface Literals { | |
| /** | |
| * The meta object literal for the '{@link friends.impl.WorldImpl <em>World</em>}' class. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @see friends.impl.WorldImpl | |
| * @see friends.impl.FriendsPackageImpl#getWorld() | |
| * @generated | |
| */ | |
| EClass WORLD = eINSTANCE.getWorld(); | |
| /** | |
| * The meta object literal for the '<em><b>People</b></em>' containment reference list feature. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| EReference WORLD__PEOPLE = eINSTANCE.getWorld_People(); | |
| /** | |
| * The meta object literal for the '{@link friends.impl.PersonImpl <em>Person</em>}' class. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @see friends.impl.PersonImpl | |
| * @see friends.impl.FriendsPackageImpl#getPerson() | |
| * @generated | |
| */ | |
| EClass PERSON = eINSTANCE.getPerson(); | |
| /** | |
| * The meta object literal for the '<em><b>Name</b></em>' attribute feature. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| EAttribute PERSON__NAME = eINSTANCE.getPerson_Name(); | |
| /** | |
| * The meta object literal for the '<em><b>Friend Of</b></em>' reference list feature. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| EReference PERSON__FRIEND_OF = eINSTANCE.getPerson_FriendOf(); | |
| /** | |
| * The meta object literal for the '<em><b>Enemy Of</b></em>' reference list feature. | |
| * <!-- begin-user-doc --> | |
| * <!-- end-user-doc --> | |
| * @generated | |
| */ | |
| EReference PERSON__ENEMY_OF = eINSTANCE.getPerson_EnemyOf(); | |
| } | |
| } //FriendsPackage |