Interface SocialNetworkPackage

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EPackage, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
SocialNetworkPackageImpl

public interface SocialNetworkPackage
extends org.eclipse.emf.ecore.EPackage
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 Also:
SocialNetworkFactory
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static interface  SocialNetworkPackage.Literals
    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

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage

    org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.Registry
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int COMMENT
    The meta object id for the 'Comment' class.
    static int COMMENT__COMMENTED
    The feature id for the 'Commented' container reference.
    static int COMMENT__COMMENTS
    The feature id for the 'Comments' containment reference list.
    static int COMMENT__CONTENT
    The feature id for the 'Content' attribute.
    static int COMMENT__ID
    The feature id for the 'Id' attribute.
    static int COMMENT__LIKED_BY
    The feature id for the 'Liked By' reference list.
    static int COMMENT__POST
    The feature id for the 'Post' reference.
    static int COMMENT__SUBMITTER
    The feature id for the 'Submitter' reference.
    static int COMMENT__TIMESTAMP
    The feature id for the 'Timestamp' attribute.
    static int COMMENT_FEATURE_COUNT
    The number of structural features of the 'Comment' class.
    static int COMMENT_OPERATION_COUNT
    The number of operations of the 'Comment' class.
    static SocialNetworkPackage eINSTANCE
    The singleton instance of the package.
    static java.lang.String eNAME
    The package name.
    static java.lang.String eNS_PREFIX
    The package namespace name.
    static java.lang.String eNS_URI
    The package namespace URI.
    static int POST
    The meta object id for the 'Post' class.
    static int POST__COMMENTS
    The feature id for the 'Comments' containment reference list.
    static int POST__CONTENT
    The feature id for the 'Content' attribute.
    static int POST__ID
    The feature id for the 'Id' attribute.
    static int POST__SUBMITTER
    The feature id for the 'Submitter' reference.
    static int POST__TIMESTAMP
    The feature id for the 'Timestamp' attribute.
    static int POST_FEATURE_COUNT
    The number of structural features of the 'Post' class.
    static int POST_OPERATION_COUNT
    The number of operations of the 'Post' class.
    static int SOCIAL_NETWORK_ROOT
    The meta object id for the 'Root' class.
    static int SOCIAL_NETWORK_ROOT__POSTS
    The feature id for the 'Posts' containment reference list.
    static int SOCIAL_NETWORK_ROOT__USERS
    The feature id for the 'Users' containment reference list.
    static int SOCIAL_NETWORK_ROOT_FEATURE_COUNT
    The number of structural features of the 'Root' class.
    static int SOCIAL_NETWORK_ROOT_OPERATION_COUNT
    The number of operations of the 'Root' class.
    static int SUBMISSION
    The meta object id for the 'Submission' class.
    static int SUBMISSION__COMMENTS
    The feature id for the 'Comments' containment reference list.
    static int SUBMISSION__CONTENT
    The feature id for the 'Content' attribute.
    static int SUBMISSION__ID
    The feature id for the 'Id' attribute.
    static int SUBMISSION__SUBMITTER
    The feature id for the 'Submitter' reference.
    static int SUBMISSION__TIMESTAMP
    The feature id for the 'Timestamp' attribute.
    static int SUBMISSION_FEATURE_COUNT
    The number of structural features of the 'Submission' class.
    static int SUBMISSION_OPERATION_COUNT
    The number of operations of the 'Submission' class.
    static int USER
    The meta object id for the 'User' class.
    static int USER__FRIENDS
    The feature id for the 'Friends' reference list.
    static int USER__ID
    The feature id for the 'Id' attribute.
    static int USER__LIKES
    The feature id for the 'Likes' reference list.
    static int USER__NAME
    The feature id for the 'Name' attribute.
    static int USER__SUBMISSIONS
    The feature id for the 'Submissions' reference list.
    static int USER_FEATURE_COUNT
    The number of structural features of the 'User' class.
    static int USER_OPERATION_COUNT
    The number of operations of the 'User' class.
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.emf.ecore.EClass getComment()
    Returns the meta object for class 'Comment'.
    org.eclipse.emf.ecore.EReference getComment_Commented()
    Returns the meta object for the container reference 'Commented'.
    org.eclipse.emf.ecore.EReference getComment_LikedBy()
    Returns the meta object for the reference list 'Liked By'.
    org.eclipse.emf.ecore.EReference getComment_Post()
    Returns the meta object for the reference 'Post'.
    org.eclipse.emf.ecore.EClass getPost()
    Returns the meta object for class 'Post'.
    SocialNetworkFactory getSocialNetworkFactory()
    Returns the factory that creates the instances of the model.
    org.eclipse.emf.ecore.EClass getSocialNetworkRoot()
    Returns the meta object for class 'Root'.
    org.eclipse.emf.ecore.EReference getSocialNetworkRoot_Posts()
    Returns the meta object for the containment reference list 'Posts'.
    org.eclipse.emf.ecore.EReference getSocialNetworkRoot_Users()
    Returns the meta object for the containment reference list 'Users'.
    org.eclipse.emf.ecore.EClass getSubmission()
    Returns the meta object for class 'Submission'.
    org.eclipse.emf.ecore.EReference getSubmission_Comments()
    Returns the meta object for the containment reference list 'Comments'.
    org.eclipse.emf.ecore.EAttribute getSubmission_Content()
    Returns the meta object for the attribute 'Content'.
    org.eclipse.emf.ecore.EAttribute getSubmission_Id()
    Returns the meta object for the attribute 'Id'.
    org.eclipse.emf.ecore.EReference getSubmission_Submitter()
    Returns the meta object for the reference 'Submitter'.
    org.eclipse.emf.ecore.EAttribute getSubmission_Timestamp()
    Returns the meta object for the attribute 'Timestamp'.
    org.eclipse.emf.ecore.EClass getUser()
    Returns the meta object for class 'User'.
    org.eclipse.emf.ecore.EReference getUser_Friends()
    Returns the meta object for the reference list 'Friends'.
    org.eclipse.emf.ecore.EAttribute getUser_Id()
    Returns the meta object for the attribute 'Id'.
    org.eclipse.emf.ecore.EReference getUser_Likes()
    Returns the meta object for the reference list 'Likes'.
    org.eclipse.emf.ecore.EAttribute getUser_Name()
    Returns the meta object for the attribute 'Name'.
    org.eclipse.emf.ecore.EReference getUser_Submissions()
    Returns the meta object for the reference list 'Submissions'.

    Methods inherited from interface org.eclipse.emf.ecore.EModelElement

    getEAnnotation, getEAnnotations

    Methods inherited from interface org.eclipse.emf.ecore.ENamedElement

    getName, setName

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.ecore.EPackage

    getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver