public static enum Constants.LockStatus extends Enum<Constants.LockStatus>
| Enum Constant and Description |
|---|
inLock |
notInUse |
outOfLock |
unknown |
| Modifier and Type | Method and Description |
|---|---|
static Constants.LockStatus |
byId(int id) |
int |
getId() |
static Constants.LockStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.LockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.LockStatus inLock
public static final Constants.LockStatus outOfLock
public static final Constants.LockStatus notInUse
public static final Constants.LockStatus unknown
public static Constants.LockStatus[] values()
for (Constants.LockStatus c : Constants.LockStatus.values()) System.out.println(c);
public static Constants.LockStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getId()
public static Constants.LockStatus byId(int id)
Copyright © 2022 Space Applications Services. All rights reserved.