public class ChangesetDiscussionComment extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
date
date this comment was posted at
|
private java.lang.String |
text
comment text
|
private User |
user
the user who posted the comment
|
Constructor and Description |
---|
ChangesetDiscussionComment(java.util.Date date,
User user)
Constructs a new
ChangesetDiscussionComment . |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDate()
Replies date this comment was posted at.
|
java.lang.String |
getText()
Replies comment text.
|
User |
getUser()
Replies the user who posted the comment.
|
void |
setText(java.lang.String text)
Sets comment text.
|
java.lang.String |
toString() |
private final java.util.Date date
private java.lang.String text
public ChangesetDiscussionComment(java.util.Date date, User user)
ChangesetDiscussionComment
.date
- date this comment was posted atuser
- the user who posted the commentpublic final java.lang.String getText()
public final void setText(java.lang.String text)
text
- comment textpublic final java.util.Date getDate()
public final User getUser()
public java.lang.String toString()
toString
in class java.lang.Object