|
1 |
package org.gvsig.fmap.mapcontext.persistence;
|
|
2 |
|
|
3 |
import java.text.DateFormat;
|
|
4 |
import java.util.Collection;
|
|
5 |
import java.util.Iterator;
|
|
6 |
import java.util.List;
|
|
7 |
import java.util.Set;
|
|
8 |
|
|
9 |
import org.cresques.cts.IProjection;
|
|
10 |
|
|
11 |
import org.gvsig.fmap.dal.DataQuery;
|
|
12 |
import org.gvsig.fmap.dal.DataServerExplorer;
|
|
13 |
import org.gvsig.fmap.dal.DataSet;
|
|
14 |
import org.gvsig.fmap.dal.DataStoreParameters;
|
|
15 |
import org.gvsig.fmap.dal.exception.DataException;
|
|
16 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
|
|
17 |
import org.gvsig.fmap.dal.feature.EditableFeature;
|
|
18 |
import org.gvsig.fmap.dal.feature.EditableFeatureType;
|
|
19 |
import org.gvsig.fmap.dal.feature.Feature;
|
|
20 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
|
|
21 |
import org.gvsig.fmap.dal.feature.FeatureAttributeGetter;
|
|
22 |
import org.gvsig.fmap.dal.feature.FeatureCache;
|
|
23 |
import org.gvsig.fmap.dal.feature.FeatureIndex;
|
|
24 |
import org.gvsig.fmap.dal.feature.FeatureIndexes;
|
|
25 |
import org.gvsig.fmap.dal.feature.FeatureLocks;
|
|
26 |
import org.gvsig.fmap.dal.feature.FeatureQuery;
|
|
27 |
import org.gvsig.fmap.dal.feature.FeatureReference;
|
|
28 |
import org.gvsig.fmap.dal.feature.FeatureRules;
|
|
29 |
import org.gvsig.fmap.dal.feature.FeatureSelection;
|
|
30 |
import org.gvsig.fmap.dal.feature.FeatureSet;
|
|
31 |
import org.gvsig.fmap.dal.feature.FeatureStore;
|
|
32 |
import org.gvsig.fmap.dal.feature.FeatureStoreTransforms;
|
|
33 |
import org.gvsig.fmap.dal.feature.FeatureType;
|
|
34 |
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters;
|
|
35 |
import org.gvsig.fmap.dal.feature.exception.NeedEditingModeException;
|
|
36 |
import org.gvsig.fmap.geom.Geometry;
|
|
37 |
import org.gvsig.fmap.geom.primitive.Envelope;
|
|
38 |
import org.gvsig.fmap.geom.type.GeometryType;
|
|
39 |
import org.gvsig.timesupport.Interval;
|
|
40 |
import org.gvsig.tools.ToolsLocator;
|
|
41 |
import org.gvsig.tools.dataTypes.CoercionException;
|
|
42 |
import org.gvsig.tools.dataTypes.DataType;
|
|
43 |
import org.gvsig.tools.dynobject.DynClass;
|
|
44 |
import org.gvsig.tools.dynobject.DynField;
|
|
45 |
import org.gvsig.tools.dynobject.DynMethod;
|
|
46 |
import org.gvsig.tools.dynobject.DynObject;
|
|
47 |
import org.gvsig.tools.dynobject.DynObjectValueItem;
|
|
48 |
import org.gvsig.tools.dynobject.DynStruct;
|
|
49 |
import org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException;
|
|
50 |
import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException;
|
|
51 |
import org.gvsig.tools.dynobject.exception.DynFieldValidateException;
|
|
52 |
import org.gvsig.tools.dynobject.exception.DynMethodException;
|
|
53 |
import org.gvsig.tools.dynobject.exception.DynObjectValidateException;
|
|
54 |
import org.gvsig.tools.evaluator.Evaluator;
|
|
55 |
import org.gvsig.tools.exception.BaseException;
|
|
56 |
import org.gvsig.tools.observer.Observer;
|
|
57 |
import org.gvsig.tools.persistence.PersistenceManager;
|
|
58 |
import org.gvsig.tools.persistence.PersistentState;
|
|
59 |
import org.gvsig.tools.persistence.exception.PersistenceException;
|
|
60 |
import org.gvsig.tools.undo.RedoException;
|
|
61 |
import org.gvsig.tools.undo.UndoException;
|
|
62 |
import org.gvsig.tools.visitor.Visitor;
|
|
63 |
|
|
64 |
public class DummyFileFeatureStore implements FeatureStore {
|
|
65 |
|
|
66 |
public static class DummyFeatureAttributeDescriptor implements
|
|
67 |
FeatureAttributeDescriptor {
|
|
68 |
|
|
69 |
public boolean allowNull() {
|
|
70 |
// TODO Auto-generated method stub
|
|
71 |
return false;
|
|
72 |
}
|
|
73 |
|
|
74 |
public Object getAdditionalInfo(String infoName) {
|
|
75 |
// TODO Auto-generated method stub
|
|
76 |
return null;
|
|
77 |
}
|
|
78 |
|
|
79 |
public FeatureAttributeDescriptor getCopy() {
|
|
80 |
// TODO Auto-generated method stub
|
|
81 |
return null;
|
|
82 |
}
|
|
83 |
|
|
84 |
public DataType getDataType() {
|
|
85 |
// TODO Auto-generated method stub
|
|
86 |
return null;
|
|
87 |
}
|
|
88 |
|
|
89 |
public String getDataTypeName() {
|
|
90 |
// TODO Auto-generated method stub
|
|
91 |
return null;
|
|
92 |
}
|
|
93 |
|
|
94 |
public DateFormat getDateFormat() {
|
|
95 |
// TODO Auto-generated method stub
|
|
96 |
return null;
|
|
97 |
}
|
|
98 |
|
|
99 |
public Object getDefaultValue() {
|
|
100 |
// TODO Auto-generated method stub
|
|
101 |
return null;
|
|
102 |
}
|
|
103 |
|
|
104 |
public Evaluator getEvaluator() {
|
|
105 |
// TODO Auto-generated method stub
|
|
106 |
return null;
|
|
107 |
}
|
|
108 |
|
|
109 |
public int getGeometrySubType() {
|
|
110 |
// TODO Auto-generated method stub
|
|
111 |
return 0;
|
|
112 |
}
|
|
113 |
|
|
114 |
public int getGeometryType() {
|
|
115 |
return Geometry.TYPES.POINT;
|
|
116 |
}
|
|
117 |
|
|
118 |
public int getIndex() {
|
|
119 |
// TODO Auto-generated method stub
|
|
120 |
return 0;
|
|
121 |
}
|
|
122 |
|
|
123 |
public int getMaximumOccurrences() {
|
|
124 |
// TODO Auto-generated method stub
|
|
125 |
return 0;
|
|
126 |
}
|
|
127 |
|
|
128 |
public int getMinimumOccurrences() {
|
|
129 |
// TODO Auto-generated method stub
|
|
130 |
return 0;
|
|
131 |
}
|
|
132 |
|
|
133 |
public String getName() {
|
|
134 |
// TODO Auto-generated method stub
|
|
135 |
return null;
|
|
136 |
}
|
|
137 |
|
|
138 |
public Class getObjectClass() {
|
|
139 |
// TODO Auto-generated method stub
|
|
140 |
return null;
|
|
141 |
}
|
|
142 |
|
|
143 |
public int getPrecision() {
|
|
144 |
// TODO Auto-generated method stub
|
|
145 |
return 0;
|
|
146 |
}
|
|
147 |
|
|
148 |
public IProjection getSRS() {
|
|
149 |
// TODO Auto-generated method stub
|
|
150 |
return null;
|
|
151 |
}
|
|
152 |
|
|
153 |
public int getSize() {
|
|
154 |
// TODO Auto-generated method stub
|
|
155 |
return 0;
|
|
156 |
}
|
|
157 |
|
|
158 |
public int getType() {
|
|
159 |
// TODO Auto-generated method stub
|
|
160 |
return 0;
|
|
161 |
}
|
|
162 |
|
|
163 |
public boolean isAutomatic() {
|
|
164 |
// TODO Auto-generated method stub
|
|
165 |
return false;
|
|
166 |
}
|
|
167 |
|
|
168 |
public boolean isPrimaryKey() {
|
|
169 |
// TODO Auto-generated method stub
|
|
170 |
return false;
|
|
171 |
}
|
|
172 |
|
|
173 |
public boolean isReadOnly() {
|
|
174 |
// TODO Auto-generated method stub
|
|
175 |
return false;
|
|
176 |
}
|
|
177 |
|
|
178 |
public String getSubtype() {
|
|
179 |
// TODO Auto-generated method stub
|
|
180 |
return null;
|
|
181 |
}
|
|
182 |
|
|
183 |
public int getTheTypeOfAvailableValues() {
|
|
184 |
// TODO Auto-generated method stub
|
|
185 |
return 0;
|
|
186 |
}
|
|
187 |
|
|
188 |
public boolean isContainer() {
|
|
189 |
// TODO Auto-generated method stub
|
|
190 |
return false;
|
|
191 |
}
|
|
192 |
|
|
193 |
public boolean isHidden() {
|
|
194 |
// TODO Auto-generated method stub
|
|
195 |
return false;
|
|
196 |
}
|
|
197 |
|
|
198 |
public boolean isMandatory() {
|
|
199 |
// TODO Auto-generated method stub
|
|
200 |
return false;
|
|
201 |
}
|
|
202 |
|
|
203 |
public boolean isPersistent() {
|
|
204 |
// TODO Auto-generated method stub
|
|
205 |
return false;
|
|
206 |
}
|
|
207 |
|
|
208 |
public DynField setAvailableValues(DynObjectValueItem[] values) {
|
|
209 |
// TODO Auto-generated method stub
|
|
210 |
return null;
|
|
211 |
}
|
|
212 |
|
|
213 |
public DynField setAvailableValues(List values) {
|
|
214 |
// TODO Auto-generated method stub
|
|
215 |
return null;
|
|
216 |
}
|
|
217 |
|
|
218 |
public DynField setClassOfItems(Class theClass)
|
|
219 |
throws DynFieldIsNotAContainerException {
|
|
220 |
// TODO Auto-generated method stub
|
|
221 |
return null;
|
|
222 |
}
|
|
223 |
|
|
224 |
public DynField setClassOfValue(Class theClass)
|
|
225 |
throws DynFieldIsNotAContainerException {
|
|
226 |
// TODO Auto-generated method stub
|
|
227 |
return null;
|
|
228 |
}
|
|
229 |
|
|
230 |
public DynField setDefaultDynValue(Object defaultValue) {
|
|
231 |
// TODO Auto-generated method stub
|
|
232 |
return null;
|
|
233 |
}
|
|
234 |
|
|
235 |
public DynField setDefaultFieldValue(Object defaultValue) {
|
|
236 |
// TODO Auto-generated method stub
|
|
237 |
return null;
|
|
238 |
}
|
|
239 |
|
|
240 |
public DynField setDescription(String description) {
|
|
241 |
// TODO Auto-generated method stub
|
|
242 |
return null;
|
|
243 |
}
|
|
244 |
|
|
245 |
public DynField setElementsType(int type)
|
|
246 |
throws DynFieldIsNotAContainerException {
|
|
247 |
// TODO Auto-generated method stub
|
|
248 |
return null;
|
|
249 |
}
|
|
250 |
|
|
251 |
public DynField setElementsType(DynStruct type)
|
|
252 |
throws DynFieldIsNotAContainerException {
|
|
253 |
// TODO Auto-generated method stub
|
|
254 |
return null;
|
|
255 |
}
|
|
256 |
|
|
257 |
public DynField setGroup(String groupName) {
|
|
258 |
// TODO Auto-generated method stub
|
|
259 |
return null;
|
|
260 |
}
|
|
261 |
|
|
262 |
public DynField setHidden(boolean hidden) {
|
|
263 |
// TODO Auto-generated method stub
|
|
264 |
return null;
|
|
265 |
}
|
|
266 |
|
|
267 |
public DynField setMandatory(boolean mandatory) {
|
|
268 |
// TODO Auto-generated method stub
|
|
269 |
return null;
|
|
270 |
}
|
|
271 |
|
|
272 |
public DynField setMaxValue(Object maxValue) {
|
|
273 |
// TODO Auto-generated method stub
|
|
274 |
return null;
|
|
275 |
}
|
|
276 |
|
|
277 |
public DynField setMinValue(Object minValue) {
|
|
278 |
// TODO Auto-generated method stub
|
|
279 |
return null;
|
|
280 |
}
|
|
281 |
|
|
282 |
public DynField setOrder(int order) {
|
|
283 |
// TODO Auto-generated method stub
|
|
284 |
return null;
|
|
285 |
}
|
|
286 |
|
|
287 |
public DynField setPersistent(boolean persistent) {
|
|
288 |
// TODO Auto-generated method stub
|
|
289 |
return null;
|
|
290 |
}
|
|
291 |
|
|
292 |
public DynField setReadOnly(boolean isReadOnly) {
|
|
293 |
// TODO Auto-generated method stub
|
|
294 |
return null;
|
|
295 |
}
|
|
296 |
|
|
297 |
public DynField setSubtype(String subtype) {
|
|
298 |
// TODO Auto-generated method stub
|
|
299 |
return null;
|
|
300 |
}
|
|
301 |
|
|
302 |
public DynField setTheTypeOfAvailableValues(int type) {
|
|
303 |
// TODO Auto-generated method stub
|
|
304 |
return null;
|
|
305 |
}
|
|
306 |
|
|
307 |
public DynField setType(int type) {
|
|
308 |
// TODO Auto-generated method stub
|
|
309 |
return null;
|
|
310 |
}
|
|
311 |
|
|
312 |
public DynField setType(DataType type) {
|
|
313 |
// TODO Auto-generated method stub
|
|
314 |
return null;
|
|
315 |
}
|
|
316 |
|
|
317 |
public void validate(Object value) throws DynFieldValidateException {
|
|
318 |
// TODO Auto-generated method stub
|
|
319 |
|
|
320 |
}
|
|
321 |
|
|
322 |
public Object coerce(Object value) throws CoercionException {
|
|
323 |
// TODO Auto-generated method stub
|
|
324 |
return null;
|
|
325 |
}
|
|
326 |
|
|
327 |
public DynObjectValueItem[] getAvailableValues() {
|
|
328 |
// TODO Auto-generated method stub
|
|
329 |
return null;
|
|
330 |
}
|
|
331 |
|
|
332 |
public Class getClassOfItems() {
|
|
333 |
// TODO Auto-generated method stub
|
|
334 |
return null;
|
|
335 |
}
|
|
336 |
|
|
337 |
public Class getClassOfValue() {
|
|
338 |
// TODO Auto-generated method stub
|
|
339 |
return null;
|
|
340 |
}
|
|
341 |
|
|
342 |
public String getDescription() {
|
|
343 |
// TODO Auto-generated method stub
|
|
344 |
return null;
|
|
345 |
}
|
|
346 |
|
|
347 |
public DynField getElementsType() {
|
|
348 |
// TODO Auto-generated method stub
|
|
349 |
return null;
|
|
350 |
}
|
|
351 |
|
|
352 |
public String getGroup() {
|
|
353 |
// TODO Auto-generated method stub
|
|
354 |
return null;
|
|
355 |
}
|
|
356 |
|
|
357 |
public Object getMaxValue() {
|
|
358 |
// TODO Auto-generated method stub
|
|
359 |
return null;
|
|
360 |
}
|
|
361 |
|
|
362 |
public Object getMinValue() {
|
|
363 |
// TODO Auto-generated method stub
|
|
364 |
return null;
|
|
365 |
}
|
|
366 |
|
|
367 |
public int getOder() {
|
|
368 |
// TODO Auto-generated method stub
|
|
369 |
return 0;
|
|
370 |
}
|
|
371 |
|
|
372 |
public GeometryType getGeomType() {
|
|
373 |
// TODO Auto-generated method stub
|
|
374 |
return null;
|
|
375 |
}
|
|
376 |
|
|
377 |
public boolean isTime() {
|
|
378 |
// TODO Auto-generated method stub
|
|
379 |
return false;
|
|
380 |
}
|
|
381 |
|
|
382 |
public FeatureAttributeGetter getFeatureAttributeGetter() {
|
|
383 |
// TODO Auto-generated method stub
|
|
384 |
return null;
|
|
385 |
}
|
|
386 |
|
|
387 |
public void setFeatureAttributeGetter(
|
|
388 |
FeatureAttributeGetter featureAttributeGetter) {
|
|
389 |
// TODO Auto-generated method stub
|
|
390 |
|
|
391 |
}
|
|
392 |
}
|
|
393 |
|
|
394 |
public static class DummyFeatureType implements FeatureType {
|
|
395 |
|
|
396 |
public boolean allowAutomaticValues() {
|
|
397 |
// TODO Auto-generated method stub
|
|
398 |
return false;
|
|
399 |
}
|
|
400 |
|
|
401 |
public Object get(String name) {
|
|
402 |
// TODO Auto-generated method stub
|
|
403 |
return null;
|
|
404 |
}
|
|
405 |
|
|
406 |
public Object get(int index) {
|
|
407 |
// TODO Auto-generated method stub
|
|
408 |
return null;
|
|
409 |
}
|
|
410 |
|
|
411 |
public FeatureAttributeDescriptor getAttributeDescriptor(String name) {
|
|
412 |
// TODO Auto-generated method stub
|
|
413 |
return null;
|
|
414 |
}
|
|
415 |
|
|
416 |
public FeatureAttributeDescriptor getAttributeDescriptor(int index) {
|
|
417 |
return new DummyFeatureAttributeDescriptor();
|
|
418 |
}
|
|
419 |
|
|
420 |
public FeatureAttributeDescriptor[] getAttributeDescriptors() {
|
|
421 |
// TODO Auto-generated method stub
|
|
422 |
return null;
|
|
423 |
}
|
|
424 |
|
|
425 |
public FeatureType getCopy() {
|
|
426 |
// TODO Auto-generated method stub
|
|
427 |
return null;
|
|
428 |
}
|
|
429 |
|
|
430 |
public FeatureAttributeDescriptor getDefaultGeometryAttribute() {
|
|
431 |
// TODO Auto-generated method stub
|
|
432 |
return null;
|
|
433 |
}
|
|
434 |
|
|
435 |
public int getDefaultGeometryAttributeIndex() {
|
|
436 |
return 0;
|
|
437 |
}
|
|
438 |
|
|
439 |
public String getDefaultGeometryAttributeName() {
|
|
440 |
// TODO Auto-generated method stub
|
|
441 |
return null;
|
|
442 |
}
|
|
443 |
|
|
444 |
public IProjection getDefaultSRS() {
|
|
445 |
// TODO Auto-generated method stub
|
|
446 |
return null;
|
|
447 |
}
|
|
448 |
|
|
449 |
public EditableFeatureType getEditable() {
|
|
450 |
// TODO Auto-generated method stub
|
|
451 |
return null;
|
|
452 |
}
|
|
453 |
|
|
454 |
public String getId() {
|
|
455 |
// TODO Auto-generated method stub
|
|
456 |
return null;
|
|
457 |
}
|
|
458 |
|
|
459 |
public int getIndex(String name) {
|
|
460 |
// TODO Auto-generated method stub
|
|
461 |
return 0;
|
|
462 |
}
|
|
463 |
|
|
464 |
public FeatureAttributeDescriptor[] getPrimaryKey() {
|
|
465 |
// TODO Auto-generated method stub
|
|
466 |
return null;
|
|
467 |
}
|
|
468 |
|
|
469 |
public FeatureRules getRules() {
|
|
470 |
// TODO Auto-generated method stub
|
|
471 |
return null;
|
|
472 |
}
|
|
473 |
|
|
474 |
public List getSRSs() {
|
|
475 |
// TODO Auto-generated method stub
|
|
476 |
return null;
|
|
477 |
}
|
|
478 |
|
|
479 |
public boolean hasEvaluators() {
|
|
480 |
// TODO Auto-generated method stub
|
|
481 |
return false;
|
|
482 |
}
|
|
483 |
|
|
484 |
public boolean hasOID() {
|
|
485 |
// TODO Auto-generated method stub
|
|
486 |
return false;
|
|
487 |
}
|
|
488 |
|
|
489 |
public Iterator iterator() {
|
|
490 |
// TODO Auto-generated method stub
|
|
491 |
return null;
|
|
492 |
}
|
|
493 |
|
|
494 |
public int size() {
|
|
495 |
// TODO Auto-generated method stub
|
|
496 |
return 0;
|
|
497 |
}
|
|
498 |
|
|
499 |
public DynClass[] getSuperDynClasses() {
|
|
500 |
// TODO Auto-generated method stub
|
|
501 |
return null;
|
|
502 |
}
|
|
503 |
|
|
504 |
public void removeDynMethod(String name) {
|
|
505 |
// TODO Auto-generated method stub
|
|
506 |
|
|
507 |
}
|
|
508 |
|
|
509 |
public DynField addDynField(String name) {
|
|
510 |
// TODO Auto-generated method stub
|
|
511 |
return null;
|
|
512 |
}
|
|
513 |
|
|
514 |
public DynField addDynFieldArray(String name) {
|
|
515 |
// TODO Auto-generated method stub
|
|
516 |
return null;
|
|
517 |
}
|
|
518 |
|
|
519 |
public DynField addDynFieldBoolean(String name) {
|
|
520 |
// TODO Auto-generated method stub
|
|
521 |
return null;
|
|
522 |
}
|
|
523 |
|
|
524 |
public DynField addDynFieldChoice(String name, int type,
|
|
525 |
Object defaultValue, DynObjectValueItem[] values,
|
|
526 |
boolean mandatory, boolean persistent) {
|
|
527 |
// TODO Auto-generated method stub
|
|
528 |
return null;
|
|
529 |
}
|
|
530 |
|
|
531 |
public DynField addDynFieldChoice(String name, int type,
|
|
532 |
Object defaultValue, DynObjectValueItem[] values) {
|
|
533 |
// TODO Auto-generated method stub
|
|
534 |
return null;
|
|
535 |
}
|
|
536 |
|
|
537 |
public DynField addDynFieldDate(String name) {
|
|
538 |
// TODO Auto-generated method stub
|
|
539 |
return null;
|
|
540 |
}
|
|
541 |
|
|
542 |
public DynField addDynFieldDouble(String name) {
|
|
543 |
// TODO Auto-generated method stub
|
|
544 |
return null;
|
|
545 |
}
|
|
546 |
|
|
547 |
public DynField addDynFieldFile(String name) {
|
|
548 |
// TODO Auto-generated method stub
|
|
549 |
return null;
|
|
550 |
}
|
|
551 |
|
|
552 |
public DynField addDynFieldFloat(String name) {
|
|
553 |
// TODO Auto-generated method stub
|
|
554 |
return null;
|
|
555 |
}
|
|
556 |
|
|
557 |
public DynField addDynFieldFolder(String name) {
|
|
558 |
// TODO Auto-generated method stub
|
|
559 |
return null;
|
|
560 |
}
|
|
561 |
|
|
562 |
public DynField addDynFieldInt(String name) {
|
|
563 |
// TODO Auto-generated method stub
|
|
564 |
return null;
|
|
565 |
}
|
|
566 |
|
|
567 |
public DynField addDynFieldList(String name) {
|
|
568 |
// TODO Auto-generated method stub
|
|
569 |
return null;
|
|
570 |
}
|
|
571 |
|
|
572 |
public DynField addDynFieldLong(String name) {
|
|
573 |
// TODO Auto-generated method stub
|
|
574 |
return null;
|
|
575 |
}
|
|
576 |
|
|
577 |
public DynField addDynFieldMap(String name) {
|
|
578 |
// TODO Auto-generated method stub
|
|
579 |
return null;
|
|
580 |
}
|
|
581 |
|
|
582 |
public DynField addDynFieldObject(String name) {
|
|
583 |
// TODO Auto-generated method stub
|
|
584 |
return null;
|
|
585 |
}
|
|
586 |
|
|
587 |
public DynField addDynFieldRange(String name, int type,
|
|
588 |
Object defaultValue, Object min, Object max, boolean mandatory,
|
|
589 |
boolean persistent) {
|
|
590 |
// TODO Auto-generated method stub
|
|
591 |
return null;
|
|
592 |
}
|
|
593 |
|
|
594 |
public DynField addDynFieldRange(String name, int type,
|
|
595 |
Object defaultValue, Object min, Object max) {
|
|
596 |
// TODO Auto-generated method stub
|
|
597 |
return null;
|
|
598 |
}
|
|
599 |
|
|
600 |
public DynField addDynFieldSet(String name) {
|
|
601 |
// TODO Auto-generated method stub
|
|
602 |
return null;
|
|
603 |
}
|
|
604 |
|
|
605 |
public DynField addDynFieldSingle(String name, int type,
|
|
606 |
Object defaultValue, boolean mandatory, boolean persistent) {
|
|
607 |
// TODO Auto-generated method stub
|
|
608 |
return null;
|
|
609 |
}
|
|
610 |
|
|
611 |
public DynField addDynFieldSingle(String name, int type,
|
|
612 |
Object defaultValue) {
|
|
613 |
// TODO Auto-generated method stub
|
|
614 |
return null;
|
|
615 |
}
|
|
616 |
|
|
617 |
public DynField addDynFieldString(String name) {
|
|
618 |
// TODO Auto-generated method stub
|
|
619 |
return null;
|
|
620 |
}
|
|
621 |
|
|
622 |
public DynField addDynFieldURI(String name) {
|
|
623 |
// TODO Auto-generated method stub
|
|
624 |
return null;
|
|
625 |
}
|
|
626 |
|
|
627 |
public DynField addDynFieldURL(String name) {
|
|
628 |
// TODO Auto-generated method stub
|
|
629 |
return null;
|
|
630 |
}
|
|
631 |
|
|
632 |
public void extend(DynStruct struct) {
|
|
633 |
// TODO Auto-generated method stub
|
|
634 |
|
|
635 |
}
|
|
636 |
|
|
637 |
public void extend(String namespace, String structName) {
|
|
638 |
// TODO Auto-generated method stub
|
|
639 |
|
|
640 |
}
|
|
641 |
|
|
642 |
public void extend(String structName) {
|
|
643 |
// TODO Auto-generated method stub
|
|
644 |
|
|
645 |
}
|
|
646 |
|
|
647 |
public DynField getDeclaredDynField(String name) {
|
|
648 |
// TODO Auto-generated method stub
|
|
649 |
return null;
|
|
650 |
}
|
|
651 |
|
|
652 |
public DynField[] getDeclaredDynFields() {
|
|
653 |
// TODO Auto-generated method stub
|
|
654 |
return null;
|
|
655 |
}
|
|
656 |
|
|
657 |
public String getDescription() {
|
|
658 |
// TODO Auto-generated method stub
|
|
659 |
return null;
|
|
660 |
}
|
|
661 |
|
|
662 |
public DynField getDynField(String name) {
|
|
663 |
// TODO Auto-generated method stub
|
|
664 |
return null;
|
|
665 |
}
|
|
666 |
|
|
667 |
public DynField[] getDynFields() {
|
|
668 |
// TODO Auto-generated method stub
|
|
669 |
return null;
|
|
670 |
}
|
|
671 |
|
|
672 |
public String getFullName() {
|
|
673 |
// TODO Auto-generated method stub
|
|
674 |
return null;
|
|
675 |
}
|
|
676 |
|
|
677 |
public String getName() {
|
|
678 |
// TODO Auto-generated method stub
|
|
679 |
return null;
|
|
680 |
}
|
|
681 |
|
|
682 |
public String getNamespace() {
|
|
683 |
// TODO Auto-generated method stub
|
|
684 |
return null;
|
|
685 |
}
|
|
686 |
|
|
687 |
public DynStruct[] getSuperDynStructs() {
|
|
688 |
// TODO Auto-generated method stub
|
|
689 |
return null;
|
|
690 |
}
|
|
691 |
|
|
692 |
public boolean isInstance(DynObject dynObject) {
|
|
693 |
// TODO Auto-generated method stub
|
|
694 |
return false;
|
|
695 |
}
|
|
696 |
|
|
697 |
public DynObject newInstance() {
|
|
698 |
// TODO Auto-generated method stub
|
|
699 |
return null;
|
|
700 |
}
|
|
701 |
|
|
702 |
public void removeDynField(String name) {
|
|
703 |
// TODO Auto-generated method stub
|
|
704 |
|
|
705 |
}
|
|
706 |
|
|
707 |
public void setDescription(String description) {
|
|
708 |
// TODO Auto-generated method stub
|
|
709 |
|
|
710 |
}
|
|
711 |
|
|
712 |
public void setNamespace(String namespace) {
|
|
713 |
// TODO Auto-generated method stub
|
|
714 |
|
|
715 |
}
|
|
716 |
|
|
717 |
public void validate(DynObject object)
|
|
718 |
throws DynObjectValidateException {
|
|
719 |
// TODO Auto-generated method stub
|
|
720 |
|
|
721 |
}
|
|
722 |
|
|
723 |
public void addDynMethod(DynMethod dynMethod) {
|
|
724 |
// TODO Auto-generated method stub
|
|
725 |
|
|
726 |
}
|
|
727 |
|
|
728 |
public DynMethod getDeclaredDynMethod(String name)
|
|
729 |
throws DynMethodException {
|
|
730 |
// TODO Auto-generated method stub
|
|
731 |
return null;
|
|
732 |
}
|
|
733 |
|
|
734 |
public DynMethod[] getDeclaredDynMethods() throws DynMethodException {
|
|
735 |
// TODO Auto-generated method stub
|
|
736 |
return null;
|
|
737 |
}
|
|
738 |
|
|
739 |
public DynMethod getDynMethod(String name) throws DynMethodException {
|
|
740 |
// TODO Auto-generated method stub
|
|
741 |
return null;
|
|
742 |
}
|
|
743 |
|
|
744 |
public DynMethod getDynMethod(int code) throws DynMethodException {
|
|
745 |
// TODO Auto-generated method stub
|
|
746 |
return null;
|
|
747 |
}
|
|
748 |
|
|
749 |
public DynMethod[] getDynMethods() throws DynMethodException {
|
|
750 |
// TODO Auto-generated method stub
|
|
751 |
return null;
|
|
752 |
}
|
|
753 |
|
|
754 |
public boolean isExtendable(DynStruct dynStruct) {
|
|
755 |
// TODO Auto-generated method stub
|
|
756 |
return false;
|
|
757 |
}
|
|
758 |
|
|
759 |
public void extend(DynStruct[] structs) {
|
|
760 |
// TODO Auto-generated method stub
|
|
761 |
|
|
762 |
}
|
|
763 |
|
|
764 |
public void remove(DynStruct superDynStruct) {
|
|
765 |
// TODO Auto-generated method stub
|
|
766 |
|
|
767 |
}
|
|
768 |
|
|
769 |
public void removeAll(DynStruct[] superDynStruct) {
|
|
770 |
// TODO Auto-generated method stub
|
|
771 |
|
|
772 |
}
|
|
773 |
|
|
774 |
public FeatureAttributeDescriptor getDefaultTimeAttribute() {
|
|
775 |
// TODO Auto-generated method stub
|
|
776 |
return null;
|
|
777 |
}
|
|
778 |
|
|
779 |
}
|
|
780 |
|
|
781 |
private String name = "[empty]";
|
|
782 |
|
|
783 |
public DummyFileFeatureStore() {
|
|
784 |
|
|
785 |
}
|
|
786 |
|
|
787 |
public DummyFileFeatureStore(String id) {
|
|
788 |
name = "[FILE FEATURE STORE - " + id + "]";
|
|
789 |
}
|
|
790 |
|
|
791 |
public boolean allowWrite() {
|
|
792 |
// TODO Auto-generated method stub
|
|
793 |
return false;
|
|
794 |
}
|
|
795 |
|
|
796 |
public void beginEditingGroup(String description)
|
|
797 |
throws NeedEditingModeException {
|
|
798 |
// TODO Auto-generated method stub
|
|
799 |
|
|
800 |
}
|
|
801 |
|
|
802 |
public boolean canWriteGeometry(int gvSIGgeometryType) throws DataException {
|
|
803 |
// TODO Auto-generated method stub
|
|
804 |
return false;
|
|
805 |
}
|
|
806 |
|
|
807 |
public void cancelEditing() throws DataException {
|
|
808 |
// TODO Auto-generated method stub
|
|
809 |
|
|
810 |
}
|
|
811 |
|
|
812 |
public FeatureQuery createFeatureQuery() {
|
|
813 |
// TODO Auto-generated method stub
|
|
814 |
return null;
|
|
815 |
}
|
|
816 |
|
|
817 |
public FeatureSelection createFeatureSelection() throws DataException {
|
|
818 |
// TODO Auto-generated method stub
|
|
819 |
return null;
|
|
820 |
}
|
|
821 |
|
|
822 |
public FeatureIndex createIndex(FeatureType featureType,
|
|
823 |
String attributeName, String indexName) throws DataException {
|
|
824 |
// TODO Auto-generated method stub
|
|
825 |
return null;
|
|
826 |
}
|
|
827 |
|
|
828 |
public FeatureIndex createIndex(FeatureType featureType,
|
|
829 |
String attributeName, String indexName, Observer observer)
|
|
830 |
throws DataException {
|
|
831 |
// TODO Auto-generated method stub
|
|
832 |
return null;
|
|
833 |
}
|
|
834 |
|
|
835 |
public EditableFeature createNewFeature() throws DataException {
|
|
836 |
// TODO Auto-generated method stub
|
|
837 |
return null;
|
|
838 |
}
|
|
839 |
|
|
840 |
public EditableFeature createNewFeature(FeatureType type,
|
|
841 |
Feature defaultValues) throws DataException {
|
|
842 |
// TODO Auto-generated method stub
|
|
843 |
return null;
|
|
844 |
}
|
|
845 |
|
|
846 |
public EditableFeature createNewFeature(FeatureType type,
|
|
847 |
boolean defaultValues) throws DataException {
|
|
848 |
// TODO Auto-generated method stub
|
|
849 |
return null;
|
|
850 |
}
|
|
851 |
|
|
852 |
public EditableFeature createNewFeature(boolean defaultValues)
|
|
853 |
throws DataException {
|
|
854 |
// TODO Auto-generated method stub
|
|
855 |
return null;
|
|
856 |
}
|
|
857 |
|
|
858 |
public void delete(Feature feature) throws DataException {
|
|
859 |
// TODO Auto-generated method stub
|
|
860 |
|
|
861 |
}
|
|
862 |
|
|
863 |
public void edit() throws DataException {
|
|
864 |
// TODO Auto-generated method stub
|
|
865 |
|
|
866 |
}
|
|
867 |
|
|
868 |
public void edit(int mode) throws DataException {
|
|
869 |
// TODO Auto-generated method stub
|
|
870 |
|
|
871 |
}
|
|
872 |
|
|
873 |
public void endEditingGroup() throws NeedEditingModeException {
|
|
874 |
// TODO Auto-generated method stub
|
|
875 |
|
|
876 |
}
|
|
877 |
|
|
878 |
public void finishEditing() throws DataException {
|
|
879 |
// TODO Auto-generated method stub
|
|
880 |
|
|
881 |
}
|
|
882 |
|
|
883 |
public FeatureType getDefaultFeatureType() throws DataException {
|
|
884 |
return new DummyFeatureType();
|
|
885 |
}
|
|
886 |
|
|
887 |
public Envelope getEnvelope() throws DataException {
|
|
888 |
// TODO Auto-generated method stub
|
|
889 |
return null;
|
|
890 |
}
|
|
891 |
|
|
892 |
public Feature getFeatureByReference(FeatureReference reference)
|
|
893 |
throws DataException {
|
|
894 |
// TODO Auto-generated method stub
|
|
895 |
return null;
|
|
896 |
}
|
|
897 |
|
|
898 |
public Feature getFeatureByReference(FeatureReference reference,
|
|
899 |
FeatureType featureType) throws DataException {
|
|
900 |
// TODO Auto-generated method stub
|
|
901 |
return null;
|
|
902 |
}
|
|
903 |
|
|
904 |
public long getFeatureCount() throws DataException {
|
|
905 |
// TODO Auto-generated method stub
|
|
906 |
return 0;
|
|
907 |
}
|
|
908 |
|
|
909 |
public FeatureSelection getFeatureSelection() throws DataException {
|
|
910 |
// TODO Auto-generated method stub
|
|
911 |
return null;
|
|
912 |
}
|
|
913 |
|
|
914 |
public FeatureSet getFeatureSet() throws DataException {
|
|
915 |
// TODO Auto-generated method stub
|
|
916 |
return null;
|
|
917 |
}
|
|
918 |
|
|
919 |
public FeatureSet getFeatureSet(FeatureQuery featureQuery)
|
|
920 |
throws DataException {
|
|
921 |
// TODO Auto-generated method stub
|
|
922 |
return null;
|
|
923 |
}
|
|
924 |
|
|
925 |
public void getFeatureSet(FeatureQuery featureQuery, Observer observer)
|
|
926 |
throws DataException {
|
|
927 |
// TODO Auto-generated method stub
|
|
928 |
|
|
929 |
}
|
|
930 |
|
|
931 |
public void getFeatureSet(Observer observer) throws DataException {
|
|
932 |
// TODO Auto-generated method stub
|
|
933 |
|
|
934 |
}
|
|
935 |
|
|
936 |
public FeatureType getFeatureType(String featureTypeId)
|
|
937 |
throws DataException {
|
|
938 |
// TODO Auto-generated method stub
|
|
939 |
return null;
|
|
940 |
}
|
|
941 |
|
|
942 |
public List getFeatureTypes() throws DataException {
|
|
943 |
// TODO Auto-generated method stub
|
|
944 |
return null;
|
|
945 |
}
|
|
946 |
|
|
947 |
public FeatureIndexes getIndexes() {
|
|
948 |
// TODO Auto-generated method stub
|
|
949 |
return null;
|
|
950 |
}
|
|
951 |
|
|
952 |
public FeatureLocks getLocks() throws DataException {
|
|
953 |
// TODO Auto-generated method stub
|
|
954 |
return null;
|
|
955 |
}
|
|
956 |
|
|
957 |
public DataStoreParameters getParameters() {
|
|
958 |
// TODO Auto-generated method stub
|
|
959 |
return null;
|
|
960 |
}
|
|
961 |
|
|
962 |
public IProjection getSRSDefaultGeometry() throws DataException {
|
|
963 |
// TODO Auto-generated method stub
|
|
964 |
return null;
|
|
965 |
}
|
|
966 |
|
|
967 |
public FeatureStoreTransforms getTransforms() {
|
|
968 |
// TODO Auto-generated method stub
|
|
969 |
return null;
|
|
970 |
}
|
|
971 |
|
|
972 |
public void insert(EditableFeature feature) throws DataException {
|
|
973 |
// TODO Auto-generated method stub
|
|
974 |
|
|
975 |
}
|
|
976 |
|
|
977 |
public boolean isAppendModeSupported() {
|
|
978 |
// TODO Auto-generated method stub
|
|
979 |
return false;
|
|
980 |
}
|
|
981 |
|
|
982 |
public boolean isAppending() {
|
|
983 |
// TODO Auto-generated method stub
|
|
984 |
return false;
|
|
985 |
}
|
|
986 |
|
|
987 |
public boolean isEditing() {
|
|
988 |
// TODO Auto-generated method stub
|
|
989 |
return false;
|
|
990 |
}
|
|
991 |
|
|
992 |
public boolean isLocksSupported() {
|
|
993 |
// TODO Auto-generated method stub
|
|
994 |
return false;
|
|
995 |
}
|
|
996 |
|
|
997 |
public void setSelection(FeatureSet selection) throws DataException {
|
|
998 |
// TODO Auto-generated method stub
|
|
999 |
|
|
1000 |
}
|
|
1001 |
|
|
1002 |
public void update(EditableFeatureType featureType) throws DataException {
|
|
1003 |
// TODO Auto-generated method stub
|
|
1004 |
|
|
1005 |
}
|
|
1006 |
|
|
1007 |
public void update(EditableFeature feature) throws DataException {
|
|
1008 |
// TODO Auto-generated method stub
|
|
1009 |
|
|
1010 |
}
|
|
1011 |
|
|
1012 |
public void validateFeatures(int mode) throws DataException {
|
|
1013 |
// TODO Auto-generated method stub
|
|
1014 |
|
|
1015 |
}
|
|
1016 |
|
|
1017 |
public DataQuery createQuery() {
|
|
1018 |
// TODO Auto-generated method stub
|
|
1019 |
return null;
|
|
1020 |
}
|
|
1021 |
|
|
1022 |
public DataSet createSelection() throws DataException {
|
|
1023 |
// TODO Auto-generated method stub
|
|
1024 |
return null;
|
|
1025 |
}
|
|
1026 |
|
|
1027 |
public void dispose() {
|
|
1028 |
// TODO Auto-generated method stub
|
|
1029 |
|
|
1030 |
}
|
|
1031 |
|
|
1032 |
public Iterator getChildren() {
|
|
1033 |
// TODO Auto-generated method stub
|
|
1034 |
return null;
|
|
1035 |
}
|
|
1036 |
|
|
1037 |
public DataSet getDataSet() throws DataException {
|
|
1038 |
// TODO Auto-generated method stub
|
|
1039 |
return null;
|
|
1040 |
}
|
|
1041 |
|
|
1042 |
public DataSet getDataSet(DataQuery dataQuery) throws DataException {
|
|
1043 |
// TODO Auto-generated method stub
|
|
1044 |
return null;
|
|
1045 |
}
|
|
1046 |
|
|
1047 |
public void getDataSet(Observer observer) throws DataException {
|
|
1048 |
// TODO Auto-generated method stub
|
|
1049 |
|
|
1050 |
}
|
|
1051 |
|
|
1052 |
public void getDataSet(DataQuery dataQuery, Observer observer)
|
|
1053 |
throws DataException {
|
|
1054 |
// TODO Auto-generated method stub
|
|
1055 |
|
|
1056 |
}
|
|
1057 |
|
|
1058 |
public DataServerExplorer getExplorer() throws DataException,
|
|
1059 |
ValidateDataParametersException {
|
|
1060 |
// TODO Auto-generated method stub
|
|
1061 |
return null;
|
|
1062 |
}
|
|
1063 |
|
|
1064 |
public String getName() {
|
|
1065 |
return name;
|
|
1066 |
}
|
|
1067 |
|
|
1068 |
public DataSet getSelection() throws DataException {
|
|
1069 |
// TODO Auto-generated method stub
|
|
1070 |
return null;
|
|
1071 |
}
|
|
1072 |
|
|
1073 |
public void refresh() throws DataException {
|
|
1074 |
// TODO Auto-generated method stub
|
|
1075 |
|
|
1076 |
}
|
|
1077 |
|
|
1078 |
public void setSelection(DataSet selection) throws DataException {
|
|
1079 |
// TODO Auto-generated method stub
|
|
1080 |
|
|
1081 |
}
|
|
1082 |
|
|
1083 |
public void beginComplexNotification() {
|
|
1084 |
// TODO Auto-generated method stub
|
|
1085 |
|
|
1086 |
}
|
|
1087 |
|
|
1088 |
public void disableNotifications() {
|
|
1089 |
// TODO Auto-generated method stub
|
|
1090 |
|
|
1091 |
}
|
|
1092 |
|
|
1093 |
public void enableNotifications() {
|
|
1094 |
// TODO Auto-generated method stub
|
|
1095 |
|
|
1096 |
}
|
|
1097 |
|
|
1098 |
public void endComplexNotification() {
|
|
1099 |
// TODO Auto-generated method stub
|
|
1100 |
|
|
1101 |
}
|
|
1102 |
|
|
1103 |
public void addObserver(Observer o) {
|
|
1104 |
// TODO Auto-generated method stub
|
|
1105 |
|
|
1106 |
}
|
|
1107 |
|
|
1108 |
public void deleteObserver(Observer o) {
|
|
1109 |
// TODO Auto-generated method stub
|
|
1110 |
|
|
1111 |
}
|
|
1112 |
|
|
1113 |
public void deleteObservers() {
|
|
1114 |
// TODO Auto-generated method stub
|
|
1115 |
|
|
1116 |
}
|
|
1117 |
|
|
1118 |
public void loadFromState(PersistentState state)
|
|
1119 |
throws PersistenceException {
|
|
1120 |
name = state.getString("name");
|
|
1121 |
}
|
|
1122 |
|
|
1123 |
public void saveToState(PersistentState state) throws PersistenceException {
|
|
1124 |
state.set("name", name);
|
|
1125 |
}
|
|
1126 |
|
|
1127 |
public Set getMetadataChildren() {
|
|
1128 |
// TODO Auto-generated method stub
|
|
1129 |
return null;
|
|
1130 |
}
|
|
1131 |
|
|
1132 |
public Object getMetadataID() {
|
|
1133 |
// TODO Auto-generated method stub
|
|
1134 |
return null;
|
|
1135 |
}
|
|
1136 |
|
|
1137 |
public String getMetadataName() {
|
|
1138 |
// TODO Auto-generated method stub
|
|
1139 |
return null;
|
|
1140 |
}
|
|
1141 |
|
|
1142 |
public void delegate(DynObject dynObject) {
|
|
1143 |
// TODO Auto-generated method stub
|
|
1144 |
|
|
1145 |
}
|
|
1146 |
|
|
1147 |
public DynClass getDynClass() {
|
|
1148 |
// TODO Auto-generated method stub
|
|
1149 |
return null;
|
|
1150 |
}
|
|
1151 |
|
|
1152 |
public Object getDynValue(String name) throws DynFieldNotFoundException {
|
|
1153 |
// TODO Auto-generated method stub
|
|
1154 |
return null;
|
|
1155 |
}
|
|
1156 |
|
|
1157 |
public boolean hasDynValue(String name) {
|
|
1158 |
// TODO Auto-generated method stub
|
|
1159 |
return false;
|
|
1160 |
}
|
|
1161 |
|
|
1162 |
public void implement(DynClass dynClass) {
|
|
1163 |
// TODO Auto-generated method stub
|
|
1164 |
|
|
1165 |
}
|
|
1166 |
|
|
1167 |
public Object invokeDynMethod(String name, DynObject context)
|
|
1168 |
throws DynMethodException {
|
|
1169 |
// TODO Auto-generated method stub
|