Package org.gbif.api.vocabulary
Enum Extension
- java.lang.Object
-
- java.lang.Enum<Extension>
-
- org.gbif.api.vocabulary.Extension
-
- All Implemented Interfaces:
Serializable
,Comparable<Extension>
public enum Extension extends Enum<Extension>
Enumeration of dwc extensions for both Occurrence and Taxon that are indexed by GBIF.- See Also:
- GBIF Resources
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Map<Extension,String>
availableExtensionResources()
static Set<Extension>
availableExtensions()
static Extension
fromRowType(String rowType)
String
getRowType()
static Extension
valueOf(String name)
Returns the enum constant of this type with the specified name.static Extension[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUDUBON
public static final Extension AUDUBON
- See Also:
- extension definition
-
AMPLIFICATION
public static final Extension AMPLIFICATION
- See Also:
- extension definition
-
DESCRIPTION
public static final Extension DESCRIPTION
- See Also:
- extension definition
-
DISTRIBUTION
public static final Extension DISTRIBUTION
- See Also:
- extension definition
-
EOL_MEDIA
public static final Extension EOL_MEDIA
- See Also:
- extension definition
-
EOL_REFERENCE
public static final Extension EOL_REFERENCE
- See Also:
- extension definition
-
GERMPLASM_ACCESSION
public static final Extension GERMPLASM_ACCESSION
- See Also:
- extension definition
-
GERMPLASM_MEASUREMENT_SCORE
public static final Extension GERMPLASM_MEASUREMENT_SCORE
- See Also:
- extension definition
-
GERMPLASM_MEASUREMENT_TRAIT
public static final Extension GERMPLASM_MEASUREMENT_TRAIT
- See Also:
- extension definition
-
GERMPLASM_MEASUREMENT_TRIAL
public static final Extension GERMPLASM_MEASUREMENT_TRIAL
- See Also:
- extension definition
-
IDENTIFICATION
public static final Extension IDENTIFICATION
- See Also:
- extension definition
-
IDENTIFIER
public static final Extension IDENTIFIER
- See Also:
- extension definition
-
IMAGE
public static final Extension IMAGE
- See Also:
- extension definition
-
MEASUREMENT_OR_FACT
public static final Extension MEASUREMENT_OR_FACT
- See Also:
- extension definition
-
MULTIMEDIA
public static final Extension MULTIMEDIA
- See Also:
- extension definition
-
REFERENCE
public static final Extension REFERENCE
- See Also:
- extension definition
-
RESOURCE_RELATIONSHIP
public static final Extension RESOURCE_RELATIONSHIP
- See Also:
- extension definition
-
SPECIES_PROFILE
public static final Extension SPECIES_PROFILE
- See Also:
- extension definition
-
TYPES_AND_SPECIMEN
public static final Extension TYPES_AND_SPECIMEN
- See Also:
- extension definition
-
VERNACULAR_NAME
public static final Extension VERNACULAR_NAME
- See Also:
- extension definition
-
CLONING
public static final Extension CLONING
- See Also:
- extension definition
-
GEL_IMAGE
public static final Extension GEL_IMAGE
- See Also:
- extension definition
-
LOAN
public static final Extension LOAN
- See Also:
- extension definition
-
MATERIAL_SAMPLE
public static final Extension MATERIAL_SAMPLE
- See Also:
- extension definition
-
PERMIT
public static final Extension PERMIT
- See Also:
- extension definition
-
PREPARATION
public static final Extension PREPARATION
- See Also:
- extension definition
-
PRESERVATION
public static final Extension PRESERVATION
- See Also:
- extension definition
-
EXTENDED_MEASUREMENT_OR_FACT
public static final Extension EXTENDED_MEASUREMENT_OR_FACT
- See Also:
- extension definition
-
CHRONOMETRIC_AGE
public static final Extension CHRONOMETRIC_AGE
- See Also:
- extension definition
-
CHRONOMETRIC_DATE
public static final Extension CHRONOMETRIC_DATE
- See Also:
- extension definition
-
DNA_DERIVED_DATA
public static final Extension DNA_DERIVED_DATA
- See Also:
- extension definition
-
-
Method Detail
-
values
public static Extension[] 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 (Extension c : Extension.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Extension 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
-
fromRowType
public static Extension fromRowType(String rowType)
- Parameters:
rowType
- the case-insensitive row type uri for the extension- Returns:
- the matching extension or null
-
getRowType
public String getRowType()
-
availableExtensionResources
public static Map<Extension,String> availableExtensionResources()
-
availableExtensions
public static Set<Extension> availableExtensions()
-
-