Enum Class SearchOperator

java.lang.Object
java.lang.Enum<SearchOperator>
nl.datasteel.crudcraft.annotations.SearchOperator
All Implemented Interfaces:
Serializable, Comparable<SearchOperator>, Constable

public enum SearchOperator extends Enum<SearchOperator>
Enum representing various search operators that can be used in query specifications. These operators can be used to define how fields should be compared or filtered in search queries.
  • 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
    Represents a check for values that are after a specified value.
    Represents a check for values that are before a specified value.
    Represents a check for values that are between two specified values.
    Represents a check for null values.
    Represents a check for the presence of all elements in a collection.
    Represents a check for the presence of a key in a collection.
    Represents a check for the presence of a value in a collection.
    Represents a check for values that end with a specified prefix.
    Represents an equality check.
    Represents a check for values greater than a specified value.
    Represents a check for values greater than or equal to a specified value.
    Represents a check for values that are in a specified collection.
    Represents a check for empty values.
    Represents a check for non-empty values.
    Represents a check for values lower than a specified value.
    Represents a check for values lower than or equal to specified value.
    Represents a check for the presence of elements in a collection.
    Represents an inequality check.
    Represents a check for values that are not in a specified collection.
    Represents a check for values within a specified range.
    Represents a check for values that match a specified pattern.
    Represents a check for size equality with a specified value.
    Represents a check for size greater than a specified value.
    Represents a check for a size lower than a specified value.
    Represents a check for values that start with a specified prefix.
  • 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

    • EQUALS

      public static final SearchOperator EQUALS
      Represents an equality check.
    • NOT_EQUALS

      public static final SearchOperator NOT_EQUALS
      Represents an inequality check.
    • CONTAINS

      public static final SearchOperator CONTAINS
      Represents a check for null values.
    • STARTS_WITH

      public static final SearchOperator STARTS_WITH
      Represents a check for values that start with a specified prefix.
    • ENDS_WITH

      public static final SearchOperator ENDS_WITH
      Represents a check for values that end with a specified prefix.
    • REGEX

      public static final SearchOperator REGEX
      Represents a check for values that match a specified pattern.
    • GT

      public static final SearchOperator GT
      Represents a check for values greater than a specified value.
    • GTE

      public static final SearchOperator GTE
      Represents a check for values greater than or equal to a specified value.
    • LT

      public static final SearchOperator LT
      Represents a check for values lower than a specified value.
    • LTE

      public static final SearchOperator LTE
      Represents a check for values lower than or equal to specified value.
    • IN

      public static final SearchOperator IN
      Represents a check for values that are in a specified collection.
    • NOT_IN

      public static final SearchOperator NOT_IN
      Represents a check for values that are not in a specified collection.
    • RANGE

      public static final SearchOperator RANGE
      Represents a check for values within a specified range.
    • BEFORE

      public static final SearchOperator BEFORE
      Represents a check for values that are before a specified value.
    • AFTER

      public static final SearchOperator AFTER
      Represents a check for values that are after a specified value.
    • BETWEEN

      public static final SearchOperator BETWEEN
      Represents a check for values that are between two specified values.
    • IS_EMPTY

      public static final SearchOperator IS_EMPTY
      Represents a check for empty values.
    • IS_NOT_EMPTY

      public static final SearchOperator IS_NOT_EMPTY
      Represents a check for non-empty values.
    • SIZE_EQUALS

      public static final SearchOperator SIZE_EQUALS
      Represents a check for size equality with a specified value.
    • SIZE_GT

      public static final SearchOperator SIZE_GT
      Represents a check for size greater than a specified value.
    • SIZE_LT

      public static final SearchOperator SIZE_LT
      Represents a check for a size lower than a specified value.
    • NOT_EMPTY

      public static final SearchOperator NOT_EMPTY
      Represents a check for the presence of elements in a collection.
    • CONTAINS_ALL

      public static final SearchOperator CONTAINS_ALL
      Represents a check for the presence of all elements in a collection.
    • CONTAINS_KEY

      public static final SearchOperator CONTAINS_KEY
      Represents a check for the presence of a key in a collection.
    • CONTAINS_VALUE

      public static final SearchOperator CONTAINS_VALUE
      Represents a check for the presence of a value in a collection.
  • Method Details

    • values

      public static SearchOperator[] 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 SearchOperator 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