Class TouchdownData

java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.stats.TouchdownData
All Implemented Interfaces:
Serializable, Comparable<Object>, RunwayLengthUsage, IDBean, Cacheable

public class TouchdownData extends DatabaseBean implements RunwayLengthUsage
A bean to store data about an individual landing.
Since:
11.5
Version:
11.5
Author:
Luke
See Also:
  • 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 interface RunwayLengthUsage
      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 interface RunwayLengthUsage
      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