Package generalDatabase
Interface SQLLoggingAddon
- All Known Implementing Classes:
BearingAnnotationSQL
,BFAnnotationLogging
,ClickAnnotationSQL
,CrossedBearingSQLAddon
,DLAnnotationSQL
,MatchedClickAnnotationSQL
,NIDaqLogging
,SnrSqlAddon
,SPLSqlAddon
,StringSQLLogging
,TargetMotionSQLLogging
,TimestampSQLLogging
,TMAnnotationLogging
,UserFormSQLAddon
,WavSqlAddon
public interface SQLLoggingAddon
common functionality to add on to an existing SQL logging object.
Initially developed for the target motion analysis which may get added to a variety of different things.
- Author:
- Doug Gillespie
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTableItems
(EmptyTableDefinition pamTableDefinition) Add a load of columns to an existing table definitiongetName()
Get a name for the SQLLogging Addon.boolean
loadData
(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Load data - that is read data from the table definition and turn it into something sensible within or attached to the data unit.boolean
saveData
(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Save data - that is transfer data from the pamDataUnit to the data objects within the table definition
-
Method Details
-
addTableItems
Add a load of columns to an existing table definition- Parameters:
pamTableDefinition
-
-
saveData
boolean saveData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Save data - that is transfer data from the pamDataUnit to the data objects within the table definition- Parameters:
pamTableDefinition
- table definitionpamDataUnit
- data unit- Returns:
- true if successful
-
loadData
boolean loadData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Load data - that is read data from the table definition and turn it into something sensible within or attached to the data unit.- Parameters:
pamTableDefinition
- table definitionpamDataUnit
- data unit- Returns:
- true if successful
-
getName
String getName()Get a name for the SQLLogging Addon. this is used in identifying the Addon meaning that it should be possible to have two Addon's with the same class, but different fields.- Returns:
- the name of the Logging Addon
-