Class XARouteEntry

All Implemented Interfaces:
Serializable, Comparable<Object>, FuelChecker, CalendarEntry, GeoLocation, GeospaceLocation, IDBean, MapEntry, MarkerMapEntry, Cacheable

public class XARouteEntry extends RouteEntry
An XACARS Position Report.
Since:
4.1
Version:
8.0
Author:
Luke
See Also:
  • Constructor Details

    • XARouteEntry

      public XARouteEntry(GeoLocation loc, Instant dt)
      Creates the route entry.
      Parameters:
      loc - the GeoLocation
      dt - 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 class RouteEntry
      Returns:
      -1 since unimplemented
    • getMessageType

      public String 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

      public void setMessageType(String mt)
    • setLocation

      public void setLocation(GeoLocation loc)
      Updates the location.
      Parameters:
      loc - the location
    • getWarnings

      public Collection<Warning> getWarnings()
      Description copied from class: RouteEntry
      Returns the warning message.
      Specified by:
      getWarnings in class RouteEntry
      Returns:
      the warning