Revision 32880 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataTypes.java
DataTypes.java | ||
---|---|---|
1 | 1 |
package org.gvsig.fmap.dal; |
2 | 2 |
|
3 |
import java.io.File; |
|
4 |
import java.util.Date; |
|
5 |
import java.util.List; |
|
6 |
import java.util.Map; |
|
7 |
import java.util.Set; |
|
8 | 3 |
|
9 |
import org.cresques.cts.IProjection; |
|
10 |
import org.gvsig.fmap.dal.feature.Feature; |
|
11 |
import org.gvsig.fmap.geom.Geometry; |
|
12 |
import org.gvsig.tools.persistence.Persistent; |
|
13 | 4 |
|
14 |
|
|
15 | 5 |
/** |
16 | 6 |
* This interface defines a set of constants for all data types supported by the |
17 | 7 |
* DAL. |
18 | 8 |
*/ |
19 | 9 |
public interface DataTypes extends org.gvsig.tools.dataTypes.DataTypes { |
20 | 10 |
|
21 |
public static final Class TYPE_CLASS[] = new Class[] { |
|
22 |
null, |
|
23 |
Boolean.class, |
|
24 |
Byte.class, // keep for formatting |
|
25 |
Character.class, |
|
26 |
Integer.class, |
|
27 |
Long.class, |
|
28 |
Float.class, |
|
29 |
Double.class, |
|
30 |
String.class, |
|
31 |
Date.class, |
|
32 |
Date.class, |
|
33 |
Date.class, |
|
34 |
Geometry.class, |
|
35 |
Object.class, // |
|
36 |
Feature.class, |
|
37 |
IProjection.class, |
|
38 |
File.class, |
|
39 |
new byte[] {}.getClass(), |
|
40 |
Persistent.class, |
|
41 |
List.class, |
|
42 |
Set.class, |
|
43 |
Map.class |
|
44 |
|
|
45 |
}; |
|
11 |
/* |
|
12 |
* |
|
13 |
*/ |
|
14 |
public static final int CRS = OBJECT+1; |
|
15 |
public static final int GEOMETRY = OBJECT+2; |
|
16 |
public static final int ENVELOPE = OBJECT+3; |
|
46 | 17 |
} |
Also available in: Unified diff