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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class CodeList
CodeList.FilterModifier and TypeClassDescriptionstatic interfaceUsed byCodeList.valueOf(Class, Filter)to select codes matching an arbitrary criterion. -
Field Summary
Fields -
Method Summary
Methods inherited from class CodeList
compareTo, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOfModifier and TypeMethodDescriptionfinal intcompareTo(Priority other) Compares this code with the specified object for order.Returns the identifier declared in theUMLannotation, ornullif none.final Stringname()Returns the programmatic name of this code list constant.String[]names()Returns all the names of this code.final intordinal()Returns the ordinal of this code constant.protected ObjectResolves the code list to an unique instance after deserialization.Returns a string representation of this code list.static <T extends CodeList<T>>
TReturns the code of the given type that matches the given name, or returns a new one if none match it.static <T extends CodeList<T>>
TvalueOf(Class<T> codeType, CodeList.Filter filter) Returns the code of the given type that matches the given criterion, or returns a new one if none match it.
-
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
Returns the list ofPrioritys.- Returns:
- The list of codes declared in the current JVM.
-
family
-
valueOf
-