public enum ComparisonOperator extends java.lang.Enum<ComparisonOperator>
ComparisonFilter| Enum Constant and Description |
|---|
EQUALS
The "=" operator
|
GREATER
The ">" operator
|
GREATEREQUAL
The ">=" operator
|
LESS
The "<" operator
|
LESSEQUAL
The "<=" operator
|
LIKE
A "wildcard" matches operator (only * and ?
|
MATCHES
A regular expression match operator
|
NOTEQUALS
The "!
|
| Modifier and Type | Field and Description |
|---|---|
static ComparisonOperator[] |
NON_STRING_OPERATORS
The set of comparison operators that apply to pure numeric comparisons
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getXml()
Gets the XML short representation for this operator.
|
static ComparisonOperator |
toComparisonOperator(java.lang.String xml)
Gets the comparison comparator for the designated XML short representation
or
null if the XML short representation is not recognised. |
java.lang.String |
toString() |
static ComparisonOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonOperator EQUALS
public static final ComparisonOperator NOTEQUALS
public static final ComparisonOperator LESS
public static final ComparisonOperator LESSEQUAL
public static final ComparisonOperator GREATER
public static final ComparisonOperator GREATEREQUAL
public static final ComparisonOperator MATCHES
public static final ComparisonOperator LIKE
public static final ComparisonOperator[] NON_STRING_OPERATORS
public static ComparisonOperator[] values()
for (ComparisonOperator c : ComparisonOperator.values()) System.out.println(c);
public static ComparisonOperator valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<ComparisonOperator>public java.lang.String getXml()
public static ComparisonOperator toComparisonOperator(java.lang.String xml)
null if the XML short representation is not recognised.xml - The XML short representation for which to find the comparison
comparator.null.