Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / test / java / org / gvsig / fmap / dal / feature / DummyFetureStore.java @ 46875

History | View | Annotate | Download (21.2 KB)

1

    
2
package org.gvsig.fmap.dal.feature;
3

    
4
import java.util.Collection;
5
import java.util.Collections;
6
import java.util.Iterator;
7
import java.util.List;
8
import java.util.Map;
9
import java.util.Set;
10
import javax.json.JsonObject;
11

    
12
import org.cresques.cts.IProjection;
13
import org.gvsig.expressionevaluator.Expression;
14
import org.gvsig.expressionevaluator.ExpressionBuilder;
15

    
16
import org.gvsig.fmap.dal.DataQuery;
17
import org.gvsig.fmap.dal.DataServerExplorer;
18
import org.gvsig.fmap.dal.DataSet;
19
import org.gvsig.fmap.dal.DataStore;
20
import org.gvsig.fmap.dal.DataStoreParameters;
21
import org.gvsig.fmap.dal.DataStoreProviderFactory;
22
import org.gvsig.fmap.dal.StoresRepository;
23
import org.gvsig.fmap.dal.exception.DataException;
24
import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
25
import org.gvsig.fmap.dal.feature.exception.NeedEditingModeException;
26
import org.gvsig.fmap.geom.SpatialIndex;
27
import org.gvsig.fmap.geom.primitive.Envelope;
28
import org.gvsig.metadata.exceptions.MetadataException;
29
import org.gvsig.timesupport.Interval;
30
import org.gvsig.tools.dynobject.DynClass;
31
import org.gvsig.tools.dynobject.DynObject;
32
import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException;
33
import org.gvsig.tools.dynobject.exception.DynMethodException;
34
import org.gvsig.tools.exception.BaseException;
35
import org.gvsig.tools.observer.Observer;
36
import org.gvsig.tools.persistence.PersistentState;
37
import org.gvsig.tools.persistence.exception.PersistenceException;
38
import org.gvsig.tools.undo.RedoException;
39
import org.gvsig.tools.undo.UndoException;
40
import org.gvsig.tools.resourcesstorage.ResourcesStorage;
41
import org.gvsig.tools.resourcesstorage.EmptyResourcesStorage;
42
import org.gvsig.tools.util.GetItemWithSizeIsEmptyAndIterator64;
43
import org.gvsig.tools.util.UnmodifiableBasicMap;
44
import org.gvsig.tools.visitor.Visitor;
45

    
46
/**
47
 * This class is intended to be used in test.
48
 * Use it directly or extend it and overwrite the methods you need.
49
 * This class is maintained as part of the DAL API.
50
 */
