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

History | View | Annotate | Download (21.4 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.util.GetItemWithSizeIsEmptyAndIterator64;
42
import org.gvsig.tools.util.UnmodifiableBasicMap;
43
import org.gvsig.tools.visitor.Visitor;
44

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

    
51

    
52
public class DummyFetureStore implements FeatureStore {
53
    
54
    private int mode;
55
    private int submode;
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.edit(MODE_FULLEDIT);
145
    }
146

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

    
152
    @Override
153
    public void edit(int mode, int submode) throws DataException {
154
        this.mode = mode;
155
        this.submode = submode;
156
    }
157

    
158
    @Override
159
    public int getMode() {
160
        return this.mode;
161
    }
162

    
163
    @Override
164
    public int getSubmode() {
165
        return this.submode;
166
    }
167

    
168
    @Override
169
    public void cancelEditing() throws DataException {
170
        this.mode = MODE_QUERY;
171
    }
172

    
173
    @Override
174
    public void finishEditing() throws DataException {
175
        this.mode = MODE_QUERY;
176
    }
177

    
178
    @Override
179
    public void commitChanges() throws DataException {
180

    
181
    }
182

    
183
    @Override
184
    public boolean canCommitChanges() throws DataException {
185
        return false;
186
    }
187

    
188
    @Override
189
    public boolean isEditing() {
190
        return false;
191
    }
192

    
193
    @Override
194
    public boolean isAppending() {
195
        return false;
196
    }
197

    
198
    @Override
199
    public void update(EditableFeatureType featureType) throws DataException {
200

    
201
    }
202

    
203
    @Override
204
    public void update(EditableFeature feature) throws DataException {
205

    
206
    }
207

    
208
    @Override
209
    public void update(Object... parameters) throws DataException {
210

    
211
    }
212
    
213
    @Override
214
    public void delete(Feature feature) throws DataException {
215

    
216
    }
217

    
218
    @Override
219
    public void insert(EditableFeature feature) throws DataException {
220

    
221
    }
222

    
223
    @Override
224
    public EditableFeature createNewFeature() throws DataException {
225
        return null;
226
    }
227

    
228
    @Override
229
    public EditableFeature createNewFeature(FeatureType type, Feature defaultValues) throws DataException {
230
        return null;
231
    }
232

    
233
    @Override
234
    public EditableFeature createNewFeature(FeatureType type, boolean defaultValues) throws DataException {
235
        return null;
236
    }
237

    
238
    @Override
239
    public EditableFeature createNewFeature(boolean defaultValues) throws DataException {
240
        return null;
241
    }
242

    
243
    @Override
244
    public EditableFeature createNewFeature(Feature defaultValues) throws DataException {
245
        return null;
246
    }
247

    
248
    @Override
249
    public EditableFeature createNewFeature(JsonObject defaultValues) throws DataException {
250
        return null;
251
    }
252
    
253
    @Override
254
    public boolean isAppendModeSupported() {
255
        return false;
256
    }
257

    
258
    @Override
259
    public void beginEditingGroup(String description) throws NeedEditingModeException {
260

    
261
    }
262

    
263
    @Override
264
    public void endEditingGroup() throws NeedEditingModeException {
265

    
266
    }
267

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

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

    
278
    @Override
279
    public FeatureIndex createIndex(FeatureType featureType, String attributeName, String indexName, Observer observer) throws DataException {
280
        return null;
281
    }
282

    
283
    @Override
284
    public FeatureIndex createIndex(String indexTypeName, FeatureType featureType, String attributeName, String indexName, Observer observer) throws DataException {
285
        return null;
286
    }
287

    
288
    @Override
289
    public FeatureIndexes getIndexes() {
290
        return null;
291
    }
292

    
293
    @Override
294
    public void setSelection(FeatureSet selection) throws DataException {
295

    
296
    }
297

    
298
    @Override
299
    public FeatureSelection createFeatureSelection() throws DataException {
300
        return null;
301
    }
302

    
303
    @Override
304
    public FeatureSelection getFeatureSelection() throws DataException {
305
        return null;
306
    }
307

    
308
    @Override
309
    public boolean isLocksSupported() {
310
        return false;
311
    }
312

    
313
    @Override
314
    public FeatureLocks getLocks() throws DataException {
315
        return null;
316
    }
317

    
318
    @Override
319
    public FeatureStoreTransforms getTransforms() {
320
        return null;
321
    }
322

    
323
    @Override
324
    public FeatureQuery createFeatureQuery() {
325
        return null;
326
    }
327

    
328
    @Override
329
    public long getFeatureCount() throws DataException {
330
        return 0;
331
    }
332

    
333
//    @Override
334
//    public void createCache(String name, DynObject parameters) throws DataException {
335
//
336
//    }
337
//
338
//    @Override
339
//    public FeatureCache getCache() {
340
//        return null;
341
//    }
342

    
343
    @Override
344
    public boolean isKnownEnvelope() {
345
        return false;
346
    }
347

    
348
    @Override
349
    public boolean hasRetrievedFeaturesLimit() {
350
        return false;
351
    }
352

    
353
    @Override
354
    public int getRetrievedFeaturesLimit() {
355
        return 0;
356
    }
357

    
358
    @Override
359
    public Feature getFeature(DynObject dynobject) {
360
        return null;
361
    }
362

    
363
    @Override
364
    public Iterator iterator() {
365
        return null;
366
    }
367

    
368
    @Override
369
    public String getName() {
370
        return null;
371
    }
372

    
373
    @Override
374
    public String getFullName() {
375
        return null;
376
    }
377

    
378
    @Override
379
    public String getProviderName() {
380
        return null;
381
    }
382

    
383
    @Override
384
    public void refresh() throws DataException {
385

    
386
    }
387

    
388
    @Override
389
    public DataSet getDataSet() throws DataException {
390
        return null;
391
    }
392

    
393
    @Override
394
    public DataSet getDataSet(DataQuery dataQuery) throws DataException {
395
        return null;
396
    }
397

    
398
    @Override
399
    public void accept(Visitor visitor) throws BaseException {
400

    
401
    }
402

    
403
    @Override
404
    public void accept(Visitor visitor, DataQuery dataQuery) throws BaseException {
405

    
406
    }
407

    
408
    @Override
409
    public void getDataSet(Observer observer) throws DataException {
410

    
411
    }
412

    
413
    @Override
414
    public void getDataSet(DataQuery dataQuery, Observer observer) throws DataException {
415

    
416
    }
417

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

    
423
    @Override
424
    public void setSelection(DataSet selection) throws DataException {
425

    
426
    }
427

    
428
    @Override
429
    public DataSet createSelection() throws DataException {
430
        return null;
431
    }
432

    
433
    @Override
434
    public DataServerExplorer getExplorer() throws DataException, ValidateDataParametersException {
435
        return null;
436
    }
437

    
438
    @Override
439
    public DataQuery createQuery() {
440
        return null;
441
    }
442

    
443
    @Override
444
    public Interval getInterval() {
445
        return null;
446
    }
447

    
448
    @Override
449
    public Collection getTimes() {
450
        return null;
451
    }
452

    
453
    @Override
454
    public Collection getTimes(Interval interval) {
455
        return null;
456
    }
457

    
458
    @Override
459
    public void disableNotifications() {
460

    
461
    }
462

    
463
    @Override
464
    public void enableNotifications() {
465

    
466
    }
467

    
468
    @Override
469
    public void beginComplexNotification() {
470

    
471
    }
472

    
473
    @Override
474
    public void endComplexNotification() {
475

    
476
    }
477

    
478
    @Override
479
    public void addObserver(Observer obsrvr) {
480

    
481
    }
482

    
483
    @Override
484
    public void deleteObserver(Observer obsrvr) {
485

    
486
    }
487

    
488
    @Override
489
    public void deleteObservers() {
490

    
491
    }
492

    
493
    @Override
494
    public void saveToState(PersistentState ps) throws PersistenceException {
495

    
496
    }
497

    
498
    @Override
499
    public void loadFromState(PersistentState ps) throws PersistenceException {
500

    
501
    }
502

    
503
    @Override
504
    public Object getMetadataID() throws MetadataException {
505
        return null;
506
    }
507

    
508
    @Override
509
    public String getMetadataName() throws MetadataException {
510
        return null;
511
    }
512

    
513
    @Override
514
    public Set getMetadataChildren() throws MetadataException {
515
        return null;
516
    }
517

    
518
    @Override
519
    public DynClass getDynClass() {
520
        return null;
521
    }
522

    
523
    @Override
524
    public void implement(DynClass dc) {
525

    
526
    }
527

    
528
    @Override
529
    public void delegate(DynObject d) {
530

    
531
    }
532

    
533
    @Override
534
    public Object getDynValue(String string) throws DynFieldNotFoundException {
535
        return null;
536
    }
537

    
538
    @Override
539
    public void setDynValue(String string, Object o) throws DynFieldNotFoundException {
540

    
541
    }
542

    
543
    @Override
544
    public boolean hasDynValue(String string) {
545
        return false;
546
    }
547

    
548
    @Override
549
    public Object invokeDynMethod(String string, Object[] os) throws DynMethodException {
550
        return null;
551
    }
552

    
553
    @Override
554
    public Object invokeDynMethod(int i, Object[] os) throws DynMethodException {
555
        return null;
556
    }
557

    
558
    @Override
559
    public void clear() {
560

    
561
    }
562

    
563
    @Override
564
    public void dispose() {
565

    
566
    }
567

    
568
    @Override
569
    public void undo() throws UndoException {
570

    
571
    }
572

    
573
    @Override
574
    public void undo(int i) throws UndoException {
575

    
576
    }
577

    
578
    @Override
579
    public void redo() throws RedoException {
580

    
581
    }
582

    
583
    @Override
584
    public void redo(int i) throws RedoException {
585

    
586
    }
587

    
588
    @Override
589
    public List getUndoInfos() {
590
        return null;
591
    }
592

    
593
    @Override
594
    public List getRedoInfos() {
595
        return null;
596
    }
597

    
598
    @Override
599
    public boolean canUndo() {
600
        return false;
601
    }
602

    
603
    @Override
604
    public boolean canRedo() {
605
        return false;
606
    }
607

    
608
    @Override
609
    public List<Feature> getFeatures() {
610
        return null;
611
    }
612

    
613
    @Override
614
    public void createCache(String name, DynObject parameters) throws DataException {
615

    
616
    }
617

    
618
    @Override
619
    public FeatureCache getCache() {
620
        return null;
621
    }
622

    
623
    @Override
624
    public void useCache(String providerName, DynObject parameters) throws DataException {
625
        throw new UnsupportedOperationException();
626
    }
627

    
628
    @Override
629
    public DataStoreProviderFactory getProviderFactory() {
630
        return null;
631
    }
632

    
633
    @Override
634
    public boolean isBroken() {
635
        return false;
636
    }
637

    
638
        @Override
639
        public Throwable getBreakingsCause() {
640
                return null;
641
        }
642

    
643
    @Override
644
    public boolean hasDynMethod(String name) {
645
        return false;
646
    }
647

    
648
    @Override
649
    public SpatialIndex wrapSpatialIndex(SpatialIndex index) {
650
        return null;
651
    }
652

    
653
    @Override
654
    public ExpressionBuilder createExpressionBuilder() {
655
        return null;
656
    }
657

    
658
    @Override
659
    public ExpressionBuilder createExpression() {
660
        return createExpressionBuilder();
661
    }
662

    
663
    @Override
664
    public FeatureSet getFeatureSet(String filter) throws DataException {
665
        return null;
666
    }
667

    
668
    @Override
669
    public FeatureSet getFeatureSet(String filter, String sortBy) throws DataException {
670
        return null;
671
    }
672

    
673
    @Override
674
    public FeatureSet getFeatureSet(String filter, String sortBy, boolean asc) throws DataException {
675
        return null;
676
    }
677

    
678
    @Override
679
    public List<Feature> getFeatures(FeatureQuery query) {
680
        return null;
681
    }
682

    
683
    @Override
684
    public List<Feature> getFeatures(String filter) {
685
        return null;
686
    }
687

    
688
    @Override
689
    public List<Feature> getFeatures(String filter, String sortBy) {
690
        return null;
691
    }
692

    
693
    @Override
694
    public List<Feature> getFeatures(String filter, String sortBy, boolean asc) {
695
        return null;
696
    }
697

    
698
    @Override
699
    public Feature findFirst(String filter) throws DataException {
700
        return null;
701
    }
702

    
703
    @Override
704
    public Feature findFirst(String filter, String sortBy) throws DataException {
705
        return null;
706
    }
707

    
708
    @Override
709
    public Feature findFirst(String filter, String sortBy, boolean asc) throws DataException {
710
        return null;
711
    }
712

    
713
    @Override
714
    public FeatureReference getFeatureReference(String code) {
715
        return null;
716
    }
717

    
718
    @Override
719
    public FeatureSet getFeatureSet(Expression filter) throws DataException {
720
        return null;
721
    }
722

    
723
    @Override
724
    public FeatureSet getFeatureSet(Expression filter, String sortBy) throws DataException {
725
        return null;
726
    }
727

    
728
    @Override
729
    public FeatureSet getFeatureSet(Expression filter, String sortBy, boolean asc) throws DataException {
730
        return null;
731
    }
732

    
733
    @Override
734
    public List<Feature> getFeatures(Expression filter) {
735
        return null;
736
    }
737

    
738
    @Override
739
    public List<Feature> getFeatures(Expression filter, String sortBy) {
740
        return null;
741
    }
742

    
743
    @Override
744
    public List<Feature> getFeatures(Expression filter, String sortBy, boolean asc) {
745
        return null;
746
    }
747

    
748
    @Override
749
    public Feature findFirst(Expression filter) throws DataException {
750
        return null;
751
    }
752

    
753
    @Override
754
    public Feature findFirst(Expression filter, String sortBy) throws DataException {
755
        return null;
756
    }
757

    
758
    @Override
759
    public Feature findFirst(Expression filter, String sortBy, boolean asc) throws DataException {
760
        return null;
761
    }
762

    
763
    @Override
764
    public Feature first() throws DataException {
765
        return null;
766
    }
767

    
768
    @Override
769
    public long getPendingChangesCount() {
770
        return 0;
771
    }
772

    
773
    @Override
774
    public ResourcesStorage getResourcesStorage() {
775
        return ResourcesStorage.EMPTY_RESOURCESSTORAGE;
776
    }
777

    
778
    @Override
779
    public StoresRepository getStoresRepository() {
780
        return null;
781
    }
782

    
783
    @Override
784
    public UnmodifiableBasicMap<String, DataStore> getChildren() {
785
        return UnmodifiableBasicMap.EMPTY_UNMODIFIABLEBASICMAP;
786
    }
787

    
788
    @Override
789
    public Feature findFirst(FeatureQuery query) throws DataException {
790
        return null;
791
    }
792

    
793
    @Override
794
    public Feature getSampleFeature() {
795
        return null;
796
    }
797

    
798
    @Override
799
    public void copyTo(FeatureStore target) {
800
    }
801

    
802
    @Override
803
    public FeatureQuery createFeatureQuery(String filter, String sortBy, boolean asc) {
804
        return null;
805
    }
806

    
807
    @Override
808
    public FeatureQuery createFeatureQuery(Expression filter, String sortBy, boolean asc) {
809
        return null;
810
    }
811

    
812
    @Override
813
    public boolean supportReferences() {
814
        return true;
815
    }
816

    
817
    @Override
818
    public boolean isTemporary() {
819
        return false;
820
    }
821

    
822
  @Override
823
  public FeatureType getDefaultFeatureTypeQuietly() {
824
      try {
825
        return this.getDefaultFeatureType();
826
      } catch (DataException ex) {
827
        return null;
828
      }
829
  }
830

    
831
    @Override
832
    public void insert(FeatureSet set) throws DataException {
833

    
834
    }
835

    
836
    @Override
837
    public long size64() {
838
        return 0;
839
    }
840

    
841
    @Override
842
    public FeatureQuery createFeatureQuery(Expression filter, Expression sortBy, boolean asc) {
843
        return null;
844
    }
845

    
846
    @Override
847
    public FeatureQuery createFeatureQuery(String filter, Expression sortBy, boolean asc) {
848
        return null;
849
    }
850

    
851
    @Override
852
    public Feature findFirst(String filter, Expression sortBy, boolean asc) throws DataException {
853
        return null;
854
    }
855

    
856
    @Override
857
    public Feature findFirst(Expression filter, Expression sortBy, boolean asc) throws DataException {
858
        return null;
859
    }
860

    
861
    @Override
862
    public boolean cancelEditingQuietly() {
863
        return true;
864
    }
865

    
866
    @Override
867
    public Object getProperty(String name) {
868
        return null;
869
    }
870

    
871
    @Override
872
    public void setProperty(String name, Object value) {
873
        
874
    }
875

    
876
    @Override
877
    public Map<String, Object> getProperties() {
878
        return Collections.EMPTY_MAP;
879
    }
880

    
881
    @Override
882
    public boolean finishEditingQuietly() {
883
        return true;
884
    }
885

    
886
    @Override
887
    public void delete(String filter) {
888
    }
889

    
890
    @Override
891
    public void delete(Expression filter) {
892
    }
893

    
894
    @Override
895
    public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64() {
896
        return this.getFeatures64(null, -1);
897
    }
898

    
899
    @Override
900
    public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(String filter) {
901
        return this.getFeatures64(filter, null, true);
902
    }
903

    
904
    @Override
905
    public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(String filter, String sortBy, boolean asc) {
906
        FeatureQuery query = this.createFeatureQuery(filter, sortBy, asc);
907
        return this.getFeatures64(query, -1);
908
    }
909

    
910
    @Override
911
    public GetItemWithSizeIsEmptyAndIterator64<Feature> getFeatures64(FeatureQuery query, int pageSize) {
912
        return null;
913
    }
914

    
915
    @Override
916
    public FeatureQuery createFeatureQuery(String filter) {
917
        return null;
918
    }
919

    
920
    @Override
921
    public FeatureQuery createFeatureQuery(Expression filter) {
922
        return null;
923
    }
924

    
925
    @Override
926
    public FeatureSelection createLargeFeatureSelection() throws DataException {
927
        return null;
928
    }
929

    
930
    @Override
931
    public FeatureSelection createMemoryFeatureSelection() throws DataException {
932
        return null;
933
    }
934

    
935
    @Override
936
    public Feature getOriginalFeature(FeatureReference id) {
937
        return null;
938
    }
939

    
940
    @Override
941
    public Feature getOriginalFeature(Feature feature) {
942
        return null;
943
    }
944

    
945
    @Override
946
    public boolean isFeatureModified(FeatureReference id){
947
        return false;
948
    }
949

    
950
    @Override
951
    public boolean isFeatureModified(Feature feature){
952
        return false;
953
    }
954

    
955
    @Override
956
    public String getEditingSession() {
957
        return null;
958
    }
959

    
960
    @Override
961
    public List<FeatureReference> getEditedFeatures() {
962
        return Collections.EMPTY_LIST;
963
    }
964

    
965
    @Override
966
    public List<FeatureReference> getEditedFeaturesNotValidated() {
967
        return Collections.EMPTY_LIST;
968
    }
969

    
970
    @Override
971
    public boolean isFeatureSelectionEmpty() {
972
        return false;
973
    }
974

    
975
    @Override
976
    public boolean isFeatureSelectionAvailable() {
977
        return true;
978
    }
979
    @Override
980
    public Iterator<Feature> getFeaturesIterator(Iterator<FeatureReference> references) {
981
        return Collections.EMPTY_LIST.iterator();
982
    }
983

    
984
    @Override
985
    public Iterable<Feature> getFeaturesIterable(Iterator<FeatureReference> references) {
986
        return Collections.EMPTY_LIST;
987
    }
988

    
989
    @Override
990
    public void setTemporary(Boolean temporary) {
991
    }
992

    
993
    @Override
994
    public FeatureSelection getFeatureSelectionQuietly() {
995
        return null;
996
    }
997

    
998
    @Override
999
    public boolean canBeEdited() {
1000
        return true;
1001
    }
1002

    
1003
    @Override
1004
    public String getLabel() {
1005
        return this.getName();
1006
    }
1007

    
1008
}