Package org.gbif.api.model.literature
Enum LiteratureRelevance
- java.lang.Object
-
- java.lang.Enum<LiteratureRelevance>
-
- org.gbif.api.model.literature.LiteratureRelevance
-
- All Implemented Interfaces:
Serializable
,Comparable<LiteratureRelevance>
public enum LiteratureRelevance extends Enum<LiteratureRelevance>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GBIF_ACKNOWLEDGED
GBIF_AUTHOR
GBIF_CITED
GBIF_DISCUSSED
GBIF_FUNDED
GBIF_MENTIONED
GBIF_PRIMARY
GBIF_PUBLISHED
GBIF_USED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LiteratureRelevance
valueOf(String name)
Returns the enum constant of this type with the specified name.static LiteratureRelevance[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GBIF_USED
public static final LiteratureRelevance GBIF_USED
-
GBIF_CITED
public static final LiteratureRelevance GBIF_CITED
-
GBIF_DISCUSSED
public static final LiteratureRelevance GBIF_DISCUSSED
-
GBIF_PRIMARY
public static final LiteratureRelevance GBIF_PRIMARY
-
GBIF_ACKNOWLEDGED
public static final LiteratureRelevance GBIF_ACKNOWLEDGED
-
GBIF_PUBLISHED
public static final LiteratureRelevance GBIF_PUBLISHED
-
GBIF_AUTHOR
public static final LiteratureRelevance GBIF_AUTHOR
-
GBIF_MENTIONED
public static final LiteratureRelevance GBIF_MENTIONED
-
GBIF_FUNDED
public static final LiteratureRelevance GBIF_FUNDED
-
-
Method Detail
-
values
public static LiteratureRelevance[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LiteratureRelevance c : LiteratureRelevance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LiteratureRelevance valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-