Class LegHoursStats
java.lang.Object
org.deltava.beans.stats.LegHoursStats
- All Implemented Interfaces:
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 legsdistance
- the flight distance in mileshours
- 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
-