HiRISE

HiRISE.HiPlan.HiWeb
Enum Suggestion.TargetName

java.lang.Object
  extended by java.lang.Enum<Suggestion.TargetName>
      extended by HiRISE.HiPlan.HiWeb.Suggestion.TargetName
All Implemented Interfaces:
Serializable, Comparable<Suggestion.TargetName>
Enclosing class:
Suggestion

public static enum Suggestion.TargetName
extends Enum<Suggestion.TargetName>

An enumeration of the possible values for the suggestion's target. These target names match those of the actual observation itself, although the observation has the additional value NOOP.

Version:
1.9
Author:
Guy McArthur, Christian Schaller - UA/PIRL

Enum Constant Summary
CAL
          Indicates the suggestion's target is a calibration event.
DEIMOS
          Indicates the suggestion's target is Deimos.
LUNA
          Indicates the suggestion's target is the Earth's moon.
MARS
          Indicates the suggestion's target is Mars.
MOON
          Indicates the suggestion's target is the Earth's moon.
NONE
          Indicates the suggestion has no target and has been removed from the planning cycle entirely.
NOPROC
          Indicates the suggestion's target irrelevant to the planning process.
PHOBOS
          Indicates the suggestion's target is Phobos.
SKY
          Indicates the suggestion's target is the sky or stars.
STARS
          Indicates the suggestion's target is one or more stars.
 
Method Summary
static Suggestion.TargetName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Suggestion.TargetName[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MARS

public static final Suggestion.TargetName MARS
Indicates the suggestion's target is Mars.


STARS

public static final Suggestion.TargetName STARS
Indicates the suggestion's target is one or more stars. This target name not allowed by the PDS; it should not be used. It is present for backwards compatibility only. Use SKY instead.


PHOBOS

public static final Suggestion.TargetName PHOBOS
Indicates the suggestion's target is Phobos.


DEIMOS

public static final Suggestion.TargetName DEIMOS
Indicates the suggestion's target is Deimos.


SKY

public static final Suggestion.TargetName SKY
Indicates the suggestion's target is the sky or stars.


CAL

public static final Suggestion.TargetName CAL
Indicates the suggestion's target is a calibration event.


LUNA

public static final Suggestion.TargetName LUNA
Indicates the suggestion's target is the Earth's moon. This target name is not allowed by the PDS; it should not be used. It is present for backwards compatibility only. Use MOON instead.


MOON

public static final Suggestion.TargetName MOON
Indicates the suggestion's target is the Earth's moon.


NONE

public static final Suggestion.TargetName NONE
Indicates the suggestion has no target and has been removed from the planning cycle entirely. The original HiWeb application set the target to NONE when "deleting" a suggestion; the suggestion itself was never really removed from the database.


NOPROC

public static final Suggestion.TargetName NOPROC
Indicates the suggestion's target irrelevant to the planning process. The resulting observation will not be processed automatically on the ground.

Method Detail

values

public static Suggestion.TargetName[] 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 (Suggestion.TargetName c : Suggestion.TargetName.values())
    System.out.println(c);

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

valueOf

public static Suggestion.TargetName 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

HiRISE

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