Enum InternalOccurrenceSearchParameter
- java.lang.Object
-
- java.lang.Enum<InternalOccurrenceSearchParameter>
-
- org.gbif.api.model.occurrence.search.InternalOccurrenceSearchParameter
-
- All Implemented Interfaces:
Serializable
,Comparable<InternalOccurrenceSearchParameter>
,SearchParameter
public enum InternalOccurrenceSearchParameter extends Enum<InternalOccurrenceSearchParameter> implements SearchParameter
Query parameters used internally (not part of the public API) to support complex data types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVENT_DATE_GTE
EVENT_DATE_LTE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
type()
static InternalOccurrenceSearchParameter
valueOf(String name)
Returns the enum constant of this type with the specified name.static InternalOccurrenceSearchParameter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.gbif.api.model.common.search.SearchParameter
name
-
-
-
-
Enum Constant Detail
-
EVENT_DATE_GTE
public static final InternalOccurrenceSearchParameter EVENT_DATE_GTE
-
EVENT_DATE_LTE
public static final InternalOccurrenceSearchParameter EVENT_DATE_LTE
-
-
Method Detail
-
values
public static InternalOccurrenceSearchParameter[] 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 (InternalOccurrenceSearchParameter c : InternalOccurrenceSearchParameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InternalOccurrenceSearchParameter valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
type
public Class<?> type()
- Specified by:
type
in interfaceSearchParameter
- Returns:
- the data type expected for the value of the respective search parameter
-
-