public enum Comparison extends Enum<Comparison>
| Enum Constant and Description |
|---|
EQUAL |
GREATER_THAN |
GREATER_THAN_OR_EQUAL |
IN |
LESS_THAN |
LESS_THAN_OR_EQUAL |
LIKE |
NOT_EQUAL |
| Modifier and Type | Method and Description |
|---|---|
static Comparison |
fromString(String externalValue) |
boolean |
is(String externalValue) |
static Comparison |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comparison LESS_THAN
public static final Comparison LESS_THAN_OR_EQUAL
public static final Comparison GREATER_THAN
public static final Comparison GREATER_THAN_OR_EQUAL
public static final Comparison EQUAL
public static final Comparison NOT_EQUAL
public static final Comparison LIKE
public static final Comparison IN
public static Comparison[] values()
for (Comparison c : Comparison.values()) System.out.println(c);
public static Comparison 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 boolean is(String externalValue)
public static Comparison fromString(String externalValue)
Copyright © 2010-2014. All Rights Reserved.