Package org.atlanmod.zoo.socialnetwork
Interface Submission
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
CommentImpl,PostImpl,SubmissionImpl
public interface Submission
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Submission'.
The following features are supported:
- See Also:
SocialNetworkPackage.getSubmission()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<Comment>getComments()Returns the value of the 'Comments' containment reference list.java.lang.StringgetContent()Returns the value of the 'Content' attribute.java.lang.StringgetId()Returns the value of the 'Id' attribute.UsergetSubmitter()Returns the value of the 'Submitter' reference.java.util.DategetTimestamp()Returns the value of the 'Timestamp' attribute.voidsetContent(java.lang.String value)Sets the value of the 'Content' attribute.voidsetId(java.lang.String value)Sets the value of the 'Id' attribute.voidsetSubmitter(User value)Sets the value of the 'Submitter' reference.voidsetTimestamp(java.util.Date value)Sets the value of the 'Timestamp' 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.getSubmission_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()
-
getTimestamp
java.util.Date getTimestamp()Returns the value of the 'Timestamp' attribute.- Returns:
- the value of the 'Timestamp' attribute.
- See Also:
setTimestamp(Date),SocialNetworkPackage.getSubmission_Timestamp()
-
setTimestamp
void setTimestamp(java.util.Date value)Sets the value of the 'Timestamp' attribute.- Parameters:
value- the new value of the 'Timestamp' attribute.- See Also:
getTimestamp()
-
getContent
java.lang.String getContent()Returns the value of the 'Content' attribute.- Returns:
- the value of the 'Content' attribute.
- See Also:
setContent(String),SocialNetworkPackage.getSubmission_Content()
-
setContent
void setContent(java.lang.String value)Sets the value of the 'Content' attribute.- Parameters:
value- the new value of the 'Content' attribute.- See Also:
getContent()
-
getSubmitter
User getSubmitter()Returns the value of the 'Submitter' reference. It is bidirectional and its opposite is 'Submissions'.- Returns:
- the value of the 'Submitter' reference.
- See Also:
setSubmitter(User),SocialNetworkPackage.getSubmission_Submitter(),User.getSubmissions()
-
setSubmitter
Sets the value of the 'Submitter' reference.- Parameters:
value- the new value of the 'Submitter' reference.- See Also:
getSubmitter()
-
getComments
org.eclipse.emf.common.util.EList<Comment> getComments()Returns the value of the 'Comments' containment reference list. The list contents are of typeComment. It is bidirectional and its opposite is 'Commented'.- Returns:
- the value of the 'Comments' containment reference list.
- See Also:
SocialNetworkPackage.getSubmission_Comments(),Comment.getCommented()
-