DigitalAssetState
instead.
The possible states are:
public enum DigitalAssetState extends Enum<DigitalAssetState>
Enum Constant and Description |
---|
ACTIVATED
Deprecated.
Indicates this digital asset is available to select.
|
DEACTIVATED
Deprecated.
Indicates this digital asset cannot be selected.
|
Modifier and Type | Method and Description |
---|---|
com.onwbp.base.text.UserMessage |
getLabel()
Deprecated.
Returns the label of the state.
|
String |
getState()
Deprecated.
Returns the code of the state.
|
boolean |
isActivated()
Deprecated.
Checks if is activated.
|
boolean |
isDeactivated()
Deprecated.
Checks if is deactivated.
|
static DigitalAssetState |
parse(String state)
Deprecated.
Parses the specified state and returns the corresponding
DigitalAssetState instance. |
String |
toString()
Deprecated.
|
static DigitalAssetState |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static DigitalAssetState[] |
values()
Deprecated.
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)
DigitalAssetState
instance.public String getState()
public com.onwbp.base.text.UserMessage getLabel()
public String toString()
toString
in class Enum<DigitalAssetState>
Enum.toString()
public boolean isActivated()
public boolean isDeactivated()