generalDatabase
Class DBSettingsStore
java.lang.Object
generalDatabase.DBSettingsStore
public class DBSettingsStore
- extends java.lang.Object
Load all of the settings from a database and store in a single class.
Each database will possibly hold lots of different settings, the only way
of grouping them together is by time.
Settings are stored in a somewhat dubious way in that any part of Pamguard,
be it a PamControlledUnit or not can store settings, so some of the
settings read back are associated with modules, others are not.
The actual list of modules is an ArrayList with unitNType and unitName
set to PamController and Pam Controller respectively.
- Author:
- Doug
- See Also:
UsedModuleInfo,
PamSettingManager,
PamControlledUnitSettings
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
settingsGroups
private java.util.ArrayList<PamSettingsGroup> settingsGroups
DBSettingsStore
public DBSettingsStore()
getSettingsGroups
public java.util.ArrayList<PamSettingsGroup> getSettingsGroups()
getSettingsGroup
public PamSettingsGroup getSettingsGroup(int groupNumber)
addSettingsGroup
public void addSettingsGroup(PamSettingsGroup dbSettingsGroup)
getNumGroups
public int getNumGroups()
getLastSettingsGroup
public PamSettingsGroup getLastSettingsGroup()