Enum PredicateUnaryOp
- java.lang.Object
-
- java.lang.Enum<PredicateUnaryOp>
-
- io.micronaut.data.model.jpa.criteria.impl.predicate.PredicateUnaryOp
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PredicateUnaryOp>
@Internal public enum PredicateUnaryOp extends java.lang.Enum<PredicateUnaryOp>
Predicate unary operations.- Since:
- 3.2
- Author:
- Denis Stepanov
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IS_EMPTY
IS_FALSE
IS_NON_NULL
IS_NOT_EMPTY
IS_NULL
IS_TRUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PredicateUnaryOp
negate()
static PredicateUnaryOp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PredicateUnaryOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS_NULL
public static final PredicateUnaryOp IS_NULL
-
IS_NON_NULL
public static final PredicateUnaryOp IS_NON_NULL
-
IS_TRUE
public static final PredicateUnaryOp IS_TRUE
-
IS_FALSE
public static final PredicateUnaryOp IS_FALSE
-
IS_EMPTY
public static final PredicateUnaryOp IS_EMPTY
-
IS_NOT_EMPTY
public static final PredicateUnaryOp IS_NOT_EMPTY
-
-
Method Detail
-
values
public static PredicateUnaryOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PredicateUnaryOp c : PredicateUnaryOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PredicateUnaryOp valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
negate
@Nullable public PredicateUnaryOp negate()
-
-