Class SocialNetworkPackageImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ecore.impl.EPackageImpl
org.atlanmod.zoo.socialnetwork.impl.SocialNetworkPackageImpl
- All Implemented Interfaces:
SocialNetworkPackage,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.ENamedElement,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder
public class SocialNetworkPackageImpl extends org.eclipse.emf.ecore.impl.EPackageImpl implements SocialNetworkPackage
An implementation of the model Package.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
org.eclipse.emf.ecore.impl.EPackageImpl.EBasicWhiteListNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.RegistryNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStoreNested classes/interfaces inherited from interface org.atlanmod.zoo.socialnetwork.SocialNetworkPackage
SocialNetworkPackage.Literals -
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
eClassifiers, ecoreFactory, ecorePackage, eFactoryInstance, eNameToEClassifierMap, ePackageExtendedMetaData, eSubpackages, IS_ABSTRACT, IS_CHANGEABLE, IS_COMPOSITE, IS_DERIVED, IS_GENERATED_INSTANCE_CLASS, IS_ID, IS_INTERFACE, IS_ORDERED, IS_RESOLVABLE, IS_RESOLVE_PROXIES, IS_SERIALIZABLE, IS_TRANSIENT, IS_UNIQUE, IS_UNSETTABLE, IS_VOLATILE, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURIFields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.atlanmod.zoo.socialnetwork.SocialNetworkPackage
COMMENT, COMMENT__COMMENTED, COMMENT__COMMENTS, COMMENT__CONTENT, COMMENT__ID, COMMENT__LIKED_BY, COMMENT__POST, COMMENT__SUBMITTER, COMMENT__TIMESTAMP, COMMENT_FEATURE_COUNT, COMMENT_OPERATION_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, POST, POST__COMMENTS, POST__CONTENT, POST__ID, POST__SUBMITTER, POST__TIMESTAMP, POST_FEATURE_COUNT, POST_OPERATION_COUNT, SOCIAL_NETWORK_ROOT, SOCIAL_NETWORK_ROOT__POSTS, SOCIAL_NETWORK_ROOT__USERS, SOCIAL_NETWORK_ROOT_FEATURE_COUNT, SOCIAL_NETWORK_ROOT_OPERATION_COUNT, SUBMISSION, SUBMISSION__COMMENTS, SUBMISSION__CONTENT, SUBMISSION__ID, SUBMISSION__SUBMITTER, SUBMISSION__TIMESTAMP, SUBMISSION_FEATURE_COUNT, SUBMISSION_OPERATION_COUNT, USER, USER__FRIENDS, USER__ID, USER__LIKES, USER__NAME, USER__SUBMISSIONS, USER_FEATURE_COUNT, USER_OPERATION_COUNT -
Method Summary
Modifier and Type Method Description voidcreatePackageContents()Creates the meta-model objects for the package.org.eclipse.emf.ecore.EClassgetComment()org.eclipse.emf.ecore.EReferencegetComment_Commented()org.eclipse.emf.ecore.EReferencegetComment_LikedBy()org.eclipse.emf.ecore.EReferencegetComment_Post()org.eclipse.emf.ecore.EClassgetPost()SocialNetworkFactorygetSocialNetworkFactory()org.eclipse.emf.ecore.EClassgetSocialNetworkRoot()org.eclipse.emf.ecore.EReferencegetSocialNetworkRoot_Posts()org.eclipse.emf.ecore.EReferencegetSocialNetworkRoot_Users()org.eclipse.emf.ecore.EClassgetSubmission()org.eclipse.emf.ecore.EReferencegetSubmission_Comments()org.eclipse.emf.ecore.EAttributegetSubmission_Content()org.eclipse.emf.ecore.EAttributegetSubmission_Id()org.eclipse.emf.ecore.EReferencegetSubmission_Submitter()org.eclipse.emf.ecore.EAttributegetSubmission_Timestamp()org.eclipse.emf.ecore.EClassgetUser()org.eclipse.emf.ecore.EReferencegetUser_Friends()org.eclipse.emf.ecore.EAttributegetUser_Id()org.eclipse.emf.ecore.EReferencegetUser_Likes()org.eclipse.emf.ecore.EAttributegetUser_Name()org.eclipse.emf.ecore.EReferencegetUser_Submissions()static SocialNetworkPackageinit()Creates, registers, and initializes the Package for this model, and for any others upon which it depends.voidinitializePackageContents()Complete the initialization of the package and its meta-model.Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addAnnotation, addAnnotation, addEEnumLiteral, addEException, addEException, addEOperation, addEOperation, addEOperation, addEParameter, addEParameter, addEParameter, addEParameter, addEParameter, addETypeParameter, addETypeParameter, basicGetESuperPackage, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEGenericType, createEGenericType, createEGenericType, createEOperation, createEReference, createResource, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eSetProxyURI, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEOperations, fixEStructuralFeatures, fixInstanceClass, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEClass, initEClass, initEClass, initEDataType, initEDataType, initEDataType, initEEnum, initEOperation, initEOperation, initEOperation, initEOperation, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setInstanceTypeName, setName, setNamespaceURI, setNsPrefix, setNsURI, toStringMethods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGenMethods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozenMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotationsMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Method Details
-
init
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.This method is used to initialize
SocialNetworkPackage.eINSTANCEwhen that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. -
getSubmission
public org.eclipse.emf.ecore.EClass getSubmission()- Specified by:
getSubmissionin interfaceSocialNetworkPackage- Returns:
- the meta object for class 'Submission'.
- See Also:
Submission
-
getSubmission_Id
public org.eclipse.emf.ecore.EAttribute getSubmission_Id()- Specified by:
getSubmission_Idin interfaceSocialNetworkPackage- Returns:
- the meta object for the attribute 'Id'.
- See Also:
Submission.getId(),SocialNetworkPackage.getSubmission()
-
getSubmission_Timestamp
public org.eclipse.emf.ecore.EAttribute getSubmission_Timestamp()- Specified by:
getSubmission_Timestampin interfaceSocialNetworkPackage- Returns:
- the meta object for the attribute 'Timestamp'.
- See Also:
Submission.getTimestamp(),SocialNetworkPackage.getSubmission()
-
getSubmission_Content
public org.eclipse.emf.ecore.EAttribute getSubmission_Content()- Specified by:
getSubmission_Contentin interfaceSocialNetworkPackage- Returns:
- the meta object for the attribute 'Content'.
- See Also:
Submission.getContent(),SocialNetworkPackage.getSubmission()
-
getSubmission_Submitter
public org.eclipse.emf.ecore.EReference getSubmission_Submitter()- Specified by:
getSubmission_Submitterin interfaceSocialNetworkPackage- Returns:
- the meta object for the reference 'Submitter'.
- See Also:
Submission.getSubmitter(),SocialNetworkPackage.getSubmission()
-
getSubmission_Comments
public org.eclipse.emf.ecore.EReference getSubmission_Comments()- Specified by:
getSubmission_Commentsin interfaceSocialNetworkPackage- Returns:
- the meta object for the containment reference list 'Comments'.
- See Also:
Submission.getComments(),SocialNetworkPackage.getSubmission()
-
getPost
public org.eclipse.emf.ecore.EClass getPost()- Specified by:
getPostin interfaceSocialNetworkPackage- Returns:
- the meta object for class 'Post'.
- See Also:
Post
-
getComment
public org.eclipse.emf.ecore.EClass getComment()- Specified by:
getCommentin interfaceSocialNetworkPackage- Returns:
- the meta object for class 'Comment'.
- See Also:
Comment
-
getComment_Commented
public org.eclipse.emf.ecore.EReference getComment_Commented()- Specified by:
getComment_Commentedin interfaceSocialNetworkPackage- Returns:
- the meta object for the container reference 'Commented'.
- See Also:
Comment.getCommented(),SocialNetworkPackage.getComment()
-
getComment_LikedBy
public org.eclipse.emf.ecore.EReference getComment_LikedBy()- Specified by:
getComment_LikedByin interfaceSocialNetworkPackage- Returns:
- the meta object for the reference list 'Liked By'.
- See Also:
Comment.getLikedBy(),SocialNetworkPackage.getComment()
-
getComment_Post
public org.eclipse.emf.ecore.EReference getComment_Post()- Specified by:
getComment_Postin interfaceSocialNetworkPackage- Returns:
- the meta object for the reference 'Post'.
- See Also:
Comment.getPost(),SocialNetworkPackage.getComment()
-
getUser
public org.eclipse.emf.ecore.EClass getUser()- Specified by:
getUserin interfaceSocialNetworkPackage- Returns:
- the meta object for class 'User'.
- See Also:
User
-
getUser_Id
public org.eclipse.emf.ecore.EAttribute getUser_Id()- Specified by:
getUser_Idin interfaceSocialNetworkPackage- Returns:
- the meta object for the attribute 'Id'.
- See Also:
User.getId(),SocialNetworkPackage.getUser()
-
getUser_Name
public org.eclipse.emf.ecore.EAttribute getUser_Name()- Specified by:
getUser_Namein interfaceSocialNetworkPackage- Returns:
- the meta object for the attribute 'Name'.
- See Also:
User.getName(),SocialNetworkPackage.getUser()
-
getUser_Submissions
public org.eclipse.emf.ecore.EReference getUser_Submissions()- Specified by:
getUser_Submissionsin interfaceSocialNetworkPackage- Returns:
- the meta object for the reference list 'Submissions'.
- See Also:
User.getSubmissions(),SocialNetworkPackage.getUser()
-
getUser_Likes
public org.eclipse.emf.ecore.EReference getUser_Likes()- Specified by:
getUser_Likesin interfaceSocialNetworkPackage- Returns:
- the meta object for the reference list 'Likes'.
- See Also:
User.getLikes(),SocialNetworkPackage.getUser()
-
getUser_Friends
public org.eclipse.emf.ecore.EReference getUser_Friends()- Specified by:
getUser_Friendsin interfaceSocialNetworkPackage- Returns:
- the meta object for the reference list 'Friends'.
- See Also:
User.getFriends(),SocialNetworkPackage.getUser()
-
getSocialNetworkRoot
public org.eclipse.emf.ecore.EClass getSocialNetworkRoot()- Specified by:
getSocialNetworkRootin interfaceSocialNetworkPackage- Returns:
- the meta object for class 'Root'.
- See Also:
SocialNetworkRoot
-
getSocialNetworkRoot_Posts
public org.eclipse.emf.ecore.EReference getSocialNetworkRoot_Posts()- Specified by:
getSocialNetworkRoot_Postsin interfaceSocialNetworkPackage- Returns:
- the meta object for the containment reference list 'Posts'.
- See Also:
SocialNetworkRoot.getPosts(),SocialNetworkPackage.getSocialNetworkRoot()
-
getSocialNetworkRoot_Users
public org.eclipse.emf.ecore.EReference getSocialNetworkRoot_Users()- Specified by:
getSocialNetworkRoot_Usersin interfaceSocialNetworkPackage- Returns:
- the meta object for the containment reference list 'Users'.
- See Also:
SocialNetworkRoot.getUsers(),SocialNetworkPackage.getSocialNetworkRoot()
-
getSocialNetworkFactory
- Specified by:
getSocialNetworkFactoryin interfaceSocialNetworkPackage- Returns:
- the factory that creates the instances of the model.
-
createPackageContents
public void createPackageContents()Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first. -
initializePackageContents
public void initializePackageContents()Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.
-