Enum FilterOperatorEnum
- java.lang.Object
-
- java.lang.Enum<FilterOperatorEnum>
-
- net.sourceforge.jbizmo.commons.search.dto.FilterOperatorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<FilterOperatorEnum>
public enum FilterOperatorEnum extends Enum<FilterOperatorEnum>
Enumeration of supported filter operators
Copyright 2016 (C) Martin Ganserer
- Version:
- 1.0.0
- Author:
- Martin Ganserer
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETWEENEQUALGREATERGREATER_OR_EQUALINIS_NOT_NULLIS_NULLLIKENOT_INNOT_LIKESMALLERSMALLER_OR_EQUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static FilterOperatorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static FilterOperatorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN
public static final FilterOperatorEnum IN
-
NOT_IN
public static final FilterOperatorEnum NOT_IN
-
BETWEEN
public static final FilterOperatorEnum BETWEEN
-
IS_NULL
public static final FilterOperatorEnum IS_NULL
-
IS_NOT_NULL
public static final FilterOperatorEnum IS_NOT_NULL
-
LIKE
public static final FilterOperatorEnum LIKE
-
NOT_LIKE
public static final FilterOperatorEnum NOT_LIKE
-
EQUAL
public static final FilterOperatorEnum EQUAL
-
GREATER
public static final FilterOperatorEnum GREATER
-
SMALLER
public static final FilterOperatorEnum SMALLER
-
GREATER_OR_EQUAL
public static final FilterOperatorEnum GREATER_OR_EQUAL
-
SMALLER_OR_EQUAL
public static final FilterOperatorEnum SMALLER_OR_EQUAL
-
-
Method Detail
-
values
public static FilterOperatorEnum[] 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 (FilterOperatorEnum c : FilterOperatorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterOperatorEnum 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
-
getValue
public String getValue()
- Returns:
- the operator's value
-
-