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 @ 40559

History | View | Annotate | Download (33.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
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.fmap.mapcontext.persistence;
25

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

    
32
import org.cresques.cts.IProjection;
33

    
34
import org.gvsig.fmap.dal.DataQuery;
35
import org.gvsig.fmap.dal.DataServerExplorer;
36
import org.gvsig.fmap.dal.DataSet;
37
import org.gvsig.fmap.dal.DataStoreParameters;
38
import org.gvsig.fmap.dal.exception.DataException;
39
import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
40
import org.gvsig.fmap.dal.feature.EditableFeature;
41
import org.gvsig.fmap.dal.feature.EditableFeatureType;
42
import org.gvsig.fmap.dal.feature.Feature;
43
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
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

    
417
        public static class DummyFeatureType implements FeatureType {
418

    
419
                public boolean allowAutomaticValues() {
420
                        // TODO Auto-generated method stub
421
                        return false;
422
                }
423

    
424
                public Object get(String name) {
425
                        // TODO Auto-generated method stub
426
                        return null;
427
                }
428

    
429
                public Object get(int index) {
430
                        // TODO Auto-generated method stub
431
                        return null;
432
                }
433

    
434
                public FeatureAttributeDescriptor getAttributeDescriptor(String name) {
435
                        // TODO Auto-generated method stub
436
                        return null;
437
                }
438

    
439
                public FeatureAttributeDescriptor getAttributeDescriptor(int index) {
440
                        return new DummyFeatureAttributeDescriptor();
441
                }
442

    
443
                public FeatureAttributeDescriptor[] getAttributeDescriptors() {
444
                        // TODO Auto-generated method stub
445
                        return null;
446
                }
447

    
448
                public FeatureType getCopy() {
449
                        // TODO Auto-generated method stub
450
                        return null;
451
                }
452

    
453
                public FeatureAttributeDescriptor getDefaultGeometryAttribute() {
454
                        // TODO Auto-generated method stub
455
                        return null;
456
                }
457

    
458
                public int getDefaultGeometryAttributeIndex() {
459
                        return 0;
460
                }
461

    
462
                public String getDefaultGeometryAttributeName() {
463
                        // TODO Auto-generated method stub
464
                        return null;
465
                }
466

    
467
                public IProjection getDefaultSRS() {
468
                        // TODO Auto-generated method stub
469
                        return null;
470
                }
471

    
472
                public EditableFeatureType getEditable() {
473
                        // TODO Auto-generated method stub
474
                        return null;
475
                }
476

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

    
482
                public int getIndex(String name) {
483
                        // TODO Auto-generated method stub
484
                        return 0;
485
                }
486

    
487
                public FeatureAttributeDescriptor[] getPrimaryKey() {
488
                        // TODO Auto-generated method stub
489
                        return null;
490
                }
491

    
492
                public FeatureRules getRules() {
493
                        // TODO Auto-generated method stub
494
                        return null;
495
                }
496

    
497
                public List getSRSs() {
498
                        // TODO Auto-generated method stub
499
                        return null;
500
                }
501

    
502
                public boolean hasEvaluators() {
503
                        // TODO Auto-generated method stub
504
                        return false;
505
                }
506

    
507
                public boolean hasOID() {
508
                        // TODO Auto-generated method stub
509
                        return false;
510
                }
511

    
512
                public Iterator iterator() {
513
                        // TODO Auto-generated method stub
514
                        return null;
515
                }
516

    
517
                public int size() {
518
                        // TODO Auto-generated method stub
519
                        return 0;
520
                }
521

    
522
        public DynClass[] getSuperDynClasses() {
523
            // TODO Auto-generated method stub
524
            return null;
525
        }
526

    
527
        public void removeDynMethod(String name) {
528
            // TODO Auto-generated method stub
529
            
530
        }
531

    
532
        public DynField addDynField(String name) {
533
            // TODO Auto-generated method stub
534
            return null;
535
        }
536

    
537
        public DynField addDynFieldArray(String name) {
538
            // TODO Auto-generated method stub
539
            return null;
540
        }
541

    
542
        public DynField addDynFieldBoolean(String name) {
543
            // TODO Auto-generated method stub
544
            return null;
545
        }
546

    
547
        public DynField addDynFieldChoice(String name, int type,
548
            Object defaultValue, DynObjectValueItem[] values,
549
            boolean mandatory, boolean persistent) {
550
            // TODO Auto-generated method stub
551
            return null;
552
        }
553

    
554
        public DynField addDynFieldChoice(String name, int type,
555
            Object defaultValue, DynObjectValueItem[] values) {
556
            // TODO Auto-generated method stub
557
            return null;
558
        }
559

    
560
        public DynField addDynFieldDate(String name) {
561
            // TODO Auto-generated method stub
562
            return null;
563
        }
564

    
565
        public DynField addDynFieldDouble(String name) {
566
            // TODO Auto-generated method stub
567
            return null;
568
        }
569

    
570
        public DynField addDynFieldFile(String name) {
571
            // TODO Auto-generated method stub
572
            return null;
573
        }
574

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

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

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

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

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

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

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

    
610
        public DynField addDynFieldRange(String name, int type,
611
            Object defaultValue, Object min, Object max, boolean mandatory,
612
            boolean persistent) {
613
            // TODO Auto-generated method stub
614
            return null;
615
        }
616

    
617
        public DynField addDynFieldRange(String name, int type,
618
            Object defaultValue, Object min, Object max) {
619
            // TODO Auto-generated method stub
620
            return null;
621
        }
622

    
623
        public DynField addDynFieldSet(String name) {
624
            // TODO Auto-generated method stub
625
            return null;
626
        }
627

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

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

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

    
645
        public DynField addDynFieldURI(String name) {
646
            // TODO Auto-generated method stub
647
            return null;
648
        }
649

    
650
        public DynField addDynFieldURL(String name) {
651
            // TODO Auto-generated method stub
652
            return null;
653
        }
654

    
655
        public void extend(DynStruct struct) {
656
            // TODO Auto-generated method stub
657
            
658
        }
659

    
660
        public void extend(String namespace, String structName) {
661
            // TODO Auto-generated method stub
662
            
663
        }
664

    
665
        public void extend(String structName) {
666
            // TODO Auto-generated method stub
667
            
668
        }
669

    
670
        public DynField getDeclaredDynField(String name) {
671
            // TODO Auto-generated method stub
672
            return null;
673
        }
674

    
675
        public DynField[] getDeclaredDynFields() {
676
            // TODO Auto-generated method stub
677
            return null;
678
        }
679

    
680
        public String getDescription() {
681
            // TODO Auto-generated method stub
682
            return null;
683
        }
684

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

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

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

    
700
        public String getName() {
701
            // TODO Auto-generated method stub
702
            return null;
703
        }
704

    
705
        public String getNamespace() {
706
            // TODO Auto-generated method stub
707
            return null;
708
        }
709

    
710
        public DynStruct[] getSuperDynStructs() {
711
            // TODO Auto-generated method stub
712
            return null;
713
        }
714

    
715
        public boolean isInstance(DynObject dynObject) {
716
            // TODO Auto-generated method stub
717
            return false;
718
        }
719

    
720
        public DynObject newInstance() {
721
            // TODO Auto-generated method stub
722
            return null;
723
        }
724

    
725
        public void removeDynField(String name) {
726
            // TODO Auto-generated method stub
727
            
728
        }
729

    
730
        public void setDescription(String description) {
731
            // TODO Auto-generated method stub
732
            
733
        }
734

    
735
        public void setNamespace(String namespace) {
736
            // TODO Auto-generated method stub
737
            
738
        }
739

    
740
        public void validate(DynObject object)
741
            throws DynObjectValidateException {
742
            // TODO Auto-generated method stub
743
            
744
        }
745

    
746
        public void addDynMethod(DynMethod dynMethod) {
747
            // TODO Auto-generated method stub
748
            
749
        }
750

    
751
        public DynMethod getDeclaredDynMethod(String name)
752
            throws DynMethodException {
753
            // TODO Auto-generated method stub
754
            return null;
755
        }
756

    
757
        public DynMethod[] getDeclaredDynMethods() throws DynMethodException {
758
            // TODO Auto-generated method stub
759
            return null;
760
        }
761

    
762
        public DynMethod getDynMethod(String name) throws DynMethodException {
763
            // TODO Auto-generated method stub
764
            return null;
765
        }
766

    
767
        public DynMethod getDynMethod(int code) throws DynMethodException {
768
            // TODO Auto-generated method stub
769
            return null;
770
        }
771

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

    
777
        public boolean isExtendable(DynStruct dynStruct) {
778
            // TODO Auto-generated method stub
779
            return false;
780
        }
781

    
782
                public void extend(DynStruct[] structs) {
783
                        // TODO Auto-generated method stub
784
                        
785
                }
786

    
787
                public void remove(DynStruct superDynStruct) {
788
                        // TODO Auto-generated method stub
789
                        
790
                }
791

    
792
                public void removeAll(DynStruct[] superDynStruct) {
793
                        // TODO Auto-generated method stub
794
                        
795
                }
796

    
797
        public FeatureAttributeDescriptor getDefaultTimeAttribute() {
798
            // TODO Auto-generated method stub
799
            return null;
800
        }
801

    
802
        }
803

    
804
        private String name = "[empty]";
805
        
806
        public DummyFileFeatureStore() {
807
                
808
        }
809
        
810
        public DummyFileFeatureStore(String id) {
811
                name = "[FILE FEATURE STORE - " + id + "]";
812
        }
813
        
814
        public boolean allowWrite() {
815
                // TODO Auto-generated method stub
816
                return false;
817
        }
818

    
819
        public void beginEditingGroup(String description)
820
                        throws NeedEditingModeException {
821
                // TODO Auto-generated method stub
822

    
823
        }
824

    
825
        public boolean canWriteGeometry(int gvSIGgeometryType) throws DataException {
826
                // TODO Auto-generated method stub
827
                return false;
828
        }
829

    
830
        public void cancelEditing() throws DataException {
831
                // TODO Auto-generated method stub
832

    
833
        }
834

    
835
        public FeatureQuery createFeatureQuery() {
836
                // TODO Auto-generated method stub
837
                return null;
838
        }
839

    
840
        public FeatureSelection createFeatureSelection() throws DataException {
841
                // TODO Auto-generated method stub
842
                return null;
843
        }
844

    
845
        public FeatureIndex createIndex(FeatureType featureType,
846
                        String attributeName, String indexName) throws DataException {
847
                // TODO Auto-generated method stub
848
                return null;
849
        }
850

    
851
        public FeatureIndex createIndex(FeatureType featureType,
852
                        String attributeName, String indexName, Observer observer)
853
                        throws DataException {
854
                // TODO Auto-generated method stub
855
                return null;
856
        }
857

    
858
        public EditableFeature createNewFeature() throws DataException {
859
                // TODO Auto-generated method stub
860
                return null;
861
        }
862

    
863
        public EditableFeature createNewFeature(FeatureType type,
864
                        Feature defaultValues) throws DataException {
865
                // TODO Auto-generated method stub
866
                return null;
867
        }
868

    
869
        public EditableFeature createNewFeature(FeatureType type,
870
                        boolean defaultValues) throws DataException {
871
                // TODO Auto-generated method stub
872
                return null;
873
        }
874

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

    
881
        public void delete(Feature feature) throws DataException {
882
                // TODO Auto-generated method stub
883

    
884
        }
885

    
886
        public void edit() throws DataException {
887
                // TODO Auto-generated method stub
888

    
889
        }
890

    
891
        public void edit(int mode) throws DataException {
892
                // TODO Auto-generated method stub
893

    
894
        }
895

    
896
        public void endEditingGroup() throws NeedEditingModeException {
897
                // TODO Auto-generated method stub
898

    
899
        }
900

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

    
904
        }
