Revision 32880 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataStore.java
DataStore.java | ||
---|---|---|
34 | 34 |
public interface DataStore extends ComplexWeakReferencingObservable, |
35 | 35 |
Persistent, Metadata, Disposable, Visitable { |
36 | 36 |
|
37 |
public static final String DYNCLASS_NAME = "DataStore";
|
|
37 |
public static final String METADATA_DEFINITION_NAME = "DataProvider";
|
|
38 | 38 |
|
39 |
public static final String FEATURE_METADATA_DEFINITION_NAME = "FeatureProvider"; |
|
40 |
|
|
41 |
public static final String SPATIAL_METADATA_DEFINITION_NAME = "SpatialProvider"; |
|
42 |
|
|
39 | 43 |
/** |
44 |
* Metadata property name for the provider name provided by the data provider. |
|
45 |
* |
|
46 |
* This metadata is provided by all data providers. |
|
47 |
*/ |
|
48 |
public static final String METADATA_PROVIDER = "ProviderName"; |
|
49 |
|
|
50 |
/** |
|
51 |
* Metadata property name for Container name provided by the data provider. |
|
52 |
* By explample, in a dbf file, this is the name of dbf. |
|
53 |
* |
|
54 |
* This metadata is provided by all data providers. |
|
55 |
*/ |
|
56 |
public static final String METADATA_CONTAINERNAME = "ContainerName"; |
|
57 |
|
|
58 |
/** |
|
59 |
* Metadata property name for the feature type provided by the data provider. |
|
60 |
* |
|
61 |
* This metadata is provided by all tabular data providers. |
|
62 |
*/ |
|
63 |
public static final String METADATA_FEATURETYPE = "FeatureType"; |
|
64 |
|
|
65 |
/** |
|
66 |
* Metadata property name for CRS provided by the data provider. |
|
67 |
* |
|
68 |
* This metadata is only provided by data provider with spatial |
|
69 |
* information. |
|
70 |
*/ |
|
71 |
public static final String METADATA_CRS = "CRS"; |
|
72 |
|
|
73 |
/** |
|
74 |
* Metadata property name for Envelope provided by the data provider |
|
75 |
* |
|
76 |
* This metadata is only provided by data provider with spatial |
|
77 |
* information. |
|
78 |
*/ |
|
79 |
public static final String METADATA_ENVELOPE = "Envelope"; |
|
80 |
|
|
81 |
/** |
|
40 | 82 |
* Returns this store's name. |
41 | 83 |
* |
42 | 84 |
* @return String containing this store's name. |
... | ... | |
51 | 93 |
public DataStoreParameters getParameters(); |
52 | 94 |
|
53 | 95 |
/** |
96 |
* Return the provider name that use this store. |
|
97 |
* |
|
98 |
* @return provider name of this store |
|
99 |
*/ |
|
100 |
public String getProviderName(); |
|
101 |
|
|
102 |
/** |
|
54 | 103 |
* Refreshes this store state. |
55 | 104 |
* |
56 | 105 |
* @throws DataException |
Also available in: Unified diff