Enum SearchCriteria.CompareMode
- java.lang.Object
-
- java.lang.Enum<SearchCriteria.CompareMode>
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SearchCriteria.CompareMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SearchCriteria.CompareMode>
- Enclosing class:
- SearchCriteria
@JsonObject("CompareMode") public static enum SearchCriteria.CompareMode extends java.lang.Enum<SearchCriteria.CompareMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALS
GREATER_THAN_OR_EQUAL
LESS_THAN_OR_EQUAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchCriteria.CompareMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SearchCriteria.CompareMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LESS_THAN_OR_EQUAL
public static final SearchCriteria.CompareMode LESS_THAN_OR_EQUAL
-
EQUALS
public static final SearchCriteria.CompareMode EQUALS
-
GREATER_THAN_OR_EQUAL
public static final SearchCriteria.CompareMode GREATER_THAN_OR_EQUAL
-
-
Method Detail
-
values
public static SearchCriteria.CompareMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SearchCriteria.CompareMode c : SearchCriteria.CompareMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchCriteria.CompareMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-