Class GetNavRoute


public class GetNavRoute extends GetOceanicRoute
A Data Access Object to load routes.
Since:
2.6
Version:
11.1
Author:
Luke
  • Constructor Details

    • GetNavRoute

      public GetNavRoute(Connection c)
      Initializes the Data Access Object.
      Parameters:
      c - the JDBC connection to use
  • Method Details

    • setEffectiveDate

      public void setEffectiveDate(Instant dt)
      Sets the effective date when looking up Oceanic Tracks.
      Parameters:
      dt - the effective date/time
    • getRouteWaypoints

      public List<NavigationDataBean> getRouteWaypoints(String route, GeoLocation start) throws DAOException
      Returns all waypoints for a route, expanding Airways but NOT SID/STARs.
      Parameters:
      route - the space-delimited route
      start - the starting point
      Returns:
      an ordered List of NavigationDataBeans
      Throws:
      DAOException - if a JDBC error occurs
    • populate

      public PopulatedRoute populate(FlightRoute rt) throws DAOException
      Populates a flight route with waypoint beans.
      Parameters:
      rt - the FlightRoute bean to populate
      Returns:
      a populated DispatchRoute
      Throws:
      DAOException - if a JDBC error occurs