51

    
52

    
53
public class DummyFetureStore implements FeatureStore {
54
    
55
    private int mode;
56

    
57
    @Override
58
    public Object clone() throws CloneNotSupportedException {
59
        return super.clone();
60
    }
61

    
62
    @Override
63
    public boolean allowWrite() {
64
        return false;
65
    }
66

    
67
    @Override
68
    public FeatureType getDefaultFeatureType() throws DataException {
69
        return null;
70
    }
71

    
72
    @Override
73
    public FeatureType getFeatureType(String featureTypeId) throws DataException {
74
        return null;
75
    }
76

    
77
    @Override
78
    public List getFeatureTypes() throws DataException {
79
        return null;
80
    }
81

    
82
    @Override
83
    public DataStoreParameters getParameters() {
84
        return null;
85
    }
86

    
87
    @Override
88
    public boolean canWriteGeometry(int gvSIGgeometryType) throws DataException {
89
        return false;
90
    }
91

    
92
    @Override
93
    public Envelope getEnvelope() throws DataException {
94
        return null;
95
    }
96

    
97
    @Override
98
    public IProjection getSRSDefaultGeometry() throws DataException {
99
        return null;
100
    }
101

    
102
    @Override
103
    public void export(DataServerExplorer explorer, String provider, NewFeatureStoreParameters params, String name) throws DataException {
104

    
105
    }
106

    
107
    @Override
108
    public FeatureSet getFeatureSet() throws DataException {
109
        return null;
110
    }
111

    
112
    @Override
113
    public FeatureSet getFeatureSet(FeatureQuery featureQuery) throws DataException {
114
        return null;
115
    }
116

    
117
    @Override
118
    public void getFeatureSet(FeatureQuery featureQuery, Observer observer) throws DataException {
119

    
120
    }
121

    
122
    @Override
123
    public void getFeatureSet(Observer observer) throws DataException {
124

    
125
    }
126

    
127
    @Override
128
    public List<Feature> getFeatures(FeatureQuery query, int pageSize) {
129
        return null;
130
    }
131

    
132
    @Override
133
    public Feature getFeatureByReference(FeatureReference reference) throws DataException {
134
        return null;
135
    }
136

    
137
    @Override
138
    public Feature getFeatureByReference(FeatureReference reference, FeatureType featureType) throws DataException {
139
        return null;
140
    }
141

    
142
    @Override
143
    public void edit() throws DataException {
144
        this.mode = MODE_FULLEDIT;
145
    }
146

    
147
    @Override
148
    public void edit(int mode) throws DataException {
149
        this.mode = mode;
150
    }
151

    
152
    @Override
153
    public int getMode() {
154
        return this.mode;
155
    }
156
    
157
    
158

    
159
    @Override
160
    public void cancelEditing() throws DataException {
161
        this.mode = MODE_QUERY;
162
    }
163

    
164
    @Override
165
    public void finishEditing() throws DataException {
166
        this.mode = MODE_QUERY;
167
    }
168

    
169
    @Override
170
    public void commitChanges() throws DataException {
171

    
172
    }
173

    
174
    @Override
175
    public boolean canCommitChanges() throws DataException {
176
        return false;
177
    }
178

    
179
    @Override
180
    public boolean isEditing() {
181
        return false;
182
    }
183

    
184
    @Override
185
    public boolean isAppending() {
186
        return false;
187
    }
188

    
189
    @Override
190
    public void update(EditableFeatureType featureType) throws DataException {
191

    
192
    }
193

    
194
    @Override
195
    public void update(EditableFeature feature) throws DataException {
196

    
197
    }
198

    
199
    @Override
200
    public void update(Object... parameters) throws DataException {
201

    
202
    }
203
    
204
    @Override
205
    public void delete(Feature feature) throws DataException {
206

    
207
    }
208

    
209
    @Override
210
    public void insert(EditableFeature feature) throws DataException {
211

    
212
    }
213

    
214
    @Override
215
    public EditableFeature createNewFeature() throws DataException {
216
        return null;
217
    }
218

    
219
    @Override
220
    public EditableFeature createNewFeature(FeatureType type, Feature defaultValues) throws DataException {
221
        return null;
222
    }
223

    
224
    @Override
225
    public EditableFeature createNewFeature(FeatureType type, boolean defaultValues) throws DataException {
226
        return null;
227
    }
228

    
229
    @Override
230
    public EditableFeature createNewFeature(boolean defaultValues) throws DataException {
231
        return null;
232
    }
233

    
234
    @Override
235
    public EditableFeature createNewFeature(Feature defaultValues) throws DataException {
236
        return null;
237
    }
238

    
239
    @Override
240
    public EditableFeature createNewFeature(JsonObject defaultValues) throws DataException {
241
        return null;
242
    }
243
    
244
    @Override
245
    public boolean isAppendModeSupported() {
246
        return false;
247
    }
248

    
249
    @Override
250
    public void beginEditingGroup(String description) throws NeedEditingModeException {
251

    
252
    }
253

    
254
    @Override
255
    public void endEditingGroup() throws NeedEditingModeException {
256

    
257
    }
258

    
259
    @Override
260
    public FeatureIndex createIndex(FeatureType featureType, String attributeName, String indexName) throws DataException {
261
        return null;
262
    }
263

    
264
    @Override
265
    public FeatureIndex createIndex(String indexTypeName, FeatureType featureType, String attributeName, String indexName) throws DataException {
266
        return null;
267
    }
268

    
269
    @Override
270
    public FeatureIndex createIndex(FeatureType featureType, String attributeName, String indexName, Observer observer) throws DataException {
271
        return null;
272
    }
273

    
274
    @Override
275
    public FeatureIndex createIndex(String indexTypeName, FeatureType featureType, String attributeName, String indexName, Observer observer) throws DataException {
276
        return null;
277
    }
278

    
279
    @Override
280
    public FeatureIndexes getIndexes() {
281
        return null;
282
    }
283

    
284
    @Override
285
    public void setSelection(FeatureSet selection) throws DataException {
286

    
287
    }
288

    
289
    @Override
290
    public FeatureSelection createFeatureSelection() throws DataException {
291
        return null;
292
    }
293

    
294
    @Override
295
    public FeatureSelection getFeatureSelection() throws DataException {
296
        return null;
297
    }
298

    
299
    @Override
300
    public boolean isLocksSupported() {
301
        return false;
302
    }
303

    
304
    @Override
305
    public FeatureLocks getLocks() throws DataException {
306
        return null;
307
    }
308

    
309
    @Override
310
    public FeatureStoreTransforms getTransforms() {
311
        return null;
312
    }
313

    
314
    @Override
315
    public FeatureQuery createFeatureQuery() {
316
        return null;
317
    }
318

    
319
    @Override
320
    public long getFeatureCount() throws DataException {
321
        return 0;
322
    }
323

    
324
//    @Override
325
//    public void createCache(String name, DynObject parameters) throws DataException {
326
//
327
//    }
328
//
329
//    @Override
330
//    public FeatureCache getCache() {
331
//        return null;
332
//    }
333

    
334
    @Override
335
    public boolean isKnownEnvelope() {
336
        return false;
337
    }
338

    
339
    @Override
340
    public boolean hasRetrievedFeaturesLimit() {
341
        return false;
342
    }
343

    
344
    @Override
345
    public int getRetrievedFeaturesLimit() {
346
        return 0;
347
    }
348

    
349
    @Override
350
    public Feature getFeature(DynObject dynobject) {
351
        return null;
352
    }
353

    
354
    @Override
355
    public Iterator iterator() {
356
        return null;
357
    }
358

    
359
    @Override
360
    public String getName() {
361
        return null;
362
    }
363

    
364
    @Override
365
    public String getFullName() {
366
        return null;
367
    }
368

    
369
    @Override
370
    public String getProviderName() {
371
        return null;
372
    }
373

    
374
    @Override
375
    public void refresh() throws DataException {
376

    
377
    }
378

    
379
    @Override
380
    public DataSet getDataSet() throws DataException {
381
        return null;
382
    }
383

    
384
    @Override
385
    public DataSet getDataSet(DataQuery dataQuery) throws DataException {
386
        return null;
387
    }
388

    
389
    @Override
390
    public void accept(Visitor visitor) throws BaseException {
391

    
392
    }
393

    
394
    @Override
395
    public void accept(Visitor visitor, DataQuery dataQuery) throws BaseException {
396

    
397
    }
398

    
399
    @Override
400
    public void getDataSet(Observer observer) throws DataException {
401

    
402
    }
403

    
404
    @Override
405
    public void getDataSet(DataQuery dataQuery, Observer observer) throws DataException {
406

    
407
    }
408

    
409
    @Override
410
    public DataSet getSelection() throws DataException {
411
        return null;
412
    }
413

    
414
    @Override
415
    public void setSelection(DataSet selection) throws DataException {
416

    
417
    }
418

    
419
    @Override
420
    public DataSet createSelection() throws DataException {
421
        return null;
422
    }
423

    
424
    @Override
425
    public DataServerExplorer getExplorer() throws DataException, ValidateDataParametersException {
426
        return null;
427
    }
428

    
429
    @Override
430
    public DataQuery createQuery() {
431
        return null;
432
    }
433

    
434
    @Override
435
    public Interval getInterval() {
436
        return null;
437
    }
438

    
439
    @Override
440
    public Collection getTimes() {
441
        return null;
442
    }
443

    
444
    @Override
445
    public Collection getTimes(Interval interval) {
446
        return null;
447
    }
448

    
449
    @Override
450
    public void disableNotifications() {
451

    
452
    }
453

    
454
    @Override
455
    public void enableNotifications() {
456

    
457
    }
458

    
459
    @Override
460
    public void beginComplexNotification() {
461

    
462
    }
463

    
464
    @Override
465
    public void endComplexNotification() {
466

    
467
    }
468

    
469
    @Override
470
    public void addObserver(Observer obsrvr) {
471

    
472
    }
473

    
474
    @Override
475
    public void deleteObserver(Observer obsrvr) {
476

    
477
    }
478

    
479
    @Override
480
    public void deleteObservers() {
481

    
482
    }
483

    
484
    @Override
485
    public void saveToState(PersistentState ps) throws PersistenceException {
486

    
487
    }
488

    
489
    @Override
490
    public void loadFromState(PersistentState ps) throws PersistenceException {
491

    
492
    }
493

    
494
    @Override
495
    public Object getMetadataID() throws MetadataException {
496
        return null;
497
    }
498

    
499
    @Override
500
    public String getMetadataName() throws MetadataException {
501
        return null;
502
    }
503

    
504
    @Override
505
    public Set getMetadataChildren() throws MetadataException {
506
        return null;
507
    }
508

    
509
    @Override
510
    public DynClass getDynClass() {
511
        return null;
512
    }
513

    
514
    @Override
515
    public void implement(DynClass dc) {
516

    
517
    }
518

    
519
    @Override
520
    public void delegate(DynObject d) {
521

    
522
    }
523

    
524
    @Override
525
    public Object getDynValue(String string) throws DynFieldNotFoundException {
526
        return null;
527
    }
528

    
529
    @Override
530
    public void setDynValue(String string, Object o) throws DynFieldNotFoundException {
531

    
532
    }
533

    
534
    @Override
535
    public boolean hasDynValue(String string) {
536
        return false;
537
    }
538

    
539
    @Override
540
    public Object invokeDynMethod(String string, Object[] os) throws DynMethodException {
541
        return null;
542
    }
543

    
544
    @Override
545
    public Object invokeDynMethod(int i, Object[] os) throws DynMethodException {
546
        return null;
547
    }
548

    
549
    @Override
550
    public void clear() {
551

    
552
    }
553

    
554
    @Override
555
    public void dispose() {
556

    
557
    }
558

    
559
    @Override
560
    public void undo() throws UndoException {
561

    
562
    }
563

    
564
    @Override
565
    public void undo(int i) throws UndoException {
566

    
567
    }
568

    
569
    @Override
570
    public void redo() throws RedoException {
571

    
572
    }
573

    
574
    @Override
575
    public void redo(int i) throws RedoException {
576

    
577
    }
578

    
579
    @Override
580
    public List getUndoInfos() {
581
        return null;
582
    }
583

    
584
    @Override
585
    public List getRedoInfos() {
586
        return null;
587
    }
588

    
589
    @Override
590
    public boolean canUndo() {
591
        return false;
592
    }
593

    
594
    @Override
595
    public boolean canRedo() {
596
        return false;
597
    }
598

    
599
    @Override
600
    public List<Feature> getFeatures() {
601
        return null;
602
    }
603

    
604
    @Override
605
    public void createCache(String name, DynObject parameters) throws DataException {
606

    
607
    }
608

    
609
    @Override
610
    public FeatureCache getCache() {
611
        return null;
612
    }
613

    
614
    @Override
615
    public void useCache(String providerName, DynObject parameters) throws DataException {
616
        throw new UnsupportedOperationException();
617
    }
618

    
619
    @Override
620
    public DataStoreProviderFactory getProviderFactory() {
621
        return null;
622
    }
623

    
624
    @Override
625
    public boolean isBroken() {
626
        return false;
627
    }
628

    
629
        @Override
630
        public Throwable getBreakingsCause() {
631
                return null;
632
        }
633

    
634
    @Override
635
    public boolean hasDynMethod(String name) {
636
        return false;
637
    }
638

    
639
    @Override
640
    public SpatialIndex wrapSpatialIndex(SpatialIndex index) {
641
        return null;
642
    }
643

    
644
    @Override
645
    public ExpressionBuilder createExpressionBuilder() {
646
        return null;
647
    }
648

    
649
    @Override
650
    public ExpressionBuilder createExpression() {
651
        return createExpressionBuilder();
652
    }
653

    
654
    @Override
655
    public FeatureSet getFeatureSet(String filter) throws DataException {
656
        return null;
657
    }
658

    
659
    @Override
660
    public FeatureSet getFeatureSet(String filter, String sortBy) throws DataException {
661
        return null;
662
    }
663

    
664
    @Override
665
    public FeatureSet getFeatureSet(String filter, String sortBy, boolean asc) throws DataException {
666
        return null;
667
    }
668

    
669
    @Override
670
    public List<Feature> getFeatures(FeatureQuery query) {
671
        return null;
672
    }
673

    
674
    @Override
675
    public List<Feature> getFeatures(String filter) {
676
        return null;
677
    }
678

    
679
    @Override
680
    public List<Feature> getFeatures(String filter, String sortBy) {
681
        return null;
682
    }
683

    
684
    @Override
685
    public List<Feature> getFeatures(String filter, String sortBy, boolean asc) {
686
        return null;
687
    }
688

    
689
    @Override
690
    public Feature findFirst(String filter) throws DataException {
691
        return null;
692
    }
693

    
694
    @Override
695
    public Feature findFirst(String filter, String sortBy) throws DataException {
696
        return null;
697
    }
698

    
699
    @Override
700
    public Feature findFirst(String filter, String sortBy, boolean asc) throws DataException {
701
        return null;
702
    }
703

    
704
    @Override
705
    public FeatureReference getFeatureReference(String code) {
706
        return null;
707
    }
708

    
709
    @Override
710
    public FeatureSet getFeatureSet(Expression filter) throws DataException {
711
        return null;
712
    }
713

    
714
    @Override
715
    public FeatureSet getFeatureSet(Expression filter, String sortBy) throws DataException {
716
        return null;
717
    }
718

    
719
    @Override
720
    public FeatureSet getFeatureSet(Expression filter, String sortBy, boolean asc) throws DataException {
721
        return null;
722
    }
723

    
724
    @Override
725
    public List<Feature> getFeatures(Expression filter) {
726
        return null;
727
    }
728

    
729
    @Override
730
    public List<Feature> getFeatures(Expression filter, String sortBy) {
731
        return null;
732
    }
733

    
734
    @Override
735
    public List<Feature> getFeatures(Expression filter, String sortBy, boolean asc) {
736
        return null;
737
    }
738

    
739
    @Override
740
    public Feature findFirst(Expression filter) throws DataException {
741
        return null;
742
    }
743

    
744
    @Override
745
    public Feature findFirst(Expression filter, String sortBy) throws DataException {
746
        return null;
747
    }
748

    
749
    @Override
750
    public Feature findFirst(Expression filter, String sortBy, boolean asc) throws DataException {
751
        return null;
752
    }
753

    
754
    @Override
755
    public Feature first() throws DataException {
756
        return null;
757
    }
758

    
759
    @Override
760
    public long getPendingChangesCount() {
761
        return 0;
762
    }
763

    
764
    @Override
765
    public ResourcesStorage getResourcesStorage() {
766
        return ResourcesStorage.EMPTY_RESOURCESSTORAGE;
767
    }
768

    
769
    @Override
770
    public StoresRepository getStoresRepository() {
771
        return null;
772
    }
773

    
774
    @Override
775
    public UnmodifiableBasicMap<String, DataStore> getChildren() {
776
        return UnmodifiableBasicMap.EMPTY_UNMODIFIABLEBASICMAP;
777
    }
778

    
779
    @Override
780
    public Feature findFirst(FeatureQuery query) throws DataException {
781
        return null;
782
    }
783

    
784
    @Override
785
    public Feature getSampleFeature() {
786
        return null;
787
    }
788

    
789
    @Override
790
    public void copyTo(FeatureStore target) {
791
    }
792

    
793
    @Override
794
    public FeatureQuery createFeatureQuery(String filter, String sortBy, boolean asc) {
795
        return null;
796
    }
797

    
798
    @Override
799
    public FeatureQuery createFeatureQuery(Expression filter, String sortBy, boolean asc) {
800
        return null;
801
    }
802

    
803
    @Override
804
    public boolean supportReferences() {
805
        return true;
806
    }
807

    
808
    @Override
809
    public boolean isTemporary() {
810
        return false;
811
    }
812

    
813
  @Override
814
  public FeatureType getDefaultFeatureTypeQuietly() {
815
      try {
816
        return this.getDefaultFeatureType();
817
      } catch (DataException ex) {
818
        return null;
819
      }
820
  }
821

    
822
    @Override
823
    public void insert(FeatureSet set) throws DataException {
824

    
825
    }
826

    
827
    @Override
828
    public long size64() {
829
        return 0;
830
    }
831

    
832
    @Override
833
    public FeatureQuery createFeatureQuery(Expression filter, Expression sortBy, boolean asc) {
834
        return null;
835
    }
836

    
837
    @Override
838
    public FeatureQuery createFeatureQuery(String filter, Expression sortBy, boolean asc) {
839
        return null;
840
    }
841

    
842
    @Override
843
    public Feature findFirst(String filter, Expression sortBy, boolean asc) throws DataException {
844
        return null;
845
    }
846

    
847
    @Override
848
    public Feature findFirst(Expression filter, Expression sortBy, boolean asc) throws DataException {
849
        return null;
850
    }
851

    
852
    @Override
853
    public boolean cancelEditingQuietly() {
854
        return true;
855
    }
856

    
857
    @Override
858
    public Object getProperty(String name) {
859
        return null;
860
    }
861

    
862
    @Override
863
    public void setProperty(String name, Object value) {
864
        
865
    }
866

    
867
    @Override
868
    public Map<String, Object> getProperties() {
869
        return Collections.EMPTY_MAP;
870
    }
871

    
872
    @Override
873
    public boolean finishEditingQuietly() {
874
        return true;
875
    }
876

    
877
    @Override
878
    public void delete(String filter) {
879
    }
880

    
881
    @Override
882
    public void delete(Expression filter) {
883
    }
884

    
885
    @Override
886
    public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64() {
887
        return this.getFeatures64(null, -1);
888
    }
889

    
890
    @Override
891
    public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(String filter) {
892
        return this.getFeatures64(filter, null, true);
893
    }
894

    
895
    @Override
896
    public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(String filter, String sortBy, boolean asc) {
897
        FeatureQuery query = this.createFeatureQuery(filter, sortBy, asc);
898
        return this.getFeatures64(query, -1);
899
    }
900

    
901
    @Override
902
    public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(FeatureQuery query, int pageSize) {
903
        return null;
904
    }
905

    
906
    @Override
907
    public FeatureQuery createFeatureQuery(String filter) {
908
        return null;
909
    }
910

    
911
    @Override
912
    public FeatureQuery createFeatureQuery(Expression filter) {
913
        return null;
914
    }
915

    
916
    @Override
917
    public FeatureSelection createLargeFeatureSelection() throws DataException {
918
        return null;
919
    }
920

    
921
    @Override
922
    public FeatureSelection createMemoryFeatureSelection() throws DataException {
923
        return null;
924
    }
925

    
926
    @Override
927
    public Feature getOriginalFeature(FeatureReference id) {
928
        return null;
929
    }
930

    
931
    @Override
932
    public Feature getOriginalFeature(Feature feature) {
933
        return null;
934
    }
935

    
936
    @Override
937
    public boolean isFeatureModified(FeatureReference id){
938
        return false;
939
    }
940

    
941
    @Override
942
    public boolean isFeatureModified(Feature feature){
943
        return false;
944
    }
945

    
946
    @Override
947
    public String getEditingSession() {
948
        return null;
949
    }
950

    
951
    @Override
952
    public List<FeatureReference> getEditedFeatures() {
953
        return Collections.EMPTY_LIST;
954
    }
955

    
956
    @Override
957
    public List<FeatureReference> getEditedFeaturesNotValidated() {
958
        return Collections.EMPTY_LIST;
959
    }
960

    
961
    @Override
962
    public boolean isFeatureSelectionEmpty() {
963
        return false;
964
    }
965

    
966
    @Override
967
    public boolean isFeatureSelectionAvailable() {
968
        return true;
969
    }
970
    @Override
971
    public Iterator<Feature> getFeaturesIterator(Iterator<FeatureReference> references) {
972
        return Collections.EMPTY_LIST.iterator();
973
    }
974

    
975
    @Override
976
    public Iterable<Feature> getFeaturesIterable(Iterator<FeatureReference> references) {
977
        return Collections.EMPTY_LIST;
978
    }
979

    
980
    @Override
981
    public void setTemporary(Boolean temporary) {
982
    }
983

    
984
    @Override
985
    public FeatureSelection getFeatureSelectionQuietly() {
986
        return null;
987
    }
988

    
989
    @Override
990
    public boolean canBeEdited() {
991
        return true;
992
    }
993
    
994
}