public class DefaultDataServerExplorerPool extends Object implements DataServerExplorerPool
Constructor and Description |
---|
DefaultDataServerExplorerPool() |
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
DataServerExplorerParameters explorer) |
void |
add(String name,
String description,
DataServerExplorerParameters explorer) |
boolean |
contains(DataServerExplorerPoolEntry entry) |
boolean |
contains(String name) |
DataServerExplorerPoolEntry |
get(int index) |
DataServerExplorerPoolEntry |
get(String name) |
boolean |
isEmpty() |
Iterator |
iterator() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistenceDefinition() |
void |
remove(DataServerExplorerPoolEntry entry) |
void |
remove(int explorerIndex) |
void |
remove(String name) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
int |
size() |
public boolean contains(String name)
contains
in interface DataServerExplorerPool
public boolean contains(DataServerExplorerPoolEntry entry)
contains
in interface DataServerExplorerPool
public boolean isEmpty()
isEmpty
in interface DataServerExplorerPool
public void add(String name, DataServerExplorerParameters explorer)
add
in interface DataServerExplorerPool
public void add(String name, String description, DataServerExplorerParameters explorer)
add
in interface DataServerExplorerPool
public void remove(DataServerExplorerPoolEntry entry)
remove
in interface DataServerExplorerPool
public void remove(int explorerIndex)
remove
in interface DataServerExplorerPool
public void remove(String name)
remove
in interface DataServerExplorerPool
public int size()
size
in interface DataServerExplorerPool
public DataServerExplorerPoolEntry get(int index)
get
in interface DataServerExplorerPool
public DataServerExplorerPoolEntry get(String name)
get
in interface DataServerExplorerPool
public Iterator iterator()
iterator
in interface DataServerExplorerPool
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public static void registerPersistenceDefinition()