gov.nasa.gsfc.drl.rtstps.core.output.hdf5
Enum SpacecraftId

java.lang.Object
  extended by java.lang.Enum<SpacecraftId>
      extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.SpacecraftId
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SpacecraftId>

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

The spacecraft identifier is defined by the JPSS/NPOESS specification


Enum Constant Summary
n01
           
n02
           
n03
           
npp
           
 
Field Summary
private  java.lang.String description
           
 
Method Summary
 java.lang.String getDescription()
          Return the description of the identifier
 java.lang.String toString()
          Return the enum label as an all upper case
 java.lang.String toStringLower()
          Return the label as a lower case String
static SpacecraftId valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SpacecraftId[] 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

npp

public static final SpacecraftId npp

n01

public static final SpacecraftId n01

n02

public static final SpacecraftId n02

n03

public static final SpacecraftId n03
Field Detail

description

private java.lang.String description
Method Detail

values

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

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

valueOf

public static SpacecraftId 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

getDescription

public java.lang.String getDescription()
Return the description of the identifier

Returns:
the description in a String

toString

public java.lang.String toString()
Return the enum label as an all upper case

Overrides:
toString in class java.lang.Enum<SpacecraftId>
Returns:
the label as an upper case String

toStringLower

public java.lang.String toStringLower()
Return the label as a lower case String

Returns:
the label as a lower case String