Package org.opengis.metadata.acquisition
Class Priority
-
- All Implemented Interfaces:
Serializable,Comparable<Priority>,ControlledVocabulary
@UML(identifier="MI_PriorityCode", specification=ISO_19115_2) public final class Priority extends CodeList<Priority>
Ordered list of priorities.- Since:
- 2.3
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static PriorityCRITICALDecisive importance.static PriorityHIGH_IMPORTANCERequires resources to be made available.static PriorityLOW_IMPORTANCETo be completed when resources are availablestatic PriorityMEDIUM_IMPORTANCENormal operation priority.
-
Method Summary
Modifier and Type Method Description Priority[]family()Returns the list of codes of the same kind than this code list element.static PriorityvalueOf(String code)Returns the priority that matches the given string, or returns a new one if none match it.static Priority[]values()Returns the list ofPrioritys.
-
-
-
Field Detail
-
CRITICAL
@UML(identifier="critical", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Priority CRITICAL
Decisive importance.
-
HIGH_IMPORTANCE
@UML(identifier="highImportance", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Priority HIGH_IMPORTANCE
Requires resources to be made available.
-
MEDIUM_IMPORTANCE
@UML(identifier="mediumImportance", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Priority MEDIUM_IMPORTANCE
Normal operation priority.
-
LOW_IMPORTANCE
@UML(identifier="lowImportance", obligation=CONDITIONAL, specification=ISO_19115_2) public static final Priority LOW_IMPORTANCE
To be completed when resources are available
-
-
Method Detail
-
values
public static Priority[] values()
Returns the list ofPrioritys.- Returns:
- the list of codes declared in the current JVM.
-
family
public Priority[] family()
Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invokingvalues(), except that this method can be invoked on an instance of the parentCodeListclass.
-
valueOf
public static Priority valueOf(String code)
Returns the priority that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for whichname().equals(code)returnstrue. If no existing instance is found, then a new one is created for the given name.- Parameters:
code- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-
-