public enum Kingdom extends Enum<Kingdom>
Enum Constant and Description |
---|
ANIMALIA |
ARCHAEA |
BACTERIA |
CHROMISTA |
FUNGI |
INCERTAE_SEDIS |
PLANTAE |
PROTOZOA |
VIRUSES |
Modifier and Type | Method and Description |
---|---|
static Kingdom |
byNubUsageId(int usageKey)
Deprecated.
please use byNubUsageId(int) instead
|
static Kingdom |
byNubUsageKey(int usageKey)
Looks up a kingdom by its nub usage key.
|
Integer |
nubUsageID()
Deprecated.
please use nubUsageKey() instead
|
int |
nubUsageKey() |
String |
scientificName() |
static Kingdom |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Kingdom[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kingdom INCERTAE_SEDIS
public static Kingdom[] values()
for (Kingdom c : Kingdom.values()) System.out.println(c);
public static Kingdom 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 Kingdom byNubUsageKey(int usageKey)
usageKey
- the nub usage key to lookup, must be < 9 to get a result.public String scientificName()
public int nubUsageKey()
@Deprecated public Integer nubUsageID()
@Deprecated public static Kingdom byNubUsageId(int usageKey)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.