Class SetRunwayMapping
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.SetRunwayMapping
A Data Access Object to update runway mappings in the database.
- Since:
- 8.3
- Version:
- 11.1
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears all Runway mappings for a particular Airport from the database.void
write
(RunwayMapping rm) Writes a RunwayMapping bean to the database.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
-
SetRunwayMapping
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
clear
Clears all Runway mappings for a particular Airport from the database.- Parameters:
icao
- the ICAO code- Throws:
DAOException
- if a JDBC error occurs