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 @ 46409
History | View | Annotate | Download (1.02 KB)
1 | 41491 | jjdelcerro | |
---|---|---|---|
2 | |||
3 | package org.gvsig.fmap.dal; |
||
4 | |||
5 | import java.util.Iterator; |
||
6 | import org.gvsig.tools.persistence.Persistent; |
||
7 | |||
8 | |||
9 | 43400 | jjdelcerro | public interface DataServerExplorerPool extends Persistent, Iterable<DataServerExplorerPoolEntry> { |
10 | 41491 | jjdelcerro | |
11 | 44419 | jjdelcerro | public DataServerExplorerPoolEntry createEntry(String name, String description, DataServerExplorerParameters explorer); |
12 | 41491 | jjdelcerro | |
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 | 45499 | jjdelcerro | @Override
|
36 | public Iterator<DataServerExplorerPoolEntry> iterator(); |
||
37 | 41491 | jjdelcerro | } |