public enum PollCommentVisibility extends Enum<PollCommentVisibility> implements I18nAble
| Enum Constant and Description |
|---|
EVERYBODY
Every body can see comments.
|
NOBODY
Nobody can see comments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getI18nKey() |
static PollCommentVisibility |
valueOf(int ordinal) |
static PollCommentVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollCommentVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollCommentVisibility NOBODY
public static final PollCommentVisibility EVERYBODY
public static PollCommentVisibility[] values()
for (PollCommentVisibility c : PollCommentVisibility.values()) System.out.println(c);
public static PollCommentVisibility 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 PollCommentVisibility valueOf(int ordinal)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.