public final class Map 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-api-java-client/wiki/Json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Map() |
| Modifier and Type | Method and Description |
|---|---|
Map |
clone() |
List<Double> |
getBbox()
A rectangular bounding box which contains all of the data in this Map.
|
List<MapItem> |
getContents()
The contents of this Map.
|
DateTime |
getCreationTime()
The creation time 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 |
getDraftAccessList()
The name of an access list of the Map Editor type.
|
String |
getId()
A globally unique ID, used to refer to this Map.
|
DateTime |
getLastModifiedTime()
The last modified time of 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.
|
String |
getPublishedAccessList()
The access list to whom view permissions are granted.
|
List<String> |
getTags()
Tags of this Map.
|
List<String> |
getVersions()
An array containing the available versions of this Map.
|
Map |
set(String fieldName,
Object value) |
Map |
setBbox(List<Double> bbox)
A rectangular bounding box which contains all of the data in this Map.
|
Map |
setContents(List<MapItem> contents)
The contents of this Map.
|
Map |
setCreationTime(DateTime creationTime)
The creation time of this map.
|
Map |
setDefaultViewport(List<Double> defaultViewport)
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
Map |
setDescription(String description)
The description of this Map, supplied by the author.
|
Map |
setDraftAccessList(String draftAccessList)
The name of an access list of the Map Editor type.
|
Map |
setId(String id)
A globally unique ID, used to refer to this Map.
|
Map |
setLastModifiedTime(DateTime lastModifiedTime)
The last modified time of this map.
|
Map |
setName(String name)
The name of this Map, supplied by the author.
|
Map |
setProjectId(String projectId)
The ID of the project that this Map is in.
|
Map |
setPublishedAccessList(String publishedAccessList)
The access list to whom view permissions are granted.
|
Map |
setTags(List<String> tags)
Tags of this Map.
|
Map |
setVersions(List<String> versions)
An array containing the available versions of this Map.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<Double> getBbox()
null for nonepublic Map setBbox(List<Double> bbox)
bbox - bbox or null for nonepublic List<MapItem> getContents()
null for nonepublic Map setContents(List<MapItem> contents)
contents - contents or null for nonepublic DateTime getCreationTime()
null for nonepublic Map setCreationTime(DateTime creationTime)
creationTime - creationTime or null for nonepublic List<Double> getDefaultViewport()
null for nonepublic Map setDefaultViewport(List<Double> defaultViewport)
defaultViewport - defaultViewport or null for nonepublic String getDescription()
null for nonepublic Map setDescription(String description)
description - description or null for nonepublic String getDraftAccessList()
null for nonepublic Map setDraftAccessList(String draftAccessList)
draftAccessList - draftAccessList or null for nonepublic String getId()
null for nonepublic Map setId(String id)
id - id or null for nonepublic DateTime getLastModifiedTime()
null for nonepublic Map setLastModifiedTime(DateTime lastModifiedTime)
lastModifiedTime - lastModifiedTime or null for nonepublic String getName()
null for nonepublic Map setName(String name)
name - name or null for nonepublic String getProjectId()
null for nonepublic Map setProjectId(String projectId)
projectId - projectId or null for nonepublic String getPublishedAccessList()
null for nonepublic Map setPublishedAccessList(String publishedAccessList)
publishedAccessList - publishedAccessList or null for nonepublic Map setTags(List<String> tags)
tags - tags or null for nonepublic List<String> getVersions()
null for nonepublic Map setVersions(List<String> versions)
versions - versions or null for nonepublic Map set(String fieldName, Object value)
set in class GenericJsonpublic Map clone()
clone in class GenericJson