Package org.gbif.api.vocabulary
Enum OccurrenceSchemaType
- java.lang.Object
-
- java.lang.Enum<OccurrenceSchemaType>
-
- org.gbif.api.vocabulary.OccurrenceSchemaType
-
- All Implemented Interfaces:
Serializable
,Comparable<OccurrenceSchemaType>
public enum OccurrenceSchemaType extends Enum<OccurrenceSchemaType>
The slightly simplified standard schemas that a crawled occurrence record could be built in.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OccurrenceSchemaType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OccurrenceSchemaType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DWC_1_0
public static final OccurrenceSchemaType DWC_1_0
-
DWC_1_4
public static final OccurrenceSchemaType DWC_1_4
-
DWC_MANIS
public static final OccurrenceSchemaType DWC_MANIS
-
DWC_2009
public static final OccurrenceSchemaType DWC_2009
-
ABCD_1_2
public static final OccurrenceSchemaType ABCD_1_2
-
ABCD_2_0_6
public static final OccurrenceSchemaType ABCD_2_0_6
-
DWCA
public static final OccurrenceSchemaType DWCA
-
-
Method Detail
-
values
public static OccurrenceSchemaType[] 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 (OccurrenceSchemaType c : OccurrenceSchemaType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OccurrenceSchemaType 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
-
-