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

public static enum Expression.Operator extends Enum<Expression.Operator>
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 Constants
    Enum Constant
    Description
    Constant of test's operator for 'equals to' comparison
    Constant of test's operator for 'greater than or equals to' comparison
    Constant of test's operator for 'greater than' comparison
    Constant of test's operator for 'less than or equals to' comparison
    Constant of test's operator for 'less than' comparison
    Constant of test's operator for 'not equals to' comparison
    Constant of test's operator for 'like' comparison.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • WD

      public static final Expression.Operator WD
      Constant of test's operator for 'like' comparison. Works only for type String
    • LT

      public static final Expression.Operator LT
      Constant of test's operator for 'less than' comparison
    • LE

      public static final Expression.Operator LE
      Constant of test's operator for 'less than or equals to' comparison
    • GT

      public static final Expression.Operator GT
      Constant of test's operator for 'greater than' comparison
    • GE

      public static final Expression.Operator GE
      Constant of test's operator for 'greater than or equals to' comparison
    • EQ

      public static final Expression.Operator EQ
      Constant of test's operator for 'equals to' comparison
    • NE

      public static final Expression.Operator NE
      Constant of test's operator for 'not equals to' comparison
  • Method Details

    • values

      public static Expression.Operator[] 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

      public static Expression.Operator valueOf(String name)
      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 name
      NullPointerException - if the argument is null