Class EventStats

java.lang.Object
org.deltava.beans.stats.EventStats

public class EventStats extends Object
A bean to store Online Event statistics.
Since:
10.2
Version:
10.2
Author:
Luke
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates the bean.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of Online Events.
    int
    Returns the number of approved Flight Reports for these Online Events.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EventStats

      public EventStats(String label)
      Creates the bean.
      Parameters:
      label - the lasbel
  • Method Details

    • getLabel

      public String getLabel()
      Returns the statistics label.
      Returns:
      the label
    • 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