Class RouteBuilder
java.lang.Object
org.deltava.beans.flight.RouteBuilder
- All Implemented Interfaces:
RoutePair
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.beans.schedule.RoutePair
RoutePair.RoutePairImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(NavigationDataBean ndb) Adds a waypoint to the route.voidadd(TerminalRoute tr) Adds a TerminalRoute to the waypoints.Returns the arrival Airport.Returns the departure Airport.Returns the waypoints in the route, including the SID/STAR.getRoute()Returns the filed route, minus any SID/STAR names.getSID()Returns the SID name.Returns the SID transition.getSTAR()Returns the STAR name.Returns the STAR transition.booleanhasData()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPoint
-
Constructor Details
-
RouteBuilder
-
-
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
-
getSID
-
getSIDTransition
Returns the SID transition.- Returns:
- the SID transition waypoint, or null if none detected
-
getSTAR
-
getSTARTransition
Returns the STAR transition.- Returns:
- the STAR transition waypoint, or null if none detected
-
getRoute
-
getPoints
Returns the waypoints in the route, including the SID/STAR.- Returns:
- a List of NavigationDataBeans
-
hasData
public boolean hasData() -
toString
-