Package cz.cvut.fel.omo.SmartHome.report
Class EventReport
- java.lang.Object
-
- cz.cvut.fel.omo.SmartHome.report.AbstractReport
-
- cz.cvut.fel.omo.SmartHome.report.EventReport
-
public class EventReport extends AbstractReport
Class for Event report
-
-
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 housevoid
setEvents(java.util.List<Event> events)
-
-
-
Field Detail
-
events
private java.util.List<Event> events
-
-
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)
-
accept
public void accept(ReportGenerator generator)
- Specified by:
accept
in classAbstractReport
-
-