public enum FeedbackVoteType extends Enum<FeedbackVoteType>
| Enum Constant and Description |
|---|
NEGATIVE
Leave negative feedback.
|
POSITIVE
Leave positive feedback.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeString() |
static FeedbackVoteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeedbackVoteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeedbackVoteType POSITIVE
public static final FeedbackVoteType NEGATIVE
public static FeedbackVoteType[] values()
for (FeedbackVoteType c : FeedbackVoteType.values()) System.out.println(c);
public static FeedbackVoteType 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 getTypeString()
Copyright © 2016. All Rights Reserved.