public enum ContentState extends Enum<ContentState>
Enum Constant and Description |
---|
Approved |
NeedReview |
New |
Modifier and Type | Method and Description |
---|---|
static ContentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentState New
public static final ContentState NeedReview
public static final ContentState Approved
public static ContentState[] values()
for (ContentState c : ContentState.values()) System.out.println(c);
public static ContentState 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 © 2013 Zanata Project. All Rights Reserved.