Revision 41818 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

View differences:

DummyFileFeatureStore.java
198 198
			// TODO Auto-generated method stub
199 199
			return false;
200 200
		}
201
      
201

  
202 202
        public String getSubtype() {
203 203
            // TODO Auto-generated method stub
204 204
            return null;
......
340 340

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

  
344 344
        }
345 345

  
346 346
        public Object coerce(Object value) throws CoercionException {
......
411 411
        public void setFeatureAttributeGetter(
412 412
            FeatureAttributeGetter featureAttributeGetter) {
413 413
            // TODO Auto-generated method stub
414
            
414

  
415 415
        }
416 416

  
417 417
        public FeatureAttributeEmulator getFeatureAttributeEmulator() {
......
543 543

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

  
547 547
        }
548 548

  
549 549
        public DynField addDynField(String name) {
......
671 671

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

  
675 675
        }
676 676

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

  
680 680
        }
681 681

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

  
685 685
        }
686 686

  
687 687
        public DynField getDeclaredDynField(String name) {
......
741 741

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

  
745 745
        }
746 746

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

  
750 750
        }
751 751

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

  
755 755
        }
756 756

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

  
761 761
        }
762 762

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

  
766 766
        }
767 767

  
768 768
        public DynMethod getDeclaredDynMethod(String name)
......
798 798

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

  
802 802
		}
803 803

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

  
807 807
		}
808 808

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

  
812 812
		}
813 813

  
814 814
        public FeatureAttributeDescriptor getDefaultTimeAttribute() {
......
819 819
	}
820 820

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

  
823 823
	public DummyFileFeatureStore() {
824
		
824

  
825 825
	}
826
	
826

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

  
831 831
	public boolean allowWrite() {
832 832
		// TODO Auto-generated method stub
833 833
		return false;
......
1261 1261
		// TODO Auto-generated method stub
1262 1262

  
1263 1263
	}
1264
	
1265
	
1266
	
1264

  
1265

  
1266

  
1267 1267
	public static void registerPersistent() {
1268 1268
		PersistenceManager manager = ToolsLocator.getPersistenceManager();
1269 1269
		DynStruct definition = manager.addDefinition(
1270 1270
				DummyFileFeatureStore.class,
1271 1271
				"DummyFileFeatureStore",
1272 1272
				"DummyFileFeatureStore Persistence definition",
1273
				null, 
1273
				null,
1274 1274
				null
1275 1275
		);
1276 1276
		definition.addDynFieldString("name")
......
1291 1291
	public void createCache(String name, DynObject parameters)
1292 1292
			throws DataException {
1293 1293
		// TODO Auto-generated method stub
1294
		
1294

  
1295 1295
	}
1296 1296

  
1297 1297
	public FeatureCache getCache() {
......
1306 1306
	public void export(DataServerExplorer explorer, String provider,
1307 1307
			NewFeatureStoreParameters params) throws DataException {
1308 1308
		// TODO Auto-generated method stub
1309
		
1309

  
1310 1310
	}
1311 1311

  
1312 1312
	public String getProviderName() {
......
1362 1362
        // TODO Auto-generated method stub
1363 1363
        return null;
1364 1364
    }
1365
    
1365

  
1366 1366
    public Object clone() throws CloneNotSupportedException {
1367 1367
        // TODO Auto-generated method stub
1368 1368
        return super.clone();
......
1373 1373
     */
1374 1374
    public void commitChanges() throws DataException {
1375 1375
        // TODO Auto-generated method stub
1376
        
1376

  
1377 1377
    }
1378 1378

  
1379 1379
    /* (non-Javadoc)
......
1383 1383
        // TODO Auto-generated method stub
1384 1384
        return false;
1385 1385
    }
1386

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

Also available in: Unified diff