Package net.solarnetwork.central.dao
Enum Class ObjectCriteria.MatchType
- All Implemented Interfaces:
Serializable,Comparable<ObjectCriteria.MatchType>,Constable
- Enclosing interface:
ObjectCriteria<T extends Filter>
Search match types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApproximately match the attribute value to this attribute value.Match exactly this attribute value.Match attribute values greater than this attribute value.Match attribute values greater than or equal to this attribute value.Match attribute values less than this attribute value.Match attribute values less than or equal to this attribute value.Match anything but exactly this attribute value.For array comparison, an overlap operator.Match if the attribute name is present, regardless of its value.Match a substring (this attribute value) within attribute values.Match a substring (this attribute value) at the start of an attribute value. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static ObjectCriteria.MatchTypeReturns the enum constant of this class with the specified name.static ObjectCriteria.MatchType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUAL
Match exactly this attribute value. -
NOT_EQUAL
Match anything but exactly this attribute value. -
LESS_THAN
Match attribute values less than this attribute value. -
LESS_THAN_EQUAL
Match attribute values less than or equal to this attribute value. -
GREATER_THAN
Match attribute values greater than this attribute value. -
GREATER_THAN_EQUAL
Match attribute values greater than or equal to this attribute value. -
SUBSTRING
Match a substring (this attribute value) within attribute values. -
SUBSTRING_AT_START
Match a substring (this attribute value) at the start of an attribute value. -
PRESENT
Match if the attribute name is present, regardless of its value. -
APPROX
Approximately match the attribute value to this attribute value. -
OVERLAP
For array comparison, an overlap operator.
-
-
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
-
toString
- Overrides:
toStringin classEnum<ObjectCriteria.MatchType>
-