Package org.gbif.api.vocabulary
Enum CitesAppendix
- java.lang.Object
-
- java.lang.Enum<CitesAppendix>
-
- org.gbif.api.vocabulary.CitesAppendix
-
- All Implemented Interfaces:
Serializable
,Comparable<CitesAppendix>
public enum CitesAppendix extends Enum<CitesAppendix>
Vocabulary for the 3 CITES (Convention on International Trade in Endangered Species of Wild Fauna and Flora) Appendix numbers. Appendices I, II and III to the Convention are lists of species afforded different levels or types of protection from over-exploitation.- See Also:
- rs.gbif.org vocabulary
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CitesAppendix
valueOf(String name)
Returns the enum constant of this type with the specified name.static CitesAppendix[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
I
public static final CitesAppendix I
-
II
public static final CitesAppendix II
-
III
public static final CitesAppendix III
-
-
Method Detail
-
values
public static CitesAppendix[] 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 (CitesAppendix c : CitesAppendix.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CitesAppendix 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
-
-