Class EnquiryReport

java.lang.Object
app.entity.report.Report
app.entity.report.EnquiryReport
All Implemented Interfaces:
ISerializable

public class EnquiryReport extends Report
The EnquiryReport class represents a report on camp enquiries, including details about questions and answers. It extends the Report class and implements the ISerializeable interface.
  • Constructor Details

    • EnquiryReport

      public EnquiryReport(CampList camp)
      Constructs an EnquiryReport object with the specified camp list.
      Parameters:
      camp - The list of camps to be included in the report.
    • EnquiryReport

      public EnquiryReport(Camp camp)
      Constructs an EnquiryReport object with the specified camp.
      Parameters:
      camp - The camp to be included in the report.
  • Method Details

    • serialize

      public final ArrayList<ArrayList<String>> serialize()
      Serializes the enquiry report and represents its data as an ArrayList of ArrayList of Strings.
      Specified by:
      serialize in interface ISerializable
      Specified by:
      serialize in class Report
      Returns:
      An ArrayList<ArrayList<String>> representing the serialized data of the enquiry report.