Package org.iplass.mtp.entity.query
Enum SortSpec.SortType
- java.lang.Object
-
- java.lang.Enum<SortSpec.SortType>
-
- org.iplass.mtp.entity.query.SortSpec.SortType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SortSpec.SortType>,java.lang.constant.Constable
- Enclosing class:
- SortSpec
public static enum SortSpec.SortType extends java.lang.Enum<SortSpec.SortType>
-
-
Method Summary
Modifier and Type Method Description static SortSpec.SortTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SortSpec.SortType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASC
public static final SortSpec.SortType ASC
-
DESC
public static final SortSpec.SortType DESC
-
-
Method Detail
-
values
public static SortSpec.SortType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SortSpec.SortType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-