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 String
getMemId()
Getter for the id of the memory for which the report is registeredString
getReportedBy()
Getter for the user id who reported the memoryString
getReportReason()
Getter for the reason by which the report was registeredString
getTimeStamp()
Getter for the time at which the report was registered, in stringified format.String
getUserId()
Getter for the user id of the user whose memory was reportedvoid
setMemId(String memId)
Setter for the id of the memory for which the report is registeredvoid
setReportedBy(String reportedBy)
Setter for the user id who reported the memoryvoid
setReportReason(String reportReason)
Setter for the reason by which the report was registeredvoid
setTimeStamp(String timeStamp)
Setter for the time at which the report was registered, in stringified format.void
setUserId(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. ReferEnvironmentConfigurer
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. ReferEnvironmentConfigurer
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
-
-