Class LogXMLSettings


public class LogXMLSettings extends DbSpecial
2022 Additional way of saving settings for each module into the database in more human readable XML format.

In other ways, similar to LogSettings which saves serialised Java. This will write a line per module. A main difference is that on pamStop it will update the end time for each line, so that we have a record of analysis effort for each module. Will therefore need to store the last index of the entry for each module, so that we can update the appropriate row.

Author:
dg50
  • Constructor Details

    • LogXMLSettings

      public LogXMLSettings(DBControl dbControl)
  • Method Details

    • pamStart

      public void pamStart(PamConnection con)
      Specified by:
      pamStart in class DbSpecial
    • pamStop

      public void pamStop(PamConnection con)
      Specified by:
      pamStop in class DbSpecial
    • setTableData

      public void setTableData(SQLTypes sqlTypes, PamDataUnit pamDataUnit)
      Description copied from class: SQLLogging
      Callback function when new data are created that allows the user to set the data for each column. Columns that have data which can be filled automatically (counters, primary keys and columns cross referenced to data in other tables) are filled automatically in fillTableData()
      Specified by:
      setTableData in class SQLLogging