Package org.atlanmod.zoo.socialnetwork
Interface User
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,Serializable,SerializableEObject
- All Known Implementing Classes:
UserImpl
public interface User extends SerializableEObject
A representation of the model object 'User'.
The following features are supported:
- See Also:
SocialNetworkPackage.getUser()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<User>getFriends()Returns the value of the 'Friends' reference list.StringgetId()Returns the value of the 'Id' attribute.org.eclipse.emf.common.util.EList<Comment>getLikes()Returns the value of the 'Likes' reference list.StringgetName()Returns the value of the 'Name' attribute.org.eclipse.emf.common.util.EList<Submission>getSubmissions()Returns the value of the 'Submissions' reference list.voidsetId(String value)Sets the value of the 'Id' attribute.voidsetName(String value)Sets the value of the 'Name' attribute.Methods 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
-
Method Details
-
getId
String getId()Returns the value of the 'Id' attribute.- Returns:
- the value of the 'Id' attribute.
- See Also:
setId(String),SocialNetworkPackage.getUser_Id()
-
setId
Sets the value of the 'Id' attribute.- Parameters:
value- the new value of the 'Id' attribute.- See Also:
getId()
-
getName
String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),SocialNetworkPackage.getUser_Name()
-
setName
Sets the value of the 'Name' attribute.- Parameters:
value- the new value of the 'Name' attribute.- See Also:
getName()
-
getSubmissions
org.eclipse.emf.common.util.EList<Submission> getSubmissions()Returns the value of the 'Submissions' reference list. The list contents are of typeSubmission. It is bidirectional and its opposite is 'Submitter'.- Returns:
- the value of the 'Submissions' reference list.
- See Also:
SocialNetworkPackage.getUser_Submissions(),Submission.getSubmitter()
-
getLikes
org.eclipse.emf.common.util.EList<Comment> getLikes()Returns the value of the 'Likes' reference list. The list contents are of typeComment. It is bidirectional and its opposite is 'Liked By'.- Returns:
- the value of the 'Likes' reference list.
- See Also:
SocialNetworkPackage.getUser_Likes(),Comment.getLikedBy()
-
getFriends
org.eclipse.emf.common.util.EList<User> getFriends()Returns the value of the 'Friends' reference list. The list contents are of typeUser.- Returns:
- the value of the 'Friends' reference list.
- See Also:
SocialNetworkPackage.getUser_Friends()
-