Fusion Tables API v1 (revision 16)



com.google.api.services.fusiontables.model
Class Template

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.fusiontables.model.Template
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public final class Template
extends GenericJson

Represents the contents of InfoWindow templates.

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-api-java-client/wiki/Json

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
Template()
           
 
Method Summary
 java.util.List<java.lang.String> getAutomaticColumnNames()
          List of columns from which the template is to be automatically constructed.
 java.lang.String getBody()
          Body of the template.
 java.lang.String getKind()
          Type name: a template for the info window contents.
 java.lang.String getName()
          Optional name assigned to a template.
 java.lang.String getTableId()
          Identifier for the table for which the template is defined.
 java.lang.Integer getTemplateId()
          Identifier for the template, unique within the context of a particular table.
 Template setAutomaticColumnNames(java.util.List<java.lang.String> automaticColumnNames)
          List of columns from which the template is to be automatically constructed.
 Template setBody(java.lang.String body)
          Body of the template.
 Template setKind(java.lang.String kind)
          Type name: a template for the info window contents.
 Template setName(java.lang.String name)
          Optional name assigned to a template.
 Template setTableId(java.lang.String tableId)
          Identifier for the table for which the template is defined.
 Template setTemplateId(java.lang.Integer templateId)
          Identifier for the template, unique within the context of a particular table.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Template

public Template()
Method Detail

getAutomaticColumnNames

public java.util.List<java.lang.String> getAutomaticColumnNames()
List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified. The value returned may be null.


setAutomaticColumnNames

public Template setAutomaticColumnNames(java.util.List<java.lang.String> automaticColumnNames)
List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified. The value set may be null.


getBody

public java.lang.String getBody()
Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified. The value returned may be null.


setBody

public Template setBody(java.lang.String body)
Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified. The value set may be null.


getKind

public java.lang.String getKind()
Type name: a template for the info window contents. The template can either include an HTML body or a list of columns from which the template is computed automatically. The value returned may be null.


setKind

public Template setKind(java.lang.String kind)
Type name: a template for the info window contents. The template can either include an HTML body or a list of columns from which the template is computed automatically. The value set may be null.


getName

public java.lang.String getName()
Optional name assigned to a template. The value returned may be null.


setName

public Template setName(java.lang.String name)
Optional name assigned to a template. The value set may be null.


getTableId

public java.lang.String getTableId()
Identifier for the table for which the template is defined. The value returned may be null.


setTableId

public Template setTableId(java.lang.String tableId)
Identifier for the table for which the template is defined. The value set may be null.


getTemplateId

public java.lang.Integer getTemplateId()
Identifier for the template, unique within the context of a particular table. The value returned may be null.


setTemplateId

public Template setTemplateId(java.lang.Integer templateId)
Identifier for the template, unique within the context of a particular table. The value set may be null.