Class TouchdownData
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.stats.TouchdownData
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,RunwayLengthUsage
,IDBean
,Cacheable
A bean to store data about an individual landing.
- Since:
- 11.5
- Version:
- 11.5
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the runway usage from the threshold.int
Returns the runway length.int
Returns the vertical speed at touchdown.void
setDistance
(int d) Updates the touchdown distance from the threshold.void
setLength
(int l) Updates the runway length.void
setVSpeed
(int vs) Updates the vertical speed at landing.Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.beans.flight.RunwayLengthUsage
getPercentage
-
Constructor Details
-
TouchdownData
public TouchdownData(int id) Creates the bean.- Parameters:
id
- the Flight Report database ID
-
-
Method Details
-
getVSpeed
public int getVSpeed()Returns the vertical speed at touchdown.- Returns:
- the vertical speed in feet per minute
-
getLength
public int getLength()Description copied from interface:RunwayLengthUsage
Returns the runway length.- Specified by:
getLength
in interfaceRunwayLengthUsage
- Returns:
- the length in feet
-
getDistance
public int getDistance()Description copied from interface:RunwayLengthUsage
Returns the runway usage from the threshold.- Specified by:
getDistance
in interfaceRunwayLengthUsage
- Returns:
- the distance in feet.
-
setLength
public void setLength(int l) Updates the runway length.- Parameters:
l
- the length in feet
-
setDistance
public void setDistance(int d) Updates the touchdown distance from the threshold.- Parameters:
d
- the distance in feet
-
setVSpeed
public void setVSpeed(int vs) Updates the vertical speed at landing.- Parameters:
vs
- the vertical speed in feet per minute
-