public final class Template 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 |
|---|
Template() |
| Modifier and Type | Method and Description |
|---|---|
Template |
clone() |
List<String> |
getAutomaticColumnNames()
List of columns from which the template is to be automatically constructed.
|
String |
getBody()
Body of the template.
|
String |
getKind()
Type name: a template for the info window contents.
|
String |
getName()
Optional name assigned to a template.
|
String |
getTableId()
Identifier for the table for which the template is defined.
|
Integer |
getTemplateId()
Identifier for the template, unique within the context of a particular table.
|
Template |
set(String fieldName,
Object value) |
Template |
setAutomaticColumnNames(List<String> automaticColumnNames)
List of columns from which the template is to be automatically constructed.
|
Template |
setBody(String body)
Body of the template.
|
Template |
setKind(String kind)
Type name: a template for the info window contents.
|
Template |
setName(String name)
Optional name assigned to a template.
|
Template |
setTableId(String tableId)
Identifier for the table for which the template is defined.
|
Template |
setTemplateId(Integer templateId)
Identifier for the template, unique within the context of a particular table.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<String> getAutomaticColumnNames()
null for nonepublic Template setAutomaticColumnNames(List<String> automaticColumnNames)
automaticColumnNames - automaticColumnNames or null for nonepublic String getBody()
null for nonepublic Template setBody(String body)
body - body or null for nonepublic String getKind()
null for nonepublic Template setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Template setName(String name)
name - name or null for nonepublic String getTableId()
null for nonepublic Template setTableId(String tableId)
tableId - tableId or null for nonepublic Integer getTemplateId()
null for nonepublic Template setTemplateId(Integer templateId)
templateId - templateId or null for nonepublic Template set(String fieldName, Object value)
set in class GenericJsonpublic Template clone()
clone in class GenericJson