public enum Assertion extends Enum<Assertion>
Enum Constant and Description |
---|
APPROXIMATE |
EQUALITY |
GREATEREQ |
GREATERTHAN |
LESSEQ |
LESSTHAN |
PRESENCE |
SUBSTRING |
Modifier and Type | Method and Description |
---|---|
static Assertion |
fromString(String op) |
static Assertion |
fromValue(int op) |
String |
toString() |
int |
toValue() |
static Assertion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Assertion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Assertion EQUALITY
public static final Assertion PRESENCE
public static final Assertion SUBSTRING
public static final Assertion GREATEREQ
public static final Assertion LESSEQ
public static final Assertion APPROXIMATE
public static final Assertion LESSTHAN
public static final Assertion GREATERTHAN
public static Assertion[] values()
for (Assertion c : Assertion.values()) System.out.println(c);
public static Assertion 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 Assertion fromValue(int op)
public int toValue()