Package beamformer.annotation
Class BFAnnotationLogging
java.lang.Object
beamformer.annotation.BFAnnotationLogging
- All Implemented Interfaces:
SQLLoggingAddon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTableItems(EmptyTableDefinition pamTableDefinition) Add a load of columns to an existing table definitiongetName()Get a name for the SQLLogging Addon.booleanloadData(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.booleansaveData(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:SQLLoggingAddonAdd a load of columns to an existing table definition- Specified by:
addTableItemsin interfaceSQLLoggingAddon- Parameters:
pamTableDefinition-
-
saveData
public boolean saveData(SQLTypes sqlTypes, EmptyTableDefinition pamTableDefinition, PamDataUnit pamDataUnit) Description copied from interface:SQLLoggingAddonSave data - that is transfer data from the pamDataUnit to the data objects within the table definition- Specified by:
saveDatain 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:SQLLoggingAddonLoad data - that is read data from the table definition and turn it into something sensible within or attached to the data unit.- Specified by:
loadDatain interfaceSQLLoggingAddon- Parameters:
pamTableDefinition- table definitionpamDataUnit- data unit- Returns:
- true if successful
-
getName
Description copied from interface:SQLLoggingAddonGet 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:
getNamein interfaceSQLLoggingAddon- Returns:
- the name of the Logging Addon
-