WorkshopDemo
Class WorkshopSQLLogging

java.lang.Object
  extended by generalDatabase.SQLLogging
      extended by WorkshopDemo.WorkshopSQLLogging

public class WorkshopSQLLogging
extends SQLLogging


Field Summary
(package private)  PamTableItem channelItem
           
(package private)  PamTableItem dateItem
           
(package private)  PamTableItem durationItem
           
(package private)  PamTableItem energyItem
           
(package private)  PamTableItem highFreqItem
           
(package private)  PamTableItem lowFreqItem
           
(package private)  PamTableDefinition tableDefinition
           
(package private)  WorkshopController workshopController
           
 
Fields inherited from class generalDatabase.SQLLogging
UPDATE_POLICY_OVERWRITE, UPDATE_POLICY_WRITENEW
 
Constructor Summary
WorkshopSQLLogging(WorkshopController workshopController, PamDataBlock pamDataBlock)
           
 
Method Summary
 PamTableDefinition createTableDefinition()
           
 void setTableData(PamDataUnit pamDataUnit)
          Callback function when new data are created that allows the user to set the data for each column.
 
Methods inherited from class generalDatabase.SQLLogging
createDataUnit, createInClause, createViewResultSet, doExtraChecks, fillTableData, finalize, findLogger, getIdListUpdatClause, getLastTime, getPamDataBlock, getTableDefinition, getTimesUpdateClause, getUpdatePolicy, getViewerCursorFinder, getViewerLoadClause, getViewerUpdateClause, isCanView, isLoadViewData, loadViewData, loadViewerData, logData, prepareEmulation, prepareForMixedMode, readLastData, readMixedModeData, readNextEmulation, reCheckTable, reLogData, saveOfflineData, setCanView, setColumnData, setLoadViewData, setTableDefinition, setUpdatePolicy, transferDataFromResult
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workshopController

WorkshopController workshopController

tableDefinition

PamTableDefinition tableDefinition

dateItem

PamTableItem dateItem

durationItem

PamTableItem durationItem

lowFreqItem

PamTableItem lowFreqItem

highFreqItem

PamTableItem highFreqItem

energyItem

PamTableItem energyItem

channelItem

PamTableItem channelItem
Constructor Detail

WorkshopSQLLogging

public WorkshopSQLLogging(WorkshopController workshopController,
                          PamDataBlock pamDataBlock)
Method Detail

createTableDefinition

public PamTableDefinition createTableDefinition()

setTableData

public void setTableData(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