905

    
906
        public FeatureType getDefaultFeatureType() throws DataException {
907
                return new DummyFeatureType();
908
        }
909

    
910
        public Envelope getEnvelope() throws DataException {
911
                // TODO Auto-generated method stub
912
                return null;
913
        }
914

    
915
        public Feature getFeatureByReference(FeatureReference reference)
916
                        throws DataException {
917
                // TODO Auto-generated method stub
918
                return null;
919
        }
920

    
921
        public Feature getFeatureByReference(FeatureReference reference,
922
                        FeatureType featureType) throws DataException {
923
                // TODO Auto-generated method stub
924
                return null;
925
        }
926

    
927
        public long getFeatureCount() throws DataException {
928
                // TODO Auto-generated method stub
929
                return 0;
930
        }
931

    
932
        public FeatureSelection getFeatureSelection() throws DataException {
933
                // TODO Auto-generated method stub
934
                return null;
935
        }
936

    
937
        public FeatureSet getFeatureSet() throws DataException {
938
                // TODO Auto-generated method stub
939
                return null;
940
        }
941

    
942
        public FeatureSet getFeatureSet(FeatureQuery featureQuery)
943
                        throws DataException {
944
                // TODO Auto-generated method stub
945
                return null;
946
        }
947

    
948
        public void getFeatureSet(FeatureQuery featureQuery, Observer observer)
