Package io.tesler.core.controller.param
Enum SearchOperation
- java.lang.Object
-
- java.lang.Enum<SearchOperation>
-
- io.tesler.core.controller.param.SearchOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchOperation>
public enum SearchOperation extends Enum<SearchOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS
ContainsCONTAINS_ONE_OF
Contains one from the listEQUALS
EqualEQUALS_ONE_OF
Equal to one of the listGREATER_OR_EQUAL_THAN
Greater or equalGREATER_THAN
GreaterINTERVALS
Specified value in intervalsLESS_OR_EQUAL_THAN
Less or equalLESS_THAN
LessSPECIFIED
SpecifiedSPECIFIED_BOOLEAN_SQL
Boolean value specified, use for sql entities
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchOperation
of(String operationName)
static SearchOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final SearchOperation EQUALS
Equal
-
GREATER_THAN
public static final SearchOperation GREATER_THAN
Greater
-
LESS_THAN
public static final SearchOperation LESS_THAN
Less
-
GREATER_OR_EQUAL_THAN
public static final SearchOperation GREATER_OR_EQUAL_THAN
Greater or equal
-
LESS_OR_EQUAL_THAN
public static final SearchOperation LESS_OR_EQUAL_THAN
Less or equal
-
CONTAINS
public static final SearchOperation CONTAINS
Contains
-
SPECIFIED
public static final SearchOperation SPECIFIED
Specified
-
SPECIFIED_BOOLEAN_SQL
public static final SearchOperation SPECIFIED_BOOLEAN_SQL
Boolean value specified, use for sql entities
-
EQUALS_ONE_OF
public static final SearchOperation EQUALS_ONE_OF
Equal to one of the list
-
CONTAINS_ONE_OF
public static final SearchOperation CONTAINS_ONE_OF
Contains one from the list
-
INTERVALS
public static final SearchOperation INTERVALS
Specified value in intervals
-
-
Method Detail
-
values
public static SearchOperation[] 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 (SearchOperation c : SearchOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchOperation 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
-
of
public static SearchOperation of(String operationName)
-
-