Revision 25481
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataStoreParameters.java | ||
---|---|---|
32 | 32 |
* This interface is used by any store implementation that requires |
33 | 33 |
* store specific parameters. |
34 | 34 |
* |
35 |
* The naming convention for specializations of this class is |
|
36 |
* <store-name>StoreParameters. |
|
37 | 35 |
*/ |
38 | 36 |
public interface DataStoreParameters extends |
39 | 37 |
DataParameters { |
40 | 38 |
|
41 | 39 |
/** |
42 | 40 |
* Returns the DataStore's name |
41 |
* |
|
43 | 42 |
* @return a String containing the DataStore's name |
44 | 43 |
*/ |
45 | 44 |
public abstract String getDataStoreName(); |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/AbstractFeatureRule.java | ||
---|---|---|
1 | 1 |
|
2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
2 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
|
3 | 3 |
* |
4 | 4 |
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana. |
5 | 5 |
* |
... | ... | |
21 | 21 |
* |
22 | 22 |
* Generalitat Valenciana |
23 | 23 |
* Conselleria d'Infraestructures i Transport |
24 |
* Av. Blasco Ib??ez, 50
|
|
24 |
* Av. Blasco Ib��ez, 50
|
|
25 | 25 |
* 46010 VALENCIA |
26 | 26 |
* SPAIN |
27 | 27 |
* |
... | ... | |
78 | 78 |
return description; |
79 | 79 |
} |
80 | 80 |
|
81 |
public boolean checkAtFinishEdition() {
|
|
81 |
public boolean checkAtFinishEditing() {
|
|
82 | 82 |
return this.checkAtFinishEdition; |
83 | 83 |
} |
84 | 84 |
|
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/FeatureStore.java | ||
---|---|---|
216 | 216 |
*/ |
217 | 217 |
|
218 | 218 |
/** |
219 |
* Enters edition state.
|
|
219 |
* Enters editing state.
|
|
220 | 220 |
*/ |
221 | 221 |
public void edit() throws DataException; |
222 | 222 |
|
223 | 223 |
/** |
224 |
* Enters edition state specifying the edition mode.
|
|
224 |
* Enters editing state specifying the editing mode.
|
|
225 | 225 |
* |
226 | 226 |
* @param mode |
227 | 227 |
* |
... | ... | |
230 | 230 |
public void edit(int mode) throws DataException; |
231 | 231 |
|
232 | 232 |
/** |
233 |
* Cancels all edition since the last edit().
|
|
233 |
* Cancels all editing since the last edit().
|
|
234 | 234 |
* |
235 | 235 |
* @throws DataException |
236 | 236 |
*/ |
237 | 237 |
public void cancelEditing() throws DataException; |
238 | 238 |
|
239 | 239 |
/** |
240 |
* Exits edition state.
|
|
240 |
* Exits editing state.
|
|
241 | 241 |
* |
242 | 242 |
* @throws DataException |
243 | 243 |
*/ |
244 | 244 |
public void finishEditing() throws DataException; |
245 | 245 |
|
246 | 246 |
/** |
247 |
* Indicates whether this store is in edition state.
|
|
247 |
* Indicates whether this store is in editing state.
|
|
248 | 248 |
* |
249 | 249 |
* @return |
250 |
* true if this store is in edition state, false if not.
|
|
250 |
* true if this store is in editing state, false if not.
|
|
251 | 251 |
*/ |
252 | 252 |
public boolean isEditing(); |
253 | 253 |
|
... | ... | |
384 | 384 |
public boolean isAppendModeSupported(); |
385 | 385 |
|
386 | 386 |
/** |
387 |
* Initiates an edition group. This is typically used to group
|
|
388 |
* series of store edition operations.
|
|
387 |
* Initiates an editing group. This is typically used to group
|
|
388 |
* series of store editing operations.
|
|
389 | 389 |
* |
390 | 390 |
* @param description |
391 |
* Description of the edition group.
|
|
391 |
* Description of the editing group.
|
|
392 | 392 |
* |
393 | 393 |
* @throws NeedEditingModeException |
394 | 394 |
*/ |
... | ... | |
396 | 396 |
throws NeedEditingModeException; |
397 | 397 |
|
398 | 398 |
/** |
399 |
* Finishes an edition group.
|
|
399 |
* Finishes an editing group.
|
|
400 | 400 |
* |
401 | 401 |
* @throws NeedEditingModeException |
402 | 402 |
*/ |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/EditableFeatureAttributeDescriptor.java | ||
---|---|---|
9 | 9 |
* To edit a FeatureAttributeDescriptor you have to obtain its instance of |
10 | 10 |
* EditableFeatureAttributeDescriptor and then perform editing operations on it. |
11 | 11 |
* |
12 |
* Once you have completed the edition you can save the changes to the original
|
|
12 |
* Once you have completed the editing you can save the changes to the original
|
|
13 | 13 |
* FeatureAttributeDescriptor. This is the only way to edit a FeatureAttributeDescriptor. |
14 | 14 |
*/ |
15 | 15 |
public interface EditableFeatureAttributeDescriptor extends |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/FeatureRule.java | ||
---|---|---|
4 | 4 |
|
5 | 5 |
/** |
6 | 6 |
* Represents a Feature validation rule. These rules are used to |
7 |
* check Feature state integrity in edition.
|
|
7 |
* check Feature state integrity in editing mode.
|
|
8 | 8 |
* |
9 | 9 |
*/ |
10 | 10 |
public interface FeatureRule { |
... | ... | |
46 | 46 |
public boolean checkAtUpdate(); |
47 | 47 |
|
48 | 48 |
/** |
49 |
* Returns true if this rule should be applied just when edition is being finished.
|
|
49 |
* Returns true if this rule should be applied just when editing is being finished.
|
|
50 | 50 |
* |
51 | 51 |
* @return |
52 |
* true if this rule should be applied when edition is being finished, otherwise false.
|
|
52 |
* true if this rule should be applied when editing is being finished, otherwise false.
|
|
53 | 53 |
*/ |
54 |
public boolean checkAtFinishEdition();
|
|
54 |
public boolean checkAtFinishEditing();
|
|
55 | 55 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/EditableFeature.java | ||
---|---|---|
7 | 7 |
/** |
8 | 8 |
* This interface represents a Feature in editable state. To edit a Feature |
9 | 9 |
* you have to obtain its instance of EditableFeature and then perform editing |
10 |
* operations on it. Once you have completed the edition you can save the changes
|
|
10 |
* operations on it. Once you have completed the editing you can save the changes
|
|
11 | 11 |
* to the original Feature. This is the only way to edit a Feature. |
12 | 12 |
*/ |
13 | 13 |
public interface EditableFeature extends Feature { |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/EditableFeatureType.java | ||
---|---|---|
8 | 8 |
* To edit a FeatureType you have to obtain its instance of |
9 | 9 |
* EditableFeatureType and then perform editing operations on it. |
10 | 10 |
* |
11 |
* Once you have completed the edition you can save the changes to the original
|
|
11 |
* Once you have completed the editing you can save the changes to the original
|
|
12 | 12 |
* FeatureType. This is the only way to edit a FeatureType. |
13 | 13 |
*/ |
14 | 14 |
public interface EditableFeatureType extends FeatureType { |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/Feature.java | ||
---|---|---|
86 | 86 |
|
87 | 87 |
/** |
88 | 88 |
* Returns the editable instance of this Feature. |
89 |
* EditableFeature offers methods for Feature edition.
|
|
89 |
* EditableFeature offers methods for Feature editing.
|
|
90 | 90 |
* |
91 | 91 |
* @return |
92 | 92 |
* EditableFeature of this |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataStore.java | ||
---|---|---|
10 | 10 |
import org.gvsig.tools.persistence.Persistent; |
11 | 11 |
|
12 | 12 |
/** |
13 |
* <p>This is the basic interface for all data sources. Depending on the context,
|
|
13 |
* <p>This is the basic interface for all data stores. Depending on the context,
|
|
14 | 14 |
* it can represent a geographic layer, an alphanumeric database table or any data file. |
15 | 15 |
* DataStore offers generic services like: |
16 | 16 |
* <ul> |
17 |
* <li>Open, close and reject data sources</li>
|
|
17 |
* <li>Open, close and reject data stores</li>
|
|
18 | 18 |
* <li>Access to data sets, with the possibility of loading data |
19 | 19 |
* in background.</li> |
20 | 20 |
* <li>Use of selection and locks, as well as data sets</li> |
21 |
* <li>Edition</li>
|
|
21 |
* <li>Editing</li>
|
|
22 | 22 |
* <li>Register of event observers through the Observable interface</li> |
23 |
* <li>Access to data sources embedded into itself (like GML)</li>
|
|
24 |
* <li>Information about the Spatial Reference Systems used by the data source</li>
|
|
23 |
* <li>Access to data stores embedded into itself (like GML)</li>
|
|
24 |
* <li>Information about the Spatial Reference Systems used by the data store</li>
|
|
25 | 25 |
* </ul> |
26 | 26 |
* </p> |
27 | 27 |
* <br> |
Also available in: Unified diff