public enum Comparators extends Enum<Comparators>
| Enum Constant and Description |
|---|
DIFFERENT
Check if the property is different to the specified value.
|
EQUAL
Check if the property is equal to the specified value.
|
GREATER
Check if the property is grater than the specified value.
|
GREATER_OR_EQUAL
Check if the property is grater or equal to the specified value.
|
IS_NOT_NULL
Unary comparator, check if the property is not null.
|
IS_NULL
Unary comparator, check if the property is null.
|
LIKE
Check if the property is like the given string value, using wildcards.
|
LOWER
Check if the property is lower than the specified value.
|
LOWER_OR_EQUAL
Check if the property is lower or equal to the specified value.
|
NOT_LIKE
Check if the property is not like the given string value, using
wildcards.
|
| Modifier and Type | Method and Description |
|---|---|
static Comparators |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comparators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparators IS_NULL
public static final Comparators IS_NOT_NULL
public static final Comparators LOWER
public static final Comparators LOWER_OR_EQUAL
public static final Comparators EQUAL
public static final Comparators DIFFERENT
public static final Comparators LIKE
public static final Comparators NOT_LIKE
public static final Comparators GREATER
public static final Comparators GREATER_OR_EQUAL
public static Comparators[] values()
for (Comparators c : Comparators.values()) System.out.println(c);
public static Comparators 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 nullCopyright © 2013. All rights reserved.