public final class Schema 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 Google Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
| Modifier and Type | Class and Description |
|---|---|
static class |
Schema.Columns
Model definition for SchemaColumns.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
clone() |
List<Schema.Columns> |
getColumns()
An array of column objects.
|
String |
getPrimaryGeometry()
The name of the column that contains a feature's geometry.
|
String |
getPrimaryKey()
The name of the column that contains the unique identifier of a Feature.
|
Schema |
set(String fieldName,
Object value) |
Schema |
setColumns(List<Schema.Columns> columns)
An array of column objects.
|
Schema |
setPrimaryGeometry(String primaryGeometry)
The name of the column that contains a feature's geometry.
|
Schema |
setPrimaryKey(String primaryKey)
The name of the column that contains the unique identifier of a Feature.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<Schema.Columns> getColumns()
null for nonepublic Schema setColumns(List<Schema.Columns> columns)
columns - columns or null for nonepublic String getPrimaryGeometry()
null for nonepublic Schema setPrimaryGeometry(String primaryGeometry)
primaryGeometry - primaryGeometry or null for nonepublic String getPrimaryKey()
null for nonepublic Schema setPrimaryKey(String primaryKey)
primaryKey - primaryKey or null for nonepublic Schema set(String fieldName, Object value)
set in class GenericJsonpublic Schema clone()
clone in class GenericJson