Package org.gbif.api.vocabulary
Enum MaintenanceUpdateFrequency
- java.lang.Object
-
- java.lang.Enum<MaintenanceUpdateFrequency>
-
- org.gbif.api.vocabulary.MaintenanceUpdateFrequency
-
- All Implemented Interfaces:
Serializable
,Comparable<MaintenanceUpdateFrequency>
public enum MaintenanceUpdateFrequency extends Enum<MaintenanceUpdateFrequency>
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:
- rs.gbif.org vocabulary, EML Enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNUALLY
Updated 1 time each year.AS_NEEDED
Updated as needed.BIANNUALLY
Updated 2 times each year.CONTINUALLY
Updated continually.DAILY
Updated 1 time each day.IRREGULAR
Updated at irregular intervals.MONTHLY
Updated 1 time each month.NOT_PLANNED
Further updates are not planned.OTHER_MAINTENANCE_PERIOD
Updated according to some other interval.UNKNOWN
Further updates may still happen, but it is not known for sure.UNKOWN
Deprecated.WEEKLY
Updated 1 time each week.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MaintenanceUpdateFrequency
fromString(String frequency)
static MaintenanceUpdateFrequency
valueOf(String name)
Returns the enum constant of this type with the specified name.static MaintenanceUpdateFrequency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAILY
public static final MaintenanceUpdateFrequency DAILY
Updated 1 time each day.
-
WEEKLY
public static final MaintenanceUpdateFrequency WEEKLY
Updated 1 time each week.
-
MONTHLY
public static final MaintenanceUpdateFrequency MONTHLY
Updated 1 time each month.
-
BIANNUALLY
public static final MaintenanceUpdateFrequency BIANNUALLY
Updated 2 times each year.
-
ANNUALLY
public static final MaintenanceUpdateFrequency ANNUALLY
Updated 1 time each year.
-
AS_NEEDED
public static final MaintenanceUpdateFrequency AS_NEEDED
Updated as needed.
-
CONTINUALLY
public static final MaintenanceUpdateFrequency CONTINUALLY
Updated continually.
-
IRREGULAR
public static final MaintenanceUpdateFrequency IRREGULAR
Updated at irregular intervals.
-
NOT_PLANNED
public static final MaintenanceUpdateFrequency NOT_PLANNED
Further updates are not planned.
-
UNKOWN
@Deprecated public static final MaintenanceUpdateFrequency UNKOWN
Deprecated.Further updates may still happen, but it is not known for sure. Note: typo matches EML enumeration. Deprecated - useUNKNOWN
instead.
-
UNKNOWN
public static final MaintenanceUpdateFrequency UNKNOWN
Further updates may still happen, but it is not known for sure.
-
OTHER_MAINTENANCE_PERIOD
public static final MaintenanceUpdateFrequency OTHER_MAINTENANCE_PERIOD
Updated according to some other interval.
-
-
Method Detail
-
values
public static MaintenanceUpdateFrequency[] 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 (MaintenanceUpdateFrequency c : MaintenanceUpdateFrequency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaintenanceUpdateFrequency 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
-
fromString
public static MaintenanceUpdateFrequency fromString(String frequency)
- Returns:
- the matching MaintenanceUpdateFrequency or null
-
-