Class GetNavAirway
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetNavData
org.deltava.dao.GetNavAirway
- Direct Known Subclasses:
GetOceanicRoute
A Data Access Object to load navigation route and airway data.
- Since:
- 1.0
- Version:
- 11.3
- Author:
- Luke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Cache
<CacheableList<Airway>> Airway cache.Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAirways
(String name) Loads a Airway definitions from the database.getAll()
Returns all SIDs/STARs in the database.getBestRoute
(ICAOAirport a, TerminalRoute.Type t, String name, String wp, String rwy) Returns the most likely Terminal Route used based on the Airport, Name, last waypoint and runway.getBestRoute
(ICAOAirport a, TerminalRoute.Type t, String name, String wp, Runway rwy) Returns the most likely Terminal Route used based on the Airport, Name, last waypoint and runway.Loads a SID/STAR from the navigation database.getRoute
(ICAOAirport a, TerminalRoute.Type t, String name) Retrieves a specifc SID/STAR.getRoute
(ICAOAirport a, TerminalRoute.Type t, String name, boolean ignoreVersion) Retrieves a specifc SID/STAR.Returns all SIDs/STARs in the database.Loads all SIDs/STARs for a particular Airport.Returns the available SID runways for a particular Airport.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
-
Field Details
-
_aCache
Airway cache.
-
-
Constructor Details
-
GetNavAirway
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getRoute
Loads a SID/STAR from the navigation database.- Parameters:
name
- the name of the Terminal Route, as NAME.TRANSITION- Returns:
- a TerminalRoute bean, or null if not found
- Throws:
DAOException
- if a JDBC error occurs
-
getRouteNames
Returns all SIDs/STARs in the database. This does not populate waypoint data.- Returns:
- a Collection of TerminalRoute beans
- Throws:
DAOException
- if a JDBC error occurs
-
getSIDRunways
Returns the available SID runways for a particular Airport.- Parameters:
a
- an ICAOAirport- Returns:
- a Collection of Runway codes
- Throws:
DAOException
- if a JDBC error occurs
-
getAll
Returns all SIDs/STARs in the database.- Returns:
- a Collection of TerminalRoute beans
- Throws:
DAOException
- if a JDBC error occurs
-
getAirways
Loads a Airway definitions from the database.- Parameters:
name
- the airway code- Returns:
- a Collection of Airway beans
- Throws:
DAOException
- if a JDBC error occurs
-