public static enum AddeEntry.EntrySource extends Enum<AddeEntry.EntrySource>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final AddeEntry.EntrySource SYSTEM
public static final AddeEntry.EntrySource MCTABLE
public static final AddeEntry.EntrySource USER
public static final AddeEntry.EntrySource INVALID
EntrySource
. Useful for
invalid entry objects (RemoteAddeEntry.INVALID_ENTRY
and
LocalAddeEntry.INVALID_ENTRY
).public static AddeEntry.EntrySource[] values()
for (AddeEntry.EntrySource c : AddeEntry.EntrySource.values()) System.out.println(c);
public static AddeEntry.EntrySource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static AddeEntry.EntrySource fromStr(String str)
public static String toStr(AddeEntry.EntrySource source)