Revision 44669 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/DataStore.java
DataStore.java | ||
---|---|---|
24 | 24 |
package org.gvsig.fmap.dal; |
25 | 25 |
|
26 | 26 |
import java.util.Collection; |
27 |
import java.util.Iterator; |
|
28 |
import java.util.List; |
|
29 | 27 |
|
30 | 28 |
import org.gvsig.fmap.dal.exception.DataException; |
31 | 29 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
... | ... | |
41 | 39 |
import org.gvsig.tools.persistence.Persistent; |
42 | 40 |
import org.gvsig.tools.resourcesstorage.ResourcesStorage; |
43 | 41 |
import org.gvsig.tools.service.spi.Services; |
44 |
import org.gvsig.tools.util.UnmodifiableBasicList; |
|
45 | 42 |
import org.gvsig.tools.util.UnmodifiableBasicMap; |
46 | 43 |
import org.gvsig.tools.visitor.Visitable; |
47 | 44 |
import org.gvsig.tools.visitor.Visitor; |
... | ... | |
67 | 64 |
public interface DataStore extends ComplexWeakReferencingObservable, |
68 | 65 |
Persistent, Metadata, Disposable, Visitable, DataFactoryUnit, Services, DynObject_v2 { |
69 | 66 |
|
67 |
public static final String SHAPE_PROVIDER_NAME = "Shape"; |
|
68 |
public static final String DBASE_PROVIDER_NAME = "DBF"; |
|
69 |
public static final String CSV_PROVIDER_NAME = "CSV"; |
|
70 |
public static final String H2SPATIAL_PROVIDER_NAME = "H2Spatial"; |
|
71 |
|
|
70 | 72 |
public static final String METADATA_DEFINITION_NAME = "DataProvider"; |
71 | 73 |
|
72 | 74 |
public static final String FEATURE_METADATA_DEFINITION_NAME = "FeatureProvider"; |
... | ... | |
248 | 250 |
* Returns the selected set of data |
249 | 251 |
* |
250 | 252 |
* @return DataSet |
253 |
* @throws org.gvsig.fmap.dal.exception.DataException |
|
251 | 254 |
*/ |
252 | 255 |
|
253 | 256 |
public DataSet getSelection() throws DataException; |
... | ... | |
255 | 258 |
/** |
256 | 259 |
* Sets the current data selection with the given data set. |
257 | 260 |
* |
258 |
* @param DataSet |
|
259 |
* selection |
|
261 |
* @param selection |
|
260 | 262 |
* @throws DataException |
261 | 263 |
*/ |
262 | 264 |
public void setSelection(DataSet selection) throws DataException; |
... | ... | |
299 | 301 |
* Returns a new instance of a {@link DataQuery}. |
300 | 302 |
* |
301 | 303 |
* @return new {@link DataQuery} instance. |
302 |
* |
|
303 |
* @throws DataException |
|
304 | 304 |
*/ |
305 | 305 |
public DataQuery createQuery(); |
306 | 306 |
|
Also available in: Unified diff