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, _usr
Fields 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 String
Returns the icon color for this entry if displayed in a Google Map.final String
Returns the text to display in this marker's infobox if displayed in a Google Map.final LinkedHashMap
<String, String> getTabs()
Returns the tab names.void
Updates the arrival Airport.void
Updates the departure Airport.void
setCheckRide
(boolean isCR) Updates whether the pilot is flying a check ride.void
Updates what Country's airspace this entry is in.void
Updates whether the pilot is flying using a Dispatch-generated flight route.void
setExternalID
(String id) Sets the external flight ID, for use by third-party clients such as simFDR.void
setFlightNumber
(String flightNumber) Updates the flight code.void
setLoadFactor
(double lf) Updates the load factor for this flight.void
setNetwork
(OnlineNetwork network) Updates the online network used for this flight.void
setPassengers
(int pax) Updates the passenger count for this flight.void
setPhaseName
(String phase) Updates the flight's flight phase.void
setRecorder
(Recorder fdr) Updates the Flight Data Recorder used to generate this entry.void
Updates the Simulator used on this flight.void
setTailCode
(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, setWeight
Methods 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, setWindSpeed
Methods inherited from class org.deltava.beans.acars.ACARSMapEntry
getLatitude, getLocation, getLongitude, getPilot, isBusy, setBusy, setClientBuild
Methods inherited from class org.deltava.beans.DatabaseBean
cacheKey, equals, getHexID, getID, hashCode, setID, validateID, validateID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:MarkerMapEntry
Returns the icon color for this entry if displayed in a Google Map.- Specified by:
getIconColor
in interfaceMarkerMapEntry
- Overrides:
getIconColor
in classACARSRouteEntry
- Returns:
- the icon color
-
getInfoBox
Description copied from interface:MapEntry
Returns the text to display in this marker's infobox if displayed in a Google Map.- Specified by:
getInfoBox
in interfaceMapEntry
- Overrides:
getInfoBox
in classACARSRouteEntry
- Returns:
- the infobox HTML text, or null if no infobox to be displayed
-
getTabs
Description copied from interface:TabbedMapEntry
Returns the tab names.- Specified by:
getTabs
in interfaceTabbedMapEntry
- Returns:
- a List of tab names
-