Package org.atlanmod.zoo.socialnetwork
Interface Submission
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier,Serializable,SerializableEObject
- All Known Implementing Classes:
CommentImpl,PostImpl,SubmissionImpl
public interface Submission extends SerializableEObject
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.StringgetContent()Returns the value of the 'Content' attribute.StringgetId()Returns the value of the 'Id' attribute.UsergetSubmitter()Returns the value of the 'Submitter' reference.DategetTimestamp()Returns the value of the 'Timestamp' attribute.voidsetContent(String value)Sets the value of the 'Content' attribute.voidsetId(String value)Sets the value of the 'Id' attribute.voidsetSubmitter(User value)Sets the value of the 'Submitter' reference.voidsetTimestamp(Date value)Sets the value of the 'Timestamp' 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.getSubmission_Id()
-
setId
Sets the value of the 'Id' attribute.- Parameters:
value- the new value of the 'Id' attribute.- See Also:
getId()
-
getTimestamp
Date getTimestamp()Returns the value of the 'Timestamp' attribute.- Returns:
- the value of the 'Timestamp' attribute.
- See Also:
setTimestamp(Date),SocialNetworkPackage.getSubmission_Timestamp()
-
setTimestamp
Sets the value of the 'Timestamp' attribute.- Parameters:
value- the new value of the 'Timestamp' attribute.- See Also:
getTimestamp()
-
getContent
String getContent()Returns the value of the 'Content' attribute.- Returns:
- the value of the 'Content' attribute.
- See Also:
setContent(String),SocialNetworkPackage.getSubmission_Content()
-
setContent
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()
-