949
                        throws DataException {
950
                // TODO Auto-generated method stub
951

    
952
        }
953

    
954
        public void getFeatureSet(Observer observer) throws DataException {
955
                // TODO Auto-generated method stub
956

    
957
        }
958

    
959
        public FeatureType getFeatureType(String featureTypeId)
960
                        throws DataException {
961
                // TODO Auto-generated method stub
962
                return null;
963
        }
964

    
965
        public List getFeatureTypes() throws DataException {
966
                // TODO Auto-generated method stub
967
                return null;
968
        }
969

    
970
        public FeatureIndexes getIndexes() {
971
                // TODO Auto-generated method stub
972
                return null;
973
        }
974

    
975
        public FeatureLocks getLocks() throws DataException {
976
                // TODO Auto-generated method stub
977
                return null;
978
        }
979

    
980
        public DataStoreParameters getParameters() {
981
                // TODO Auto-generated method stub
982
                return null;
983
        }
984

    
985
        public IProjection getSRSDefaultGeometry() throws DataException {
986
                // TODO Auto-generated method stub
987
                return null;
988
        }
989

    
990
        public FeatureStoreTransforms getTransforms() {
991
                // TODO Auto-generated method stub
992
                return null;
993
        }
994

    
995
        public void insert(EditableFeature feature) throws DataException {
996
                // TODO Auto-generated method stub
997

    
998
        }
