Package org.gbif.api.vocabulary
Enum PreservationMethodType
- java.lang.Object
-
- java.lang.Enum<PreservationMethodType>
-
- org.gbif.api.vocabulary.PreservationMethodType
-
- All Implemented Interfaces:
Serializable
,Comparable<PreservationMethodType>
public enum PreservationMethodType extends Enum<PreservationMethodType>
The definition of the available preservation method types (the method used to preserve specimens). With no exceptions, it mirrors the Preservation Method GBIF Vocabulary: link{http://rs.gbif.org/vocabulary/gbif/preservation_method.xml} and similarly This vocabulary was based on the PreservationMethodClassVoc from the BioCASe MetaProfile.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALCOHOL
Alcohol.DEEP_FROZEN
Deep frozen.DRIED
Dried.DRIED_AND_PRESSED
Dried and pressed.FORMALIN
Formalin.FREEZE_DRIED
Freeze dried.GLYCERIN
Glycerin.GUM_ARABIC
Gum Arabic.MICROSCOPIC_PREPARATION
Microscopic preparation.MOUNTED
Mounted.NO_TREATMENT
No treatment.OTHER
Other.PINNED
Pinned.REFRIGERATED
Refrigerated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PreservationMethodType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PreservationMethodType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_TREATMENT
public static final PreservationMethodType NO_TREATMENT
No treatment.
-
ALCOHOL
public static final PreservationMethodType ALCOHOL
Alcohol.
-
DEEP_FROZEN
public static final PreservationMethodType DEEP_FROZEN
Deep frozen.
-
DRIED
public static final PreservationMethodType DRIED
Dried.
-
DRIED_AND_PRESSED
public static final PreservationMethodType DRIED_AND_PRESSED
Dried and pressed.
-
FORMALIN
public static final PreservationMethodType FORMALIN
Formalin.
-
REFRIGERATED
public static final PreservationMethodType REFRIGERATED
Refrigerated.
-
FREEZE_DRIED
public static final PreservationMethodType FREEZE_DRIED
Freeze dried.
-
GLYCERIN
public static final PreservationMethodType GLYCERIN
Glycerin.
-
GUM_ARABIC
public static final PreservationMethodType GUM_ARABIC
Gum Arabic.
-
MICROSCOPIC_PREPARATION
public static final PreservationMethodType MICROSCOPIC_PREPARATION
Microscopic preparation.
-
MOUNTED
public static final PreservationMethodType MOUNTED
Mounted.
-
PINNED
public static final PreservationMethodType PINNED
Pinned.
-
OTHER
public static final PreservationMethodType OTHER
Other.
-
-
Method Detail
-
values
public static PreservationMethodType[] 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 (PreservationMethodType c : PreservationMethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PreservationMethodType 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
-
-