public enum ActiveStatus extends Enum<ActiveStatus>
| Modifier and Type | Method and Description |
|---|---|
short |
code() |
static ActiveStatus |
fromCode(short code) |
static ActiveStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActiveStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActiveStatus INACTIVE
public static final ActiveStatus ACTIVE
public static final ActiveStatus LOCKED
public static ActiveStatus[] values()
for (ActiveStatus c : ActiveStatus.values()) System.out.println(c);
public static ActiveStatus 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 short code()
public static ActiveStatus fromCode(short code)
Copyright © 2017. All Rights Reserved.