Class LegHoursStats

java.lang.Object
org.deltava.beans.stats.LegHoursStats
All Implemented Interfaces:
Serializable

class LegHoursStats extends Object implements Serializable
A bean to store leg/hour/miles data.
Since:
10.3
Version:
10.3
Author:
Luke
  • Constructor Details

    • LegHoursStats

      LegHoursStats(int legs, int distance, double hours)
      Creates the bean.
      Parameters:
      legs - the number of flight legs
      distance - the flight distance in miles
      hours - the number of flight hours
  • Method Details

    • getLegs

      public int getLegs()
      Returns the number of flight legs.
      Returns:
      the number of legs
    • getDistance

      public int getDistance()
      Returns the flight distance.
      Returns:
      the distance in miles
    • getHours

      public double getHours()
      Returns the number of flight hours.
      Returns:
      the number of hours