999

    
1000
        public boolean isAppendModeSupported() {
1001
                // TODO Auto-generated method stub
1002
                return false;
1003
        }
1004

    
1005
        public boolean isAppending() {
1006
                // TODO Auto-generated method stub
1007
                return false;
1008
        }
1009

    
1010
        public boolean isEditing() {
1011
                // TODO Auto-generated method stub
1012
                return false;
1013
        }
1014

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

    
1020
        public void setSelection(FeatureSet selection) throws DataException {
1021
                // TODO Auto-generated method stub
1022

    
1023
        }
1024

    
1025
        public void update(EditableFeatureType featureType) throws DataException {
1026
                // TODO Auto-generated method stub
1027

    
1028
        }
1029

    
1030
        public void update(EditableFeature feature) throws DataException {
1031
                // TODO Auto-generated method stub
1032

    
1033
        }
1034

    
1035
        public void validateFeatures(int mode) throws DataException {
1036
                // TODO Auto-generated method stub
1037

    
1038
        }
1039

    
1040
        public DataQuery createQuery() {
1041
                // TODO Auto-generated method stub
1042
                return null;
1043
        }
1044

    
1045
        public DataSet createSelection() throws DataException {
1046
                // TODO Auto-generated method stub
1047
                return null;
1048
        }
1049

    
1050
        public void dispose() {
1051
                // TODO Auto-generated method stub
1052

    
1053
        }
1054

    
1055
        public Iterator getChildren() {
1056
                // TODO Auto-generated method stub
1057
                return null;
1058
        }
1059

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

    
1065
        public DataSet getDataSet(DataQuery dataQuery) throws DataException {
1066
                // TODO Auto-generated method stub
1067
                return null;
1068
        }
1069

    
1070
        public void getDataSet(Observer observer) throws DataException {
1071
                // TODO Auto-generated method stub
1072

    
1073
        }
1074

    
1075
        public void getDataSet(DataQuery dataQuery, Observer observer)
1076
                        throws DataException {
1077
                // TODO Auto-generated method stub
1078

    
1079
        }
1080

    
1081
        public DataServerExplorer getExplorer() throws DataException,
