Package org.opengis.metadata.acquisition
Class Priority
- All Implemented Interfaces:
Serializable
,Comparable<Priority>
@UML(identifier="MI_PriorityCode",
specification=ISO_19115_2)
public final class Priority
extends CodeList<Priority>
Ordered list of priorities.
- Since:
- 2.3
- 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 Priority
Decisive importance.static final Priority
Requires resources to be made available.static final Priority
To be completed when resources are availablestatic final Priority
Normal operation priority.private static final long
Serial number for compatibility with different versions.List of all enumerations of this type. -
Constructor Summary
Constructors -
Method Summary
-
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. -
CRITICAL
@UML(identifier="critical", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Priority CRITICALDecisive importance. -
HIGH_IMPORTANCE
@UML(identifier="highImportance", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Priority HIGH_IMPORTANCERequires resources to be made available. -
MEDIUM_IMPORTANCE
@UML(identifier="mediumImportance", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Priority MEDIUM_IMPORTANCENormal operation priority. -
LOW_IMPORTANCE
@UML(identifier="lowImportance", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Priority LOW_IMPORTANCETo be completed when resources are available
-
-
Constructor Details
-
Priority
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 ofPriority
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum. -
valueOf
Returns the priority 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.
-