Class FDRFlightReport
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.Flight
org.deltava.beans.flight.FlightReport
org.deltava.beans.flight.FDRFlightReport
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,AuthoredBean
,CalendarEntry
,FlightData
,FlightNumber
,IDBean
,RoutePair
,TimeSpan
,ViewEntry
,Cacheable
- Direct Known Subclasses:
ACARSFlightReport
,XACARSFlightReport
,XAFlightInfo
A bean to store FDR (ACARS/XACARS/simFDR) submitted flight reports.
- Since:
- 1.0
- 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
FieldsFields 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
ConstructorsConstructorDescriptionFDRFlightReport
(Airline a, int flightNumber, int leg) Creates a new FDR Flight Report object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the time that the aircraft was airborne for this flight.abstract double
Returns the average frame rate for this flight.Returns the total time of the flight.abstract long
Returns the aircraft/simulator capabilities flags.final Duration
A method to return the exact length of the flight.Returns the final route position for this flight.The end date/time of this span.int
Returns the amount of fuel at the end of the flight.int
Returns the weight of the aircraft at the end of the flight.int
Returns the distance from the destination airport at landing.int
Returns the amount of fuel at touchdown.int
Returns the heading at touchdown.Returns the position at touchdown.double
Returns the average N1 speed of the engines at touchdown.double
Returns the landing score.int
Returns the aircraft airspeed at touchdown.Returns the date/time that the aircraft touched down.int
Returns the vertical speed of the aircraft at touchdown.int
Returns the weight of the aircraft at touchdown.Returns the first route position for this flight.The start date/time of this span.int
Returns the distance from the origin airport at takeoff.int
Returns the amount of fuel at takeoff.int
Returns the heading at takeoff.Returns the position at takeoff.double
Returns the average N1 speed of the engines at takeoff.int
Returns the aircraft airspeed at takeoff.Returns the date/time of takeoff.int
Returns the weight of the aircraft at takeoff.int
Returns the amount of fuel at pushback.Returns the inbound taxi time.Returns the outbound taxi time.Returns the date/time of pushback.int
Returns the aircraft weight at pushback.int
Returns the total amount of fuel burned.void
Updates the final route position for this flight.void
setEndTime
(Instant dt) Updates the end time of the flight.void
setGateFuel
(int f) Updates the amount of fuel at the end of the flight.void
setGateWeight
(int w) Updates the weight of the aircraft at the end of the flight.void
setLandingDistance
(int d) Updates the distance from the destination airport where touchdown occured.void
setLandingFuel
(int f) Updates the amount of fuel at touchdown.void
setLandingHeading
(int hdg) Updates the heading at touchdown.void
Updates the position at touchdown.void
setLandingN1
(double n1) Updates the average N1 speed of the engines at touchdown.void
setLandingScore
(double sc) Updates the landing score.void
setLandingSpeed
(int s) Updates the airspeed at touchdown.void
Updates the landing date/time.void
setLandingVSpeed
(int s) Updates the vertical speed at touchdown.void
setLandingWeight
(int w) Updates the weight of the aircraft at touchdown.void
Updates the first route position for this flight.void
setStartTime
(Instant dt) Updates the start time of the flight.void
setTakeoffDistance
(int d) Updates the distance from the origin airport where takeoff occured.void
setTakeoffFuel
(int f) Updates the amount of fuel at takeoff.void
setTakeoffHeading
(int hdg) Updates the heading at takeoff.void
Updates the position at takeoff.void
setTakeoffN1
(double n1) Updates the average N1 of the engines at takeoff.void
setTakeoffSpeed
(int s) Updates the airspeed at takeoff.void
Updates the takeoff date/time.void
setTakeoffWeight
(int w) Updates the aircraft weight at takeoff.void
setTaxiFuel
(int f) Updates the fuel amount at pushback.void
setTaxiTime
(Instant dt) Updates the time the aircraft was pushed back.void
setTaxiWeight
(int w) Updates the weight of the aircraft at pushback.void
setTotalFuel
(int f) Updates the total amount of fuel burned during the flight.Methods inherited from class org.deltava.beans.flight.FlightReport
addStatusUpdate, addStatusUpdate, compareTo, getAttributes, getAuthorID, getCaptEQType, getComments, getDatabaseID, getDate, getDisposedOn, getFDR, 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
-
Field Details
-
_stateChangeTimes
Phase change times.
-
-
Constructor Details
-
FDRFlightReport
Creates a new FDR Flight Report object.- Parameters:
a
- the AirlineflightNumber
- the flight numberleg
- the leg number
-
-
Method Details
-
getDuration
Description copied from class:Flight
A method to return the exact length of the flight.- Specified by:
getDuration
in interfaceTimeSpan
- Overrides:
getDuration
in classFlightReport
- Returns:
- a Duration
-
getStartTime
Description copied from interface:TimeSpan
The start date/time of this span.- Specified by:
getStartTime
in interfaceTimeSpan
- Returns:
- the start date/time
-
getStartLocation
Returns the first route position for this flight.- Returns:
- loc the first position
- See Also:
-
getCapabilities
public abstract long getCapabilities()Returns the aircraft/simulator capabilities flags.- Returns:
- the Capabilities flag bitmap
-
getTaxiTime
Returns the date/time of pushback.- Returns:
- the date/time the aircraft was pushed back
- See Also:
-
getTaxiWeight
public int getTaxiWeight()Returns the aircraft weight at pushback.- Returns:
- the weight in pounds
- See Also:
-
getTaxiFuel
public int getTaxiFuel()Returns the amount of fuel at pushback.- Returns:
- the amount of fuel in pounds
- See Also:
-
getTakeoffTime
Returns the date/time of takeoff.- Returns:
- the date/time the aircraft left the ground
- See Also:
-
getTakeoffDistance
public int getTakeoffDistance()Returns the distance from the origin airport at takeoff. This is used to validate the provided airports.- Returns:
- the distance from the origin airport, in miles
- See Also:
-
getTakeoffSpeed
public int getTakeoffSpeed()Returns the aircraft airspeed at takeoff.- Returns:
- the airspeed in knots
- See Also:
-
getTakeoffWeight
public int getTakeoffWeight()Returns the weight of the aircraft at takeoff.- Returns:
- the weight in pounds
- See Also:
-
getTakeoffFuel
public int getTakeoffFuel()Returns the amount of fuel at takeoff.- Returns:
- the amount of fuel in pounds
- See Also:
-
getTakeoffHeading
public int getTakeoffHeading()Returns the heading at takeoff.- Returns:
- the takeoff heading in degrees
- See Also:
-
getTakeoffN1
public double getTakeoffN1()Returns the average N1 speed of the engines at takeoff.- Returns:
- the average N1 percentage, mulitiplied by 100
- See Also:
-
getTakeoffLocation
Returns the position at takeoff.- Returns:
- the takeoff position
- See Also:
-
getLandingTime
Returns the date/time that the aircraft touched down.- Returns:
- the date/time of touchdown
- See Also:
-
getLandingDistance
public int getLandingDistance()Returns the distance from the destination airport at landing. This is used to validate the provided airports.- Returns:
- the distance from the destination airport, in miles
- See Also:
-
getLandingSpeed
public int getLandingSpeed()Returns the aircraft airspeed at touchdown.- Returns:
- the airspeed in knots
- See Also:
-
getLandingVSpeed
public int getLandingVSpeed()Returns the vertical speed of the aircraft at touchdown.- Returns:
- the vertical speed in feet per minute
- See Also:
-
getLandingWeight
public int getLandingWeight()Returns the weight of the aircraft at touchdown.- Returns:
- the weight in pounds
- See Also:
-
getLandingFuel
public int getLandingFuel()Returns the amount of fuel at touchdown.- Returns:
- the amount of fuel in pounds
- See Also:
-
getLandingHeading
public int getLandingHeading()Returns the heading at touchdown.- Returns:
- the touchdown heading in degrees
- See Also:
-
getLandingN1
public double getLandingN1()Returns the average N1 speed of the engines at touchdown.- Returns:
- the average N1 percentage, multiplied by 100
- See Also:
-
getLandingLocation
Returns the position at touchdown.- Returns:
- the touchdown heading
- See Also:
-
getLandingScore
public double getLandingScore()Returns the landing score.- Returns:
- the score, or -1 for unknown
- See Also:
-
getEndTime
Description copied from interface:TimeSpan
The end date/time of this span.- Specified by:
getEndTime
in interfaceTimeSpan
- Returns:
- the end date/time
-
getGateWeight
public int getGateWeight()Returns the weight of the aircraft at the end of the flight.- Returns:
- the weight in pounds
- See Also:
-
getGateFuel
public int getGateFuel()Returns the amount of fuel at the end of the flight.- Returns:
- the amount of fuel in pounds
- See Also:
-
getEndLocation
Returns the final route position for this flight.- Returns:
- loc the final position
- See Also:
-
getTotalFuel
public int getTotalFuel()Returns the total amount of fuel burned.- Returns:
- the total amount of fuel in pounds
- See Also:
-
getAirborneTime
Returns the time that the aircraft was airborne for this flight.- Returns:
- the Duration the aircraft was airborne
- Throws:
NullPointerException
- if either the landing or takeoff time are not set- See Also:
-
getBlockTime
Returns the total time of the flight.- Returns:
- the total Duration
- Throws:
NullPointerException
- if either the start or end time are not set- See Also:
-
getTaxiOutTime
Returns the outbound taxi time.- Returns:
- the taxi Duration
- Throws:
NullPointerException
- if either taxi time or takeoff time are not set
-
getTaxiInTime
Returns the inbound taxi time.- Returns:
- the taxi Duration
- Throws:
NullPointerException
- if either landing time or end time are not set
-
getAverageFrameRate
public abstract double getAverageFrameRate()Returns the average frame rate for this flight.- Returns:
- the average frame rate in frames per second
-
setStartTime
Updates the start time of the flight.- Parameters:
dt
- the date/time the flight started- See Also:
-
setStartLocation
Updates the first route position for this flight.- Parameters:
loc
- the first position- See Also:
-
setTaxiTime
Updates the time the aircraft was pushed back.- Parameters:
dt
- the date/time of pushback- See Also:
-
setTaxiWeight
public void setTaxiWeight(int w) Updates the weight of the aircraft at pushback.- Parameters:
w
- the weight in pounds- See Also:
-
setTaxiFuel
public void setTaxiFuel(int f) Updates the fuel amount at pushback.- Parameters:
f
- the amount of fuel in pounds- See Also:
-
setTakeoffTime
Updates the takeoff date/time.- Parameters:
dt
- the date/time at takeoff- See Also:
-
setTakeoffDistance
public void setTakeoffDistance(int d) Updates the distance from the origin airport where takeoff occured.- Parameters:
d
- the distance in miles- See Also:
-
setTakeoffSpeed
public void setTakeoffSpeed(int s) Updates the airspeed at takeoff.- Parameters:
s
- the airspeed in knots- See Also:
-
setTakeoffWeight
public void setTakeoffWeight(int w) Updates the aircraft weight at takeoff.- Parameters:
w
- the weight in pounds- See Also:
-
setTakeoffFuel
public void setTakeoffFuel(int f) Updates the amount of fuel at takeoff.- Parameters:
f
- the amount of fuel in pounds- See Also:
-
setTakeoffHeading
public void setTakeoffHeading(int hdg) Updates the heading at takeoff.- Parameters:
hdg
- the takeoff heading in degrees- See Also:
-
setTakeoffN1
public void setTakeoffN1(double n1) Updates the average N1 of the engines at takeoff.- Parameters:
n1
- the average N1, multiplied by 100- See Also:
-
setTakeoffLocation
Updates the position at takeoff.- Parameters:
loc
- the takeoff location- See Also:
-
setLandingTime
Updates the landing date/time.- Parameters:
dt
- the date/time the aircraft touched down- See Also:
-
setLandingDistance
public void setLandingDistance(int d) Updates the distance from the destination airport where touchdown occured.- Parameters:
d
- the distance in miles- See Also:
-
setLandingSpeed
public void setLandingSpeed(int s) Updates the airspeed at touchdown.- Parameters:
s
- the airspeed in knots- See Also:
-
setLandingVSpeed
public void setLandingVSpeed(int s) Updates the vertical speed at touchdown.- Parameters:
s
- the vertical speed in feet per minute- See Also:
-
setLandingWeight
public void setLandingWeight(int w) Updates the weight of the aircraft at touchdown.- Parameters:
w
- the weight in pounds- See Also:
-
setLandingFuel
public void setLandingFuel(int f) Updates the amount of fuel at touchdown.- Parameters:
f
- the amount of fuel in pounds- See Also:
-
setLandingHeading
public void setLandingHeading(int hdg) Updates the heading at touchdown.- Parameters:
hdg
- the touchdown heading in degrees- See Also:
-
setLandingN1
public void setLandingN1(double n1) Updates the average N1 speed of the engines at touchdown.- Parameters:
n1
- the average N1 speed, multiplied by 100- See Also:
-
setLandingLocation
Updates the position at touchdown.- Parameters:
loc
- the position- See Also:
-
setLandingScore
public void setLandingScore(double sc) Updates the landing score.- Parameters:
sc
- the score from 0 to 1, or -1 for unknown- See Also:
-
setEndTime
Updates the end time of the flight.- Parameters:
dt
- the date/time the flight ended- See Also:
-
setEndLocation
Updates the final route position for this flight.- Parameters:
loc
- the final position- See Also:
-
setGateWeight
public void setGateWeight(int w) Updates the weight of the aircraft at the end of the flight.- Parameters:
w
- the weight in pounds- See Also:
-
setGateFuel
public void setGateFuel(int f) Updates the amount of fuel at the end of the flight.- Parameters:
f
- the amount of fuel in pounds- See Also:
-
setTotalFuel
public void setTotalFuel(int f) Updates the total amount of fuel burned during the flight.- Parameters:
f
- the amount of fuel in punds- See Also:
-