public enum OpreationStatusCode extends java.lang.Enum<OpreationStatusCode> implements IntegralConstant
OperationStatus| Enum Constant and Description |
|---|
INVALID |
NOTHING_TO_REDO |
NOTHING_TO_UNDO |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static OpreationStatusCode |
valueOf(int value) |
static OpreationStatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpreationStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static java.util.Set<java.lang.Integer> |
valuesAsIntegers() |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfequalspublic static final OpreationStatusCode NOTHING_TO_REDO
OperationStatus.NOTHING_TO_REDOpublic static final OpreationStatusCode NOTHING_TO_UNDO
OperationStatus.NOTHING_TO_UNDOpublic static final OpreationStatusCode INVALID
OperationStatus.OPERATION_INVALIDpublic static OpreationStatusCode[] values()
for (OpreationStatusCode c : OpreationStatusCode.values()) System.out.println(c);
public static OpreationStatusCode 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 java.util.Set<java.lang.Integer> valuesAsIntegers()
public static OpreationStatusCode valueOf(int value)
public int getValue()
getValue in interface IntegralConstant