Class XACARSFlightReport
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.Flight
org.deltava.beans.flight.FlightReport
org.deltava.beans.flight.FDRFlightReport
org.deltava.beans.flight.XACARSFlightReport
- All Implemented Interfaces:
Serializable, Comparable<Object>, AuthoredBean, CalendarEntry, FlightData, FlightNumber, IDBean, RoutePair, TimeSpan, ViewEntry, Cacheable
A class for storing XACARS-submitted Flight Reports.
- Since:
- 4.1
- Version:
- 11.1
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface RoutePair
RoutePair.RoutePairImpl -
Field Summary
Fields inherited from class FDRFlightReport
_stateChangeTimesFields inherited from class FlightReport
ATTR_WARN_MASK -
Constructor Summary
ConstructorsConstructorDescriptionXACARSFlightReport(Airline a, int flightNumber, int leg) Creates a new XACARS Flight Report object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the alternate Airport.doubleReturns the average frame rate for this flight.longReturns the aircraft/simulator capabilities flags.getFDR()Returns the Flight Data recorder used for this flight.intReturns the XACARS major version used on this flight.intReturns the XACARS minor version used on this flight.voidUpdates the alternate Airport.voidsetMajorVersion(int v) Sets the XACARS major version used on this flight.voidsetMinorVersion(int v) Sets the XACARS minor version used on this flight.Methods inherited from class FDRFlightReport
getAirborneTime, getBlockTime, getDuration, getEndLocation, getEndTime, getGateFuel, getGateWeight, getLandingDistance, getLandingFuel, getLandingHeading, getLandingLocation, getLandingN1, getLandingScore, getLandingSpeed, getLandingTime, getLandingVSpeed, getLandingWeight, getStartLocation, getStartTime, getTakeoffDistance, getTakeoffFuel, getTakeoffHeading, getTakeoffLocation, getTakeoffN1, getTakeoffSpeed, getTakeoffTime, getTakeoffWeight, getTaxiFuel, getTaxiInTime, getTaxiOutTime, getTaxiTime, getTaxiWeight, getTotalFuel, setEndLocation, setEndTime, setGateFuel, setGateWeight, setLandingDistance, setLandingFuel, setLandingHeading, setLandingLocation, setLandingN1, setLandingScore, setLandingSpeed, setLandingTime, setLandingVSpeed, setLandingWeight, setStartLocation, setStartTime, setTakeoffDistance, setTakeoffFuel, setTakeoffHeading, setTakeoffLocation, setTakeoffN1, setTakeoffSpeed, setTakeoffTime, setTakeoffWeight, setTaxiFuel, setTaxiTime, setTaxiWeight, setTotalFuelMethods inherited from class FlightReport
addStatusUpdate, addStatusUpdate, compareTo, getAttributes, getAuthorID, getCaptEQType, getComments, getDatabaseID, getDate, getDisposedOn, getLength, getLoadFactor, getNetwork, getPassengers, getRank, getRemarks, getRoute, getRowClassName, getSimulator, getStatus, getStatusUpdates, getSubmittedOn, hasAttribute, hasDatabaseID, setAttribute, setAttributes, setAuthorID, setCaptEQType, setCaptEQType, setComments, setDatabaseID, setDate, setDisposedOn, setID, setLeg, setLength, setLoadFactor, setNetwork, setPassengers, setRank, setRemarks, setRoute, setSimulator, setStatus, setSubmittedOnMethods inherited from class Flight
equals, getAirline, getAirportA, getAirportD, getCallsign, getDistance, getEquipmentType, getFlightCode, getFlightNumber, getLeg, getLegCode, getShortCode, hashCode, setAirline, setAirportA, setAirportD, setEquipmentType, setFlightNumber, toStringMethods inherited from class DatabaseBean
cacheKey, getHexID, getID, validateID, validateIDMethods inherited from interface CalendarEntry
getDateMethods inherited from interface Comparable
compareToMethods inherited from interface FlightData
getEquipmentTypeMethods inherited from interface FlightNumber
getAirline, getFlightNumber, getLegMethods inherited from interface RoutePair
createKey, getAirportA, getAirportD, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPoint
-
Constructor Details
-
XACARSFlightReport
Creates a new XACARS Flight Report object.- Parameters:
a- the AirlineflightNumber- the flight numberleg- the leg number
-
-
Method Details
-
getFDR
Description copied from interface:FlightDataReturns the Flight Data recorder used for this flight.- Specified by:
getFDRin interfaceFlightData- Overrides:
getFDRin classFlightReport- 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:FDRFlightReportReturns the average frame rate for this flight.- Specified by:
getAverageFrameRatein classFDRFlightReport- Returns:
- the average frame rate in frames per second
-
getCapabilities
public long getCapabilities()Description copied from class:FDRFlightReportReturns the aircraft/simulator capabilities flags.- Specified by:
getCapabilitiesin classFDRFlightReport- Returns:
- the Capabilities flag bitmap
-
getAirportL
-
setAirportL
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
-