public class DataServerExplorerPoolImpl extends java.lang.Object implements DataServerExplorerPool
Constructor and Description |
---|
DataServerExplorerPoolImpl() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String name,
DataServerExplorerParameters explorer) |
void |
add(java.lang.String name,
java.lang.String description,
DataServerExplorerParameters explorer) |
boolean |
contains(DataServerExplorerPoolEntry entry) |
boolean |
contains(java.lang.String name) |
DataServerExplorerPoolEntry |
createEntry(java.lang.String name,
java.lang.String description,
DataServerExplorerParameters explorer) |
DataServerExplorerPoolEntry |
get(int index) |
DataServerExplorerPoolEntry |
get(java.lang.String name) |
StoresRepository |
getStoresRepository() |
boolean |
isEmpty() |
java.util.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(java.lang.String name) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
int |
size() |
public boolean contains(java.lang.String name)
contains
in interface DataServerExplorerPool
public boolean contains(DataServerExplorerPoolEntry entry)
contains
in interface DataServerExplorerPool
public boolean isEmpty()
isEmpty
in interface DataServerExplorerPool
public DataServerExplorerPoolEntry createEntry(java.lang.String name, java.lang.String description, DataServerExplorerParameters explorer)
createEntry
in interface DataServerExplorerPool
public void add(java.lang.String name, DataServerExplorerParameters explorer)
add
in interface DataServerExplorerPool
public void add(java.lang.String name, java.lang.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(java.lang.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(java.lang.String name)
get
in interface DataServerExplorerPool
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable<DataServerExplorerPoolEntry>
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()
public StoresRepository getStoresRepository()
getStoresRepository
in interface DataServerExplorerPool