public enum UserRoleBO extends Enum<UserRoleBO>
| Modifier and Type | Method and Description |
|---|---|
static Optional<UserRoleBO> |
getByValue(String value) |
String |
getValue() |
static UserRoleBO |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserRoleBO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserRoleBO CUSTOMER
public static final UserRoleBO STAFF
public static final UserRoleBO TECHNICAL
public static final UserRoleBO SYSTEM
public static UserRoleBO[] values()
for (UserRoleBO c : UserRoleBO.values()) System.out.println(c);
public static UserRoleBO 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 String getValue()
public static Optional<UserRoleBO> getByValue(String value)
Copyright © 2020. All rights reserved.