gov.nasa.gsfc.spdf.ssc
Enum ResultStatusSubCode

java.lang.Object
  extended by java.lang.Enum<ResultStatusSubCode>
      extended by gov.nasa.gsfc.spdf.ssc.ResultStatusSubCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResultStatusSubCode>

public enum ResultStatusSubCode
extends java.lang.Enum<ResultStatusSubCode>

This class represents Result status sub-code values.

Version:
$Revison: $
Author:
B. Harris

Enum Constant Summary
INVALID_BEGIN_TIME
          The required begin time value was missing or invalid.
INVALID_END_TIME
          The required end time value was missing or invalid.
INVALID_RESOLUTION_FACTOR
          Invalid resolution factor value.
INVALID_SATELLITE
          A specified satellite is invalid or null.
INVALID_TIME_RANGE
          Invalid time range.
MISSING_COORDINATE_COMPONENT
          A required CoordinateComponent value is missing or null.
MISSING_COORDINATE_SYSTEM
          A required CoordinateSystem value is missing or null.
MISSING_GRAPH_OPTIONS
          The GraphOptions were missing or null.
MISSING_OUTPUT_OPTIONS
          The OutputOptions were missing or null.
MISSING_REQUEST
          The required request object was missing or null.
MISSING_SATELLITES
          The required set of satellites was empty or null.
SERVER_ERROR
          Server error.
SUCCESS
          Successful status.
 
Method Summary
static ResultStatusSubCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ResultStatusSubCode[] 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

SUCCESS

public static final ResultStatusSubCode SUCCESS
Successful status.


MISSING_REQUEST

public static final ResultStatusSubCode MISSING_REQUEST
The required request object was missing or null.


MISSING_SATELLITES

public static final ResultStatusSubCode MISSING_SATELLITES
The required set of satellites was empty or null.


INVALID_BEGIN_TIME

public static final ResultStatusSubCode INVALID_BEGIN_TIME
The required begin time value was missing or invalid.


INVALID_END_TIME

public static final ResultStatusSubCode INVALID_END_TIME
The required end time value was missing or invalid.


INVALID_SATELLITE

public static final ResultStatusSubCode INVALID_SATELLITE
A specified satellite is invalid or null.


INVALID_TIME_RANGE

public static final ResultStatusSubCode INVALID_TIME_RANGE
Invalid time range. The request contained an invalid time range.


INVALID_RESOLUTION_FACTOR

public static final ResultStatusSubCode INVALID_RESOLUTION_FACTOR
Invalid resolution factor value.


MISSING_OUTPUT_OPTIONS

public static final ResultStatusSubCode MISSING_OUTPUT_OPTIONS
The OutputOptions were missing or null.


MISSING_GRAPH_OPTIONS

public static final ResultStatusSubCode MISSING_GRAPH_OPTIONS
The GraphOptions were missing or null.


MISSING_COORDINATE_SYSTEM

public static final ResultStatusSubCode MISSING_COORDINATE_SYSTEM
A required CoordinateSystem value is missing or null.


MISSING_COORDINATE_COMPONENT

public static final ResultStatusSubCode MISSING_COORDINATE_COMPONENT
A required CoordinateComponent value is missing or null.


SERVER_ERROR

public static final ResultStatusSubCode SERVER_ERROR
Server error. An unexpected error occurred on the server.

Method Detail

values

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

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

valueOf

public static ResultStatusSubCode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


SSC Feedback.

Copyright © 2003-2008 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Right s Reserved.