Class XARouteEntry
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.acars.ACARSMapEntry
org.deltava.beans.acars.RouteEntry
org.deltava.beans.acars.XARouteEntry
- All Implemented Interfaces:
Serializable
,Comparable<Object>
,FuelChecker
,CalendarEntry
,GeoLocation
,GeospaceLocation
,IDBean
,MapEntry
,MarkerMapEntry
,Cacheable
An XACARS Position Report.
- Since:
- 4.1
- Version:
- 8.0
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the Flight ID.final int
Returns the radar altitude.int
Returns the vertical speed.Returns the warning message.void
setFlightID
(int id) Sets the Flight ID.void
setLocation
(GeoLocation loc) Updates the location.void
setMessageType
(String mt) void
setVerticalSpeed
(int s) Sets the vertical speed.Methods inherited from class org.deltava.beans.acars.RouteEntry
compareTo, getAirspace, getAirSpeed, getAltitude, getDate, getFlags, getFuelRemaining, getGroundSpeed, getHeading, getIconColor, getInfoBox, 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
-
XARouteEntry
Creates the route entry.- Parameters:
loc
- the GeoLocationdt
- the date/time
-
-
Method Details
-
getFlightID
public int getFlightID()Returns the Flight ID.- Returns:
- the flight ID
-
getRadarAltitude
public final int getRadarAltitude()Returns the radar altitude.- Specified by:
getRadarAltitude
in classRouteEntry
- Returns:
- -1 since unimplemented
-
getMessageType
-
getVerticalSpeed
public int getVerticalSpeed()Returns the vertical speed.- Returns:
- the speed in feet per minute
-
setFlightID
public void setFlightID(int id) Sets the Flight ID.- Parameters:
id
- the ID- Throws:
IllegalArgumentException
- if id is zero, negative or already set
-
setVerticalSpeed
public void setVerticalSpeed(int s) Sets the vertical speed.- Parameters:
s
- the speed in feet per minute
-
setMessageType
-
setLocation
-
getWarnings
Description copied from class:RouteEntry
Returns the warning message.- Specified by:
getWarnings
in classRouteEntry
- Returns:
- the warning
-