Class OfflineFlight<T extends FDRFlightReport, P extends RouteEntry>

java.lang.Object
org.deltava.beans.acars.OfflineFlight<T,P>
Type Parameters:
T - the FlightReport type
P - the RotueEntry type

public class OfflineFlight<T extends FDRFlightReport, P extends RouteEntry> extends Object
A bean to store data about a submitted offline ACARS Flight Report.
Since:
2.4
Version:
11.2
Author:
Luke
  • Constructor Details

    • OfflineFlight

      public OfflineFlight()
  • Method Details

    • getInfo

      public FlightInfo getInfo()
      Returns the Flight Information.
      Returns:
      the FlightIno bean
    • getPositions

      public SortedSet<P> getPositions()
      Returns the position entries.
      Returns:
      a SortedSet of RouteEntry beans
      See Also:
    • getFlightReport

      public T getFlightReport()
      Returns the Flight Report.
      Returns:
      an FDRFlightReport bean
    • getSID

      public String getSID()
      Returns the SID ID. This property exists because FlightInfo can only store a TerminalRoute bean, not just the ID.
      Returns:
      the SID ID
      See Also:
    • getSTAR

      public String getSTAR()
      Returns the STAR ID. This property exists because FlightInfo can only store a TerminalRoute bean, not just the ID.
      Returns:
      the STAR ID
      See Also:
    • getTaxiInTime

      public int getTaxiInTime()
      Returns the inbound taxi time.
      Returns:
      the taxi time in seconds
      See Also:
    • getTaxiOutTime

      public int getTaxiOutTime()
      Returns the outbound taxi time.
      Returns:
      the taxi time in seconds
      See Also:
    • setInfo

      public void setInfo(FlightInfo inf)
      Updates the Flight information.
      Parameters:
      inf - a FlightInfo bean
      See Also:
    • addPosition

      public void addPosition(P e)
      Adds a position record.
      Parameters:
      e - a RouteEntry bean
      See Also:
    • setFlightReport

      public void setFlightReport(T fr)
      Updates the Flight Report.
      Parameters:
      fr - an FDRFlightReport bean
      See Also:
    • setSID

      public void setSID(String id)
      Sets the SID ID for the flight.
      Parameters:
      id - the SID ID
    • setSTAR

      public void setSTAR(String id)
      Sets the STAR ID for the flight.
      Parameters:
      id - the STAR ID
    • setEquipment

      public void setEquipment(String eqType)
      Updates the equipment type used on the Flight information report and Flight Report.
      Parameters:
      eqType - the equipment type
    • setTaxiTimes

      public void setTaxiTimes(int taxiIn, int taxiOut)
      Updates the inbound and outbound taxi durations.
      Parameters:
      taxiIn - the inbound taxi time in seconds
      taxiOut - the outbound taxi time in seconds