Revision 44259 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.spi/src/main/java/org/gvsig/fmap/dal/spi/DataStoreProvider.java
DataStoreProvider.java | ||
---|---|---|
24 | 24 |
package org.gvsig.fmap.dal.spi; |
25 | 25 |
|
26 | 26 |
import java.util.Collection; |
27 |
import java.util.Iterator; |
|
28 | 27 |
|
29 | 28 |
import org.gvsig.fmap.dal.DataServerExplorer; |
30 | 29 |
import org.gvsig.fmap.dal.DataStore; |
... | ... | |
39 | 38 |
import org.gvsig.timesupport.Time; |
40 | 39 |
import org.gvsig.tools.dispose.Disposable; |
41 | 40 |
import org.gvsig.tools.dynobject.DynObject_v2; |
41 |
import org.gvsig.tools.util.UnmodifiableBasicMap; |
|
42 | 42 |
|
43 | 43 |
/** |
44 | 44 |
* Base interface for all data providers |
... | ... | |
49 | 49 |
public interface DataStoreProvider extends org.gvsig.fmap.dal.DataStoreProvider, DynObject_v2, Disposable { |
50 | 50 |
|
51 | 51 |
/** |
52 |
* Retruns an {@link java.util.Iterator} of SubStores from this store. it |
|
53 |
* this hasn't SubStores returns <code>null</code>. |
|
52 |
* Returns an UnmodifiableBasicMap with subStores from this store. |
|
53 |
* If do not have children, return an empty UnmodifiableBasicMap. |
|
54 |
* Never returns null. |
|
54 | 55 |
* |
55 |
* @return SubStores iterator
|
|
56 |
* @return SubStores UnmodifiableBasicMap
|
|
56 | 57 |
*/ |
57 |
public Iterator<DataStore> getChildren();
|
|
58 |
public UnmodifiableBasicMap<String,DataStore> getChildren();
|
|
58 | 59 |
|
59 |
public DataStore getChild(String name); |
|
60 |
|
|
61 |
public boolean hasChildren(); |
|
62 | 60 |
/** |
63 | 61 |
* Create a {@link DataServerExplorer} from the same source that this store. |
64 | 62 |
* |
Also available in: Unified diff