Enum Class Expression.Operator
java.lang.Object
java.lang.Enum<Expression.Operator>
org.ametys.plugins.repository.query.expression.Expression.Operator
- All Implemented Interfaces:
Serializable
,Comparable<Expression.Operator>
,java.lang.constant.Constable
- Enclosing interface:
- Expression
Enumeration of available operators in
Expression
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConstant of test's operator for 'equals to' comparisonConstant of test's operator for 'greater than or equals to' comparisonConstant of test's operator for 'greater than' comparisonConstant of test's operator for 'less than or equals to' comparisonConstant of test's operator for 'less than' comparisonConstant of test's operator for 'not equals to' comparisonConstant of test's operator for 'like' comparison. -
Method Summary
Modifier and TypeMethodDescriptionstatic Expression.Operator
Returns the enum constant of this class with the specified name.static Expression.Operator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WD
Constant of test's operator for 'like' comparison. Works only for type String -
LT
Constant of test's operator for 'less than' comparison -
LE
Constant of test's operator for 'less than or equals to' comparison -
GT
Constant of test's operator for 'greater than' comparison -
GE
Constant of test's operator for 'greater than or equals to' comparison -
EQ
Constant of test's operator for 'equals to' comparison -
NE
Constant of test's operator for 'not equals to' comparison
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-