public static enum Predicate.Type extends Enum<Predicate.Type>
Enum Constant and Description |
---|
COMPARISON |
CONJUNCTION |
DISJUNCTION |
IN |
IS_NULL |
LIKE |
NEGATION |
RANGE |
ROOT |
Modifier and Type | Method and Description |
---|---|
boolean |
isParent()
Whether this is a parent predicate type (i.e.
|
static Predicate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Predicate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Predicate.Type ROOT
public static final Predicate.Type CONJUNCTION
public static final Predicate.Type DISJUNCTION
public static final Predicate.Type NEGATION
public static final Predicate.Type COMPARISON
public static final Predicate.Type RANGE
public static final Predicate.Type IN
public static final Predicate.Type LIKE
public static final Predicate.Type IS_NULL
public static Predicate.Type[] values()
for (Predicate.Type c : Predicate.Type.values()) System.out.println(c);
public static Predicate.Type 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 isParent()
true
if this is a parent predicate type, false
otherwise.Copyright © 2013. All rights reserved.