Package xyz.baldeep.filter.core
Enum SearchParamTypeEnum
- java.lang.Object
-
- java.lang.Enum<SearchParamTypeEnum>
-
- xyz.baldeep.filter.core.SearchParamTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SearchParamTypeEnum>,Constable
public enum SearchParamTypeEnum extends Enum<SearchParamTypeEnum>
- Since:
- 23-Jun-2020, 11:32:11 AM
- Author:
- Baldeep Singh Kwatra
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description StringgetType()static SearchParamTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchParamTypeEnumvalueOfType(String label)static SearchParamTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUM
public static final SearchParamTypeEnum NUM
-
STRING
public static final SearchParamTypeEnum STRING
-
DATE_TIME
public static final SearchParamTypeEnum DATE_TIME
-
BOOLEAN
public static final SearchParamTypeEnum BOOLEAN
-
-
Method Detail
-
values
public static SearchParamTypeEnum[] 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 SearchParamTypeEnum 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
-
getType
public String getType()
-
valueOfType
public static SearchParamTypeEnum valueOfType(String label)
-
-