Package Array.streamerOrigin
Class StaticOriginSystem
java.lang.Object
Array.streamerOrigin.HydrophoneOriginSystem
Array.streamerOrigin.StaticOriginSystem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateMethod
(PamArray pamArray, Streamer streamer) int
createSQLLoggingFields
(PamTableDefinition tableDefinition) Create any additional fields in the streamer logging table which may be needed.boolean
extractSQLLoggingFields
(StreamerDataUnit streamerDataUnit) Extract data from SQL logging fields and add them back into the streamer databoolean
fillSQLLoggingFields
(StreamerDataUnit streamerDataUnit) Fill table time data prior to writing to the database.getName()
toString()
-
Constructor Details
-
StaticOriginSystem
public StaticOriginSystem()
-
-
Method Details
-
getName
- Specified by:
getName
in classHydrophoneOriginSystem
-
createMethod
- Specified by:
createMethod
in classHydrophoneOriginSystem
-
getMethodClass
- Specified by:
getMethodClass
in classHydrophoneOriginSystem
-
createSQLLoggingFields
Description copied from class:HydrophoneOriginSystem
Create 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:
createSQLLoggingFields
in classHydrophoneOriginSystem
- Parameters:
tableDefinition
- table definition to add to.- Returns:
- number of columns added.
-
fillSQLLoggingFields
Description copied from class:HydrophoneOriginSystem
Fill table time data prior to writing to the database.- Overrides:
fillSQLLoggingFields
in 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:HydrophoneOriginSystem
Extract data from SQL logging fields and add them back into the streamer data- Overrides:
extractSQLLoggingFields
in classHydrophoneOriginSystem
- Parameters:
streamerDataUnit
- streamer data unit- Returns:
- true if successful
-
toString
- Overrides:
toString
in classHydrophoneOriginSystem
-