Class DispatchConnectionEntry

All Implemented Interfaces:
Serializable, Comparable<Object>, ClientVersion, AuthoredBean, CalendarEntry, IDBean, RemoteAddressBean, TimeSpan, Cacheable

public class DispatchConnectionEntry extends ConnectionEntry
An ACARS Connection log entry for Dispatchers.
Since:
2.4
Version:
6.4
Author:
Luke
See Also:
  • Constructor Details

    • DispatchConnectionEntry

      public DispatchConnectionEntry(long id)
      Creates a new Dispatch Connection entry.
      Parameters:
      id - the Connection ID
  • Method Details

    • getDispatch

      public final boolean getDispatch()
      Returns if this is a Dispatch connection.
      Overrides:
      getDispatch in class ConnectionEntry
      Returns:
      TRUE
    • getHasFlights

      public boolean getHasFlights()
      Returns whether this connection dispatched any flights.
      Returns:
      TRUE if flights dispatched, otherwise FALSE
    • getFlights

      public Collection<FlightInfo> getFlights()
      Returns Flights dispatched during this connection.
      Returns:
      a Collection of FlightInfo beans
    • addFlights

      public void addFlights(Collection<FlightInfo> info)
      Adds dispatched Flights to this Connection entry.
      Parameters:
      info - a Collection of FlightInfo beans
    • toString

      public String toString()
      Overrides:
      toString in class Object