public static enum Lock6cParam.LockState extends java.lang.Enum<Lock6cParam.LockState>
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
int |
getCode() |
int |
getMask() |
java.lang.String |
toString() |
static Lock6cParam.LockState |
valueOf(int code) |
static Lock6cParam.LockState |
valueOf(int action,
int mask) |
static Lock6cParam.LockState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Lock6cParam.LockState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lock6cParam.LockState NoChanged
public static final Lock6cParam.LockState Unlock
public static final Lock6cParam.LockState Lock
public static Lock6cParam.LockState[] values()
for (Lock6cParam.LockState c : Lock6cParam.LockState.values()) System.out.println(c);
public static Lock6cParam.LockState 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 int getAction()
public int getMask()
public java.lang.String toString()
toString
in class java.lang.Enum<Lock6cParam.LockState>
public static Lock6cParam.LockState valueOf(int code)
code
- public static Lock6cParam.LockState valueOf(int action, int mask)
action
- mask
-