Class MapRouteEntry
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.acars.ACARSMapEntry
org.deltava.beans.acars.RouteEntry
org.deltava.beans.acars.ACARSRouteEntry
org.deltava.beans.acars.MapRouteEntry
- All Implemented Interfaces:
Serializable,Comparable<Object>,FuelChecker,CalendarEntry,GeoLocation,GeospaceLocation,IDBean,MapEntry,MarkerMapEntry,TabbedMapEntry,Cacheable
A bean to store a snapshot of an ACARS-logged flight.
- Since:
- 1.0
- Version:
- 11.1
- Author:
- Luke
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.deltava.beans.acars.ACARSMapEntry
ACARSMapEntry.EntryType -
Field Summary
Fields inherited from class org.deltava.beans.acars.ACARSMapEntry
_betaBuild, _busy, _clientBuild, _pos, _usrFields inherited from interface org.deltava.beans.GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES -
Constructor Summary
ConstructorsConstructorDescriptionMapRouteEntry(Instant dt, GeoLocation gl, Pilot usr, String eqType) Creates the bean. -
Method Summary
Modifier and TypeMethodDescriptionReturns the external flight ID, used by clients such as simFDR.final StringReturns the icon color for this entry if displayed in a Google Map.final StringReturns the text to display in this marker's infobox if displayed in a Google Map.final LinkedHashMap<String, String> getTabs()Returns the tab names.voidUpdates the arrival Airport.voidUpdates the departure Airport.voidsetCheckRide(boolean isCR) Updates whether the pilot is flying a check ride.voidUpdates what Country's airspace this entry is in.voidUpdates whether the pilot is flying using a Dispatch-generated flight route.voidsetExternalID(String id) Sets the external flight ID, for use by third-party clients such as simFDR.voidsetFlightNumber(String flightNumber) Updates the flight code.voidsetLoadFactor(double lf) Updates the load factor for this flight.voidsetNetwork(OnlineNetwork network) Updates the online network used for this flight.voidsetPassengers(int pax) Updates the passenger count for this flight.voidsetPhaseName(String phase) Updates the flight's flight phase.voidsetRecorder(Recorder fdr) Updates the Flight Data Recorder used to generate this entry.voidUpdates the Simulator used on this flight.voidsetTailCode(String tailCode) Updates the aircraft's tail code.Methods inherited from class org.deltava.beans.acars.ACARSRouteEntry
getACARSConnected, getADF1, getAltimeter, getAOA, getATC1, getATC2, getBank, getCG, getCOM1, getCOM2, getEngineCount, getFlaps, getFrameRate, getFuelFlow, getG, getGroundOperations, getN1, getN1, getN2, getN2, getNAV1, getNAV2, getNetworkConnected, getPitch, getPressure, getRadarAltitude, getRestoreCount, getSimRate, getSimUTC, getTemperature, getVASFree, getVerticalSpeed, getVisibility, getWarnings, getWeight, isEngineOut, setACARSConnected, setADF1, setAltimeter, setAOA, setATC1, setATC2, setAutopilotType, setBank, setCG, setCOM1, setCOM2, setDisplayPerEngineNX, setEngineCount, setFlaps, setFrameRate, setFuelFlow, setG, setGroundOperations, setN1, setN1, setN2, setN2, setNAV1, setNAV2, setNetworkConnected, setPitch, setPressure, setRadarAltitude, setRestoreCount, setSimRate, setSimUTC, setTemperature, setVASFree, setVerticalSpeed, setVisibility, setWeightMethods inherited from class org.deltava.beans.acars.RouteEntry
compareTo, getAirspace, getAirSpeed, getAltitude, getDate, getFlags, getFuelRemaining, getGroundSpeed, getHeading, getMach, getPhase, getType, getWindHeading, getWindSpeed, isFlagSet, isWarning, setAirspace, setAirSpeed, setAltitude, setFlag, setFlags, setFuelRemaining, setGroundSpeed, setHeading, setMach, setPhase, setWindHeading, setWindSpeedMethods inherited from class org.deltava.beans.acars.ACARSMapEntry
getLatitude, getLocation, getLongitude, getPilot, isBusy, setBusy, setClientBuildMethods inherited from class org.deltava.beans.DatabaseBean
cacheKey, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.deltava.beans.GeoLocation
distanceFeet, distanceTo, getLatitude, getLongitude
-
Constructor Details
-
MapRouteEntry
Creates the bean.- Parameters:
dt- the date/timegl- the aircraft locationusr- the PiloteqType- the aircraft type
-
-
Method Details
-
getExternalID
Returns the external flight ID, used by clients such as simFDR.- Returns:
- the ID
-
setCheckRide
public void setCheckRide(boolean isCR) Updates whether the pilot is flying a check ride.- Parameters:
isCR- TRUE if a check ride, otherwise FALSE
-
setDispatcher
Updates whether the pilot is flying using a Dispatch-generated flight route.- Parameters:
dsp- the DispatchType
-
setFlightNumber
Updates the flight code.- Parameters:
flightNumber- the flight code
-
setAirportD
-
setAirportA
-
setNetwork
Updates the online network used for this flight.- Parameters:
network- the OnlineNetwork
-
setPhaseName
Updates the flight's flight phase.- Parameters:
phase- the phase name
-
setRecorder
Updates the Flight Data Recorder used to generate this entry.- Parameters:
fdr- a Recorder
-
setLoadFactor
public void setLoadFactor(double lf) Updates the load factor for this flight.- Parameters:
lf- the load factor
-
setPassengers
public void setPassengers(int pax) Updates the passenger count for this flight.- Parameters:
pax- the passenger count
-
setSimulator
Updates the Simulator used on this flight.- Parameters:
s- the Simulator
-
setCountry
Updates what Country's airspace this entry is in.- Parameters:
c- a Country
-
setTailCode
Updates the aircraft's tail code.- Parameters:
tailCode- the tail code
-
setExternalID
Sets the external flight ID, for use by third-party clients such as simFDR.- Parameters:
id- the ID
-
getIconColor
Description copied from interface:MarkerMapEntryReturns the icon color for this entry if displayed in a Google Map.- Specified by:
getIconColorin interfaceMarkerMapEntry- Overrides:
getIconColorin classACARSRouteEntry- Returns:
- the icon color
-
getInfoBox
Description copied from interface:MapEntryReturns the text to display in this marker's infobox if displayed in a Google Map.- Specified by:
getInfoBoxin interfaceMapEntry- Overrides:
getInfoBoxin classACARSRouteEntry- Returns:
- the infobox HTML text, or null if no infobox to be displayed
-
getTabs
Description copied from interface:TabbedMapEntryReturns the tab names.- Specified by:
getTabsin interfaceTabbedMapEntry- Returns:
- a List of tab names
-