Class XACARSFlightReport

All Implemented Interfaces:
Serializable, Comparable<Object>, AuthoredBean, CalendarEntry, FlightData, FlightNumber, IDBean, RoutePair, TimeSpan, ViewEntry, Cacheable

public class XACARSFlightReport extends FDRFlightReport
A class for storing XACARS-submitted Flight Reports.
Since:
4.1
Version:
11.1
Author:
Luke
See Also:
  • Constructor Details

    • XACARSFlightReport

      public XACARSFlightReport(Airline a, int flightNumber, int leg)
      Creates a new XACARS Flight Report object.
      Parameters:
      a - the Airline
      flightNumber - the flight number
      leg - the leg number
  • Method Details

    • getFDR

      public Recorder getFDR()
      Description copied from interface: FlightData
      Returns the Flight Data recorder used for this flight.
      Specified by:
      getFDR in interface FlightData
      Overrides:
      getFDR in class FlightReport
      Returns:
      a Recorder enum or null if none/unknown
    • getMajorVersion

      public int getMajorVersion()
      Returns the XACARS major version used on this flight.
      Returns:
      the major version
    • getMinorVersion

      public int getMinorVersion()
      Returns the XACARS minor version used on this flight.
      Returns:
      the minor version
    • getAverageFrameRate

      public double getAverageFrameRate()
      Description copied from class: FDRFlightReport
      Returns the average frame rate for this flight.
      Specified by:
      getAverageFrameRate in class FDRFlightReport
      Returns:
      the average frame rate in frames per second
    • getCapabilities

      public long getCapabilities()
      Description copied from class: FDRFlightReport
      Returns the aircraft/simulator capabilities flags.
      Specified by:
      getCapabilities in class FDRFlightReport
      Returns:
      the Capabilities flag bitmap
    • getAirportL

      public Airport getAirportL()
      Returns the alternate Airport.
      Returns:
      the Airport, or null if none
    • setAirportL

      public void setAirportL(Airport a)
      Updates the alternate Airport.
      Parameters:
      a - the Airport, or null if none
    • setMinorVersion

      public void setMinorVersion(int v)
      Sets the XACARS minor version used on this flight.
      Parameters:
      v - the minor version
    • setMajorVersion

      public void setMajorVersion(int v)
      Sets the XACARS major version used on this flight.
      Parameters:
      v - the major version