svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / DataTypes.java @ 30079
History | View | Annotate | Download (1.02 KB)
1 |
package org.gvsig.fmap.dal; |
---|---|
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 |
|
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 |
|
14 |
|
15 |
/**
|
16 |
* This interface defines a set of constants for all data types supported by the
|
17 |
* DAL.
|
18 |
*/
|
19 |
public interface DataTypes extends org.gvsig.tools.dataTypes.DataTypes { |
20 |
|
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 |
}; |
46 |
} |