public enum ELocked extends Enum<ELocked> implements ILockedIndicator
| Enum Constant and Description |
|---|
LOCKED |
NOT_LOCKED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocked() |
boolean |
isNotLocked() |
static ELocked |
valueOf(boolean bLocked) |
static ELocked |
valueOf(ILockedIndicator eLockingIndicator) |
static ELocked |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELocked[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELocked LOCKED
public static final ELocked NOT_LOCKED
public static ELocked[] values()
for (ELocked c : ELocked.values()) System.out.println(c);
public static ELocked 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 boolean isLocked()
isLocked in interface ILockedIndicatortrue if locked and false if not locked.public boolean isNotLocked()
isNotLocked in interface ILockedIndicatortrue if not locked and false if locked.@Nonnull public static ELocked valueOf(@Nonnull ILockedIndicator eLockingIndicator)
Copyright © 2014–2015 Philip Helger. All rights reserved.