Revision 24181 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/spi/memory/MemoryFeatureData.java

View differences:

MemoryFeatureData.java
11 11

  
12 12
	private FeatureStoreProvider store;
13 13
	private Object id;
14
	private boolean isNew;
15 14

  
16 15
	public MemoryFeatureData(FeatureStoreProvider store, FeatureType type,
17 16
			Object id) {
18 17
		super(type);
19 18
		this.store = store;
20 19
		this.id = id;
21
		this.isNew = false;
22 20
		if( id== null  ) {
23 21
			this.id = UUID.randomUUID();
24
			this.isNew  = true;
25 22
		}
26 23
	}
27 24

  

Also available in: Unified diff