| Enum Constant and Description |
|---|
DB_QUERY_ACTION |
| Modifier and Type | Method and Description |
|---|---|
static Action |
getAction(java.lang.String name)
Returns an
ActionTypes object given a name. |
java.lang.String |
getName()
Returns the name of the action
|
static Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action DB_QUERY_ACTION
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static Action 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 java.lang.String getName()
public static Action getAction(java.lang.String name) throws java.lang.IllegalArgumentException
ActionTypes object given a name.name - Name of the action whose ActionTypes object is to be
retrieved.ActionTypes object corresponding to the given name of
the event.java.lang.IllegalArgumentException - If the name is not a
valid type of action