public enum DescriptorComparison extends Enum<DescriptorComparison>
Symbolizes the comparison of a SQL clause e.g. "=", "LIKE", "IN" or "IS NULL".
Used by the SearchOptions and com.sapertion.jcs.modules.users.NativeUserService to build a generic SQl query.
| Enum Constant and Description |
|---|
EQUAL
Equal comparison "=".
|
IN
The in.
|
LIKE
Like comparison "LIKE".
|
NULL
Is null comparison "IS NULL".
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComparison()
Gets the comparison.
|
static DescriptorComparison |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DescriptorComparison[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DescriptorComparison EQUAL
public static final DescriptorComparison LIKE
public static final DescriptorComparison NULL
public static final DescriptorComparison IN
public static DescriptorComparison[] values()
for (DescriptorComparison c : DescriptorComparison.values()) System.out.println(c);
public static DescriptorComparison 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 String getComparison()
Copyright © 2016 SAPERION AG. All rights reserved.