Package org.geotools.feature.simple
Class SimpleSchema
- Object
-
- SchemaImpl
-
- SimpleSchema
-
- All Implemented Interfaces:
Map<Name,AttributeType>
,Schema
public class SimpleSchema extends SchemaImpl
Schema containing a set of "simple" types.This schema is used to create features with simple content. It contains attribute types which correspond to xml schema types from the xml schema and gml namespaces.
The attribute types in this schema maintain a unique mapping to java classes so it can be used to map from java class to attribute type and vice versa.
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeType
BOOLEAN
BOOLEAN to Boolean.classstatic AttributeType
BYTE
BYTE to Byte.classstatic AttributeType
DATE
DATE to java.sql.Date.classstatic AttributeType
DATETIME
DATETIME to java.sql.Timestampstatic AttributeType
DOUBLE
DOUBLE to Double.classstatic AttributeType
FLOAT
FLOAT to java Float.classstatic GeometryType
GEOMETRY
Geometry to Geometry.classstatic AttributeType
HEXBINARY
HEXBINRAY to byte[].classstatic AttributeType
INT
INT to java Integer.classstatic AttributeType
INTEGER
INTEGER to BigIntegerstatic GeometryType
LINESTRING
LINESTRING (extends GEOMETRY) binds to LineString.classstatic AttributeType
LONG
LONG to Long.classstatic GeometryType
MULTIGEOMETRY
MULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.classstatic GeometryType
MULTILINESTRING
MULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.classstatic GeometryType
MULTIPOINT
MULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.classstatic GeometryType
MULTIPOLYGON
MULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.classstatic String
NAMESPACE
static GeometryType
POINT
POINT (extends GEOMETRY) binds to Point.classstatic GeometryType
POLYGON
POLYGON (extends GEOMETRY) binds to Polygon.classstatic AttributeType
QNAME
QNAME to byte[].classstatic AttributeType
SHORT
SHORT to Short.classstatic AttributeType
STRING
STRING to String.classstatic AttributeType
TIME
TIME to java.sq1.Time.classstatic AttributeType
URI
QNAME to byte[].class
-
Constructor Summary
Constructors Constructor Description SimpleSchema()
-
Method Summary
-
Methods inherited from class SchemaImpl
add, clear, containsKey, containsValue, entrySet, equals, get, getURI, hashCode, isEmpty, keySet, profile, put, putAll, remove, size, toString, values
-
Methods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
BOOLEAN
public static final AttributeType BOOLEAN
BOOLEAN to Boolean.class
-
STRING
public static final AttributeType STRING
STRING to String.class
-
HEXBINARY
public static final AttributeType HEXBINARY
HEXBINRAY to byte[].class
-
QNAME
public static final AttributeType QNAME
QNAME to byte[].class
-
URI
public static final AttributeType URI
QNAME to byte[].class
-
INT
public static final AttributeType INT
INT to java Integer.class
-
INTEGER
public static final AttributeType INTEGER
INTEGER to BigInteger
-
FLOAT
public static final AttributeType FLOAT
FLOAT to java Float.class
-
DOUBLE
public static final AttributeType DOUBLE
DOUBLE to Double.class
-
LONG
public static final AttributeType LONG
LONG to Long.class
-
SHORT
public static final AttributeType SHORT
SHORT to Short.class
-
BYTE
public static final AttributeType BYTE
BYTE to Byte.class
-
DATE
public static final AttributeType DATE
DATE to java.sql.Date.class
-
TIME
public static final AttributeType TIME
TIME to java.sq1.Time.class
-
DATETIME
public static final AttributeType DATETIME
DATETIME to java.sql.TimestampData and a Time like a timestamp.
-
GEOMETRY
public static final GeometryType GEOMETRY
Geometry to Geometry.class
-
POINT
public static final GeometryType POINT
POINT (extends GEOMETRY) binds to Point.class
-
LINESTRING
public static final GeometryType LINESTRING
LINESTRING (extends GEOMETRY) binds to LineString.class
-
POLYGON
public static final GeometryType POLYGON
POLYGON (extends GEOMETRY) binds to Polygon.class
-
MULTIGEOMETRY
public static final GeometryType MULTIGEOMETRY
MULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.class
-
MULTIPOINT
public static final GeometryType MULTIPOINT
MULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.class
-
MULTILINESTRING
public static final GeometryType MULTILINESTRING
MULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.class
-
MULTIPOLYGON
public static final GeometryType MULTIPOLYGON
MULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.class
-
-