public class Defaults extends Object implements Serializable
| Constructor and Description |
|---|
Defaults(String ID)
Construct a new empty Defaults
|
Defaults(String ID,
Map<Settings.SettingKey,Object> defaults)
Construct a new Defaults
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Defaults toAdd)
Add the supplied defaults to this one.
|
Map<Settings.SettingKey,Object> |
getDefaults()
Get the map of default settings
|
String |
getID()
Get the ID of this set of defaults
|
void |
setID(String ID)
Set the ID for this set of defaults
|
public Defaults(String ID)
ID - the ID for this set of defaultspublic Defaults(String ID, Map<Settings.SettingKey,Object> defaults)
ID - the ID for this set of defaultsdefaults - the default settings to usepublic String getID()
public void setID(String ID)
ID - the ID to usepublic Map<Settings.SettingKey,Object> getDefaults()
public void add(Defaults toAdd)
toAdd - the defaults to addCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.