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 TypeMethodDescriptionvoid
add
(NavigationDataBean ndb) Adds a waypoint to the route.void
add
(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.boolean
hasData()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches
-
Constructor Details
-
RouteBuilder
-
-
Method Details
-
getAirportD
Description copied from interface:RoutePair
Returns the departure Airport.- Specified by:
getAirportD
in interfaceRoutePair
- Returns:
- the departure Airport
-
getAirportA
Description copied from interface:RoutePair
Returns the arrival Airport.- Specified by:
getAirportA
in 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
-