public static enum Suggestion.Priority extends java.lang.Enum<Suggestion.Priority>
Enum Constant and Description |
---|
PRIORITY_00 |
PRIORITY_01 |
PRIORITY_02 |
PRIORITY_03 |
PRIORITY_04 |
PRIORITY_05 |
PRIORITY_06 |
PRIORITY_07 |
PRIORITY_08 |
PRIORITY_09 |
PRIORITY_10 |
PRIORITY_11 |
PRIORITY_12 |
PRIORITY_13 |
PRIORITY_14 |
PRIORITY_15 |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the numeric value of this priority.
|
java.lang.String |
toString()
Returns a string representation of the priority.
|
static java.lang.String |
transformText(java.lang.String text)
Returns a transformed string representation of a human-language string.
|
static Suggestion.Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Suggestion.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Suggestion.Priority PRIORITY_00
public static final Suggestion.Priority PRIORITY_01
public static final Suggestion.Priority PRIORITY_02
public static final Suggestion.Priority PRIORITY_03
public static final Suggestion.Priority PRIORITY_04
public static final Suggestion.Priority PRIORITY_05
public static final Suggestion.Priority PRIORITY_06
public static final Suggestion.Priority PRIORITY_07
public static final Suggestion.Priority PRIORITY_08
public static final Suggestion.Priority PRIORITY_09
public static final Suggestion.Priority PRIORITY_10
public static final Suggestion.Priority PRIORITY_11
public static final Suggestion.Priority PRIORITY_12
public static final Suggestion.Priority PRIORITY_13
public static final Suggestion.Priority PRIORITY_14
public static final Suggestion.Priority PRIORITY_15
public static Suggestion.Priority[] values()
for (Suggestion.Priority c : Suggestion.Priority.values()) System.out.println(c);
public static Suggestion.Priority valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<Suggestion.Priority>
public static java.lang.String transformText(java.lang.String text)
This transformation is that used in the derivation of the enumeration's
identifiers from their original human-languge representations. This method
can be used on menu items that were derived from the enumeration's toString()
method to get the enumeration value via the valueOf(java.lang.String)
method.
Note, however, that there is no guarantee that the results of this transformation will be a valid enumeration identifier.
text
- the input text.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona