HiRISE

HiRISE.HiPlan.HiWeb
Enum Suggestion.ApprovalStatus

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

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

An enumeration of the possible values of the suggestion's approval status.

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

Enum Constant Summary
APPROVED
          Indicates the suggestion's description has been approved by an STL.
PENDING
          Indicates approval of the suggestion's description is pending approval of an STL.
REJECTED
          Indivates the suggestion's description has been rejected by an STL.
 
Method Summary
static Suggestion.ApprovalStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Suggestion.ApprovalStatus[] 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

APPROVED

public static final Suggestion.ApprovalStatus APPROVED
Indicates the suggestion's description has been approved by an STL.


PENDING

public static final Suggestion.ApprovalStatus PENDING
Indicates approval of the suggestion's description is pending approval of an STL.


REJECTED

public static final Suggestion.ApprovalStatus REJECTED
Indivates the suggestion's description has been rejected by an STL. The suggestion will most likely be deleted.

Method Detail

values

public static Suggestion.ApprovalStatus[] 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.ApprovalStatus c : Suggestion.ApprovalStatus.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.ApprovalStatus 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