1082
                        ValidateDataParametersException {
1083
                // TODO Auto-generated method stub
1084
                return null;
1085
        }
1086

    
1087
        public String getName() {
1088
                return name;
1089
        }
1090

    
1091
        public DataSet getSelection() throws DataException {
1092
                // TODO Auto-generated method stub
1093
                return null;
1094
        }
1095

    
1096
        public void refresh() throws DataException {
1097
                // TODO Auto-generated method stub
1098

    
1099
        }
1100

    
1101
        public void setSelection(DataSet selection) throws DataException {
1102
                // TODO Auto-generated method stub
1103

    
1104
        }
1105

    
1106
        public void beginComplexNotification() {
1107
                // TODO Auto-generated method stub
1108

    
1109
        }
1110

    
1111
        public void disableNotifications() {
1112
                // TODO Auto-generated method stub
1113

    
1114
        }
1115

    
1116
        public void enableNotifications() {
1117
                // TODO Auto-generated method stub
1118

    
1119
        }
1120

    
1121
        public void endComplexNotification() {
1122
                // TODO Auto-generated method stub
1123

    
1124
        }
1125

    
1126
        public void addObserver(Observer o) {
1127
                // TODO Auto-generated method stub
1128

    
1129
        }
1130

    
1131
        public void deleteObserver(Observer o) {
1132
                // TODO Auto-generated method stub
1133

    
1134
        }
1135

    
1136
        public void deleteObservers() {
1137
                // TODO Auto-generated method stub
1138

    
1139
        }
1140

    
1141
        public void loadFromState(PersistentState state)
1142
                        throws PersistenceException {
1143
                name = state.getString("name");
1144
        }
1145

    
1146
        public void saveToState(PersistentState state) throws PersistenceException {
1147
                state.set("name", name);
1148
        }
1149

    
1150
        public Set getMetadataChildren() {
1151
                // TODO Auto-generated method stub
1152
                return null;
1153
        }
1154

    
1155
        public Object getMetadataID() {
1156
                // TODO Auto-generated method stub
1157
                return null;
1158
        }
1159

    
1160
        public String getMetadataName() {
1161
                // TODO Auto-generated method stub
1162
                return null;
1163
        }
1164

    
1165
        public void delegate(DynObject dynObject) {
1166
                // TODO Auto-generated method stub
1167

    
1168
        }
1169

    
1170
        public DynClass getDynClass() {
1171
                // TODO Auto-generated method stub
1172
                return null;
1173
        }
1174

    
1175
        public Object getDynValue(String name) throws DynFieldNotFoundException {
1176
                // TODO Auto-generated method stub
1177
                return null;
1178
        }
1179

    
1180
        public boolean hasDynValue(String name) {
1181
                // TODO Auto-generated method stub
1182
                return false;
1183
        }
1184

    
1185
        public void implement(DynClass dynClass) {
1186
                // TODO Auto-generated method stub
1187

    
1188
        }
1189

    
1190
        public Object invokeDynMethod(String name, DynObject context)
1191
                        throws DynMethodException {
1192
                // TODO Auto-generated method stub
1193
                return null;
1194
        }
1195

    
1196
        public Object invokeDynMethod(int code, DynObject context)
1197
                        throws DynMethodException {
1198
                // TODO Auto-generated method stub
1199
                return null;
1200
        }
1201

    
1202
        public void setDynValue(String name, Object value)
1203
                        throws DynFieldNotFoundException {
1204
                // TODO Auto-generated method stub
1205

    
1206
        }
1207

    
1208
        public boolean canRedo() {
1209
                // TODO Auto-generated method stub
1210
                return false;
1211
        }
1212

    
1213
        public boolean canUndo() {
1214
                // TODO Auto-generated method stub
1215
                return false;
1216
        }
1217

    
1218
        public List getRedoInfos() {
1219
                // TODO Auto-generated method stub
1220
                return null;
1221
        }
1222

    
1223
        public List getUndoInfos() {
1224
                // TODO Auto-generated method stub
1225
                return null;
1226
        }
1227

    
1228
        public void redo() throws RedoException {
1229
                // TODO Auto-generated method stub
1230

    
1231
        }
