| Modifier and Type | Method and Description |
|---|---|
Role |
User.getRole()
Returns the role of the event.
|
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)
Sets the role of this event.
|
| Constructor and Description |
|---|
User(String login,
String name,
String surname,
String password,
String email,
Role role)
Creates a new instance of
User |
Copyright © 2017. All rights reserved.