public enum PollType extends Enum<PollType> implements I18nAble
| Enum Constant and Description |
|---|
FREE |
GROUP |
RESTRICTED |
| Modifier and Type | Method and Description |
|---|---|
String |
getI18nKey() |
static PollType |
valueOf(int ordinal) |
static PollType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollType FREE
public static final PollType RESTRICTED
public static final PollType GROUP
public static PollType[] values()
for (PollType c : PollType.values()) System.out.println(c);
public static PollType 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 getI18nKey()
getI18nKey in interface I18nAblepublic static PollType valueOf(int ordinal)
Copyright © 2009–2013 CodeLutin. All rights reserved.