Package org.gbif.api.vocabulary
Enum Class PreservationMethodType
- All Implemented Interfaces:
Serializable
,Comparable<PreservationMethodType>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlcohol.Deep frozen.Dried.Dried and pressed.Formalin.Freeze dried.Glycerin.Gum Arabic.Microscopic preparation.Mounted.No treatment.Other.Pinned.Refrigerated. -
Method Summary
Modifier and TypeMethodDescriptionstatic PreservationMethodType
Returns the enum constant of this class with the specified name.static PreservationMethodType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NO_TREATMENT
No treatment. -
ALCOHOL
Alcohol. -
DEEP_FROZEN
Deep frozen. -
DRIED
Dried. -
DRIED_AND_PRESSED
Dried and pressed. -
FORMALIN
Formalin. -
REFRIGERATED
Refrigerated. -
FREEZE_DRIED
Freeze dried. -
GLYCERIN
Glycerin. -
GUM_ARABIC
Gum Arabic. -
MICROSCOPIC_PREPARATION
Microscopic preparation. -
MOUNTED
Mounted. -
PINNED
Pinned. -
OTHER
Other.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-