Package adams.gui.scripting
Class AbstractDatabaseScriptlet
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.scripting.AbstractScriptlet
-
- adams.gui.scripting.AbstractDatabaseScriptlet
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,Stoppable
,StoppableWithFeedback
,Serializable
,Comparable
- Direct Known Subclasses:
Connect
,Disconnect
public abstract class AbstractDatabaseScriptlet extends AbstractScriptlet
Ancestor for scriptlets that need access to the database.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.scripting.AbstractScriptlet
m_DataProvider, m_Owner, m_Parameters, m_Stopped
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractDatabaseScriptlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractDatabaseConnection
getDatabaseConnection()
Returns the database connection instance.-
Methods inherited from class adams.gui.scripting.AbstractScriptlet
compareTo, doProcess, equals, forName, getAction, getBasePanel, getDataProvider, getDescription, getOptionsDescription, getOwner, getParameter, getParameterDescription, getRequirements, getScriptlets, hashCode, hasOwner, hasParameter, initialize, isStopped, process, setDataProvider, setOwner, setParameter, showStatus, stopExecution, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
getDatabaseConnection
protected AbstractDatabaseConnection getDatabaseConnection()
Returns the database connection instance.- Returns:
- the connection object
-
-