Enum UserAccountsOrdering.Direction
- java.lang.Object
-
- java.lang.Enum<UserAccountsOrdering.Direction>
-
- edu.cornell.mannlib.vitro.webapp.controller.accounts.UserAccountsOrdering.Direction
-
- All Implemented Interfaces:
Serializable,Comparable<UserAccountsOrdering.Direction>
- Enclosing class:
- UserAccountsOrdering
public static enum UserAccountsOrdering.Direction extends Enum<UserAccountsOrdering.Direction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASCENDINGDESCENDING
-
Field Summary
Fields Modifier and Type Field Description static UserAccountsOrdering.DirectionDEFAULT_DIRECTIONStringkeyword
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserAccountsOrdering.DirectionfromKeyword(String keyword)static UserAccountsOrdering.DirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static UserAccountsOrdering.Direction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASCENDING
public static final UserAccountsOrdering.Direction ASCENDING
-
DESCENDING
public static final UserAccountsOrdering.Direction DESCENDING
-
-
Field Detail
-
DEFAULT_DIRECTION
public static UserAccountsOrdering.Direction DEFAULT_DIRECTION
-
keyword
public final String keyword
-
-
Method Detail
-
values
public static UserAccountsOrdering.Direction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserAccountsOrdering.Direction c : UserAccountsOrdering.Direction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserAccountsOrdering.Direction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromKeyword
public static UserAccountsOrdering.Direction fromKeyword(String keyword)
-
-