public enum HollerAction extends java.lang.Enum<HollerAction>
| Modifier and Type | Method and Description |
|---|---|
static HollerAction |
forCode(int code) |
static HollerAction |
forName(java.lang.String name) |
int |
getCode() |
java.lang.String |
getName() |
java.lang.String |
toString() |
static HollerAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HollerAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HollerAction NONE
public static final HollerAction ADD
public static final HollerAction REMOVE
public static final HollerAction UPDATE
public static HollerAction[] values()
for (HollerAction c : HollerAction.values()) System.out.println(c);
public static HollerAction 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 int getCode()
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Enum<HollerAction>public static HollerAction forCode(int code)
public static HollerAction forName(java.lang.String name)