Class SetRunwayMapping

java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.SetRunwayMapping

public class SetRunwayMapping extends DAO
A Data Access Object to update runway mappings in the database.
Since:
8.3
Version:
11.1
Author:
Luke
  • Constructor Details

    • SetRunwayMapping

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

    • write

      public void write(RunwayMapping rm) throws DAOException
      Writes a RunwayMapping bean to the database.
      Parameters:
      rm - a RunwayMapping
      Throws:
      DAOException - if a JDBC error occurs
    • clear

      public void clear(String icao) throws DAOException
      Clears all Runway mappings for a particular Airport from the database.
      Parameters:
      icao - the ICAO code
      Throws:
      DAOException - if a JDBC error occurs