public class DataComment extends Object
Modifier and Type | Field and Description |
---|---|
private String |
_author |
private String |
_comment |
private Date |
_date |
Constructor and Description |
---|
DataComment(String comment,
Date date,
String author)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAuthor()
Retrieves the author.
|
String |
getComment()
Retrieves the comment.
|
Date |
getDate()
Retrieves the date.
|
public DataComment(String comment, Date date, String author)
comment
- The comment textdate
- The date of the commentauthor
- The full name of the author