public enum FilterOperator extends Enum<FilterOperator>
Enum Constant and Description |
---|
ANY |
EQUAL |
GREATER_THAN |
GREATER_THAN_OR_EQUAL |
IN |
LESS_THAN |
LESS_THAN_OR_EQUAL |
LIKE |
NOT_EQUAL |
Modifier and Type | Method and Description |
---|---|
String |
forSql() |
static FilterOperator |
fromString(String op) |
static FilterOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterOperator EQUAL
public static final FilterOperator NOT_EQUAL
public static final FilterOperator LESS_THAN
public static final FilterOperator LESS_THAN_OR_EQUAL
public static final FilterOperator GREATER_THAN
public static final FilterOperator IN
public static final FilterOperator LIKE
public static final FilterOperator ANY
public static final FilterOperator GREATER_THAN_OR_EQUAL
public static FilterOperator[] values()
for (FilterOperator c : FilterOperator.values()) System.out.println(c);
public static FilterOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static FilterOperator fromString(String op)
Copyright © 2016. All rights reserved.