Package org.opengis.metadata.maintenance
Class MaintenanceFrequency
java.lang.Object
org.opengis.util.CodeList<MaintenanceFrequency>
org.opengis.metadata.maintenance.MaintenanceFrequency
- All Implemented Interfaces:
Serializable
,Comparable<MaintenanceFrequency>
@UML(identifier="MD_MaintenanceFrequencyCode",
specification=ISO_19115)
public final class MaintenanceFrequency
extends CodeList<MaintenanceFrequency>
Frequency with which modifications and deletions are made to the data after it is
first produced.
- Since:
- 2.0
- Version:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MaintenanceFrequency
Data is updated every year.static final MaintenanceFrequency
Data is updated as deemed necessary.static final MaintenanceFrequency
Data is updated twice each year.static final MaintenanceFrequency
Data is repeatedly and frequently updated.static final MaintenanceFrequency
Data is updated each day.static final MaintenanceFrequency
Data is updated every two weeks.static final MaintenanceFrequency
Data is updated in intervals that are uneven in duration.static final MaintenanceFrequency
Data is updated each month.static final MaintenanceFrequency
There are no plans to update the data.static final MaintenanceFrequency
Data is updated every three months.private static final long
Serial number for compatibility with different versions.static final MaintenanceFrequency
Deprecated.static final MaintenanceFrequency
Frequency of maintenance for the data is not knownprivate static final List
<MaintenanceFrequency> List of all enumerations of this type.static final MaintenanceFrequency
Data is updated on a weekly basis. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
MaintenanceFrequency
(String name) Constructs an enum with the given name. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of enumerations of the same kind than this enum.static MaintenanceFrequency
Returns the maintenance frequency that matches the given string, or returns a new one if none match it.static MaintenanceFrequency[]
values()
Returns the list ofMaintenanceFrequency
s.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for compatibility with different versions.- See Also:
-
VALUES
List of all enumerations of this type. Must be declared before any enum declaration. -
CONTINUAL
@UML(identifier="continual", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency CONTINUALData is repeatedly and frequently updated. -
DAILY
@UML(identifier="daily", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency DAILYData is updated each day. -
WEEKLY
@UML(identifier="weekly", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency WEEKLYData is updated on a weekly basis. -
FORTNIGHTLY
@UML(identifier="fortnightly", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency FORTNIGHTLYData is updated every two weeks. -
MONTHLY
@UML(identifier="monthly", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency MONTHLYData is updated each month. -
QUARTERLY
@UML(identifier="quarterly", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency QUARTERLYData is updated every three months. -
BIANNUALLY
@UML(identifier="biannually", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency BIANNUALLYData is updated twice each year. -
ANNUALLY
@UML(identifier="annually", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency ANNUALLYData is updated every year. -
AS_NEEDED
@UML(identifier="asNeeded", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency AS_NEEDEDData is updated as deemed necessary. -
IRREGULAR
@UML(identifier="irregular", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency IRREGULARData is updated in intervals that are uneven in duration. -
NOT_PLANNED
@UML(identifier="notPlanned", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency NOT_PLANNEDThere are no plans to update the data. -
UNKNOWN
@UML(identifier="unknown", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency UNKNOWNFrequency of maintenance for the data is not known -
UNKNOW
Deprecated.RenamedUNKNOWN
.
-
-
Constructor Details
-
MaintenanceFrequency
Constructs an enum with the given name. The new enum is automatically added to the list returned byvalues()
.- Parameters:
name
- The enum name. This name must not be in use by an other enum of this type.
-
-
Method Details
-
values
Returns the list ofMaintenanceFrequency
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<MaintenanceFrequency>
- Returns:
- The codes of the same kind than this code.
-
valueOf
Returns the maintenance frequency that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-
UNKNOWN
.