HiRISE

HiRISE.HiPlan.HiWeb
Enum Suggestion.ScienceTheme

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

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

An enumeration of the many HiRISE science themes.

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

Enum Constant Summary
CLIMATE_CHANGE
           
COMPOSITION_AND_PHOTOMETRY
           
EOLIAN_PROCESSES
           
FLUVIAL_PROCESSES
           
FUTURE_EXPLORATION_LANDING_SITES
           
GEOLOGIC_CONTACTS_STRATIGRAPHY
           
GLACIAL_PERIGLACIAL_PROCESSES
           
HYDROTHERMAL_PROCESSES
           
IMPACT_PROCESSES
           
LANDSCAPE_EVOLUTION
           
MASS_WASTING_PROCESSES
           
OTHER
           
POLAR_GEOLOGY
           
ROCKS_AND_REGOLITH
           
SEASONAL_PROCESSES
           
SEDIMENTARY_LAYERING_PROCESSES
           
TECTONIC_PROCESSES
           
VOLCANIC_PROCESSES
           
 
Method Summary
 int getId()
          Gets the database key ID for this science theme.
 String toString()
          Returns a string representation of the science theme.
static String transformText(String text)
          Returns a transformed string representation of a human-language string.
static Suggestion.ScienceTheme valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Suggestion.ScienceTheme[] 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

CLIMATE_CHANGE

public static final Suggestion.ScienceTheme CLIMATE_CHANGE

EOLIAN_PROCESSES

public static final Suggestion.ScienceTheme EOLIAN_PROCESSES

FLUVIAL_PROCESSES

public static final Suggestion.ScienceTheme FLUVIAL_PROCESSES

FUTURE_EXPLORATION_LANDING_SITES

public static final Suggestion.ScienceTheme FUTURE_EXPLORATION_LANDING_SITES

GEOLOGIC_CONTACTS_STRATIGRAPHY

public static final Suggestion.ScienceTheme GEOLOGIC_CONTACTS_STRATIGRAPHY

GLACIAL_PERIGLACIAL_PROCESSES

public static final Suggestion.ScienceTheme GLACIAL_PERIGLACIAL_PROCESSES

HYDROTHERMAL_PROCESSES

public static final Suggestion.ScienceTheme HYDROTHERMAL_PROCESSES

IMPACT_PROCESSES

public static final Suggestion.ScienceTheme IMPACT_PROCESSES

LANDSCAPE_EVOLUTION

public static final Suggestion.ScienceTheme LANDSCAPE_EVOLUTION

MASS_WASTING_PROCESSES

public static final Suggestion.ScienceTheme MASS_WASTING_PROCESSES

POLAR_GEOLOGY

public static final Suggestion.ScienceTheme POLAR_GEOLOGY

SEASONAL_PROCESSES

public static final Suggestion.ScienceTheme SEASONAL_PROCESSES

SEDIMENTARY_LAYERING_PROCESSES

public static final Suggestion.ScienceTheme SEDIMENTARY_LAYERING_PROCESSES

ROCKS_AND_REGOLITH

public static final Suggestion.ScienceTheme ROCKS_AND_REGOLITH

COMPOSITION_AND_PHOTOMETRY

public static final Suggestion.ScienceTheme COMPOSITION_AND_PHOTOMETRY

TECTONIC_PROCESSES

public static final Suggestion.ScienceTheme TECTONIC_PROCESSES

VOLCANIC_PROCESSES

public static final Suggestion.ScienceTheme VOLCANIC_PROCESSES

OTHER

public static final Suggestion.ScienceTheme OTHER
Method Detail

values

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

getId

public int getId()
Gets the database key ID for this science theme.

Returns:
the database key ID.

toString

public String toString()
Returns a string representation of the science theme. This representation is more human-language friendly rendering of the enumeration's identifier, which is useful for menus and the reporting of information back to the operator.

Overrides:
toString in class Enum<Suggestion.ScienceTheme>
Returns:
the string representation.

transformText

public static String transformText(String text)
Returns a transformed string representation of a human-language string. The transformed string is rendered in all caps, with leading and trailing whitespace trimmed away, and with punctuation and remaining whitespace replaced by underscores.

This transformation is that used in the derivation of the enumeration's identifiers from their original human-language representations. This method can be used on menu items that were derived from the enumeration's toString() method to get the enumeration value via the valueOf(java.lang.String) method.

Parameters:
text - the input text.
Returns:
the transformed text.

HiRISE

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