public enum ObjectState extends Enum<ObjectState>
Enum Constant and Description |
---|
Active |
Inactive |
PendingDelete |
Modifier and Type | Method and Description |
---|---|
static ObjectState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectState Active
public static final ObjectState Inactive
public static final ObjectState PendingDelete
public static ObjectState[] values()
for (ObjectState c : ObjectState.values()) System.out.println(c);
public static ObjectState 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 nullCopyright © 2021. All rights reserved.