/**
*/
package socialnetwork;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
*
* The Package for the model.
* It contains accessors for the meta objects to represent
*
* - each class,
* - each feature of each class,
* - each operation of each class,
* - each enum,
* - and each data type
*
*
* @see socialnetwork.SocialnetworkFactory
* @model kind="package"
* annotation="http://www.eclipse.org/emf/2002/Ecore"
* @generated
*/
public interface SocialnetworkPackage extends EPackage {
/**
* The package name.
*
*
* @generated
*/
String eNAME = "socialnetwork";
/**
* The package namespace URI.
*
*
* @generated
*/
String eNS_URI = "http://ecse.mcgill.ca/socialnetwork";
/**
* The package namespace name.
*
*
* @generated
*/
String eNS_PREFIX = "socialnetwork";
/**
* The singleton instance of the package.
*
*
* @generated
*/
SocialnetworkPackage eINSTANCE = socialnetwork.impl.SocialnetworkPackageImpl.init();
/**
* The meta object id for the '{@link socialnetwork.impl.SocialNetworkImpl Social Network}' class.
*
*
* @see socialnetwork.impl.SocialNetworkImpl
* @see socialnetwork.impl.SocialnetworkPackageImpl#getSocialNetwork()
* @generated
*/
int SOCIAL_NETWORK = 0;
/**
* The feature id for the 'Name' attribute.
*
*
* @generated
* @ordered
*/
int SOCIAL_NETWORK__NAME = 0;
/**
* The feature id for the 'Persons' containment reference list.
*
*
* @generated
* @ordered
*/
int SOCIAL_NETWORK__PERSONS = 1;
/**
* The number of structural features of the 'Social Network' class.
*
*
* @generated
* @ordered
*/
int SOCIAL_NETWORK_FEATURE_COUNT = 2;
/**
* The number of operations of the 'Social Network' class.
*
*
* @generated
* @ordered
*/
int SOCIAL_NETWORK_OPERATION_COUNT = 0;
/**
* The meta object id for the '{@link socialnetwork.impl.PersonImpl Person}' class.
*
*
* @see socialnetwork.impl.PersonImpl
* @see socialnetwork.impl.SocialnetworkPackageImpl#getPerson()
* @generated
*/
int PERSON = 1;
/**
* The feature id for the 'Friends' reference list.
*
*
* @generated
* @ordered
*/
int PERSON__FRIENDS = 0;
/**
* The feature id for the 'Name' attribute.
*
*
* @generated
* @ordered
*/
int PERSON__NAME = 1;
/**
* The number of structural features of the 'Person' class.
*
*
* @generated
* @ordered
*/
int PERSON_FEATURE_COUNT = 2;
/**
* The number of operations of the 'Person' class.
*
*
* @generated
* @ordered
*/
int PERSON_OPERATION_COUNT = 0;
/**
* Returns the meta object for class '{@link socialnetwork.SocialNetwork Social Network}'.
*
*
* @return the meta object for class 'Social Network'.
* @see socialnetwork.SocialNetwork
* @generated
*/
EClass getSocialNetwork();
/**
* Returns the meta object for the attribute '{@link socialnetwork.SocialNetwork#getName Name}'.
*
*
* @return the meta object for the attribute 'Name'.
* @see socialnetwork.SocialNetwork#getName()
* @see #getSocialNetwork()
* @generated
*/
EAttribute getSocialNetwork_Name();
/**
* Returns the meta object for the containment reference list '{@link socialnetwork.SocialNetwork#getPersons Persons}'.
*
*
* @return the meta object for the containment reference list 'Persons'.
* @see socialnetwork.SocialNetwork#getPersons()
* @see #getSocialNetwork()
* @generated
*/
EReference getSocialNetwork_Persons();
/**
* Returns the meta object for class '{@link socialnetwork.Person Person}'.
*
*
* @return the meta object for class 'Person'.
* @see socialnetwork.Person
* @generated
*/
EClass getPerson();
/**
* Returns the meta object for the reference list '{@link socialnetwork.Person#getFriends Friends}'.
*
*
* @return the meta object for the reference list 'Friends'.
* @see socialnetwork.Person#getFriends()
* @see #getPerson()
* @generated
*/
EReference getPerson_Friends();
/**
* Returns the meta object for the attribute '{@link socialnetwork.Person#getName Name}'.
*
*
* @return the meta object for the attribute 'Name'.
* @see socialnetwork.Person#getName()
* @see #getPerson()
* @generated
*/
EAttribute getPerson_Name();
/**
* Returns the factory that creates the instances of the model.
*
*
* @return the factory that creates the instances of the model.
* @generated
*/
SocialnetworkFactory getSocialnetworkFactory();
/**
*
* Defines literals for the meta objects that represent
*
* - each class,
* - each feature of each class,
* - each operation of each class,
* - each enum,
* - and each data type
*
*
* @generated
*/
interface Literals {
/**
* The meta object literal for the '{@link socialnetwork.impl.SocialNetworkImpl Social Network}' class.
*
*
* @see socialnetwork.impl.SocialNetworkImpl
* @see socialnetwork.impl.SocialnetworkPackageImpl#getSocialNetwork()
* @generated
*/
EClass SOCIAL_NETWORK = eINSTANCE.getSocialNetwork();
/**
* The meta object literal for the 'Name' attribute feature.
*
*
* @generated
*/
EAttribute SOCIAL_NETWORK__NAME = eINSTANCE.getSocialNetwork_Name();
/**
* The meta object literal for the 'Persons' containment reference list feature.
*
*
* @generated
*/
EReference SOCIAL_NETWORK__PERSONS = eINSTANCE.getSocialNetwork_Persons();
/**
* The meta object literal for the '{@link socialnetwork.impl.PersonImpl Person}' class.
*
*
* @see socialnetwork.impl.PersonImpl
* @see socialnetwork.impl.SocialnetworkPackageImpl#getPerson()
* @generated
*/
EClass PERSON = eINSTANCE.getPerson();
/**
* The meta object literal for the 'Friends' reference list feature.
*
*
* @generated
*/
EReference PERSON__FRIENDS = eINSTANCE.getPerson_Friends();
/**
* The meta object literal for the 'Name' attribute feature.
*
*
* @generated
*/
EAttribute PERSON__NAME = eINSTANCE.getPerson_Name();
}
} //SocialnetworkPackage