public enum SearchResultType extends Enum<SearchResultType>
Enum Constant and Description |
---|
OCCURRENCE_POINT |
SPECIES_PRODUCT |
TAXONOMY_ITEM |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
String |
getName() |
static SearchResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchResultType SPECIES_PRODUCT
public static final SearchResultType TAXONOMY_ITEM
public static final SearchResultType OCCURRENCE_POINT
public static SearchResultType[] values()
for (SearchResultType c : SearchResultType.values()) System.out.println(c);
public static SearchResultType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getId()
public String getName()
Copyright © 2016. All Rights Reserved.