Class DataComment

    • Constructor Detail

      • DataComment

        public DataComment​(String comment,
                           Date date,
                           String author)
        Constructor
        Parameters:
        comment - The comment text
        date - The date of the comment
        author - The full name of the author
    • Method Detail

      • getComment

        public String getComment()
        Retrieves the comment.
        Returns:
        the comment
      • getDate

        public Date getDate()
        Retrieves the date.
        Returns:
        the date
      • getAuthor

        public String getAuthor()
        Retrieves the author.
        Returns:
        the author