Fusion Tables API v1 (revision 16)
com.google.api.services.fusiontables.model
Class Polygon
java.lang.Object
java.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.fusiontables.model.Polygon
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
public final class Polygon
- extends GenericJson
Represents a polygon 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 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> |
|
Method Summary |
java.util.List<java.util.List<java.util.List<java.lang.Double>>> |
getCoordinates()
The coordinates that define the polygon. |
java.lang.String |
getType()
Type: A polygon geometry. |
Polygon |
setCoordinates(java.util.List<java.util.List<java.util.List<java.lang.Double>>> coordinates)
The coordinates that define the polygon. |
Polygon |
setType(java.lang.String type)
Type: A polygon geometry. |
| 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 |
Polygon
public Polygon()
getCoordinates
public java.util.List<java.util.List<java.util.List<java.lang.Double>>> getCoordinates()
- The coordinates that define the polygon.
The value returned may be
null.
setCoordinates
public Polygon setCoordinates(java.util.List<java.util.List<java.util.List<java.lang.Double>>> coordinates)
- The coordinates that define the polygon.
The value set may be
null.
getType
public java.lang.String getType()
- Type: A polygon geometry.
The value returned may be
null.
setType
public Polygon setType(java.lang.String type)
- Type: A polygon geometry.
The value set may be
null.