org.opengis.metadata.acquisition
Class Priority

Object
  extended by CodeList<Priority>
      extended by 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:
GeoAPI 2.3
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
 
Field Summary
static Priority CRITICAL
          Decisive importance.
static Priority HIGH_IMPORTANCE
          Requires resources to be made available.
static Priority LOW_IMPORTANCE
          To be completed when resources are available
static Priority MEDIUM_IMPORTANCE
          Normal operation priority.
 
Method Summary
 Priority[] family()
          Returns the list of enumerations of the same kind than this enum.
static Priority valueOf(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 of Prioritys.
 
Methods inherited from class CodeList
compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 of Prioritys.

Returns:
The list of codes declared in the current JVM.

family

public Priority[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<Priority>
Returns:
The codes of the same kind than this code.

valueOf

public static Priority valueOf(String code)
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.


Copyright © 1994-2011 Open Geospatial Consortium. All Rights Reserved.