com.novell.db.object.bean
Enum AccountBean.StatusType
java.lang.Object
java.lang.Enum<AccountBean.StatusType>
com.novell.db.object.bean.AccountBean.StatusType
- All Implemented Interfaces:
- Serializable, Comparable<AccountBean.StatusType>
- Enclosing class:
- AccountBean
public static enum AccountBean.StatusType
- extends Enum<AccountBean.StatusType>
An enumerated type representing values for the field 'status
'.
- See Also:
AccountBean.USER_STATUS
_INVALID_
public static final AccountBean.StatusType _INVALID_
UNDEFINED
public static final AccountBean.StatusType UNDEFINED
INACTIVE
public static final AccountBean.StatusType INACTIVE
DELETED
public static final AccountBean.StatusType DELETED
ACTIVE
public static final AccountBean.StatusType ACTIVE
values
public static AccountBean.StatusType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AccountBean.StatusType c : AccountBean.StatusType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AccountBean.StatusType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
toValue
public String toValue()
fromValue
public static AccountBean.StatusType fromValue(String value)