Fusion Tables API v1 (revision 16)



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

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.Geometry
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public final class Geometry
extends GenericJson

Represents a Geometry object.

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
Geometry()
           
 
Method Summary
 java.util.List<java.lang.Object> getGeometries()
          The list of geometries in this geometry collection.
 java.lang.Object getGeometry()
          The value returned may be null.
 java.lang.String getType()
          Type: A collection of geometries.
 Geometry setGeometries(java.util.List<java.lang.Object> geometries)
          The list of geometries in this geometry collection.
 Geometry setGeometry(java.lang.Object geometry)
          The value set may be null.
 Geometry setType(java.lang.String type)
          Type: A collection of geometries.
 
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

Geometry

public Geometry()
Method Detail

getGeometries

public java.util.List<java.lang.Object> getGeometries()
The list of geometries in this geometry collection. The value returned may be null.


setGeometries

public Geometry setGeometries(java.util.List<java.lang.Object> geometries)
The list of geometries in this geometry collection. The value set may be null.


getGeometry

public java.lang.Object getGeometry()
The value returned may be null.


setGeometry

public Geometry setGeometry(java.lang.Object geometry)
The value set may be null.


getType

public java.lang.String getType()
Type: A collection of geometries. The value returned may be null.


setType

public Geometry setType(java.lang.String type)
Type: A collection of geometries. The value set may be null.