public static enum Rating.BIT_MASKS extends Enum<Rating.BIT_MASKS> implements BIT_MASKS
Enum Constant and Description |
---|
NONE
Comment is in default state; no special bit masks apply.
|
RATING_APPROVED
Comment is approved to show
|
Modifier and Type | Method and Description |
---|---|
String |
getDesc() |
Integer |
getValue() |
static Rating.BIT_MASKS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rating.BIT_MASKS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rating.BIT_MASKS NONE
public static final Rating.BIT_MASKS RATING_APPROVED
public static Rating.BIT_MASKS[] values()
for (Rating.BIT_MASKS c : Rating.BIT_MASKS.values()) System.out.println(c);
public static Rating.BIT_MASKS 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 © 2018. All rights reserved.