HiRISE

HiRISE.HiPlan.HiWeb
Enum Suggestion.RelationType

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

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

An enumeration of the possible relation types between suggestions.

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

Enum Constant Summary
HYPOTHESIS
          Indicates the suggestion is part of a set of suggestions related by a scientific hypothesis.
SEASONAL
          Indicates the suggestion is part of a seasonal set.
STEREO
          Indicates the suggestion is part of a stereo pair.
 
Method Summary
static Suggestion.RelationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Suggestion.RelationType[] 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

STEREO

public static final Suggestion.RelationType STEREO
Indicates the suggestion is part of a stereo pair.


SEASONAL

public static final Suggestion.RelationType SEASONAL
Indicates the suggestion is part of a seasonal set.


HYPOTHESIS

public static final Suggestion.RelationType HYPOTHESIS
Indicates the suggestion is part of a set of suggestions related by a scientific hypothesis.

This relation type is currently unused.

Method Detail

values

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