public enum DigitalAssetState extends Enum<DigitalAssetState>
The possible states are:
| Enum Constant and Description |
|---|
ACTIVATED
The activated.
|
DEACTIVATED
The deactivated.
|
| Modifier and Type | Method and Description |
|---|---|
com.onwbp.base.text.UserMessage |
getLabel()
Gets the label.
|
String |
getState()
Gets the state.
|
boolean |
isActivated()
Checks whether the state activated.
|
boolean |
isDeactivated()
Checks whether the state deactivated.
|
static DigitalAssetState |
parse(String state)
Parses the state.
|
String |
toString() |
static DigitalAssetState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigitalAssetState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigitalAssetState ACTIVATED
public static final DigitalAssetState DEACTIVATED
public static DigitalAssetState[] values()
for (DigitalAssetState c : DigitalAssetState.values()) System.out.println(c);
public static DigitalAssetState 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 DigitalAssetState parse(String state)
state - the statepublic String getState()
public com.onwbp.base.text.UserMessage getLabel()
public String toString()
toString in class Enum<DigitalAssetState>public boolean isActivated()
public boolean isDeactivated()