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 MaintenanceFrequencyANNUALLYData is updated every year.static MaintenanceFrequencyAS_NEEDEDData is updated as deemed necessary.static MaintenanceFrequencyBIANNUALLYData is updated twice each year.static MaintenanceFrequencyCONTINUALData is repeatedly and frequently updated.static MaintenanceFrequencyDAILYData is updated each day.static MaintenanceFrequencyFORTNIGHTLYData is updated every two weeks.static MaintenanceFrequencyIRREGULARData is updated in intervals that are uneven in duration.static MaintenanceFrequencyMONTHLYData is updated each month.static MaintenanceFrequencyNOT_PLANNEDThere are no plans to update the data.static MaintenanceFrequencyQUARTERLYData is updated every three months.private static longserialVersionUIDSerial number for compatibility with different versions.static MaintenanceFrequencyUNKNOWDeprecated.RenamedUNKNOWN.static MaintenanceFrequencyUNKNOWNFrequency of maintenance for the data is not knownprivate static java.util.List<MaintenanceFrequency>VALUESList of all enumerations of this type.static MaintenanceFrequencyWEEKLYData is updated on a weekly basis.
-
Constructor Summary
Constructors Modifier Constructor Description privateMaintenanceFrequency(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 MaintenanceFrequencyvalueOf(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 ofMaintenanceFrequencys.
-
-
-
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 ofMaintenanceFrequencys.- 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:
familyin 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.
-
-