Enum Class FilterOperator

java.lang.Object
java.lang.Enum<FilterOperator>
com.appiancorp.common.query.FilterOperator
All Implemented Interfaces:
Serializable, Comparable<FilterOperator>, Constable

@GwtCompatible public enum FilterOperator extends Enum<FilterOperator>

Enumeration of existing filter expression operators.

  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static FilterOperator[] 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 FilterOperator 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
    • getSymbol

      public String getSymbol()
    • getId

      public byte getId()
    • getCategory

      public FilterOperatorCategory getCategory()
    • requiresArg

      public boolean requiresArg()
    • get

      public static FilterOperator get(String symbol)
    • getById

      public static FilterOperator getById(byte b)
    • getByName

      public static FilterOperator getByName(String name)
      Get FilterOperator by name
      Parameters:
      name - Operator Name
      Returns:
      The FilterOperator for the given name
    • getSymbols

      public static com.google.common.collect.ImmutableList<String> getSymbols()
      Get the list of valid FilterOperator symbols.
      Returns:
      an ImmutableList of Strings representing all valid FilterOperators.