|
GeoAPI 2.0 Build 2005-06-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectCodeList<DataType>
DataType
public final class DataType
Enumeration class whose static constants give the possible data types for Feature attributes.
| Field Summary | |
|---|---|
static DataType |
DATETIME
Constant to be used when the value of an attribute is a date/time. |
static DataType |
DECIMAL
Constant to be used when the value of an attribute is stored as a string containing the decimal representation of a number. |
static DataType |
DOUBLE
Constant to be used when the value of an attribute is stored as a binary floating point value (such as IEEE-754). |
static DataType |
GEOMETRY
Constant to be used when the value of an attribute is a geometry of some kind. |
static DataType |
INTEGER
Constant to be used when the value of an attribute is stored as a binary integer. |
static DataType |
OBJECT
Constant to be used when the value of an attribute is a Java object that represents some complex type. |
static DataType |
STRING
Constant to be used when the value of an attribute is stored as a string of arbitrary characters. |
static DataType |
STYLE
Constant to be used when the value of an attribute is an instance of FeatureStyle. |
| Method Summary | |
|---|---|
DataType[] |
family()
Returns the list of enumerations of the same kind than this enum. |
static DataType[] |
values()
Returns the list of DataTypes. |
| Methods inherited from class CodeList |
|---|
compareTo, name, ordinal, readResolve, toString |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DataType INTEGER
public static final DataType DECIMAL
public static final DataType DOUBLE
public static final DataType STRING
public static final DataType DATETIME
public static final DataType OBJECT
Feature
will likely not be able to deal with complex types and will simply use the
Object.toString() method of this object to store the value as a String.
public static final DataType GEOMETRY
Geometry.
See the package documentation for org.opengis.feature for
more details on the allowed geometries.
public static final DataType STYLE
FeatureStyle. Such an attribute may be
used in the portrayal of the geometry contained by a feature.
| Method Detail |
|---|
public static DataType[] values()
DataTypes.
public DataType[] family()
family in class CodeList<DataType>
|
GeoAPI 2.0 Build 2005-06-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
Symbols, terms and definitions | Copyright OpenGIS® Consortium |