Revision 23679 branches/v2_0_0_prep/libraries/libFMap_dataDB/src/org/gvsig/fmap/data/feature/db/DBStore.java

View differences:

DBStore.java
4 4
import org.gvsig.fmap.data.ReadException;
5 5
import org.gvsig.fmap.data.feature.AbstractFeatureStore;
6 6
import org.gvsig.fmap.data.feature.Feature;
7
import org.gvsig.fmap.data.feature.FeatureAttributeDescriptor;
8 7
import org.gvsig.fmap.data.feature.FeatureType;
9
import org.gvsig.fmap.data.index.IndexException;
10 8

  
11 9
public abstract class DBStore extends AbstractFeatureStore{
12 10
	public abstract Feature getFeatureByID(FeatureType featureType2, Object[] featureKey) throws ReadException;
......
16 14
	public boolean isEditable() {
17 15
		return !((DBFeatureType)this.getDefaultFeatureType()).isReadOnly();
18 16
	}
19

  
20
	/**
21
	 * Creating database indexes is not supported yet
22
	 */
23
	public void createIndex(FeatureType type, String colName) throws IndexException {
24
		throw new UnsupportedOperationException("Can't create local index from JDBCStore");		
25
	}	
26

  
27 17
}

Also available in: Unified diff