Package beamformer.annotation
Class BFAnnotationLogging
java.lang.Object
beamformer.annotation.BFAnnotationLogging
- All Implemented Interfaces:
SQLLoggingAddon
-
Constructor Summary
-
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
-
Constructor Details
-
BFAnnotationLogging
-
-
Method Details
-
addTableItems
Description copied from interface:SQLLoggingAddon
Add a load of columns to an existing table definition- Specified by:
addTableItems
in interfaceSQLLoggingAddon
-
saveData
public boolean saveData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Description copied from interface:SQLLoggingAddon
Save data - that is transfer data from the pamDataUnit to the data objects within the table definition- Specified by:
saveData
in interfaceSQLLoggingAddon
- Parameters:
pamTableDefinition
- table definitionpamDataUnit
- data unit- Returns:
- true if successful
-
loadData
public boolean loadData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Description copied from interface:SQLLoggingAddon
Load data - that is read data from the table definition and turn it into something sensible within or attached to the data unit.- Specified by:
loadData
in interfaceSQLLoggingAddon
- Parameters:
pamTableDefinition
- table definitionpamDataUnit
- data unit- Returns:
- true if successful
-
getName
Description copied from interface:SQLLoggingAddon
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.- Specified by:
getName
in interfaceSQLLoggingAddon
- Returns:
- the name of the Logging Addon
-