add
public void add(String id,
Object data)
Store data into the state.
id
- A unique id that will identify the given data object
in this state. The id will be padded with the name of the
calling module to avoid name clashes between different modules.data
- The data object to store.
get
public Object get(String id)
Fetch a data object from this state.
id
- The unique id that was used to store the data.
- The data object associated to the given id or null if
no such id was found.
save
public void save(String filename)
setModule
public void setModule(String moduleName)