public final class Geometry extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Fusion Tables API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Geometry() |
| Modifier and Type | Method and Description |
|---|---|
Geometry |
clone() |
List<Object> |
getGeometries()
The list of geometries in this geometry collection.
|
Object |
getGeometry() |
String |
getType()
Type: A collection of geometries.
|
Geometry |
set(String fieldName,
Object value) |
Geometry |
setGeometries(List<Object> geometries)
The list of geometries in this geometry collection.
|
Geometry |
setGeometry(Object geometry) |
Geometry |
setType(String type)
Type: A collection of geometries.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<Object> getGeometries()
null for nonepublic Geometry setGeometries(List<Object> geometries)
geometries - geometries or null for nonepublic Object getGeometry()
null for nonepublic Geometry setGeometry(Object geometry)
geometry - geometry or null for nonepublic String getType()
null for nonepublic Geometry setType(String type)
type - type or null for nonepublic Geometry set(String fieldName, Object value)
set in class GenericJsonpublic Geometry clone()
clone in class GenericJson