Class DataComment
- java.lang.Object
-
- org.ametys.plugins.repository.data.DataComment
-
public class DataComment extends Object
A comment on a data.
-
-
Constructor Summary
Constructors Constructor Description DataComment(String comment, ZonedDateTime date, String author)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAuthor()
Retrieves the author.String
getComment()
Retrieves the comment.ZonedDateTime
getDate()
Retrieves the date.int
hashCode()
-
-
-
Constructor Detail
-
DataComment
public DataComment(String comment, ZonedDateTime date, String author)
Constructor- Parameters:
comment
- The comment textdate
- The date of the commentauthor
- The full name of the author
-
-
Method Detail
-
getComment
public String getComment()
Retrieves the comment.- Returns:
- the comment
-
getDate
public ZonedDateTime getDate()
Retrieves the date.- Returns:
- the date
-
-