Class RunwayHelper
java.lang.Object
org.deltava.beans.schedule.RunwayHelper
- All Implemented Interfaces:
RoutePair
-
Nested Class Summary
Nested classes/interfaces inherited from interface RoutePair
RoutePair.RoutePairImplModifier and TypeInterfaceDescriptionstatic classHelper class when all you need is a naked RoutePair. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRunways(Collection<RunwayUse> ruD, Collection<RunwayUse> ruA) Adds departure runway usage.voidaddSIDs(Collection<TerminalRoute> sids) Adds valid SIDs for the departure Airport.voidaddSTARs(Collection<TerminalRoute> stars) Adds valid STARs for the arrival Airport.Returns the arrival Airport.Returns the departure Airport.getRunways(boolean isDeparture) Filters and sorts appropriate Runways based on winds, terminal routes and popularity.getSIDs()Returns the loaded SIDs.getSTARs()Returns the loaded STARs.voidSets the weather at the Airports.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPointModifier and TypeMethodDescriptiondefault StringReturns a key that describes the route pair.Returns the airports in this Route Pair.default intReturns the distance between the Airports.default FlightTypeReturns the flight type for customs/gate purposes.default booleanReturns whether this RoutePair includes a particular IATA or ICAO code.default booleanReturns whether both airports are populated.default booleanReturns whether this RoutePair matches a particular Route Pair.default GeoLocationmidPoint()Returns the midpoint between the two Airports on a Great Circle route.
-
Constructor Details
-
RunwayHelper
Creates the helper.- Parameters:
rp- the RoutePairac- an optional AircraftPolicyOptions for aircraft data
-
-
Method Details
-
getAirportD
Description copied from interface:RoutePairReturns the departure Airport.- Specified by:
getAirportDin interfaceRoutePair- Returns:
- the departure Airport
-
getAirportA
Description copied from interface:RoutePairReturns the arrival Airport.- Specified by:
getAirportAin interfaceRoutePair- Returns:
- the arrival Airport
-
getSIDs
Returns the loaded SIDs.- Returns:
- a Collection of TerminalRoutes
-
getSTARs
Returns the loaded STARs.- Returns:
- a Collection of TerminalRoutes
-
setMETAR
-
addSIDs
Adds valid SIDs for the departure Airport.- Parameters:
sids- a Collection of TerminalRoutes
-
addSTARs
Adds valid STARs for the arrival Airport.- Parameters:
stars- a Collection of TerminalRoutes
-
addRunways
Adds departure runway usage.- Parameters:
ruD- a Collection of departure RunwayUsage beeansruA- a Collection of arrival RunwayUsage beeans
-
getRunways
-