public static enum User.userFlag extends java.lang.Enum<User.userFlag>
Enum Constant and Description |
---|
canCreateItems
User can create items
|
canSendSMS
User can send SMS messages
|
cantChangePassword
User can not change its password
|
isDisabled
User is disabled
|
isReadonly
User can't change own settings
|
Modifier and Type | Method and Description |
---|---|
long |
getValue() |
static User.userFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static User.userFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.userFlag isDisabled
public static final User.userFlag cantChangePassword
public static final User.userFlag canCreateItems
public static final User.userFlag isReadonly
public static final User.userFlag canSendSMS
public static User.userFlag[] values()
for (User.userFlag c : User.userFlag.values()) System.out.println(c);
public static User.userFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getValue()