Package in.cs699.tensors.delagram.entity
Class Report
- java.lang.Object
-
- in.cs699.tensors.delagram.entity.Report
-
public class Report extends Object
A Java POJO that represents the blue-print for a report made.- Author:
- swaroop_nath
-
-
Constructor Summary
Constructors Constructor Description Report()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMemId()Getter for the id of the memory for which the report is registeredStringgetReportedBy()Getter for the user id who reported the memoryStringgetReportReason()Getter for the reason by which the report was registeredStringgetTimeStamp()Getter for the time at which the report was registered, in stringified format.StringgetUserId()Getter for the user id of the user whose memory was reportedvoidsetMemId(String memId)Setter for the id of the memory for which the report is registeredvoidsetReportedBy(String reportedBy)Setter for the user id who reported the memoryvoidsetReportReason(String reportReason)Setter for the reason by which the report was registeredvoidsetTimeStamp(String timeStamp)Setter for the time at which the report was registered, in stringified format.voidsetUserId(String userId)Setter for the user id of the user whose memory was reported
-
-
-
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. ReferEnvironmentConfigurerfor 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. ReferEnvironmentConfigurerfor 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
-
-