Class XAFlightInfo
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.Flight
org.deltava.beans.flight.FlightReport
org.deltava.beans.flight.FDRFlightReport
org.deltava.beans.acars.XAFlightInfo
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,AuthoredBean
,CalendarEntry
,FlightData
,FlightNumber
,IDBean
,RoutePair
,TimeSpan
,ViewEntry
,Cacheable
An XACARS Flight Information object.
- Since:
- 4.1
- Version:
- 11.1
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enumeration to track climb/cruise/descent.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the alternate Airport.double
Returns the average frame rate for this flight.long
Returns the aircraft/simulator capabilities flags.Returns the climb phase.Returns the cruise altitude.getFDR()
Returns the Flight Data recorder used for this flight.final int
Returns the length of the fllight in hours multiplied by ten.getPhase()
Returns the flight phase.int
Returns the aircraft weight without fuel.void
Sets the alternate Airport.void
Updates the climb phase.void
setCruseAltitude
(String alt) Sets the cruising altitude.void
Updates the flight phase.void
setZeroFuelWeight
(int zfw) Updates the aircraft weight without fuel.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, 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
-
XAFlightInfo
Creates the Flight Info object.- Parameters:
a
- the Airlineleg
- 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
-
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
-
getPhase
-
getClimbPhase
-
getAirportL
Returns the alternate Airport.- Returns:
- the Airport, or null if not filed
-
getCruiseAltitude
Returns the cruise altitude.- Returns:
- the cruising altitude or flight level
-
getZeroFuelWeight
public int getZeroFuelWeight()Returns the aircraft weight without fuel.- Returns:
- the weight in pounds
-
getLength
public final int getLength()Description copied from class:FlightReport
Returns the length of the fllight in hours multiplied by ten. This is done to avoid rounding errors when using a floating point number.- Overrides:
getLength
in classFlightReport
- Returns:
- the length of the flight in hours multiplied by ten
- See Also:
-
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
-
setZeroFuelWeight
public void setZeroFuelWeight(int zfw) Updates the aircraft weight without fuel.- Parameters:
zfw
- the weight in pounds
-
setCruseAltitude
Sets the cruising altitude.- Parameters:
alt
- the altitude or flight level
-
setAirportL
-
setPhase
-
setClimbPhase
Updates the climb phase.- Parameters:
cp
- a ClimbPhase
-