public enum SearchOption extends java.lang.Enum<SearchOption>
Enum Constant and Description |
---|
COMMON_NAME |
NAME |
SYNONYM |
TAXON |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
boolean |
getPreference() |
static SearchOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchOption TAXON
public static final SearchOption SYNONYM
public static final SearchOption NAME
public static final SearchOption COMMON_NAME
public static SearchOption[] values()
for (SearchOption c : SearchOption.values()) System.out.println(c);
public static SearchOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLabel()
public boolean getPreference()
Copyright © 2007-2018. All Rights Reserved.