@Exported public static enum AssetBean.Status extends Enum<AssetBean.Status>
Enumerated values for asset status.
| Enum Constant and Description |
|---|
MODIFIED
An asset which has been modified at least one.
|
NEW
New asset.
|
VOID
A deleted asset.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Returns the code associated with this asset status.
|
static AssetBean.Status |
toEnum(String code)
Returns an enum object, given the code, or
null if there
is no such supported code. |
static AssetBean.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetBean.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetBean.Status NEW
New asset.
public static final AssetBean.Status MODIFIED
An asset which has been modified at least one.
public static final AssetBean.Status VOID
A deleted asset.
public static AssetBean.Status[] values()
for (AssetBean.Status c : AssetBean.Status.values()) System.out.println(c);
public static AssetBean.Status 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 String getCode()
public static AssetBean.Status toEnum(String code)
null if there
is no such supported code.code - the code to match for, case-sensitive.null if there is no
such supported code.