public enum AssetState extends Enum<AssetState>
| Enum Constant and Description |
|---|
Active
Asset is active
|
Closed
Asset was closed
|
Dead
Asset is dead
|
Deleted
Asset was deleted
|
Future
Asset has not been activated
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDefined(int intValue)
Is an int a valid AssetState
|
int |
value()
Get the integer value of this state
|
static AssetState |
valueOf(int intValue)
Select AssetState based on an integer value
|
static AssetState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetState Future
public static final AssetState Active
public static final AssetState Closed
public static final AssetState Dead
public static final AssetState Deleted
public static AssetState[] values()
for (AssetState c : AssetState.values()) System.out.println(c);
public static AssetState 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 int value()
public static AssetState valueOf(int intValue)
intValue - - intpublic static boolean isDefined(int intValue)
intValue - - intCopyright © 2015 VersionOne, Inc.. All rights reserved.