Package org.opengis.metadata.maintenance
Class MaintenanceFrequency
- java.lang.Object
-
- org.opengis.util.CodeList<MaintenanceFrequency>
-
- org.opengis.metadata.maintenance.MaintenanceFrequency
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static MaintenanceFrequency
ANNUALLY
Data is updated every year.static MaintenanceFrequency
AS_NEEDED
Data is updated as deemed necessary.static MaintenanceFrequency
BIANNUALLY
Data is updated twice each year.static MaintenanceFrequency
CONTINUAL
Data is repeatedly and frequently updated.static MaintenanceFrequency
DAILY
Data is updated each day.static MaintenanceFrequency
FORTNIGHTLY
Data is updated every two weeks.static MaintenanceFrequency
IRREGULAR
Data is updated in intervals that are uneven in duration.static MaintenanceFrequency
MONTHLY
Data is updated each month.static MaintenanceFrequency
NOT_PLANNED
There are no plans to update the data.static MaintenanceFrequency
QUARTERLY
Data is updated every three months.private static long
serialVersionUID
Serial number for compatibility with different versions.static MaintenanceFrequency
UNKNOW
Deprecated.RenamedUNKNOWN
.static MaintenanceFrequency
UNKNOWN
Frequency of maintenance for the data is not knownprivate static java.util.List<MaintenanceFrequency>
VALUES
List of all enumerations of this type.static MaintenanceFrequency
WEEKLY
Data is updated on a weekly basis.
-
Constructor Summary
Constructors Modifier Constructor Description private
MaintenanceFrequency(java.lang.String name)
Constructs an enum with the given name.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MaintenanceFrequency[]
family()
Returns the list of enumerations of the same kind than this enum.static MaintenanceFrequency
valueOf(java.lang.String code)
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 Detail
-
serialVersionUID
private static final long serialVersionUID
Serial number for compatibility with different versions.- See Also:
- Constant Field Values
-
VALUES
private static final java.util.List<MaintenanceFrequency> 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 CONTINUAL
Data is repeatedly and frequently updated.
-
DAILY
@UML(identifier="daily", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency DAILY
Data is updated each day.
-
WEEKLY
@UML(identifier="weekly", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency WEEKLY
Data is updated on a weekly basis.
-
FORTNIGHTLY
@UML(identifier="fortnightly", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency FORTNIGHTLY
Data is updated every two weeks.
-
MONTHLY
@UML(identifier="monthly", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency MONTHLY
Data is updated each month.
-
QUARTERLY
@UML(identifier="quarterly", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency QUARTERLY
Data is updated every three months.
-
BIANNUALLY
@UML(identifier="biannually", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency BIANNUALLY
Data is updated twice each year.
-
ANNUALLY
@UML(identifier="annually", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency ANNUALLY
Data is updated every year.
-
AS_NEEDED
@UML(identifier="asNeeded", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency AS_NEEDED
Data is updated as deemed necessary.
-
IRREGULAR
@UML(identifier="irregular", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency IRREGULAR
Data is updated in intervals that are uneven in duration.
-
NOT_PLANNED
@UML(identifier="notPlanned", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency NOT_PLANNED
There are no plans to update the data.
-
UNKNOWN
@UML(identifier="unknown", obligation=CONDITIONAL, specification=ISO_19115) public static final MaintenanceFrequency UNKNOWN
Frequency of maintenance for the data is not known
-
UNKNOW
@Deprecated public static final MaintenanceFrequency UNKNOW
Deprecated.RenamedUNKNOWN
.
-
-
Constructor Detail
-
MaintenanceFrequency
private MaintenanceFrequency(java.lang.String name)
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 Detail
-
values
public static MaintenanceFrequency[] values()
Returns the list ofMaintenanceFrequency
s.- Returns:
- The list of codes declared in the current JVM.
-
family
public MaintenanceFrequency[] 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
public static MaintenanceFrequency valueOf(java.lang.String code)
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.
-
-