Package gov.nasa.gsfc.spdf.ssc
Enum ResultStatusSubCode
- java.lang.Object
-
- java.lang.Enum<ResultStatusSubCode>
-
- 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 representsResult
status sub-code values.- Version:
- $Revison: $
- Author:
- B. Harris
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_BEGIN_TIME
The required begin time value was missing or invalid.INVALID_COORD_SYSTEM
Invalid CoordinateSystem value.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_COORD_COMPONENT
The CoordinateOptions contain a null value for the CoordinateComponent.MISSING_COORD_OPTIONS
The OutputOptions contain a null element in non-empty List of FilteredCoordinateOptions.MISSING_COORD_SYSTEM
The CoordinateOptions contain a null value for the CoordinateSystem.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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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_COORD_OPTIONS
public static final ResultStatusSubCode MISSING_COORD_OPTIONS
The OutputOptions contain a null element in non-empty List of FilteredCoordinateOptions.
-
MISSING_COORD_SYSTEM
public static final ResultStatusSubCode MISSING_COORD_SYSTEM
The CoordinateOptions contain a null value for the CoordinateSystem.
-
INVALID_COORD_SYSTEM
public static final ResultStatusSubCode INVALID_COORD_SYSTEM
Invalid CoordinateSystem value.
-
MISSING_COORD_COMPONENT
public static final ResultStatusSubCode MISSING_COORD_COMPONENT
The CoordinateOptions contain a null value for the CoordinateComponent.
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-