Package org.atlanmod.zoo.socialnetwork
Interface SocialNetworkFactory
- All Superinterfaces:
org.eclipse.emf.ecore.EFactory,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
SocialNetworkFactoryImpl
public interface SocialNetworkFactory
extends org.eclipse.emf.ecore.EFactory
The Factory for the model.
It provides a create method for each non-abstract class of the model.
- See Also:
SocialNetworkPackage
-
Field Summary
Fields Modifier and Type Field Description static SocialNetworkFactoryeINSTANCEThe singleton instance of the factory. -
Method Summary
Modifier and Type Method Description CommentcreateComment()Returns a new object of class 'Comment'.PostcreatePost()Returns a new object of class 'Post'.SocialNetworkRootcreateSocialNetworkRoot()Returns a new object of class 'Root'.UsercreateUser()Returns a new object of class 'User'.SocialNetworkPackagegetSocialNetworkPackage()Returns the package supported by this factory.Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, getEPackage, setEPackageMethods 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, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
eINSTANCE
The singleton instance of the factory.
-
-
Method Details
-
createPost
Post createPost()Returns a new object of class 'Post'.- Returns:
- a new object of class 'Post'.
-
createComment
Comment createComment()Returns a new object of class 'Comment'.- Returns:
- a new object of class 'Comment'.
-
createUser
User createUser()Returns a new object of class 'User'.- Returns:
- a new object of class 'User'.
-
createSocialNetworkRoot
SocialNetworkRoot createSocialNetworkRoot()Returns a new object of class 'Root'.- Returns:
- a new object of class 'Root'.
-
getSocialNetworkPackage
SocialNetworkPackage getSocialNetworkPackage()Returns the package supported by this factory.- Returns:
- the package supported by this factory.
-