Enum ValueSearchFilterItem.FilterName
- java.lang.Object
-
- java.lang.Enum<ValueSearchFilterItem.FilterName>
-
- com.evolveum.midpoint.web.component.search.filter.ValueSearchFilterItem.FilterName
-
- All Implemented Interfaces:
Serializable
,Comparable<ValueSearchFilterItem.FilterName>
- Enclosing class:
- ValueSearchFilterItem<V extends PrismValue,D extends ItemDefinition<?>,O extends ObjectType>
public static enum ValueSearchFilterItem.FilterName extends Enum<ValueSearchFilterItem.FilterName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL
GREATER
GREATER_OR_EQUAL
LESS
LESS_OR_EQUAL
REF
SUBSTRING
SUBSTRING_ANCHOR_END
SUBSTRING_ANCHOR_START
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <F extends ValueFilter>
ValueSearchFilterItem.FilterNamefindFilterName(F filter)
static ValueSearchFilterItem.FilterName
findFilterName(Class<? extends ValueFilter> filterType)
Class<? extends ValueFilter>
getFilterType()
static ValueSearchFilterItem.FilterName
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValueSearchFilterItem.FilterName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final ValueSearchFilterItem.FilterName EQUAL
-
GREATER_OR_EQUAL
public static final ValueSearchFilterItem.FilterName GREATER_OR_EQUAL
-
GREATER
public static final ValueSearchFilterItem.FilterName GREATER
-
LESS_OR_EQUAL
public static final ValueSearchFilterItem.FilterName LESS_OR_EQUAL
-
LESS
public static final ValueSearchFilterItem.FilterName LESS
-
REF
public static final ValueSearchFilterItem.FilterName REF
-
SUBSTRING
public static final ValueSearchFilterItem.FilterName SUBSTRING
-
SUBSTRING_ANCHOR_START
public static final ValueSearchFilterItem.FilterName SUBSTRING_ANCHOR_START
-
SUBSTRING_ANCHOR_END
public static final ValueSearchFilterItem.FilterName SUBSTRING_ANCHOR_END
-
-
Method Detail
-
values
public static ValueSearchFilterItem.FilterName[] 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 (ValueSearchFilterItem.FilterName c : ValueSearchFilterItem.FilterName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueSearchFilterItem.FilterName 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
-
getFilterType
public Class<? extends ValueFilter> getFilterType()
-
findFilterName
public static <F extends ValueFilter> ValueSearchFilterItem.FilterName findFilterName(F filter)
-
findFilterName
public static ValueSearchFilterItem.FilterName findFilterName(Class<? extends ValueFilter> filterType)
-
-