| Modifier and Type | Method and Description |
|---|---|
Role |
User.getRole() |
static Role |
Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
User.setRole(Role role) |
| Constructor and Description |
|---|
User(String login,
String password,
Role role) |
Copyright © 2021. All rights reserved.