svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / DataServerExplorerPool.java @ 46316
History | View | Annotate | Download (1.02 KB)
1 |
|
---|---|
2 |
|
3 |
package org.gvsig.fmap.dal; |
4 |
|
5 |
import java.util.Iterator; |
6 |
import org.gvsig.tools.persistence.Persistent; |
7 |
|
8 |
|
9 |
public interface DataServerExplorerPool extends Persistent, Iterable<DataServerExplorerPoolEntry> { |
10 |
|
11 |
public DataServerExplorerPoolEntry createEntry(String name, String description, DataServerExplorerParameters explorer); |
12 |
|
13 |
public void add(String name, DataServerExplorerParameters explorer); |
14 |
|
15 |
public void add(String name, String description, DataServerExplorerParameters explorer); |
16 |
|
17 |
public boolean contains(String name); |
18 |
|
19 |
public boolean contains(DataServerExplorerPoolEntry entry); |
20 |
|
21 |
public boolean isEmpty(); |
22 |
|
23 |
public void remove(DataServerExplorerPoolEntry explorer); |
24 |
|
25 |
public void remove(int explorerIndex); |
26 |
|
27 |
public void remove(String name); |
28 |
|
29 |
public int size(); |
30 |
|
31 |
public DataServerExplorerPoolEntry get(int index); |
32 |
|
33 |
public DataServerExplorerPoolEntry get(String name); |
34 |
|
35 |
@Override
|
36 |
public Iterator<DataServerExplorerPoolEntry> iterator(); |
37 |
} |