public static enum Post.PostType extends Enum<Post.PostType>
| Enum Constant and Description |
|---|
CHECKIN |
LINK |
MUSIC |
NOTE |
PHOTO |
POST |
STATUS |
SWF |
VIDEO |
| Modifier and Type | Method and Description |
|---|---|
static Post.PostType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Post.PostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Post.PostType POST
public static final Post.PostType CHECKIN
public static final Post.PostType LINK
public static final Post.PostType NOTE
public static final Post.PostType PHOTO
public static final Post.PostType STATUS
public static final Post.PostType VIDEO
public static final Post.PostType SWF
public static final Post.PostType MUSIC
public static Post.PostType[] values()
for (Post.PostType c : Post.PostType.values()) System.out.println(c);
public static Post.PostType 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 nullCopyright © 2011-2013 Seam Framework. All Rights Reserved.