Interface FlightData
- All Superinterfaces:
FlightNumber, RoutePair
- All Known Implementing Classes:
ACARSFlightReport, DraftFlightReport, FDRFlightReport, FlightInfo, FlightReport, SimFDRFlightReport, XACARSFlightReport, XAFlightInfo
A bean to store information about a Flight, designed to provide a common interface for classes that operate on FlightReports
and ACARS FlightInfo beans.
- Since:
- 10.0
- Version:
- 10.0
- Author:
- Luke
-
Nested Class Summary
Nested classes/interfaces inherited from interface RoutePair
RoutePair.RoutePairImplModifier and TypeInterfaceDescriptionstatic classHelper class when all you need is a naked RoutePair. -
Method Summary
Methods inherited from interface FlightNumber
getAirline, getFlightNumber, getLegModifier and TypeMethodDescriptionReturns the Airline.intReturns the Flight Number.intgetLeg()Returns the Flight Leg.Methods inherited from interface RoutePair
createKey, getAirportA, getAirportD, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPointModifier and TypeMethodDescriptiondefault StringReturns a key that describes the route pair.Returns the arrival Airport.Returns the departure Airport.Returns the airports in this Route Pair.default intReturns the distance between the Airports.default FlightTypeReturns the flight type for customs/gate purposes.default booleanReturns whether this RoutePair includes a particular IATA or ICAO code.default booleanReturns whether both airports are populated.default booleanReturns whether this RoutePair matches a particular Route Pair.default GeoLocationmidPoint()Returns the midpoint between the two Airports on a Great Circle route.
-
Method Details
-
getEquipmentType
-
getNetwork
OnlineNetwork getNetwork()Returns the OnlineNetwork the flight is operated on.- Returns:
- an OnlineNetwork or null if offline
-
getSimulator
-
getFDR
Recorder getFDR()Returns the Flight Data recorder used for this flight.- Returns:
- a Recorder enum or null if none/unknown
-
getDate
-