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 org.deltava.beans.schedule.RoutePair
RoutePair.RoutePairImpl
-
Field Summary
Fields inherited from class org.deltava.beans.flight.FDRFlightReport
_stateChangeTimes
Fields inherited from class org.deltava.beans.flight.FlightReport
ATTR_ACADEMY, ATTR_ACARS, ATTR_AIRSPACEWARN, ATTR_CHARTER, ATTR_CHECKRIDE, ATTR_DISPATCH, ATTR_DIVERT, ATTR_ETOPSWARN, ATTR_FDR_MASK, ATTR_FPI, ATTR_HISTORIC, ATTR_IVAO, ATTR_NOTRATED, ATTR_ONLINE_MASK, ATTR_PEDGE, ATTR_POSCON, ATTR_RANGEWARN, ATTR_REFUELWARN, ATTR_ROUTEWARN, ATTR_RWYSFCWARN, ATTR_RWYWARN, ATTR_SIMBRIEF, ATTR_SIMFDR, ATTR_TIMEWARN, ATTR_VATSIM, ATTR_WARN_MASK, ATTR_WEIGHTWARN, ATTR_XACARS, MIN_ACARS_CLIENT
-
Constructor Summary
ConstructorsConstructorDescriptionXACARSFlightReport
(Airline a, int flightNumber, int leg) Creates a new XACARS Flight Report object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the alternate Airport.double
Returns the average frame rate for this flight.long
Returns the aircraft/simulator capabilities flags.getFDR()
Returns the Flight Data recorder used for this flight.int
Returns the XACARS major version used on this flight.int
Returns the XACARS minor version used on this flight.void
Updates the alternate Airport.void
setMajorVersion
(int v) Sets the XACARS major version used on this flight.void
setMinorVersion
(int v) Sets the XACARS minor version used on this flight.Methods inherited from class org.deltava.beans.flight.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, setTotalFuel
Methods inherited from class org.deltava.beans.flight.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, setSubmittedOn
Methods inherited from class org.deltava.beans.Flight
equals, getAirline, getAirportA, getAirportD, getCallsign, getDistance, getEquipmentType, getFlightCode, getFlightNumber, getLeg, getLegCode, getShortCode, hashCode, setAirline, setAirportA, setAirportD, setEquipmentType, setFlightNumber, toString
Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, getHexID, getID, validateID, validateID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.deltava.beans.CalendarEntry
getDate
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.deltava.beans.flight.FlightData
getEquipmentType
Methods inherited from interface org.deltava.beans.FlightNumber
getAirline, getFlightNumber, getLeg
Methods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirportA, getAirportD, getAirports, getDistance, getFlightType, includes, isPopulated, matches
-
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:FlightData
Returns the Flight Data recorder used for this flight.- Specified by:
getFDR
in interfaceFlightData
- Overrides:
getFDR
in 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:FDRFlightReport
Returns the average frame rate for this flight.- Specified by:
getAverageFrameRate
in classFDRFlightReport
- 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 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
-