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 enumEnumeration 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
_stateChangeTimesFields 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.doubleReturns the average frame rate for this flight.longReturns the aircraft/simulator capabilities flags.Returns the climb phase.Returns the cruise altitude.getFDR()Returns the Flight Data recorder used for this flight.final intReturns the length of the fllight in hours multiplied by ten.getPhase()Returns the flight phase.intReturns the aircraft weight without fuel.voidSets the alternate Airport.voidUpdates the climb phase.voidsetCruseAltitude(String alt) Sets the cruising altitude.voidUpdates the flight phase.voidsetZeroFuelWeight(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, setTotalFuelMethods 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, setSubmittedOnMethods 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, toStringMethods inherited from class org.deltava.beans.DatabaseBean
cacheKey, getHexID, getID, validateID, validateIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.deltava.beans.CalendarEntry
getDateMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.deltava.beans.flight.FlightData
getEquipmentTypeMethods inherited from interface org.deltava.beans.FlightNumber
getAirline, getFlightNumber, getLegMethods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirportA, getAirportD, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPoint
-
Constructor Details
-
XAFlightInfo
Creates the Flight Info object.- Parameters:
a- the Airlineleg- 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
-
getCapabilities
public long getCapabilities()Description copied from class:FDRFlightReportReturns the aircraft/simulator capabilities flags.- Specified by:
getCapabilitiesin 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:FlightReportReturns the length of the fllight in hours multiplied by ten. This is done to avoid rounding errors when using a floating point number.- Overrides:
getLengthin classFlightReport- Returns:
- the length of the flight in hours multiplied by ten
- See Also:
-
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
-
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
-