Class EventStats
java.lang.Object
org.deltava.beans.stats.EventStats
A bean to store Online Event statistics.
- Since:
- 10.2
- Version:
- 10.2
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
Returns the number of Online Events.int
Returns the number of approved Flight Reports for these Online Events.getLabel()
Returns the statistics label.int
Returns the number of distinct Pilots who filed an approved Flight Report for at least one Online Event.int
Returns the number of distinct Pilots who signed up for at least one Online Event.int
Returns the number of signups for these Online Events.void
setCount
(int cnt) Updates the number of Online Events within this period.void
setFlights
(int cnt) Updates the number of approved Flight Reports for these Online Events.void
setPilotFlights
(int cnt) Updates the number of distinct Pilots who filed an approved Flight Report for at least one Online Event.void
setPilotSignups
(int cnt) Updates the number of distinct Pilots who signed up for at least one Online Event.void
setSignups
(int cnt) Updates the number of signups for these Online Events.
-
Constructor Details
-
EventStats
-
-
Method Details
-
getLabel
-
getCount
public int getCount()Returns the number of Online Events.- Returns:
- the number of Events
-
getSignups
public int getSignups()Returns the number of signups for these Online Events.- Returns:
- the number of signups
-
getFlights
public int getFlights()Returns the number of approved Flight Reports for these Online Events.- Returns:
- the number of Flights
-
getPilotSignups
public int getPilotSignups()Returns the number of distinct Pilots who signed up for at least one Online Event.- Returns:
- the number of distinct Pilots
-
getPilotFlights
public int getPilotFlights()Returns the number of distinct Pilots who filed an approved Flight Report for at least one Online Event.- Returns:
- the number of distinct Pilots
-
setCount
public void setCount(int cnt) Updates the number of Online Events within this period.- Parameters:
cnt
- the number of Events
-
setSignups
public void setSignups(int cnt) Updates the number of signups for these Online Events.- Parameters:
cnt
- the number of signups
-
setFlights
public void setFlights(int cnt) Updates the number of approved Flight Reports for these Online Events.- Parameters:
cnt
- the number of Flight Reports
-
setPilotSignups
public void setPilotSignups(int cnt) Updates the number of distinct Pilots who signed up for at least one Online Event.- Parameters:
cnt
- the number of distinct Pilots
-
setPilotFlights
public void setPilotFlights(int cnt) Updates the number of distinct Pilots who filed an approved Flight Report for at least one Online Event.- Parameters:
cnt
- the number of distinct Pilots
-