public final class PublishedMap 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 Google Maps Engine 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 |
|---|
PublishedMap() |
| Modifier and Type | Method and Description |
|---|---|
PublishedMap |
clone() |
List<MapItem> |
getContents()
The contents of this Map.
|
List<Double> |
getDefaultViewport()
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
String |
getDescription()
The description of this Map, supplied by the author.
|
String |
getId()
A globally unique ID, used to refer to this Map.
|
String |
getName()
The name of this Map, supplied by the author.
|
String |
getProjectId()
The ID of the project that this Map is in.
|
PublishedMap |
set(String fieldName,
Object value) |
PublishedMap |
setContents(List<MapItem> contents)
The contents of this Map.
|
PublishedMap |
setDefaultViewport(List<Double> defaultViewport)
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
PublishedMap |
setDescription(String description)
The description of this Map, supplied by the author.
|
PublishedMap |
setId(String id)
A globally unique ID, used to refer to this Map.
|
PublishedMap |
setName(String name)
The name of this Map, supplied by the author.
|
PublishedMap |
setProjectId(String projectId)
The ID of the project that this Map is in.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<MapItem> getContents()
null for nonepublic PublishedMap setContents(List<MapItem> contents)
contents - contents or null for nonepublic List<Double> getDefaultViewport()
null for nonepublic PublishedMap setDefaultViewport(List<Double> defaultViewport)
defaultViewport - defaultViewport or null for nonepublic String getDescription()
null for nonepublic PublishedMap setDescription(String description)
description - description or null for nonepublic String getId()
null for nonepublic PublishedMap setId(String id)
id - id or null for nonepublic String getName()
null for nonepublic PublishedMap setName(String name)
name - name or null for nonepublic String getProjectId()
null for nonepublic PublishedMap setProjectId(String projectId)
projectId - projectId or null for nonepublic PublishedMap set(String fieldName, Object value)
set in class GenericJsonpublic PublishedMap clone()
clone in class GenericJson