Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.mapcontext / org.gvsig.fmap.mapcontext.api / src / test / java / org / gvsig / fmap / mapcontext / persistence / DummyFileFeatureStore.java @ 42293

History | View | Annotate | Download (37.3 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or modify it under
7
 * the terms of the GNU General Public License as published by the Free Software
8
 * Foundation; either version 3 of the License, or (at your option) any later
9
 * version.
10
 *
11
 * This program is distributed in the hope that it will be useful, but WITHOUT
12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14
 * details.
15
 *
16
 * You should have received a copy of the GNU General Public License along with
17
 * this program; if not, write to the Free Software Foundation, Inc., 51
18
 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
 *
20
 * For any additional information, do not hesitate to contact us at info AT
21
 * gvsig.com, or visit our website www.gvsig.com.
22
 */
23
package org.gvsig.fmap.mapcontext.persistence;
24

    
25
import java.text.DateFormat;
26
import java.util.Collection;
27
import java.util.Iterator;
28
import java.util.List;
29
import java.util.Set;
30

    
31
import org.cresques.cts.IProjection;
32

    
33
import org.gvsig.fmap.dal.DataQuery;
34
import org.gvsig.fmap.dal.DataServerExplorer;
35
import org.gvsig.fmap.dal.DataSet;
36
import org.gvsig.fmap.dal.DataStoreParameters;
37
import org.gvsig.fmap.dal.exception.DataException;
38
import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
39
import org.gvsig.fmap.dal.feature.EditableFeature;
40
import org.gvsig.fmap.dal.feature.EditableFeatureType;
41
import org.gvsig.fmap.dal.feature.Feature;
42
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
43
import org.gvsig.fmap.dal.feature.FeatureAttributeEmulator;
44
import org.gvsig.fmap.dal.feature.FeatureAttributeGetter;
45
import org.gvsig.fmap.dal.feature.FeatureCache;
46
import org.gvsig.fmap.dal.feature.FeatureIndex;
47
import org.gvsig.fmap.dal.feature.FeatureIndexes;
48
import org.gvsig.fmap.dal.feature.FeatureLocks;
49
import org.gvsig.fmap.dal.feature.FeatureQuery;
50
import org.gvsig.fmap.dal.feature.FeatureReference;
51
import org.gvsig.fmap.dal.feature.FeatureRules;
52
import org.gvsig.fmap.dal.feature.FeatureSelection;
53
import org.gvsig.fmap.dal.feature.FeatureSet;
54
import org.gvsig.fmap.dal.feature.FeatureStore;
55
import org.gvsig.fmap.dal.feature.FeatureStoreTransforms;
56
import org.gvsig.fmap.dal.feature.FeatureType;
57
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters;
58
import org.gvsig.fmap.dal.feature.exception.NeedEditingModeException;
59
import org.gvsig.fmap.geom.Geometry;
60
import org.gvsig.fmap.geom.primitive.Envelope;
61
import org.gvsig.fmap.geom.type.GeometryType;
62
import org.gvsig.timesupport.Interval;
63
import org.gvsig.tools.ToolsLocator;
64
import org.gvsig.tools.dataTypes.CoercionException;
65
import org.gvsig.tools.dataTypes.DataType;
66
import org.gvsig.tools.dynobject.DynClass;
67
import org.gvsig.tools.dynobject.DynField;
68
import org.gvsig.tools.dynobject.DynMethod;
69
import org.gvsig.tools.dynobject.DynObject;
70
import org.gvsig.tools.dynobject.DynObjectValueItem;
71
import org.gvsig.tools.dynobject.DynStruct;
72
import org.gvsig.tools.dynobject.exception.DynFieldIsNotAContainerException;
73
import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException;
74
import org.gvsig.tools.dynobject.exception.DynFieldValidateException;
75
import org.gvsig.tools.dynobject.exception.DynMethodException;
76
import org.gvsig.tools.dynobject.exception.DynObjectValidateException;
77
import org.gvsig.tools.evaluator.Evaluator;
78
import org.gvsig.tools.exception.BaseException;
79
import org.gvsig.tools.observer.Observer;
80
import org.gvsig.tools.persistence.PersistenceManager;
81
import org.gvsig.tools.persistence.PersistentState;
82
import org.gvsig.tools.persistence.exception.PersistenceException;
83
import org.gvsig.tools.undo.RedoException;
84
import org.gvsig.tools.undo.UndoException;
85
import org.gvsig.tools.visitor.Visitor;
86

    
87
public class DummyFileFeatureStore implements FeatureStore {
88

    
89
    public static class DummyFeatureAttributeDescriptor implements
90
            FeatureAttributeDescriptor {
91

    
92
        public boolean allowNull() {
93
            // TODO Auto-generated method stub
94
            return false;
95
        }
96

    
97
        public Object getAdditionalInfo(String infoName) {
98
            // TODO Auto-generated method stub
99
            return null;
100
        }
101

    
102
        public FeatureAttributeDescriptor getCopy() {
103
            // TODO Auto-generated method stub
104
            return null;
105
        }
106

    
107
        public DataType getDataType() {
108
            // TODO Auto-generated method stub
109
            return null;
110
        }
111

    
112
        public String getDataTypeName() {
113
            // TODO Auto-generated method stub
114
            return null;
115
        }
116

    
117
        public DateFormat getDateFormat() {
118
            // TODO Auto-generated method stub
119
            return null;
120
        }
121

    
122
        public Object getDefaultValue() {
123
            // TODO Auto-generated method stub
124
            return null;
125
        }
126

    
127
        public Evaluator getEvaluator() {
128
            // TODO Auto-generated method stub
129
            return null;
130
        }
131

    
132
        public int getGeometrySubType() {
133
            // TODO Auto-generated method stub
134
            return 0;
135
        }
136

    
137
        public int getGeometryType() {
138
            return Geometry.TYPES.POINT;
139
        }
140

    
141
        public int getIndex() {
142
            // TODO Auto-generated method stub
143
            return 0;
144
        }
145

    
146
        public int getMaximumOccurrences() {
147
            // TODO Auto-generated method stub
148
            return 0;
149
        }
150

    
151
        public int getMinimumOccurrences() {
152
            // TODO Auto-generated method stub
153
            return 0;
154
        }
155

    
156
        public String getName() {
157
            // TODO Auto-generated method stub
158
            return null;
159
        }
160

    
161
        public Class getObjectClass() {
162
            // TODO Auto-generated method stub
163
            return null;
164
        }
165

    
166
        public int getPrecision() {
167
            // TODO Auto-generated method stub
168
            return 0;
169
        }
170

    
171
        public IProjection getSRS() {
172
            // TODO Auto-generated method stub
173
            return null;
174
        }
175

    
176
        public int getSize() {
177
            // TODO Auto-generated method stub
178
            return 0;
179
        }
180

    
181
        public int getType() {
182
            // TODO Auto-generated method stub
183
            return 0;
184
        }
185

    
186
        public boolean isAutomatic() {
187
            // TODO Auto-generated method stub
188
            return false;
189
        }
190

    
191
        public boolean isPrimaryKey() {
192
            // TODO Auto-generated method stub
193
            return false;
194
        }
195

    
196
        public boolean isReadOnly() {
197
            // TODO Auto-generated method stub
198
            return false;
199
        }
200

    
201
        public String getSubtype() {
202
            // TODO Auto-generated method stub
203
            return null;
204
        }
205

    
206
        public int getTheTypeOfAvailableValues() {
207
            // TODO Auto-generated method stub
208
            return 0;
209
        }
210

    
211
        public boolean isContainer() {
212
            // TODO Auto-generated method stub
213
            return false;
214
        }
215

    
216
        public boolean isHidden() {
217
            // TODO Auto-generated method stub
218
            return false;
219
        }
220

    
221
        public boolean isMandatory() {
222
            // TODO Auto-generated method stub
223
            return false;
224
        }
225

    
226
        public boolean isPersistent() {
227
            // TODO Auto-generated method stub
228
            return false;
229
        }
230

    
231
        public DynField setAvailableValues(DynObjectValueItem[] values) {
232
            // TODO Auto-generated method stub
233
            return null;
234
        }
235

    
236
        public DynField setAvailableValues(List values) {
237
            // TODO Auto-generated method stub
238
            return null;
239
        }
240

    
241
        public DynField setClassOfItems(Class theClass)
242
                throws DynFieldIsNotAContainerException {
243
            // TODO Auto-generated method stub
244
            return null;
245
        }
246

    
247
        public DynField setClassOfValue(Class theClass)
248
                throws DynFieldIsNotAContainerException {
249
            // TODO Auto-generated method stub
250
            return null;
251
        }
252

    
253
        public DynField setDefaultDynValue(Object defaultValue) {
254
            // TODO Auto-generated method stub
255
            return null;
256
        }
257

    
258
        public DynField setDefaultFieldValue(Object defaultValue) {
259
            // TODO Auto-generated method stub
260
            return null;
261
        }
262

    
263
        public DynField setDescription(String description) {
264
            // TODO Auto-generated method stub
265
            return null;
266
        }
267

    
268
        public DynField setElementsType(int type)
269
                throws DynFieldIsNotAContainerException {
270
            // TODO Auto-generated method stub
271
            return null;
272
        }
273

    
274
        public DynField setElementsType(DynStruct type)
275
                throws DynFieldIsNotAContainerException {
276
            // TODO Auto-generated method stub
277
            return null;
278
        }
279

    
280
        public DynField setGroup(String groupName) {
281
            // TODO Auto-generated method stub
282
            return null;
283
        }
284

    
285
        public DynField setHidden(boolean hidden) {
286
            // TODO Auto-generated method stub
287
            return null;
288
        }
289

    
290
        public DynField setMandatory(boolean mandatory) {
291
            // TODO Auto-generated method stub
292
            return null;
293
        }
294

    
295
        public DynField setMaxValue(Object maxValue) {
296
            // TODO Auto-generated method stub
297
            return null;
298
        }
299

    
300
        public DynField setMinValue(Object minValue) {
301
            // TODO Auto-generated method stub
302
            return null;
303
        }
304

    
305
        public DynField setOrder(int order) {
306
            // TODO Auto-generated method stub
307
            return null;
308
        }
309

    
310
        public DynField setPersistent(boolean persistent) {
311
            // TODO Auto-generated method stub
312
            return null;
313
        }
314

    
315
        public DynField setReadOnly(boolean isReadOnly) {
316
            // TODO Auto-generated method stub
317
            return null;
318
        }
319

    
320
        public DynField setSubtype(String subtype) {
321
            // TODO Auto-generated method stub
322
            return null;
323
        }
324

    
325
        public DynField setTheTypeOfAvailableValues(int type) {
326
            // TODO Auto-generated method stub
327
            return null;
328
        }
329

    
330
        public DynField setType(int type) {
331
            // TODO Auto-generated method stub
332
            return null;
333
        }
334

    
335
        public DynField setType(DataType type) {
336
            // TODO Auto-generated method stub
337
            return null;
338
        }
339

    
340
        public void validate(Object value) throws DynFieldValidateException {
341
            // TODO Auto-generated method stub
342

    
343
        }
344

    
345
        public Object coerce(Object value) throws CoercionException {
346
            // TODO Auto-generated method stub
347
            return null;
348
        }
349

    
350
        public DynObjectValueItem[] getAvailableValues() {
351
            // TODO Auto-generated method stub
352
            return null;
353
        }
354

    
355
        public Class getClassOfItems() {
356
            // TODO Auto-generated method stub
357
            return null;
358
        }
359

    
360
        public Class getClassOfValue() {
361
            // TODO Auto-generated method stub
362
            return null;
363
        }
364

    
365
        public String getDescription() {
366
            // TODO Auto-generated method stub
367
            return null;
368
        }
369

    
370
        public DynField getElementsType() {
371
            // TODO Auto-generated method stub
372
            return null;
373
        }
374

    
375
        public String getGroup() {
376
            // TODO Auto-generated method stub
377
            return null;
378
        }
379

    
380
        public Object getMaxValue() {
381
            // TODO Auto-generated method stub
382
            return null;
383
        }
384

    
385
        public Object getMinValue() {
386
            // TODO Auto-generated method stub
387
            return null;
388
        }
389

    
390
        public int getOder() {
391
            // TODO Auto-generated method stub
392
            return 0;
393
        }
394

    
395
        public GeometryType getGeomType() {
396
            // TODO Auto-generated method stub
397
            return null;
398
        }
399

    
400
        public boolean isTime() {
401
            // TODO Auto-generated method stub
402
            return false;
403
        }
404

    
405
        public FeatureAttributeGetter getFeatureAttributeGetter() {
406
            // TODO Auto-generated method stub
407
            return null;
408
        }
409

    
410
        public void setFeatureAttributeGetter(
411
                FeatureAttributeGetter featureAttributeGetter) {
412
            // TODO Auto-generated method stub
413

    
414
        }
415

    
416
        public FeatureAttributeEmulator getFeatureAttributeEmulator() {
417
            return null;
418
        }
419

    
420
        public boolean isIndexed() {
421
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
422
        }
423

    
424
        public boolean allowIndexDuplicateds() {
425
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
426
        }
427

    
428
        public boolean isIndexAscending() {
429
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
430
        }
431
    }
432

    
433
    public static class DummyFeatureType implements FeatureType {
434

    
435
        public boolean allowAutomaticValues() {
436
            // TODO Auto-generated method stub
437
            return false;
438
        }
439

    
440
        public Object get(String name) {
441
            // TODO Auto-generated method stub
442
            return null;
443
        }
444

    
445
        public Object get(int index) {
446
            // TODO Auto-generated method stub
447
            return null;
448
        }
449

    
450
        public FeatureAttributeDescriptor getAttributeDescriptor(String name) {
451
            // TODO Auto-generated method stub
452
            return null;
453
        }
454

    
455
        public FeatureAttributeDescriptor getAttributeDescriptor(int index) {
456
            return new DummyFeatureAttributeDescriptor();
457
        }
458

    
459
        public FeatureAttributeDescriptor[] getAttributeDescriptors() {
460
            // TODO Auto-generated method stub
461
            return null;
462
        }
463

    
464
        public FeatureType getCopy() {
465
            // TODO Auto-generated method stub
466
            return null;
467
        }
468

    
469
        public FeatureAttributeDescriptor getDefaultGeometryAttribute() {
470
            // TODO Auto-generated method stub
471
            return null;
472
        }
473

    
474
        public int getDefaultGeometryAttributeIndex() {
475
            return 0;
476
        }
477

    
478
        public String getDefaultGeometryAttributeName() {
479
            // TODO Auto-generated method stub
480
            return null;
481
        }
482

    
483
        public IProjection getDefaultSRS() {
484
            // TODO Auto-generated method stub
485
            return null;
486
        }
487

    
488
        public EditableFeatureType getEditable() {
489
            // TODO Auto-generated method stub
490
            return null;
491
        }
492

    
493
        public String getId() {
494
            // TODO Auto-generated method stub
495
            return null;
496
        }
497

    
498
        public int getIndex(String name) {
499
            // TODO Auto-generated method stub
500
            return 0;
501
        }
502

    
503
        public FeatureAttributeDescriptor[] getPrimaryKey() {
504
            // TODO Auto-generated method stub
505
            return null;
506
        }
507

    
508
        public FeatureRules getRules() {
509
            // TODO Auto-generated method stub
510
            return null;
511
        }
512

    
513
        public List getSRSs() {
514
            // TODO Auto-generated method stub
515
            return null;
516
        }
517

    
518
        public boolean hasEvaluators() {
519
            // TODO Auto-generated method stub
520
            return false;
521
        }
522

    
523
        public boolean hasOID() {
524
            // TODO Auto-generated method stub
525
            return false;
526
        }
527

    
528
        public Iterator iterator() {
529
            // TODO Auto-generated method stub
530
            return null;
531
        }
532

    
533
        public int size() {
534
            // TODO Auto-generated method stub
535
            return 0;
536
        }
537

    
538
        public DynClass[] getSuperDynClasses() {
539
            // TODO Auto-generated method stub
540
            return null;
541
        }
542

    
543
        public void removeDynMethod(String name) {
544
            // TODO Auto-generated method stub
545

    
546
        }
547

    
548
        public DynField addDynField(String name) {
549
            // TODO Auto-generated method stub
550
            return null;
551
        }
552

    
553
        public DynField addDynFieldArray(String name) {
554
            // TODO Auto-generated method stub
555
            return null;
556
        }
557

    
558
        public DynField addDynFieldBoolean(String name) {
559
            // TODO Auto-generated method stub
560
            return null;
561
        }
562

    
563
        public DynField addDynFieldChoice(String name, int type,
564
                Object defaultValue, DynObjectValueItem[] values,
565
                boolean mandatory, boolean persistent) {
566
            // TODO Auto-generated method stub
567
            return null;
568
        }
569

    
570
        public DynField addDynFieldChoice(String name, int type,
571
                Object defaultValue, DynObjectValueItem[] values) {
572
            // TODO Auto-generated method stub
573
            return null;
574
        }
575

    
576
        public DynField addDynFieldDate(String name) {
577
            // TODO Auto-generated method stub
578
            return null;
579
        }
580

    
581
        public DynField addDynFieldDouble(String name) {
582
            // TODO Auto-generated method stub
583
            return null;
584
        }
585

    
586
        public DynField addDynFieldFile(String name) {
587
            // TODO Auto-generated method stub
588
            return null;
589
        }
590

    
591
        public DynField addDynFieldFloat(String name) {
592
            // TODO Auto-generated method stub
593
            return null;
594
        }
595

    
596
        public DynField addDynFieldFolder(String name) {
597
            // TODO Auto-generated method stub
598
            return null;
599
        }
600

    
601
        public DynField addDynFieldInt(String name) {
602
            // TODO Auto-generated method stub
603
            return null;
604
        }
605

    
606
        public DynField addDynFieldList(String name) {
607
            // TODO Auto-generated method stub
608
            return null;
609
        }
610

    
611
        public DynField addDynFieldLong(String name) {
612
            // TODO Auto-generated method stub
613
            return null;
614
        }
615

    
616
        public DynField addDynFieldMap(String name) {
617
            // TODO Auto-generated method stub
618
            return null;
619
        }
620

    
621
        public DynField addDynFieldObject(String name) {
622
            // TODO Auto-generated method stub
623
            return null;
624
        }
625

    
626
        public DynField addDynFieldRange(String name, int type,
627
                Object defaultValue, Object min, Object max, boolean mandatory,
628
                boolean persistent) {
629
            // TODO Auto-generated method stub
630
            return null;
631
        }
632

    
633
        public DynField addDynFieldRange(String name, int type,
634
                Object defaultValue, Object min, Object max) {
635
            // TODO Auto-generated method stub
636
            return null;
637
        }
638

    
639
        public DynField addDynFieldSet(String name) {
640
            // TODO Auto-generated method stub
641
            return null;
642
        }
643

    
644
        public DynField addDynFieldSingle(String name, int type,
645
                Object defaultValue, boolean mandatory, boolean persistent) {
646
            // TODO Auto-generated method stub
647
            return null;
648
        }
649

    
650
        public DynField addDynFieldSingle(String name, int type,
651
                Object defaultValue) {
652
            // TODO Auto-generated method stub
653
            return null;
654
        }
655

    
656
        public DynField addDynFieldString(String name) {
657
            // TODO Auto-generated method stub
658
            return null;
659
        }
660

    
661
        public DynField addDynFieldURI(String name) {
662
            // TODO Auto-generated method stub
663
            return null;
664
        }
665

    
666
        public DynField addDynFieldURL(String name) {
667
            // TODO Auto-generated method stub
668
            return null;
669
        }
670

    
671
        public void extend(DynStruct struct) {
672
            // TODO Auto-generated method stub
673

    
674
        }
675

    
676
        public void extend(String namespace, String structName) {
677
            // TODO Auto-generated method stub
678

    
679
        }
680

    
681
        public void extend(String structName) {
682
            // TODO Auto-generated method stub
683

    
684
        }
685

    
686
        public DynField getDeclaredDynField(String name) {
687
            // TODO Auto-generated method stub
688
            return null;
689
        }
690

    
691
        public DynField[] getDeclaredDynFields() {
692
            // TODO Auto-generated method stub
693
            return null;
694
        }
695

    
696
        public String getDescription() {
697
            // TODO Auto-generated method stub
698
            return null;
699
        }
700

    
701
        public DynField getDynField(String name) {
702
            // TODO Auto-generated method stub
703
            return null;
704
        }
705

    
706
        public DynField[] getDynFields() {
707
            // TODO Auto-generated method stub
708
            return null;
709
        }
710

    
711
        public String getFullName() {
712
            // TODO Auto-generated method stub
713
            return null;
714
        }
715

    
716
        public String getName() {
717
            // TODO Auto-generated method stub
718
            return null;
719
        }
720

    
721
        public String getNamespace() {
722
            // TODO Auto-generated method stub
723
            return null;
724
        }
725

    
726
        public DynStruct[] getSuperDynStructs() {
727
            // TODO Auto-generated method stub
728
            return null;
729
        }
730

    
731
        public boolean isInstance(DynObject dynObject) {
732
            // TODO Auto-generated method stub
733
            return false;
734
        }
735

    
736
        public DynObject newInstance() {
737
            // TODO Auto-generated method stub
738
            return null;
739
        }
740

    
741
        public void removeDynField(String name) {
742
            // TODO Auto-generated method stub
743

    
744
        }
745

    
746
        public void setDescription(String description) {
747
            // TODO Auto-generated method stub
748

    
749
        }
750

    
751
        public void setNamespace(String namespace) {
752
            // TODO Auto-generated method stub
753

    
754
        }
755

    
756
        public void validate(DynObject object)
757
                throws DynObjectValidateException {
758
            // TODO Auto-generated method stub
759

    
760
        }
761

    
762
        public void addDynMethod(DynMethod dynMethod) {
763
            // TODO Auto-generated method stub
764

    
765
        }
766

    
767
        public DynMethod getDeclaredDynMethod(String name)
768
                throws DynMethodException {
769
            // TODO Auto-generated method stub
770
            return null;
771
        }
772

    
773
        public DynMethod[] getDeclaredDynMethods() throws DynMethodException {
774
            // TODO Auto-generated method stub
775
            return null;
776
        }
777

    
778
        public DynMethod getDynMethod(String name) throws DynMethodException {
779
            // TODO Auto-generated method stub
780
            return null;
781
        }
782

    
783
        public DynMethod getDynMethod(int code) throws DynMethodException {
784
            // TODO Auto-generated method stub
785
            return null;
786
        }
787

    
788
        public DynMethod[] getDynMethods() throws DynMethodException {
789
            // TODO Auto-generated method stub
790
            return null;
791
        }
792

    
793
        public boolean isExtendable(DynStruct dynStruct) {
794
            // TODO Auto-generated method stub
795
            return false;
796
        }
797

    
798
        public void extend(DynStruct[] structs) {
799
            // TODO Auto-generated method stub
800

    
801
        }
802

    
803
        public void remove(DynStruct superDynStruct) {
804
            // TODO Auto-generated method stub
805

    
806
        }
807

    
808
        public void removeAll(DynStruct[] superDynStruct) {
809
            // TODO Auto-generated method stub
810

    
811
        }
812

    
813
        public FeatureAttributeDescriptor getDefaultTimeAttribute() {
814
            // TODO Auto-generated method stub
815
            return null;
816
        }
817

    
818
    }
819

    
820
    private String name = "[empty]";
821

    
822
    public DummyFileFeatureStore() {
823

    
824
    }
825

    
826
    public DummyFileFeatureStore(String id) {
827
        name = "[FILE FEATURE STORE - " + id + "]";
828
    }
829

    
830
    public boolean allowWrite() {
831
        // TODO Auto-generated method stub
832
        return false;
833
    }
834

    
835
    public void beginEditingGroup(String description)
836
            throws NeedEditingModeException {
837
        // TODO Auto-generated method stub
838

    
839
    }
840

    
841
    public boolean canWriteGeometry(int gvSIGgeometryType) throws DataException {
842
        // TODO Auto-generated method stub
843
        return false;
844
    }
845

    
846
    public void cancelEditing() throws DataException {
847
        // TODO Auto-generated method stub
848

    
849
    }
850

    
851
    public FeatureQuery createFeatureQuery() {
852
        // TODO Auto-generated method stub
853
        return null;
854
    }
855

    
856
    public FeatureSelection createFeatureSelection() throws DataException {
857
        // TODO Auto-generated method stub
858
        return null;
859
    }
860

    
861
    public FeatureIndex createIndex(FeatureType featureType,
862
            String attributeName, String indexName) throws DataException {
863
        // TODO Auto-generated method stub
864
        return null;
865
    }
866

    
867
    public FeatureIndex createIndex(FeatureType featureType,
868
            String attributeName, String indexName, Observer observer)
869
            throws DataException {
870
        // TODO Auto-generated method stub
871
        return null;
872
    }
873

    
874
    public EditableFeature createNewFeature() throws DataException {
875
        // TODO Auto-generated method stub
876
        return null;
877
    }
878

    
879
    public EditableFeature createNewFeature(FeatureType type,
880
            Feature defaultValues) throws DataException {
881
        // TODO Auto-generated method stub
882
        return null;
883
    }
884

    
885
    public EditableFeature createNewFeature(FeatureType type,
886
            boolean defaultValues) throws DataException {
887
        // TODO Auto-generated method stub
888
        return null;
889
    }
890

    
891
    public EditableFeature createNewFeature(boolean defaultValues)
892
            throws DataException {
893
        // TODO Auto-generated method stub
894
        return null;
895
    }
896

    
897
    public void delete(Feature feature) throws DataException {
898
        // TODO Auto-generated method stub
899

    
900
    }
901

    
902
    public void edit() throws DataException {
903
        // TODO Auto-generated method stub
904

    
905
    }
906

    
907
    public void edit(int mode) throws DataException {
908
        // TODO Auto-generated method stub
909

    
910
    }
911

    
912
    public void endEditingGroup() throws NeedEditingModeException {
913
        // TODO Auto-generated method stub
914

    
915
    }
916

    
917
    public void finishEditing() throws DataException {
918
        // TODO Auto-generated method stub
919

    
920
    }
921

    
922
    public FeatureType getDefaultFeatureType() throws DataException {
923
        return new DummyFeatureType();
924
    }
925

    
926
    public Envelope getEnvelope() throws DataException {
927
        // TODO Auto-generated method stub
928
        return null;
929
    }
930

    
931
    public Feature getFeatureByReference(FeatureReference reference)
932
            throws DataException {
933
        // TODO Auto-generated method stub
934
        return null;
935
    }
936

    
937
    public Feature getFeatureByReference(FeatureReference reference,
938
            FeatureType featureType) throws DataException {
939
        // TODO Auto-generated method stub
940
        return null;
941
    }
942

    
943
    public long getFeatureCount() throws DataException {
944
        // TODO Auto-generated method stub
945
        return 0;
946
    }
947

    
948
    public FeatureSelection getFeatureSelection() throws DataException {
949
        // TODO Auto-generated method stub
950
        return null;
951
    }
952

    
953
    public FeatureSet getFeatureSet() throws DataException {
954
        // TODO Auto-generated method stub
955
        return null;
956
    }
957

    
958
    public FeatureSet getFeatureSet(FeatureQuery featureQuery)
959
            throws DataException {
960
        // TODO Auto-generated method stub
961
        return null;
962
    }
963

    
964
    public void getFeatureSet(FeatureQuery featureQuery, Observer observer)
965
            throws DataException {
966
        // TODO Auto-generated method stub
967

    
968
    }
969

    
970
    public void getFeatureSet(Observer observer) throws DataException {
971
        // TODO Auto-generated method stub
972

    
973
    }
974

    
975
    public FeatureType getFeatureType(String featureTypeId)
976
            throws DataException {
977
        // TODO Auto-generated method stub
978
        return null;
979
    }
980

    
981
    public List getFeatureTypes() throws DataException {
982
        // TODO Auto-generated method stub
983
        return null;
984
    }
985

    
986
    public FeatureIndexes getIndexes() {
987
        // TODO Auto-generated method stub
988
        return null;
989
    }
990

    
991
    public FeatureLocks getLocks() throws DataException {
992
        // TODO Auto-generated method stub
993
        return null;
994
    }
995

    
996
    public DataStoreParameters getParameters() {
997
        // TODO Auto-generated method stub
998
        return null;
999
    }
1000

    
1001
    public IProjection getSRSDefaultGeometry() throws DataException {
1002
        // TODO Auto-generated method stub
1003
        return null;
1004
    }
1005

    
1006
    public FeatureStoreTransforms getTransforms() {
1007
        // TODO Auto-generated method stub
1008
        return null;
1009
    }
1010

    
1011
    public void insert(EditableFeature feature) throws DataException {
1012
        // TODO Auto-generated method stub
1013

    
1014
    }
1015

    
1016
    public boolean isAppendModeSupported() {
1017
        // TODO Auto-generated method stub
1018
        return false;
1019
    }
1020

    
1021
    public boolean isAppending() {
1022
        // TODO Auto-generated method stub
1023
        return false;
1024
    }
1025

    
1026
    public boolean isEditing() {
1027
        // TODO Auto-generated method stub
1028
        return false;
1029
    }
1030

    
1031
    public boolean isLocksSupported() {
1032
        // TODO Auto-generated method stub
1033
        return false;
1034
    }
1035

    
1036
    public void setSelection(FeatureSet selection) throws DataException {
1037
        // TODO Auto-generated method stub
1038

    
1039
    }
1040

    
1041
    public void update(EditableFeatureType featureType) throws DataException {
1042
        // TODO Auto-generated method stub
1043

    
1044
    }
1045

    
1046
    public void update(EditableFeature feature) throws DataException {
1047
        // TODO Auto-generated method stub
1048

    
1049
    }
1050

    
1051
    public void validateFeatures(int mode) throws DataException {
1052
        // TODO Auto-generated method stub
1053

    
1054
    }
1055

    
1056
    public DataQuery createQuery() {
1057
        // TODO Auto-generated method stub
1058
        return null;
1059
    }
1060

    
1061
    public DataSet createSelection() throws DataException {
1062
        // TODO Auto-generated method stub
1063
        return null;
1064
    }
1065

    
1066
    public void dispose() {
1067
        // TODO Auto-generated method stub
1068

    
1069
    }
1070

    
1071
    public Iterator getChildren() {
1072
        // TODO Auto-generated method stub
1073
        return null;
1074
    }
1075

    
1076
    public DataSet getDataSet() throws DataException {
1077
        // TODO Auto-generated method stub
1078
        return null;
1079
    }
1080

    
1081
    public DataSet getDataSet(DataQuery dataQuery) throws DataException {
1082
        // TODO Auto-generated method stub
1083
        return null;
1084
    }
1085

    
1086
    public void getDataSet(Observer observer) throws DataException {
1087
        // TODO Auto-generated method stub
1088

    
1089
    }
1090

    
1091
    public void getDataSet(DataQuery dataQuery, Observer observer)
1092
            throws DataException {
1093
        // TODO Auto-generated method stub
1094

    
1095
    }
1096

    
1097
    public DataServerExplorer getExplorer() throws DataException,
1098
            ValidateDataParametersException {
1099
        // TODO Auto-generated method stub
1100
        return null;
1101
    }
1102

    
1103
    public String getName() {
1104
        return name;
1105
    }
1106

    
1107
    public DataSet getSelection() throws DataException {
1108
        // TODO Auto-generated method stub
1109
        return null;
1110
    }
1111

    
1112
    public void refresh() throws DataException {
1113
        // TODO Auto-generated method stub
1114

    
1115
    }
1116

    
1117
    public void setSelection(DataSet selection) throws DataException {
1118
        // TODO Auto-generated method stub
1119

    
1120
    }
1121

    
1122
    public void beginComplexNotification() {
1123
        // TODO Auto-generated method stub
1124

    
1125
    }
1126

    
1127
    public void disableNotifications() {
1128
        // TODO Auto-generated method stub
1129

    
1130
    }
1131

    
1132
    public void enableNotifications() {
1133
        // TODO Auto-generated method stub
1134

    
1135
    }
1136

    
1137
    public void endComplexNotification() {
1138
        // TODO Auto-generated method stub
1139

    
1140
    }
1141

    
1142
    public void addObserver(Observer o) {
1143
        // TODO Auto-generated method stub
1144

    
1145
    }
1146

    
1147
    public void deleteObserver(Observer o) {
1148
        // TODO Auto-generated method stub
1149

    
1150
    }
1151

    
1152
    public void deleteObservers() {
1153
        // TODO Auto-generated method stub
1154

    
1155
    }
1156

    
1157
    public void loadFromState(PersistentState state)
1158
            throws PersistenceException {
1159
        name = state.getString("name");
1160
    }
1161

    
1162
    public void saveToState(PersistentState state) throws PersistenceException {
1163
        state.set("name", name);
1164
    }
1165

    
1166
    public Set getMetadataChildren() {
1167
        // TODO Auto-generated method stub
1168
        return null;
1169
    }
1170

    
1171
    public Object getMetadataID() {
1172
        // TODO Auto-generated method stub
1173
        return null;
1174
    }
1175

    
1176
    public String getMetadataName() {
1177
        // TODO Auto-generated method stub
1178
        return null;
1179
    }
1180

    
1181
    public void delegate(DynObject dynObject) {
1182
        // TODO Auto-generated method stub
1183

    
1184
    }
1185

    
1186
    public DynClass getDynClass() {
1187
        // TODO Auto-generated method stub
1188
        return null;
1189
    }
1190

    
1191
    public Object getDynValue(String name) throws DynFieldNotFoundException {
1192
        // TODO Auto-generated method stub
1193
        return null;
1194
    }
1195

    
1196
    public boolean hasDynValue(String name) {
1197
        // TODO Auto-generated method stub
1198
        return false;
1199
    }
1200

    
1201
    public void implement(DynClass dynClass) {
1202
        // TODO Auto-generated method stub
1203

    
1204
    }
1205

    
1206
    public Object invokeDynMethod(String name, DynObject context)
1207
            throws DynMethodException {
1208
        // TODO Auto-generated method stub
1209
        return null;
1210
    }
1211

    
1212
    public Object invokeDynMethod(int code, DynObject context)
1213
            throws DynMethodException {
1214
        // TODO Auto-generated method stub
1215
        return null;
1216
    }
1217

    
1218
    public void setDynValue(String name, Object value)
1219
            throws DynFieldNotFoundException {
1220
        // TODO Auto-generated method stub
1221

    
1222
    }
1223

    
1224
    public boolean canRedo() {
1225
        // TODO Auto-generated method stub
1226
        return false;
1227
    }
1228

    
1229
    public boolean canUndo() {
1230
        // TODO Auto-generated method stub
1231
        return false;
1232
    }
1233

    
1234
    public List getRedoInfos() {
1235
        // TODO Auto-generated method stub
1236
        return null;
1237
    }
1238

    
1239
    public List getUndoInfos() {
1240
        // TODO Auto-generated method stub
1241
        return null;
1242
    }
1243

    
1244
    public void redo() throws RedoException {
1245
        // TODO Auto-generated method stub
1246

    
1247
    }
1248

    
1249
    public void redo(int num) throws RedoException {
1250
        // TODO Auto-generated method stub
1251

    
1252
    }
1253

    
1254
    public void undo() throws UndoException {
1255
        // TODO Auto-generated method stub
1256

    
1257
    }
1258

    
1259
    public void undo(int num) throws UndoException {
1260
        // TODO Auto-generated method stub
1261

    
1262
    }
1263

    
1264
    public static void registerPersistent() {
1265
        PersistenceManager manager = ToolsLocator.getPersistenceManager();
1266
        DynStruct definition = manager.addDefinition(
1267
                DummyFileFeatureStore.class,
1268
                "DummyFileFeatureStore",
1269
                "DummyFileFeatureStore Persistence definition",
1270
                null,
1271
                null
1272
        );
1273
        definition.addDynFieldString("name")
1274
                .setMandatory(true);
1275
    }
1276

    
1277
    public void accept(Visitor visitor) throws BaseException {
1278
        // TODO Auto-generated method stub
1279

    
1280
    }
1281

    
1282
    public void accept(Visitor visitor, DataQuery dataQuery)
1283
            throws BaseException {
1284
        // TODO Auto-generated method stub
1285

    
1286
    }
1287

    
1288
    public void createCache(String name, DynObject parameters)
1289
            throws DataException {
1290
        // TODO Auto-generated method stub
1291

    
1292
    }
1293

    
1294
    public FeatureCache getCache() {
1295
        // TODO Auto-generated method stub
1296
        return null;
1297
    }
1298

    
1299
    public void clear() {
1300
        // Nothing to do
1301
    }
1302

    
1303
    public void export(DataServerExplorer explorer, String provider,
1304
            NewFeatureStoreParameters params) throws DataException {
1305
        // TODO Auto-generated method stub
1306

    
1307
    }
1308

    
1309
    public String getProviderName() {
1310
        // TODO Auto-generated method stub
1311
        return null;
1312
    }
1313

    
1314
    public String getFullName() {
1315
        // TODO Auto-generated method stub
1316
        return null;
1317
    }
1318

    
1319
    public boolean isKnownEnvelope() {
1320
        // TODO Auto-generated method stub
1321
        return false;
1322
    }
1323

    
1324
    public boolean hasRetrievedFeaturesLimit() {
1325
        // TODO Auto-generated method stub
1326
        return false;
1327
    }
1328

    
1329
    public int getRetrievedFeaturesLimit() {
1330
        // TODO Auto-generated method stub
1331
        return 0;
1332
    }
1333

    
1334
    public Interval getInterval() {
1335
        // TODO Auto-generated method stub
1336
        return null;
1337
    }
1338

    
1339
    public Collection getTimes() {
1340
        // TODO Auto-generated method stub
1341
        return null;
1342
    }
1343

    
1344
    public Collection getTimes(Interval interval) {
1345
        // TODO Auto-generated method stub
1346
        return null;
1347
    }
1348

    
1349
    public FeatureIndex createIndex(String indexTypeName,
1350
            FeatureType featureType, String attributeName, String indexName)
1351
            throws DataException {
1352
        // TODO Auto-generated method stub
1353
        return null;
1354
    }
1355

    
1356
    public FeatureIndex createIndex(String indexTypeName,
1357
            FeatureType featureType, String attributeName, String indexName,
1358
            Observer observer) throws DataException {
1359
        // TODO Auto-generated method stub
1360
        return null;
1361
    }
1362

    
1363
    public Object clone() throws CloneNotSupportedException {
1364
        // TODO Auto-generated method stub
1365
        return super.clone();
1366
    }
1367

    
1368
    /* (non-Javadoc)
1369
     * @see org.gvsig.fmap.dal.feature.FeatureStore#commitChanges()
1370
     */
1371
    public void commitChanges() throws DataException {
1372
        // TODO Auto-generated method stub
1373

    
1374
    }
1375

    
1376
    /* (non-Javadoc)
1377
     * @see org.gvsig.fmap.dal.feature.FeatureStore#canCommitChanges()
1378
     */
1379
    public boolean canCommitChanges() throws DataException {
1380
        // TODO Auto-generated method stub
1381
        return false;
1382
    }
1383

    
1384
    public Feature getFeature(DynObject dynobject) {
1385
        // TODO Auto-generated method stub
1386
        return null;
1387
    }
1388

    
1389
    public EditableFeature createNewFeature(Feature defaultValues) throws DataException {
1390
        return null;
1391
    }
1392

    
1393
    public Iterator iterator() {
1394
        return null;
1395
    }
1396
}