public enum NamePart extends Enum<NamePart>
| Enum Constant and Description |
|---|
GENERIC |
INFRAGENERIC |
INFRASPECIFIC |
SPECIFIC |
| Modifier and Type | Method and Description |
|---|---|
static NamePart |
fromString(String namePart)
Case insensitive lookup of a NamePart by its name that does not throw an exception but returns null
for a not found NamePart.
|
static NamePart |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamePart[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamePart INFRAGENERIC
public static final NamePart INFRASPECIFIC
public static NamePart[] values()
for (NamePart c : NamePart.values()) System.out.println(c);
public static NamePart 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 static NamePart fromString(String namePart)
namePart - case insensitive name of name partCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.