Class ETOPSResult
java.lang.Object
org.deltava.beans.flight.ETOPSResult
A class to store ETOPS validation results.
- Since:
- 4.1
- Version:
- 7.0
- Author:
- Luke
-
Constructor Summary
ConstructorsConstructorDescriptionETOPSResult
(ETOPS e) Creates an empty results object.ETOPSResult
(ETOPS e, NavigationDataBean loc, Collection<String> msgs) Creates the results object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a diversion airport to the helper.Returns the Airport closest to the maximum distance point.int
Returns the maximum distance to a diversion airport.Returns the ETOPS messages.Returns the ETOPS classification.Returns the farthest point from a diversion airport.int
hashCode()
toString()
-
Constructor Details
-
ETOPSResult
-
-
Method Details
-
getResult
-
getDistance
public int getDistance()Returns the maximum distance to a diversion airport.- Returns:
- the maximum distance in miles
-
getClosestAirports
Returns the Airport closest to the maximum distance point.- Returns:
- the closest Airport
-
getWarningPoint
Returns the farthest point from a diversion airport.- Returns:
- a NavigationDataBean representing the warning point
-
getMessages
Returns the ETOPS messages.- Returns:
- a Collection of messages
-
hashCode
-
toString
-