public static enum Album.Field extends Enum<Album.Field>
| Enum Constant and Description |
|---|
DESCRIPTION |
ID |
LOCATION |
MEDIA_ITEM_COUNT |
MEDIA_MIME_TYPE |
MEDIA_TYPE |
OWNER_ID |
THUMBNAIL_URL |
TITLE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
emit the field as a json element.
|
static Album.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Album.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Album.Field DESCRIPTION
public static final Album.Field ID
public static final Album.Field LOCATION
public static final Album.Field MEDIA_ITEM_COUNT
public static final Album.Field MEDIA_MIME_TYPE
public static final Album.Field MEDIA_TYPE
public static final Album.Field OWNER_ID
public static final Album.Field THUMBNAIL_URL
public static final Album.Field TITLE
public static Album.Field[] values()
for (Album.Field c : Album.Field.values()) System.out.println(c);
public static Album.Field valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Album.Field>Copyright © 2007-2012. All Rights Reserved.