Enum VerbatimTimePeriodType
- java.lang.Object
-
- java.lang.Enum<VerbatimTimePeriodType>
-
- org.gbif.api.model.registry.eml.temporal.VerbatimTimePeriodType
-
- All Implemented Interfaces:
Serializable
,Comparable<VerbatimTimePeriodType>
public enum VerbatimTimePeriodType extends Enum<VerbatimTimePeriodType>
The definition of the available contact types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORMATION_PERIOD
LIVING_TIME_PERIOD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VerbatimTimePeriodType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VerbatimTimePeriodType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORMATION_PERIOD
public static final VerbatimTimePeriodType FORMATION_PERIOD
-
LIVING_TIME_PERIOD
public static final VerbatimTimePeriodType LIVING_TIME_PERIOD
-
-
Method Detail
-
values
public static VerbatimTimePeriodType[] 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 (VerbatimTimePeriodType c : VerbatimTimePeriodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerbatimTimePeriodType 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
-
-