| Package | Description |
|---|---|
| es.uvigo.esei.dgss.letta.domain.entities |
| Modifier and Type | Method and Description |
|---|---|
Role |
Registration.getRole()
Returns the role of the user to be registered.
|
Role |
User.getRole()
Returns the role of the user.
|
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)
Updates the role of the user.
|
Copyright © 2017. All rights reserved.