public enum DoorStatusType extends Enum<DoorStatusType>
| Modifier and Type | Method and Description |
|---|---|
static DoorStatusType |
valueForString(String value)
Convert String to DoorStatusType
|
static DoorStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoorStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DoorStatusType CLOSED
public static final DoorStatusType LOCKED
public static final DoorStatusType AJAR
public static final DoorStatusType REMOVED
public static DoorStatusType[] values()
for (DoorStatusType c : DoorStatusType.values()) System.out.println(c);
public static DoorStatusType 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 static DoorStatusType valueForString(String value)
value - String