edu.wisc.ssec.mcidasv.servermanager
Enum AddeEntry.EntrySource

java.lang.Object
  extended by java.lang.Enum<AddeEntry.EntrySource>
      extended by edu.wisc.ssec.mcidasv.servermanager.AddeEntry.EntrySource
All Implemented Interfaces:
Serializable, Comparable<AddeEntry.EntrySource>
Enclosing interface:
AddeEntry

public static enum AddeEntry.EntrySource
extends Enum<AddeEntry.EntrySource>

Where did this entry come from?


Enum Constant Summary
INVALID
          Represents an "invalid" EntrySource.
MCTABLE
          Entry was imported from a MCTABLE file.
SYSTEM
          Entry originated from McIDAS-V.
USER
          Entry was added by the user.
 
Method Summary
static AddeEntry.EntrySource fromStr(String str)
           
static String toStr(AddeEntry.EntrySource source)
           
static AddeEntry.EntrySource valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AddeEntry.EntrySource[] 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

SYSTEM

public static final AddeEntry.EntrySource SYSTEM
Entry originated from McIDAS-V.


MCTABLE

public static final AddeEntry.EntrySource MCTABLE
Entry was imported from a MCTABLE file.


USER

public static final AddeEntry.EntrySource USER
Entry was added by the user.


INVALID

public static final AddeEntry.EntrySource INVALID
Represents an "invalid" EntrySource. Useful for invalid entry objects (RemoteAddeEntry.INVALID_ENTRY and LocalAddeEntry.INVALID_ENTRY).

Method Detail

values

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

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

valueOf

public static AddeEntry.EntrySource 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

fromStr

public static AddeEntry.EntrySource fromStr(String str)

toStr

public static String toStr(AddeEntry.EntrySource source)