Package stroom.query.api.v2
Enum ExpressionOperator.Op
- java.lang.Object
-
- java.lang.Enum<ExpressionOperator.Op>
-
- stroom.query.api.v2.ExpressionOperator.Op
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExpressionOperator.Op>
,java.lang.constant.Constable
,HasDisplayValue
- Enclosing class:
- ExpressionOperator
public static enum ExpressionOperator.Op extends java.lang.Enum<ExpressionOperator.Op> implements HasDisplayValue
-
-
Method Summary
Modifier and Type Method Description java.lang.String
getDisplayValue()
static ExpressionOperator.Op
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExpressionOperator.Op[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AND
public static final ExpressionOperator.Op AND
-
OR
public static final ExpressionOperator.Op OR
-
NOT
public static final ExpressionOperator.Op NOT
-
-
Method Detail
-
values
public static ExpressionOperator.Op[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpressionOperator.Op 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
-
getDisplayValue
public java.lang.String getDisplayValue()
- Specified by:
getDisplayValue
in interfaceHasDisplayValue
- Returns:
- The string label/description of this object.
-
-