Class Report


  • public class Report
    extends Object
    A Java POJO that represents the blue-print for a report made.
    Author:
    swaroop_nath
    • Constructor Detail

      • Report

        public Report()
    • Method Detail

      • getMemId

        public String getMemId()
        Getter for the id of the memory for which the report is registered
        Returns:
        Returns the id of the memory
      • setMemId

        public void setMemId​(String memId)
        Setter for the id of the memory for which the report is registered
        Parameters:
        memId - The id of the memory
      • getReportReason

        public String getReportReason()
        Getter for the reason by which the report was registered
        Returns:
        Returns the reason
      • setReportReason

        public void setReportReason​(String reportReason)
        Setter for the reason by which the report was registered
        Parameters:
        reportReason - The reason for reporting
      • getReportedBy

        public String getReportedBy()
        Getter for the user id who reported the memory
        Returns:
        Returns the user id of the reporter
      • setReportedBy

        public void setReportedBy​(String reportedBy)
        Setter for the user id who reported the memory
        Parameters:
        reportedBy - The user id of the reporter
      • getTimeStamp

        public String getTimeStamp()
        Getter for the time at which the report was registered, in stringified format. Refer EnvironmentConfigurer for the format
        Returns:
        The stringified timestamp
      • setTimeStamp

        public void setTimeStamp​(String timeStamp)
        Setter for the time at which the report was registered, in stringified format. Refer EnvironmentConfigurer for the format
        Parameters:
        timeStamp - The stringified timestamp
      • getUserId

        public String getUserId()
        Getter for the user id of the user whose memory was reported
        Returns:
        The user id of the user whose memory was reported
      • setUserId

        public void setUserId​(String userId)
        Setter for the user id of the user whose memory was reported
        Parameters:
        userId - The user id of the user whose memory was reported