public final class MapFolder 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 |
|---|
MapFolder() |
| Modifier and Type | Method and Description |
|---|---|
MapFolder |
clone() |
List<MapItem> |
getContents()
The contents of this Folder.
|
List<Double> |
getDefaultViewport()
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
String |
getKey()
A user defined alias for this Folder, specific to this Map.
|
String |
getName()
The name of this Folder.
|
String |
getVisibility()
The visibility setting of this Folder.
|
MapFolder |
set(String fieldName,
Object value) |
MapFolder |
setContents(List<MapItem> contents)
The contents of this Folder.
|
MapFolder |
setDefaultViewport(List<Double> defaultViewport)
An array of four numbers (west, south, east, north) which defines the rectangular bounding box
of the default viewport.
|
MapFolder |
setKey(String key)
A user defined alias for this Folder, specific to this Map.
|
MapFolder |
setName(String name)
The name of this Folder.
|
MapFolder |
setVisibility(String visibility)
The visibility setting of this Folder.
|
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 MapFolder setContents(List<MapItem> contents)
contents - contents or null for nonepublic List<Double> getDefaultViewport()
null for nonepublic MapFolder setDefaultViewport(List<Double> defaultViewport)
defaultViewport - defaultViewport or null for nonepublic String getKey()
null for nonepublic MapFolder setKey(String key)
key - key or null for nonepublic String getName()
null for nonepublic MapFolder setName(String name)
name - name or null for nonepublic String getVisibility()
null for nonepublic MapFolder setVisibility(String visibility)
visibility - visibility or null for nonepublic MapFolder set(String fieldName, Object value)
set in class GenericJsonpublic MapFolder clone()
clone in class GenericJson