Package org.gbif.api.vocabulary
Enum OrganizationUsageSortField
- java.lang.Object
-
- java.lang.Enum<OrganizationUsageSortField>
-
- org.gbif.api.vocabulary.OrganizationUsageSortField
-
- All Implemented Interfaces:
Serializable
,Comparable<OrganizationUsageSortField>
public enum OrganizationUsageSortField extends Enum<OrganizationUsageSortField>
Fields to sort by the organization usages in an occurrence download.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNTRY_CODE
ORGANIZATION_TITLE
RECORD_COUNT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrganizationUsageSortField
valueOf(String name)
Returns the enum constant of this type with the specified name.static OrganizationUsageSortField[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORGANIZATION_TITLE
public static final OrganizationUsageSortField ORGANIZATION_TITLE
-
COUNTRY_CODE
public static final OrganizationUsageSortField COUNTRY_CODE
-
RECORD_COUNT
public static final OrganizationUsageSortField RECORD_COUNT
-
-
Method Detail
-
values
public static OrganizationUsageSortField[] 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 (OrganizationUsageSortField c : OrganizationUsageSortField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrganizationUsageSortField 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
-
-