Class LandingStatistics
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.stats.LandingStatistics
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,IDBean
,Cacheable
A bean used to track average landing speeds.
- Since:
- 2.1
- Version:
- 11.5
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
double
Returns the average runway threshold displacement.double
Returns the average landing score.double
Returns the average touchdown speed.double
Returns the standard deviation of runway threshold displacements.Returns the equipment type.double
getHours()
Returns the number of hours logged.int
getLegs()
Returns the number of legs flown.Returns the pilot name.double
Returns the standard deviation of touchdown speeds.int
hashCode()
void
setAverageDistance
(double distance) Updates the average threshold displacement.void
setAverageScore
(double s) Updates the average landing score.void
setAverageSpeed
(double spd) Updates the average touchdown speed.void
setDistanceStdDeviation
(double sd) Updates the standard deviation of threshold displacements.void
setHours
(double hours) Updates the number of hours logged.void
setLegs
(int legs) Updates the number of legs flown.void
setStdDeviation
(double sd) Updates the standard deviation of touchdown speeds.toString()
Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, equals, getHexID, getID, setID, validateID, validateID
-
Constructor Details
-
LandingStatistics
-
-
Method Details
-
getPilotName
-
getEquipmentType
-
getLegs
public int getLegs()Returns the number of legs flown.- Returns:
- the number of legs
-
getHours
public double getHours()Returns the number of hours logged.- Returns:
- the number of hours
-
getAverageSpeed
public double getAverageSpeed()Returns the average touchdown speed.- Returns:
- the average speed in feet per minute
-
getStdDeviation
public double getStdDeviation()Returns the standard deviation of touchdown speeds.- Returns:
- the standard deviation in feet per minute
-
getAverageDistance
public double getAverageDistance()Returns the average runway threshold displacement.- Returns:
- the average displacement in feet
-
getDistanceStdDeviation
public double getDistanceStdDeviation()Returns the standard deviation of runway threshold displacements.- Returns:
- the standard deviation in feet
-
getAverageScore
public double getAverageScore()Returns the average landing score.- Returns:
- the average score
-
setLegs
public void setLegs(int legs) Updates the number of legs flown.- Parameters:
legs
- the number of legs
-
setHours
public void setHours(double hours) Updates the number of hours logged.- Parameters:
hours
- the number of hours
-
setAverageSpeed
public void setAverageSpeed(double spd) Updates the average touchdown speed.- Parameters:
spd
- the average speed in feet per minute
-
setStdDeviation
public void setStdDeviation(double sd) Updates the standard deviation of touchdown speeds.- Parameters:
sd
- the standard deviation in feet per minute
-
setAverageDistance
public void setAverageDistance(double distance) Updates the average threshold displacement.- Parameters:
distance
- the distance in feet
-
setAverageScore
public void setAverageScore(double s) Updates the average landing score.- Parameters:
s
- the average score
-
setDistanceStdDeviation
public void setDistanceStdDeviation(double sd) Updates the standard deviation of threshold displacements.- Parameters:
sd
- the standard deviation in feet
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Object>
- Overrides:
compareTo
in classDatabaseBean
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDatabaseBean
-