Package adams.db
Interface OptionalDatabaseConnectionUser
-
- All Superinterfaces:
DatabaseConnectionUser
- All Known Implementing Classes:
AbstractInstanceGenerator
public interface OptionalDatabaseConnectionUser extends DatabaseConnectionUser
Interface for classes that make use of a database.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getOffline()
Returns whether to work in offline mode, i.e., not query the database.String
offlineTipText()
Returns the tip text for this property.void
setOffline(boolean value)
Sets whether to work in offline mode, i.e., not query the database.
-
-
-
Method Detail
-
setOffline
void setOffline(boolean value)
Sets whether to work in offline mode, i.e., not query the database.- Parameters:
value
- if true then offline mode
-
getOffline
boolean getOffline()
Returns whether to work in offline mode, i.e., not query the database.- Returns:
- true if in offline mode
-
offlineTipText
String offlineTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-