Package com.atlassian.bamboo.comment
Class CommentImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.comment.CommentImpl
- All Implemented Interfaces:
Comment,BambooIdProvider,BambooObject,CreationDateProvider,Cloneable
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.comment.Comment
getEntityId, orderingByMostRecentFirstFields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING -
Constructor Summary
ConstructorsConstructorDescriptionCommentImpl(String content, String userName, Date commentDate, long entityId) -
Method Summary
Modifier and TypeMethodDescriptionThe actual comment that was addedlongThe id of object the comment was added tocom.atlassian.user.UsergetUser()The user that created the commentThe username of the user that created the commentvoidsetBambooUserManager(BambooUserManager bambooUserManager) voidsetContent(String content) voidsetEntityId(long entityId) voidsetUserName(String userName) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.comment.Comment
getCreationDate, getLastModificationDate
-
Constructor Details
-
CommentImpl
public CommentImpl() -
CommentImpl
-
-
Method Details
-
getContent
Description copied from interface:CommentThe actual comment that was added- Specified by:
getContentin interfaceComment
-
setContent
- Specified by:
setContentin interfaceComment
-
getUserName
Description copied from interface:CommentThe username of the user that created the comment- Specified by:
getUserNamein interfaceComment- Returns:
-
setUserName
- Specified by:
setUserNamein interfaceComment
-
getUser
public com.atlassian.user.User getUser()Description copied from interface:CommentThe user that created the comment -
getEntityId
public long getEntityId()Description copied from interface:CommentThe id of object the comment was added to- Specified by:
getEntityIdin interfaceComment
-
setEntityId
public void setEntityId(long entityId) - Specified by:
setEntityIdin interfaceComment
-
setBambooUserManager
-