1232

    
1233
        public void redo(int num) throws RedoException {
1234
                // TODO Auto-generated method stub
1235

    
1236
        }
1237

    
1238
        public void undo() throws UndoException {
1239
                // TODO Auto-generated method stub
1240

    
1241
        }
1242

    
1243
        public void undo(int num) throws UndoException {
1244
                // TODO Auto-generated method stub
1245

    
1246
        }
1247
        
1248
        
1249
        
1250
        public static void registerPersistent() {
1251
                PersistenceManager manager = ToolsLocator.getPersistenceManager();
1252
                DynStruct definition = manager.addDefinition(
1253
                                DummyFileFeatureStore.class,
1254
                                "DummyFileFeatureStore",
1255
                                "DummyFileFeatureStore Persistence definition",
1256
                                null, 
1257
                                null
1258
                );
1259
                definition.addDynFieldString("name")
1260
                        .setMandatory(true);
1261
        }
1262

    
1263
        public void accept(Visitor visitor) throws BaseException {
1264
                // TODO Auto-generated method stub
1265

    
1266
        }
1267

    
1268
        public void accept(Visitor visitor, DataQuery dataQuery)
1269
                        throws BaseException {
1270
                // TODO Auto-generated method stub
1271

    
1272
        }
1273

    
1274
        public void createCache(String name, DynObject parameters)
1275
                        throws DataException {
1276
                // TODO Auto-generated method stub
1277
                
1278
        }
1279

    
1280
        public FeatureCache getCache() {
1281
                // TODO Auto-generated method stub
1282
                return null;
1283
        }
1284

    
1285
        public void clear() {
1286
                // Nothing to do
1287
        }
1288

    
1289
        public void export(DataServerExplorer explorer, String provider,
1290
                        NewFeatureStoreParameters params) throws DataException {
1291
                // TODO Auto-generated method stub
1292
                
1293
        }
1294

    
1295
        public String getProviderName() {
1296
                // TODO Auto-generated method stub
1297
                return null;
1298
        }
1299

    
1300
        public String getFullName() {
1301
                // TODO Auto-generated method stub
1302
                return null;
1303
        }
1304

    
1305
    public boolean isKnownEnvelope() {
1306
        // TODO Auto-generated method stub
1307
        return false;
1308
    }
1309

    
1310
    public boolean hasRetrievedFeaturesLimit() {
1311
        // TODO Auto-generated method stub
1312
        return false;
1313
    }
1314

    
1315
    public int getRetrievedFeaturesLimit() {
1316
        // TODO Auto-generated method stub
1317
        return 0;
1318
    }
1319

    
1320
    public Interval getInterval() {
1321
        // TODO Auto-generated method stub
1322
        return null;
1323
    }
1324

    
1325
    public Collection getTimes() {
1326
        // TODO Auto-generated method stub
1327
        return null;
1328
    }
1329

    
1330
    public Collection getTimes(Interval interval) {
1331
        // TODO Auto-generated method stub
1332
        return null;
1333
    }
1334

    
1335
    public FeatureIndex createIndex(String indexTypeName,
1336
        FeatureType featureType, String attributeName, String indexName)
1337
        throws DataException {
1338
        // TODO Auto-generated method stub
1339
        return null;
1340
    }
1341

    
1342
    public FeatureIndex createIndex(String indexTypeName,
1343
        FeatureType featureType, String attributeName, String indexName,
1344
        Observer observer) throws DataException {
1345
        // TODO Auto-generated method stub
1346
        return null;
1347
    }
1348
    
1349
    public Object clone() throws CloneNotSupportedException {
1350
        // TODO Auto-generated method stub
1351
        return super.clone();
1352
    }
1353

    
1354
    /* (non-Javadoc)
1355
     * @see org.gvsig.fmap.dal.feature.FeatureStore#commitChanges()
1356
     */
1357
    public void commitChanges() throws DataException {
1358
        // TODO Auto-generated method stub
1359
        
1360
    }
1361

    
1362
    /* (non-Javadoc)
1363
     * @see org.gvsig.fmap.dal.feature.FeatureStore#canCommitChanges()
1364
     */
1365
    public boolean canCommitChanges() throws DataException {
1366
        // TODO Auto-generated method stub
1367
        return false;
1368
    }
1369
}