Class EventReport


  • public class EventReport
    extends AbstractReport
    Class for Event report
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<Event> events  
    • Constructor Summary

      Constructors 
      Constructor Description
      EventReport()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(ReportGenerator generator)  
      java.lang.String report()
      Generates a string that contains information about all events in house
      void setEvents​(java.util.List<Event> events)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • events

        private java.util.List<Event> events
    • Constructor Detail

      • EventReport

        public EventReport()
    • Method Detail

      • report

        public java.lang.String report()
        Generates a string that contains information about all events in house
        Returns:
        string with report
      • setEvents

        public void setEvents​(java.util.List<Event> events)