Enum Class ObjectCriteria.MatchType

java.lang.Object
java.lang.Enum<ObjectCriteria.MatchType>
net.solarnetwork.central.dao.ObjectCriteria.MatchType
All Implemented Interfaces:
Serializable, Comparable<ObjectCriteria.MatchType>, Constable
Enclosing interface:
ObjectCriteria<T extends Filter>

public static enum ObjectCriteria.MatchType extends Enum<ObjectCriteria.MatchType>
Search match types.
  • Enum Constant Details

    • EQUAL

      public static final ObjectCriteria.MatchType EQUAL
      Match exactly this attribute value.
    • NOT_EQUAL

      public static final ObjectCriteria.MatchType NOT_EQUAL
      Match anything but exactly this attribute value.
    • LESS_THAN

      public static final ObjectCriteria.MatchType LESS_THAN
      Match attribute values less than this attribute value.
    • LESS_THAN_EQUAL

      public static final ObjectCriteria.MatchType LESS_THAN_EQUAL
      Match attribute values less than or equal to this attribute value.
    • GREATER_THAN

      public static final ObjectCriteria.MatchType GREATER_THAN
      Match attribute values greater than this attribute value.
    • GREATER_THAN_EQUAL

      public static final ObjectCriteria.MatchType GREATER_THAN_EQUAL
      Match attribute values greater than or equal to this attribute value.
    • SUBSTRING

      public static final ObjectCriteria.MatchType SUBSTRING
      Match a substring (this attribute value) within attribute values.
    • SUBSTRING_AT_START

      public static final ObjectCriteria.MatchType SUBSTRING_AT_START
      Match a substring (this attribute value) at the start of an attribute value.
    • PRESENT

      public static final ObjectCriteria.MatchType PRESENT
      Match if the attribute name is present, regardless of its value.
    • APPROX

      public static final ObjectCriteria.MatchType APPROX
      Approximately match the attribute value to this attribute value.
    • OVERLAP

      public static final ObjectCriteria.MatchType OVERLAP
      For array comparison, an overlap operator.
  • Method Details

    • values

      public static ObjectCriteria.MatchType[] 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 ObjectCriteria.MatchType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ObjectCriteria.MatchType>