Package org.gbif.api.vocabulary
Enum Class MaintenanceUpdateFrequency
- All Implemented Interfaces:
Serializable
,Comparable<MaintenanceUpdateFrequency>
,Constable
Enumeration for describing the frequency with which changes and additions are made to the dataset after the initial
dataset is completed. Based on the EML v2.1.1 MaintUpFreqType enumeration.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUpdated 1 time each year.Updated as needed.Updated 2 times each year.Updated continually.Updated 1 time each day.Updated at irregular intervals.Updated 1 time each month.Further updates are not planned.Updated according to some other interval.Further updates may still happen, but it is not known for sure.Deprecated.Updated 1 time each week. -
Method Summary
Modifier and TypeMethodDescriptionstatic MaintenanceUpdateFrequency
fromString
(String frequency) static MaintenanceUpdateFrequency
Returns the enum constant of this class with the specified name.static MaintenanceUpdateFrequency[]
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
-
DAILY
Updated 1 time each day. -
WEEKLY
Updated 1 time each week. -
MONTHLY
Updated 1 time each month. -
BIANNUALLY
Updated 2 times each year. -
ANNUALLY
Updated 1 time each year. -
AS_NEEDED
Updated as needed. -
CONTINUALLY
Updated continually. -
IRREGULAR
Updated at irregular intervals. -
NOT_PLANNED
Further updates are not planned. -
UNKOWN
Deprecated.Further updates may still happen, but it is not known for sure. Note: typo matches EML enumeration. Deprecated - useUNKNOWN
instead. -
UNKNOWN
Further updates may still happen, but it is not known for sure. -
OTHER_MAINTENANCE_PERIOD
Updated according to some other interval.
-
-
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
-
fromString
- Returns:
- the matching MaintenanceUpdateFrequency or null
-