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 String eNAME
    The package name.
    static String eNS_PREFIX
    The package namespace name.
    static 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
  • Field Details

  • Method Details

    • getSubmission

      org.eclipse.emf.ecore.EClass getSubmission()
      Returns the meta object for class 'Submission'.
      Returns:
      the meta object for class 'Submission'.
      See Also:
      Submission
    • getSubmission_Id

      org.eclipse.emf.ecore.EAttribute getSubmission_Id()
      Returns the meta object for the attribute 'Id'.
      Returns:
      the meta object for the attribute 'Id'.
      See Also:
      Submission.getId(), getSubmission()
    • getSubmission_Timestamp

      org.eclipse.emf.ecore.EAttribute getSubmission_Timestamp()
      Returns the meta object for the attribute 'Timestamp'.
      Returns:
      the meta object for the attribute 'Timestamp'.
      See Also:
      Submission.getTimestamp(), getSubmission()
    • getSubmission_Content

      org.eclipse.emf.ecore.EAttribute getSubmission_Content()
      Returns the meta object for the attribute 'Content'.
      Returns:
      the meta object for the attribute 'Content'.
      See Also:
      Submission.getContent(), getSubmission()
    • getSubmission_Submitter

      org.eclipse.emf.ecore.EReference getSubmission_Submitter()
      Returns the meta object for the reference 'Submitter'.
      Returns:
      the meta object for the reference 'Submitter'.
      See Also:
      Submission.getSubmitter(), getSubmission()
    • getSubmission_Comments

      org.eclipse.emf.ecore.EReference getSubmission_Comments()
      Returns the meta object for the containment reference list 'Comments'.
      Returns:
      the meta object for the containment reference list 'Comments'.
      See Also:
      Submission.getComments(), getSubmission()
    • getPost

      org.eclipse.emf.ecore.EClass getPost()
      Returns the meta object for class 'Post'.
      Returns:
      the meta object for class 'Post'.
      See Also:
      Post
    • getComment

      org.eclipse.emf.ecore.EClass getComment()
      Returns the meta object for class 'Comment'.
      Returns:
      the meta object for class 'Comment'.
      See Also:
      Comment
    • getComment_Commented

      org.eclipse.emf.ecore.EReference getComment_Commented()
      Returns the meta object for the container reference 'Commented'.
      Returns:
      the meta object for the container reference 'Commented'.
      See Also:
      Comment.getCommented(), getComment()
    • getComment_LikedBy

      org.eclipse.emf.ecore.EReference getComment_LikedBy()
      Returns the meta object for the reference list 'Liked By'.
      Returns:
      the meta object for the reference list 'Liked By'.
      See Also:
      Comment.getLikedBy(), getComment()
    • getComment_Post

      org.eclipse.emf.ecore.EReference getComment_Post()
      Returns the meta object for the reference 'Post'.
      Returns:
      the meta object for the reference 'Post'.
      See Also:
      Comment.getPost(), getComment()
    • getUser

      org.eclipse.emf.ecore.EClass getUser()
      Returns the meta object for class 'User'.
      Returns:
      the meta object for class 'User'.
      See Also:
      User
    • getUser_Id

      org.eclipse.emf.ecore.EAttribute getUser_Id()
      Returns the meta object for the attribute 'Id'.
      Returns:
      the meta object for the attribute 'Id'.
      See Also:
      User.getId(), getUser()
    • getUser_Name

      org.eclipse.emf.ecore.EAttribute getUser_Name()
      Returns the meta object for the attribute 'Name'.
      Returns:
      the meta object for the attribute 'Name'.
      See Also:
      User.getName(), getUser()
    • getUser_Submissions

      org.eclipse.emf.ecore.EReference getUser_Submissions()
      Returns the meta object for the reference list 'Submissions'.
      Returns:
      the meta object for the reference list 'Submissions'.
      See Also:
      User.getSubmissions(), getUser()
    • getUser_Likes

      org.eclipse.emf.ecore.EReference getUser_Likes()
      Returns the meta object for the reference list 'Likes'.
      Returns:
      the meta object for the reference list 'Likes'.
      See Also:
      User.getLikes(), getUser()
    • getUser_Friends

      org.eclipse.emf.ecore.EReference getUser_Friends()
      Returns the meta object for the reference list 'Friends'.
      Returns:
      the meta object for the reference list 'Friends'.
      See Also:
      User.getFriends(), getUser()
    • getSocialNetworkRoot

      org.eclipse.emf.ecore.EClass getSocialNetworkRoot()
      Returns the meta object for class 'Root'.
      Returns:
      the meta object for class 'Root'.
      See Also:
      SocialNetworkRoot
    • getSocialNetworkRoot_Posts

      org.eclipse.emf.ecore.EReference getSocialNetworkRoot_Posts()
      Returns the meta object for the containment reference list 'Posts'.
      Returns:
      the meta object for the containment reference list 'Posts'.
      See Also:
      SocialNetworkRoot.getPosts(), getSocialNetworkRoot()
    • getSocialNetworkRoot_Users

      org.eclipse.emf.ecore.EReference getSocialNetworkRoot_Users()
      Returns the meta object for the containment reference list 'Users'.
      Returns:
      the meta object for the containment reference list 'Users'.
      See Also:
      SocialNetworkRoot.getUsers(), getSocialNetworkRoot()
    • getSocialNetworkFactory

      SocialNetworkFactory getSocialNetworkFactory()
      Returns the factory that creates the instances of the model.
      Returns:
      the factory that creates the instances of the model.