Package Array.streamerOrigin
Class StaticOriginSystem
java.lang.Object
Array.streamerOrigin.HydrophoneOriginSystem
Array.streamerOrigin.StaticOriginSystem
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMethod(PamArray pamArray, Streamer streamer) intcreateSQLLoggingFields(PamTableDefinition tableDefinition) Create any additional fields in the streamer logging table which may be needed.booleanextractSQLLoggingFields(StreamerDataUnit streamerDataUnit) Extract data from SQL logging fields and add them back into the streamer databooleanfillSQLLoggingFields(StreamerDataUnit streamerDataUnit) Fill table time data prior to writing to the database.getName()toString()
-
Field Details
-
systemName
-
systemNewName
-
-
Constructor Details
-
StaticOriginSystem
public StaticOriginSystem()
-
-
Method Details
-
getName
- Specified by:
getNamein classHydrophoneOriginSystem
-
createMethod
- Specified by:
createMethodin classHydrophoneOriginSystem
-
getMethodClass
- Specified by:
getMethodClassin classHydrophoneOriginSystem
-
createSQLLoggingFields
Description copied from class:HydrophoneOriginSystemCreate any additional fields in the streamer logging table which may be needed. This is a bit inefficient since all origin methods are going to do this - but who cares since there are very few of them.Should check that columns of the same name do not already exist before adding them !
- Overrides:
createSQLLoggingFieldsin classHydrophoneOriginSystem- Parameters:
tableDefinition- table definition to add to.- Returns:
- number of columns added.
-
fillSQLLoggingFields
Description copied from class:HydrophoneOriginSystemFill table time data prior to writing to the database.- Overrides:
fillSQLLoggingFieldsin classHydrophoneOriginSystem- Parameters:
streamerDataUnit- streamer data unit to take data from.Should check that this system is actually in use before proceeding !
- Returns:
- true if successful.
-
extractSQLLoggingFields
Description copied from class:HydrophoneOriginSystemExtract data from SQL logging fields and add them back into the streamer data- Overrides:
extractSQLLoggingFieldsin classHydrophoneOriginSystem- Parameters:
streamerDataUnit- streamer data unit- Returns:
- true if successful
-
toString
- Overrides:
toStringin classHydrophoneOriginSystem
-