Package stroom.query.api.v2
Enum ExpressionTerm.Condition
- java.lang.Object
-
- java.lang.Enum<ExpressionTerm.Condition>
-
- stroom.query.api.v2.ExpressionTerm.Condition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExpressionTerm.Condition>
,java.lang.constant.Constable
,HasDisplayValue
- Enclosing class:
- ExpressionTerm
public static enum ExpressionTerm.Condition extends java.lang.Enum<ExpressionTerm.Condition> implements HasDisplayValue
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETWEEN
CONTAINS
EQUALS
GREATER_THAN
GREATER_THAN_OR_EQUAL_TO
IN
IN_DICTIONARY
IN_FOLDER
IS_DOC_REF
IS_NOT_NULL
IS_NULL
LESS_THAN
LESS_THAN_OR_EQUAL_TO
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
IN_CONDITION_DELIMITER
static java.util.List<ExpressionTerm.Condition>
SIMPLE_CONDITIONS
-
Method Summary
Modifier and Type Method Description java.lang.String
getDisplayValue()
static ExpressionTerm.Condition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExpressionTerm.Condition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTAINS
public static final ExpressionTerm.Condition CONTAINS
-
EQUALS
public static final ExpressionTerm.Condition EQUALS
-
GREATER_THAN
public static final ExpressionTerm.Condition GREATER_THAN
-
GREATER_THAN_OR_EQUAL_TO
public static final ExpressionTerm.Condition GREATER_THAN_OR_EQUAL_TO
-
LESS_THAN
public static final ExpressionTerm.Condition LESS_THAN
-
LESS_THAN_OR_EQUAL_TO
public static final ExpressionTerm.Condition LESS_THAN_OR_EQUAL_TO
-
BETWEEN
public static final ExpressionTerm.Condition BETWEEN
-
IN
public static final ExpressionTerm.Condition IN
-
IN_DICTIONARY
public static final ExpressionTerm.Condition IN_DICTIONARY
-
IN_FOLDER
public static final ExpressionTerm.Condition IN_FOLDER
-
IS_DOC_REF
public static final ExpressionTerm.Condition IS_DOC_REF
-
IS_NULL
public static final ExpressionTerm.Condition IS_NULL
-
IS_NOT_NULL
public static final ExpressionTerm.Condition IS_NOT_NULL
-
-
Field Detail
-
SIMPLE_CONDITIONS
public static final java.util.List<ExpressionTerm.Condition> SIMPLE_CONDITIONS
-
IN_CONDITION_DELIMITER
public static final java.lang.String IN_CONDITION_DELIMITER
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ExpressionTerm.Condition[] 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 ExpressionTerm.Condition 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.
-
-