Package com.openmeet.shared.data.report
Class Report
java.lang.Object
com.openmeet.shared.data.report.Report
- All Implemented Interfaces:
IEntity
This class represents the Report Entity.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the creationDate of the Report.intgetId()Returns the id of the Report.intReturns the id of the meeter who got reported.intReturns the id of the meeter who created the Report.Returns the reason of the Report.booleanReturns the isArchived of the Report.voidsetCreationDate(Timestamp creationDate) Sets the creationDate of the Report.voidsetId(int id) Sets the id of the Report.voidsetIsArchived(boolean isArchived) Sets the isArchived of the Report.voidsetMeeterReported(int meeterReported) Sets the id of the meeter who got reported.voidsetMeeterReporter(int meeterReporter) Sets the id of the meeter who created the Report.voidSets the reason of the Report.Returns the Report as an hashMap.Returns the Report as an hashMap.toString()
-
Field Details
-
REPORT
- See Also:
-
REPORT_ID
- See Also:
-
REPORT_MEETER_REPORTER
- See Also:
-
REPORT_MEETER_REPORTED
- See Also:
-
REPORT_REASON
- See Also:
-
REPORT_IS_ARCHIVED
- See Also:
-
REPORT_CREATION_DATE
- See Also:
-
-
Constructor Details
-
Report
public Report()
-
-
Method Details
-
toHashMap
Returns the Report as an hashMap. -
toHashMap
Returns the Report as an hashMap. -
toString
-
getId
public int getId()Returns the id of the Report.- Returns:
- the id of the Report.
-
setId
public void setId(int id) Sets the id of the Report.- Parameters:
id- the id of the Report.
-
getMeeterReporter
public int getMeeterReporter()Returns the id of the meeter who created the Report.- Returns:
- the id of the meeter who created the Report.
-
setMeeterReporter
public void setMeeterReporter(int meeterReporter) Sets the id of the meeter who created the Report.- Parameters:
meeterReporter- the id of the meeter who created the Report.
-
getMeeterReported
public int getMeeterReported()Returns the id of the meeter who got reported.- Returns:
- the id of the meeter who got reported.
-
setMeeterReported
public void setMeeterReported(int meeterReported) Sets the id of the meeter who got reported.- Parameters:
meeterReported- the id of the meeter who got reported.
-
getReason
Returns the reason of the Report.- Returns:
- the reason of the Report.
-
setReason
Sets the reason of the Report.- Parameters:
reason- the reason of the Report.
-
isArchived
public boolean isArchived()Returns the isArchived of the Report.- Returns:
- the isArchived of the Report.
-
setIsArchived
public void setIsArchived(boolean isArchived) Sets the isArchived of the Report.- Parameters:
isArchived- the isArchived of the Report.
-
getCreationDate
Returns the creationDate of the Report.- Returns:
- the creationDate of the Report.
-
setCreationDate
Sets the creationDate of the Report.- Parameters:
creationDate- the creationDate of the Report.
-