Package org.atlanmod.zoo.socialnetwork
Interface User
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
UserImpl
public interface User
extends org.eclipse.emf.ecore.EObject
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.java.lang.StringgetId()Returns the value of the 'Id' attribute.org.eclipse.emf.common.util.EList<Comment>getLikes()Returns the value of the 'Likes' reference list.java.lang.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(java.lang.String value)Sets the value of the 'Id' attribute.voidsetName(java.lang.String value)Sets the value of the 'Name' attribute.
-
Method Details
-
getId
java.lang.String getId()Returns the value of the 'Id' attribute.- Returns:
- the value of the 'Id' attribute.
- See Also:
setId(String),SocialNetworkPackage.getUser_Id()
-
setId
void setId(java.lang.String value)Sets the value of the 'Id' attribute.- Parameters:
value- the new value of the 'Id' attribute.- See Also:
getId()
-
getName
java.lang.String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String),SocialNetworkPackage.getUser_Name()
-
setName
void setName(java.lang.String value)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()
-