Class GetNavRoute
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetNavData
org.deltava.dao.GetNavAirway
org.deltava.dao.GetOceanicRoute
org.deltava.dao.GetNavRoute
A Data Access Object to load routes.
- Since:
- 2.6
- Version:
- 11.1
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.GetNavAirway
_aCache
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRouteWaypoints
(String route, GeoLocation start) Returns all waypoints for a route, expanding Airways but NOT SID/STARs.populate
(FlightRoute rt) Populates a flight route with waypoint beans.void
Sets the effective date when looking up Oceanic Tracks.Methods inherited from class org.deltava.dao.GetOceanicRoute
get, getOceanic, getOceanicTrackDates, getOceanicTracks, loadConcordeNATs
Methods inherited from class org.deltava.dao.GetNavAirway
getAirways, getAll, getBestRoute, getBestRoute, getRoute, getRoute, getRoute, getRouteNames, getRoutes, getSIDRunways
Methods inherited from class org.deltava.dao.GetNavData
get, getAirport, getAll, getBearingRange, getBestRunway, getByID, getIntersections, getObjects, getRunway, getRunways, getRunways
Methods inherited from class org.deltava.dao.DAO
commitTransaction, createTimestamp, executeIDs, executeUpdate, executeUpdate, expandDate, formatDBName, formatLocation, getNewID, getQueryCount, prepare, prepareWithoutLimits, rollbackTransaction, setQueryMax, setQueryStart, setQueryTimeout, startTransaction, toID, toID, toInstant
-
Constructor Details
-
GetNavRoute
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
setEffectiveDate
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 routestart
- the starting point- Returns:
- an ordered List of NavigationDataBeans
- Throws:
DAOException
- if a JDBC error occurs
-
populate
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
-