public static enum UserInfo.USER_ROLE extends Enum<UserInfo.USER_ROLE>
| Modifier and Type | Method and Description |
|---|---|
static UserInfo.USER_ROLE |
valueOf(int value) |
static UserInfo.USER_ROLE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserInfo.USER_ROLE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserInfo.USER_ROLE VISITOR
public static final UserInfo.USER_ROLE USER
public static final UserInfo.USER_ROLE ADMIN
public static UserInfo.USER_ROLE[] values()
for (UserInfo.USER_ROLE c : UserInfo.USER_ROLE.values()) System.out.println(c);
public static UserInfo.USER_ROLE 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 static UserInfo.USER_ROLE valueOf(int value)
Copyright © 2017. All Rights Reserved.