Class Report


  • @Entity
    public class Report
    extends java.lang.Object
    Entity class for storing information about a report with reportId as primary key
    • Constructor Detail

      • Report

        public Report​(java.lang.String description,
                      User reportWriter,
                      User reportedUser)
      • Report

        public Report​(java.lang.String description)
      • Report

        public Report()
    • Method Detail

      • getReportId

        public long getReportId()
      • setReportId

        public void setReportId​(long reportId)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getReportWriter

        public User getReportWriter()
      • setReportWriter

        public void setReportWriter​(User reportWriter)
      • getReportedUser

        public User getReportedUser()
      • setReportedUser

        public void setReportedUser​(User reportedUser)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object