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 TypeMethodDescriptionintReturns the runway usage from the threshold.intReturns the runway length.intReturns the vertical speed at touchdown.voidsetDistance(int d) Updates the touchdown distance from the threshold.voidsetLength(int l) Updates the runway length.voidsetVSpeed(int vs) Updates the vertical speed at landing.Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, compareTo, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:RunwayLengthUsageReturns the runway length.- Specified by:
 getLengthin interfaceRunwayLengthUsage- Returns:
 - the length in feet
 
 - 
getDistance
public int getDistance()Description copied from interface:RunwayLengthUsageReturns the runway usage from the threshold.- Specified by:
 getDistancein 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
 
 -