Package adams.data.spectrumfilter
Class AbstractDatabaseFilter
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.filter.AbstractFilter<T>
-
- adams.data.filter.AbstractDatabaseConnectionFilter<Spectrum>
-
- adams.data.spectrumfilter.AbstractDatabaseFilter
-
- All Implemented Interfaces:
adams.core.CleanUpHandler,adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.ShallowCopySupporter<adams.data.filter.Filter>,adams.core.SizeOfHandler,adams.data.filter.Filter<Spectrum>,adams.data.filter.OptionalProcessingInfoUpdate,adams.db.DatabaseConnectionHandler,adams.db.DatabaseConnectionProvider,adams.db.DatabaseConnectionUser,Serializable,Comparable
- Direct Known Subclasses:
ChangeFormat
public abstract class AbstractDatabaseFilter extends adams.data.filter.AbstractDatabaseConnectionFilter<Spectrum>
Abstract superclass for filters that operate on the database.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractDatabaseFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected adams.db.AbstractDatabaseConnectiongetDefaultDatabaseConnection()Returns the default database connection.protected SampleDataFgetSampleDataTable()Returns the correct table object based on the filter's setup.protected SpectrumFgetSpectrumTable()Returns the correct table object based on the filter's setup.-
Methods inherited from class adams.data.filter.AbstractDatabaseConnectionFilter
getDatabaseConnection, initialize, setDatabaseConnection, updateDatabaseConnection
-
Methods inherited from class adams.data.filter.AbstractFilter
checkData, cleanUp, compareTo, defineOptions, destroy, dontUpdateIDTipText, dontUpdateProcessingInfoTipText, equals, filter, forCommandLine, getDontUpdateID, getDontUpdateProcessingInfo, processData, reset, setDontUpdateID, setDontUpdateProcessingInfo, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, loggingLevelTipText, newOptionManager, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDefaultDatabaseConnection
protected adams.db.AbstractDatabaseConnection getDefaultDatabaseConnection()
Returns the default database connection.- Specified by:
getDefaultDatabaseConnectionin classadams.data.filter.AbstractDatabaseConnectionFilter<Spectrum>- Returns:
- the default database connection
-
getSpectrumTable
protected SpectrumF getSpectrumTable()
Returns the correct table object based on the filter's setup.- Returns:
- the table object
-
getSampleDataTable
protected SampleDataF getSampleDataTable()
Returns the correct table object based on the filter's setup.- Returns:
- the table object
-
-