Revision 44740 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/FeatureAttributeDescriptor.java
FeatureAttributeDescriptor.java | ||
---|---|---|
49 | 49 |
public interface FeatureAttributeDescriptor |
50 | 50 |
extends DynField_v2, LabeledValue<FeatureAttributeDescriptor> { |
51 | 51 |
|
52 |
// public static final int BYTE_MAX_PRECISION = 3; // max byte 255 |
|
53 |
// public static final int BYTE_DEFAULT_PRECISION = BYTE_MAX_PRECISION; |
|
54 |
// |
|
55 |
// public static final int INT_MAX_PRECISION = 10; // max int 2147483647. |
|
56 |
// public static final int INT_DEFAULT_PRECISION = INT_MAX_PRECISION; |
|
57 |
// |
|
58 |
// public static final int LONG_MAX_PRECISION = 19; // max long 9223372036854775807. |
|
59 |
// public static final int LONG_DEFAULT_PRECISION = LONG_MAX_PRECISION; |
|
60 |
// |
|
61 |
// // IEEE 754 Single-precision floating-point |
|
62 |
// // https://en.m.wikipedia.org/wiki/Single-precision_floating-point_format |
|
63 |
// public static final int FLOAT_MAX_PRECISION = 8; // 24bits |
|
64 |
// public static final int FLOAT_DEFAULT_PRECISION = FLOAT_MAX_PRECISION; |
|
65 |
// public static final int FLOAT_DEFAULT_SCALE = 3; |
|
66 |
// |
|
67 |
// // IEEE 754 Double-precision floating-point |
|
68 |
// // https://en.m.wikipedia.org/wiki/Double-precision_floating-point_format |
|
69 |
// public static final int DOUBLE_MAX_PRECISION = 16; // 54bits |
|
70 |
// public static final int DOUBLE_DEFAULT_PRECISION = DOUBLE_MAX_PRECISION; |
|
71 |
// public static final int DOUBLE_DEFAULT_SCALE = 8; |
|
72 |
// |
|
73 |
// // La precision de un BigDecimal es la de un BigInteger, que esta |
|
74 |
// // en 2^500000000, vamos a dejarla en que es algo mas de 2^5000000, siendo |
|
75 |
// // consciente de que algunos proveedores no podran suportarla y la recortaran. |
|
76 |
// public static final int DECIMAL_MAX_PRECISION = 2000000; |
|
77 |
// public static final int DECIMAL_DEFAULT_PRECISION = 20; |
|
78 |
// public static final int DECIMAL_DEFAULT_SCALE = 3; |
|
79 |
// |
|
80 | 52 |
/** |
81 | 53 |
* Returns a clone of this attribute descriptor |
82 | 54 |
* |
... | ... | |
215 | 187 |
/** |
216 | 188 |
* Returns an evaluator that will be used to calculate the value of this |
217 | 189 |
* attribute |
190 |
* @return |
|
218 | 191 |
*/ |
219 | 192 |
public Evaluator getEvaluator(); |
220 | 193 |
|
... | ... | |
278 | 251 |
/** |
279 | 252 |
* Returns additional information of the attribute |
280 | 253 |
* |
254 |
* @param infoName |
|
281 | 255 |
* @return info |
282 | 256 |
* |
283 | 257 |
*/ |
... | ... | |
285 | 259 |
|
286 | 260 |
/** |
287 | 261 |
* Returns if value is created automatically by the source |
262 |
* @return |
|
288 | 263 |
*/ |
289 | 264 |
public boolean isAutomatic(); |
290 | 265 |
|
Also available in: Unified diff