Enum DefaultProfileSortBy
- java.lang.Object
-
- java.lang.Enum<DefaultProfileSortBy>
-
- nl.gx.webmanager.services.defaultprofileprovider.DefaultProfileSortBy
-
- All Implemented Interfaces:
Serializable
,Comparable<DefaultProfileSortBy>
public enum DefaultProfileSortBy extends Enum<DefaultProfileSortBy>
Sort enumeration
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefaultProfileSortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static DefaultProfileSortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final DefaultProfileSortBy NAME
-
FIRSTNAME
public static final DefaultProfileSortBy FIRSTNAME
-
LASTNAME
public static final DefaultProfileSortBy LASTNAME
-
CONFIRMED
public static final DefaultProfileSortBy CONFIRMED
-
-
Method Detail
-
values
public static DefaultProfileSortBy[] 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 (DefaultProfileSortBy c : DefaultProfileSortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultProfileSortBy 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
-
-