Package com.ocs.dynamo.filter
Enum FlexibleFilterType
- java.lang.Object
-
- java.lang.Enum<FlexibleFilterType>
-
- com.ocs.dynamo.filter.FlexibleFilterType
-
- All Implemented Interfaces:
Serializable,Comparable<FlexibleFilterType>
public enum FlexibleFilterType extends Enum<FlexibleFilterType>
Various filter types for the ModelBasedFlexibleSearchForm- Author:
- bas.rutten
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETWEENCONTAINSEQUALSGREATER_OR_EQUALGREATER_THANLESS_OR_EQUALLESS_THANNOT_CONTAINSNOT_EQUALNOT_STARTS_WITHSTARTS_WITH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlexibleFilterTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FlexibleFilterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BETWEEN
public static final FlexibleFilterType BETWEEN
-
CONTAINS
public static final FlexibleFilterType CONTAINS
-
EQUALS
public static final FlexibleFilterType EQUALS
-
GREATER_OR_EQUAL
public static final FlexibleFilterType GREATER_OR_EQUAL
-
GREATER_THAN
public static final FlexibleFilterType GREATER_THAN
-
LESS_OR_EQUAL
public static final FlexibleFilterType LESS_OR_EQUAL
-
LESS_THAN
public static final FlexibleFilterType LESS_THAN
-
NOT_CONTAINS
public static final FlexibleFilterType NOT_CONTAINS
-
NOT_EQUAL
public static final FlexibleFilterType NOT_EQUAL
-
NOT_STARTS_WITH
public static final FlexibleFilterType NOT_STARTS_WITH
-
STARTS_WITH
public static final FlexibleFilterType STARTS_WITH
-
-
Method Detail
-
values
public static FlexibleFilterType[] 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 (FlexibleFilterType c : FlexibleFilterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlexibleFilterType 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
-
-