Class OfflineFlight<T extends FDRFlightReport, P extends RouteEntry>
java.lang.Object
org.deltava.beans.acars.OfflineFlight<T,P>
- Type Parameters:
T- the FlightReport typeP- the RotueEntry type
A bean to store data about a submitted offline ACARS Flight Report.
- Since:
- 2.4
- Version:
- 11.2
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPosition(P e) Adds a position record.Returns the Flight Report.getInfo()Returns the Flight Information.Returns the position entries.getSID()Returns the SID ID.getSTAR()Returns the STAR ID.intReturns the inbound taxi time.intReturns the outbound taxi time.voidsetEquipment(String eqType) Updates the equipment type used on the Flight information report and Flight Report.voidsetFlightReport(T fr) Updates the Flight Report.voidsetInfo(FlightInfo inf) Updates the Flight information.voidSets the SID ID for the flight.voidSets the STAR ID for the flight.voidsetTaxiTimes(int taxiIn, int taxiOut) Updates the inbound and outbound taxi durations.
-
Constructor Details
-
OfflineFlight
public OfflineFlight()
-
-
Method Details
-
getInfo
-
getPositions
-
getFlightReport
-
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
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
Updates the Flight information.- Parameters:
inf- a FlightInfo bean- See Also:
-
addPosition
-
setFlightReport
Updates the Flight Report.- Parameters:
fr- an FDRFlightReport bean- See Also:
-
setSID
-
setSTAR
-
setEquipment
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 secondstaxiOut- the outbound taxi time in seconds
-