Class SimFDRFlightReport

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

public class SimFDRFlightReport extends ACARSFlightReport
A bean to store simFDR Flight Reports.
Since:
7.0
Version:
7.0
Author:
Luke
See Also:
  • Constructor Details

    • SimFDRFlightReport

      public SimFDRFlightReport(Airline a, int flightNumber, int leg)
      Creates a new ACARS Flight Report object with a given flight.
      Parameters:
      a - the Airline
      flightNumber - the Flight Number
      leg - the Leg Number
      Throws:
      NullPointerException - if the Airline Code is null
      IllegalArgumentException - if the Flight Report is zero or negative
      IllegalArgumentException - if the Leg is less than 1 or greater than 8
  • 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 ACARSFlightReport
      Returns:
      a Recorder enum or null if none/unknown
    • getIATACodes

      public String getIATACodes()
      Returns the IATA codes as submitted by simFDR.
      Returns:
      a comma-delimited list of IATA codes
    • setIATACodes

      public void setIATACodes(String codes)
      Updates the IATA codes as sbumitted by simFDR.
      Parameters:
      codes - a comma-delimted list of IATA codes