public enum MainTaxonomicRankEnum extends Enum<MainTaxonomicRankEnum>
Enum Constant and Description |
---|
CLASS |
FAMILY |
GENUS |
KINGDOM |
ORDER |
PHYLUM |
SPECIES |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static List<String> |
getListLabels() |
static MainTaxonomicRankEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MainTaxonomicRankEnum |
valueOfLabel(String label) |
static MainTaxonomicRankEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MainTaxonomicRankEnum KINGDOM
public static final MainTaxonomicRankEnum PHYLUM
public static final MainTaxonomicRankEnum CLASS
public static final MainTaxonomicRankEnum ORDER
public static final MainTaxonomicRankEnum FAMILY
public static final MainTaxonomicRankEnum GENUS
public static final MainTaxonomicRankEnum SPECIES
protected String label
public static MainTaxonomicRankEnum[] values()
for (MainTaxonomicRankEnum c : MainTaxonomicRankEnum.values()) System.out.println(c);
public static MainTaxonomicRankEnum 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 getLabel()
public static MainTaxonomicRankEnum valueOfLabel(String label)
Copyright © 2016. All Rights Reserved.