- 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
-
Method Summary
Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
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
-
-
Method Details
-
values
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class. -
valueOf
Returns the priority that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. 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.
-