Revision 42533 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/FeatureStoreProviderFactory.java

View differences:

FeatureStoreProviderFactory.java
31 31

  
32 32
public interface FeatureStoreProviderFactory extends DataStoreProviderFactory {
33 33

  
34
    
34

  
35 35
    /**
36 36
     * Returns a list of {@link DataTypes} supported
37 37
     * by this FeatureStoreProviderFactory
38
     * 
38
     *
39 39
     * @return  list of {@link DataTypes} supported
40 40
     * by this FeatureStoreProviderFactory or null
41 41
     * if it has no restrictions on data types
42 42
     */
43 43
    public List getSupportedDataTypes();
44
    
44

  
45 45
	/**
46 46
	 * {@link Geometry}
47
	 * 
47
	 *
48 48
	 * Return a matrix (list of pairs) (int, int]
49 49
	 * [Geometry.TYPE,GEOMETRY.SUBTYPE]
50 50
	 * with types and subtypes supported by this provider.
51
	 * 
51
	 *
52 52
	 * If the provider has not vector support
53 53
	 * or has not restrictions over geometry types return null.
54
	 * 
54
	 *
55 55
	 * @return Matrix of Geometry.TYPES, SUBTYPES or null
56 56
	 */
57 57
	public List getSupportedGeometryTypesSubtypes();
58
	
58

  
59 59
	/**
60
	 * 
60
	 *
61 61
	 * @return whether this factory allows mandatory attributes
62
	 * in the generated stores' feature types.   
62
	 * in the generated stores' feature types.
63 63
	 */
64 64
	public boolean allowsMandatoryAttributes();
65
	
65

  
66 66
	/**
67
	 * 
67
	 *
68 68
     * @return whether this factory allows primary key attributes
69
     * in the generated stores' feature types.  
69
     * in the generated stores' feature types.
70 70
	 */
71 71
	public boolean allowsPrimaryKeyAttributes();
72
	
72

  
73 73
	/**
74
	 * 
74
	 *
75 75
	 * @return a new instance of a default feature type
76 76
	 * (changes to that feature type do not affect following calls)
77 77
	 */
78 78
	public FeatureType createDefaultFeatureType();
79
	
79

  
80 80
	/**
81
	 * 
81
	 *
82 82
	 * @return whether stores created by this factory
83 83
	 * allow several geometry types.
84 84
	 * Actually redundant after adding
85 85
	 * getSupportedGeometryTypesSubtypes())
86 86
	 */
87 87
	// public int allowMultipleGeometryTypes();
88
	
88

  
89 89
	public int allowEditableFeatureType();
90 90

  
91
        public int useLocalIndexesCanImprovePerformance();
91
    public int useLocalIndexesCanImprovePerformance();
92

  
93
    /**
94
     * Returns max size for attributes names
95
     * returns -1 if it is undefined
96
     * @return
97
     */
98
    public int getMaxAttributeNameSize();
99

  
92 100
}

Also available in: Unified diff