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