HiRISE

HiRISE.HiCat.HiTList
Enum PriorityList

java.lang.Object
  extended by java.lang.Enum<PriorityList>
      extended by HiRISE.HiCat.HiTList.PriorityList
All Implemented Interfaces:
Serializable, Comparable<PriorityList>

public enum PriorityList
extends Enum<PriorityList>

The complete list of all defined target priorities, their string representations in the database, and how they should be labeled in the HiTList UI.

Version:
1.3
Author:
Rodneyd Heyd

Enum Constant Summary
PRIORITY0
           
PRIORITY1
           
PRIORITY10
           
PRIORITY11
           
PRIORITY12
           
PRIORITY13
           
PRIORITY14
           
PRIORITY15
           
PRIORITY2
           
PRIORITY3
           
PRIORITY4
           
PRIORITY5
           
PRIORITY6
           
PRIORITY7
           
PRIORITY8
           
PRIORITY9
           
UNASSIGNED
           
 
Method Summary
 String dbPriorityName()
           
 String displayName()
           
 Integer position()
          The integer position of the priority in the priority list.
 String toString()
           
static PriorityList valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PriorityList[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNASSIGNED

public static final PriorityList UNASSIGNED

PRIORITY0

public static final PriorityList PRIORITY0

PRIORITY1

public static final PriorityList PRIORITY1

PRIORITY2

public static final PriorityList PRIORITY2

PRIORITY3

public static final PriorityList PRIORITY3

PRIORITY4

public static final PriorityList PRIORITY4

PRIORITY5

public static final PriorityList PRIORITY5

PRIORITY6

public static final PriorityList PRIORITY6

PRIORITY7

public static final PriorityList PRIORITY7

PRIORITY8

public static final PriorityList PRIORITY8

PRIORITY9

public static final PriorityList PRIORITY9

PRIORITY10

public static final PriorityList PRIORITY10

PRIORITY11

public static final PriorityList PRIORITY11

PRIORITY12

public static final PriorityList PRIORITY12

PRIORITY13

public static final PriorityList PRIORITY13

PRIORITY14

public static final PriorityList PRIORITY14

PRIORITY15

public static final PriorityList PRIORITY15
Method Detail

values

public static PriorityList[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PriorityList c : PriorityList.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PriorityList valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

dbPriorityName

public String dbPriorityName()
Returns:
the String representation of the priority

position

public Integer position()
The integer position of the priority in the priority list.

Returns:
an Integer that defines the position of the priority within the database enumeration.

displayName

public String displayName()
Returns:
- a String that may be a short hand name for the priority to be displayed in a GUI element (for example).
See Also:
toString()

toString

public String toString()
Overrides:
toString in class Enum<PriorityList>

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona