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, _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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the Flight ID.final intReturns the radar altitude.intReturns the vertical speed.Returns the warning message.voidsetFlightID(int id) Sets the Flight ID.voidsetLocation(GeoLocation loc) Updates the location.voidsetMessageType(String mt) voidsetVerticalSpeed(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, 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
-
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:
getRadarAltitudein 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:RouteEntryReturns the warning message.- Specified by:
getWarningsin classRouteEntry- Returns:
- the warning
-