Revision 24400 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/DataTypes.java
DataTypes.java | ||
---|---|---|
1 | 1 |
package org.gvsig.fmap.data; |
2 | 2 |
|
3 |
import org.gvsig.fmap.data.feature.Feature; |
|
4 |
import org.gvsig.fmap.geom.Geometry; |
|
5 |
|
|
6 |
/** |
|
7 |
* This interface defines a set of constants for all data |
|
8 |
* types supported by the DAL. |
|
9 |
*/ |
|
3 | 10 |
public interface DataTypes { |
4 |
public static final int UNKNOW = 0; |
|
11 |
public static final int UNKNOWN = 0;
|
|
5 | 12 |
public static final int BYTE = 1; |
6 | 13 |
public static final int BOOLEAN = 2; |
7 | 14 |
public static final int INT = 3; |
... | ... | |
12 | 19 |
public static final int DATE = 8; |
13 | 20 |
public static final int TIME = 9; |
14 | 21 |
public static final int TIMESTAMP = 10; |
22 |
/** {@link Geometry} */ |
|
15 | 23 |
public static final int GEOMETRY = 11; |
16 | 24 |
public static final int OBJECT = 12; |
25 |
/** {@link Feature} */ |
|
17 | 26 |
public static final int FEATURE = 13; |
18 | 27 |
|
28 |
/** Array with the name of each data type. Use the constants to access this array. */ |
|
19 | 29 |
public static final String[] TYPE_NAMES = new String[] { |
20 |
"UNKNOW", |
|
30 |
"UNKNOWN",
|
|
21 | 31 |
"BYTE", |
22 | 32 |
"BOOLEAN", |
23 | 33 |
"INT", |
Also available in: Unified diff