- All Implemented Interfaces:
Serializable
,Comparable<ECDB.UserStatus>
- Enclosing class:
- ECDB
User status.
Provided as a type-safe alternative to string values in the
databasse.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ECDB.UserStatus
Returns the enum constant of this type with the specified name.static ECDB.UserStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
The user is active. -
NOTACTIVE
The user is not active. -
CANCELLED
The user has been cancelled. This option is provided so that the user ID can be reused. Alternatively a clean-up process can delete these entries from the user table.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-