Class Report

java.lang.Object
com.openmeet.shared.data.report.Report
All Implemented Interfaces:
IEntity

public class Report extends Object implements IEntity
This class represents the Report Entity.
See Also:
  • Field Details

  • Constructor Details

    • Report

      public Report()
  • Method Details

    • toHashMap

      public HashMap<String,?> toHashMap()
      Returns the Report as an hashMap.
      Specified by:
      toHashMap in interface IEntity
      Returns:
      the Ban as an hashMap.
      See Also:
    • toHashMap

      public HashMap<String,?> toHashMap(String... fields)
      Returns the Report as an hashMap.
      Specified by:
      toHashMap in interface IEntity
      Parameters:
      fields - the fields to be returned.
      Returns:
      the Ban as an hashMap.
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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

      public String getReason()
      Returns the reason of the Report.
      Returns:
      the reason of the Report.
    • setReason

      public void setReason(String reason)
      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

      public Timestamp getCreationDate()
      Returns the creationDate of the Report.
      Returns:
      the creationDate of the Report.
    • setCreationDate

      public void setCreationDate(Timestamp creationDate)
      Sets the creationDate of the Report.
      Parameters:
      creationDate - the creationDate of the Report.