|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.feature.AttributeType
public class AttributeType
Whether an attribute on a feature is a string, geometry, integer, etc.
FeatureSchema,
Serialized Form| Field Summary | |
|---|---|
static AttributeType |
DATE
For dates |
static AttributeType |
DOUBLE
For double-precision values (64-bit) |
static AttributeType |
GEOMETRY
For spatial data |
static AttributeType |
INTEGER
For long values (64-bit) |
static AttributeType |
OBJECT
Experimental |
static AttributeType |
STRING
For strings |
| Method Summary | |
|---|---|
static java.util.Collection |
allTypes()
Returns all instances of AttributeType. |
static AttributeType |
toAttributeType(java.lang.Class javaClass)
Returns the AttributeType of attributes that are instances of the given class, or null if it is not associated with any AttributeType. |
static AttributeType |
toAttributeType(java.lang.String name)
Converts a type name to an AttributeType. |
java.lang.Class |
toJavaClass()
Returns the Java class of attributes that are said to be of this AttributeType. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final AttributeType STRING
public static final AttributeType GEOMETRY
public static final AttributeType INTEGER
public static final AttributeType DATE
Datepublic static final AttributeType DOUBLE
public static final AttributeType OBJECT
| Method Detail |
|---|
public static java.util.Collection allTypes()
public java.lang.String toString()
toString in class java.lang.Objectpublic static final AttributeType toAttributeType(java.lang.String name)
name - the name of the AttributeType to retrieve
InvalidAttributeTypeException - if the type name is unrecognizedpublic java.lang.Class toJavaClass()
public static AttributeType toAttributeType(java.lang.Class javaClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||