Package org.deltava.beans.flight
Class ScorePackage
java.lang.Object
org.deltava.beans.flight.ScorePackage
A bean to store data used to generate a Flight Score.
- Since:
- 8.0
- Version:
- 11.0
- Author:
- Luke
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
Comparator to sort warnings by severity in addition to ordinal. -
Constructor Summary
ConstructorDescriptionScorePackage
(Aircraft a, FDRFlightReport fr, Runway rD, Runway rA, AircraftPolicyOptions opts) Creates a Flight Scoring package. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(RouteEntry re) Adds data to the scoring package.Returns the aircraft profile used.getData()
Returns the flight data.Returns the Flight Report.Returns the aircraft policy options.Returns the flight's score.Returns the arrival Runway.Returns the departure Runway.Returns all warnings from this data set.(package private) void
setResult
(FlightScore fs) Updates the flight's score.
-
Constructor Details
-
Method Details
-
add
Adds data to the scoring package.- Parameters:
re
- an ACARSRouteEntry
-
getAircraft
-
getFlightReport
-
getData
Returns the flight data.- Returns:
- a Collection of ACARSRouteEntry beans
-
getRunwayD
-
getRunwayA
-
getOptions
Returns the aircraft policy options.- Returns:
- an AircraftPolicyOptions bean
-
getWarnings
Returns all warnings from this data set.- Returns:
- a Collection of Warnings
-
getResult
-
setResult
-