public static enum InternalEntry.Type extends java.lang.Enum<InternalEntry.Type>
Enum Constant and Description |
---|
DLL_ENTRY
Native procedure
|
EXTERN
User defined function defined in another procedure
|
FUNCTION
User defined function
|
MAIN
Main procedure
|
PROCEDURE
Internal procedure
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,InternalEntry.Type> |
map
Map of Progress entry names to enum values
|
private java.lang.String |
name
Progress entry name
|
Modifier and Type | Method and Description |
---|---|
static InternalEntry.Type |
fromString(java.lang.String name)
Given a Progress entry name, retrieve the appropriate enum value.
|
java.lang.String |
toString()
Return the Progress entry name.
|
static InternalEntry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InternalEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalEntry.Type FUNCTION
public static final InternalEntry.Type PROCEDURE
public static final InternalEntry.Type DLL_ENTRY
public static final InternalEntry.Type EXTERN
public static final InternalEntry.Type MAIN
private static java.util.Map<java.lang.String,InternalEntry.Type> map
private final java.lang.String name
public static InternalEntry.Type[] values()
for (InternalEntry.Type c : InternalEntry.Type.values()) System.out.println(c);
public static InternalEntry.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static InternalEntry.Type fromString(java.lang.String name)
name
- Progress entry name.java.lang.IllegalArgumentException
- if the given Progress entry name is unrecognized.public java.lang.String toString()
toString
in class java.lang.Enum<InternalEntry.Type>