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/feature/spi/AbstractFeatureStoreProvider.java
AbstractFeatureStoreProvider.java | ||
---|---|---|
69 | 69 |
import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException; |
70 | 70 |
import org.gvsig.tools.dynobject.exception.DynMethodException; |
71 | 71 |
import org.gvsig.tools.exception.BaseException; |
72 |
import org.gvsig.tools.util.UnmodifiableBasicMap; |
|
72 | 73 |
|
73 | 74 |
/** |
74 | 75 |
* Abstract implementation of {@link FeatureStoreProvider} |
... | ... | |
480 | 481 |
* |
481 | 482 |
* @see org.gvsig.fmap.dal.feature.spi.FeatureStoreProvider#supportsAppendMode() |
482 | 483 |
*/ |
484 |
@Override |
|
483 | 485 |
public boolean supportsAppendMode() { |
484 | 486 |
return false; |
485 | 487 |
} |
486 | 488 |
|
487 | 489 |
@Override |
488 |
public Iterator<DataStore> getChildren() {
|
|
489 |
return Collections.EMPTY_LIST.iterator();
|
|
490 |
public UnmodifiableBasicMap<String,DataStore> getChildren() {
|
|
491 |
return UnmodifiableBasicMap.EMPTY_UNMODIFIABLEBASICMAP;
|
|
490 | 492 |
} |
491 | 493 |
|
492 |
@Override |
|
493 |
public DataStore getChild(String name) { |
|
494 |
return null; |
|
495 |
} |
|
496 |
|
|
497 |
@Override |
|
498 |
public boolean hasChildren() { |
|
499 |
return false; |
|
500 |
} |
|
501 |
|
|
502 | 494 |
/** |
503 | 495 |
* unsupported by default (return null), override this otherwise |
504 | 496 |
* |
497 |
* @throws org.gvsig.fmap.dal.exception.ReadException |
|
498 |
* @throws org.gvsig.fmap.dal.exception.ValidateDataParametersException |
|
505 | 499 |
* @see org.gvsig.fmap.dal.spi.DataStoreProvider#getExplorer() |
506 | 500 |
*/ |
501 |
@Override |
|
507 | 502 |
public DataServerExplorer getExplorer() throws ReadException, |
508 | 503 |
ValidateDataParametersException { |
509 | 504 |
return null; |
Also available in: Unified diff