public final class MenuValue 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 Mirror 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 |
|---|
MenuValue() |
| Modifier and Type | Method and Description |
|---|---|
MenuValue |
clone() |
String |
getDisplayName()
The name to display for the menu item.
|
String |
getIconUrl()
URL of an icon to display with the menu item.
|
String |
getState()
The state that this value applies to.
|
MenuValue |
set(String fieldName,
Object value) |
MenuValue |
setDisplayName(String displayName)
The name to display for the menu item.
|
MenuValue |
setIconUrl(String iconUrl)
URL of an icon to display with the menu item.
|
MenuValue |
setState(String state)
The state that this value applies to.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getDisplayName()
null for nonepublic MenuValue setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getIconUrl()
null for nonepublic MenuValue setIconUrl(String iconUrl)
iconUrl - iconUrl or null for nonepublic String getState()
null for nonepublic MenuValue setState(String state)
state - state or null for nonepublic MenuValue set(String fieldName, Object value)
set in class GenericJsonpublic MenuValue clone()
clone in class GenericJson