Package org.atlanmod.zoo.socialnetwork
Interface Comment
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,Submission
- All Known Implementing Classes:
CommentImpl
public interface Comment extends Submission
A representation of the model object 'Comment'.
The following features are supported:
- See Also:
SocialNetworkPackage.getComment()
-
Method Summary
Modifier and Type Method Description SubmissiongetCommented()Returns the value of the 'Commented' container reference.org.eclipse.emf.common.util.EList<User>getLikedBy()Returns the value of the 'Liked By' reference list.PostgetPost()Returns the value of the 'Post' reference.voidsetPost(Post value)Sets the value of the 'Post' reference.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, eSetDeliverMethods inherited from interface org.atlanmod.zoo.socialnetwork.Submission
getComments, getContent, getId, getSubmitter, getTimestamp, setContent, setId, setSubmitter, setTimestamp
-
Method Details
-
getCommented
Submission getCommented()Returns the value of the 'Commented' container reference. It is bidirectional and its opposite is 'Comments'.- Returns:
- the value of the 'Commented' container reference.
- See Also:
SocialNetworkPackage.getComment_Commented(),Submission.getComments()
-
getLikedBy
org.eclipse.emf.common.util.EList<User> getLikedBy()Returns the value of the 'Liked By' reference list. The list contents are of typeUser. It is bidirectional and its opposite is 'Likes'.- Returns:
- the value of the 'Liked By' reference list.
- See Also:
SocialNetworkPackage.getComment_LikedBy(),User.getLikes()
-
getPost
Post getPost()Returns the value of the 'Post' reference.- Returns:
- the value of the 'Post' reference.
- See Also:
setPost(Post),SocialNetworkPackage.getComment_Post()
-
setPost
Sets the value of the 'Post' reference.- Parameters:
value- the new value of the 'Post' reference.- See Also:
getPost()
-