Package rocca

Class RoccaDetectionLogger

java.lang.Object
generalDatabase.SQLLogging
rocca.RoccaDetectionLogger

public class RoccaDetectionLogger extends SQLLogging
Databse logging information for Rocca statistics.
Author:
Michael Oswald
  • Field Details Link icon

  • Constructor Details Link icon

    • RoccaDetectionLogger Link icon

      public RoccaDetectionLogger(RoccaSidePanel roccaSidePanel, PamDataBlock pamDataBlock)
      Parameters:
      roccaSidePanel - keep a reference of the RoccaSidePanel
      pamDataBlock -
  • Method Details Link icon

    • setTableData Link icon

      public void setTableData(SQLTypes sqlTypes, PamDataUnit pamDataUnit)
      Load up the class fields with the data to save
      Specified by:
      setTableData in class SQLLogging
      Parameters:
      pamDataUnit - The RoccaSightingDataUnit that contains the detection stats to save
    • createDataUnit Link icon

      protected PamDataUnit createDataUnit(SQLTypes sqlTypes, long timeMilliseconds, int databaseIndex)
      Create a new RoccaSightingDataUnit and fill it with values from the database
      Overrides:
      createDataUnit in class SQLLogging
      Parameters:
      timeMilliseconds - parameter from the database
      databaseIndex - database index
      Returns:
      boolean indicating method success