com.atlassian.crucible.spi.data
Interface CsCommentData


public interface CsCommentData

Attributes of a Changeset Comment


Method Summary
 java.util.Date getCreateDate()
          Get the comment's creation date.
 java.lang.String getMessage()
          Get the text of the comment.
 UserData getUser()
          Get the comment's author.
 void setCreateDate(java.util.Date date)
          Set the comment's creation date.
 void setMessage(java.lang.String message)
          Set the text of the comment.
 void setUser(UserData user)
          Set the comment's author.
 

Method Detail

getMessage

java.lang.String getMessage()
Get the text of the comment.

Returns:
a String containing the text of the comment

setMessage

void setMessage(java.lang.String message)
Set the text of the comment.

Parameters:
message - the new text

getUser

UserData getUser()
Get the comment's author.


setUser

void setUser(UserData user)
Set the comment's author.

This field should not be set by client code. When creating or updating a comment, it is ignored: the user who requested the comment creation is set as its author.


getCreateDate

java.util.Date getCreateDate()
Get the comment's creation date.


setCreateDate

void setCreateDate(java.util.Date date)
Set the comment's creation date.

This field should not be set by client code. When creating or updating a comment, it is ignored: the date when the comment was created is set as its creation date.