public class User extends Object
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of a user.
|
String |
getPassword()
Gets the password of a user.
|
List<Role> |
getRole()
Gets the role of a user.
|
boolean |
isChecked()
Shows if the checkbox is checked
|
void |
setChecked(boolean checked)
Sets, if the checkbox is checked
|
void |
setName(String name)
Sets the name of a user.
|
void |
setPassword(String password)
Sets the password of a user
|
void |
setRole(List<Role> role)
Sets the role of a user.
|
public String getName()
public void setName(String name)
name - the name of a userpublic String getPassword()
public void setPassword(String password)
password - the password of a userpublic void setRole(List<Role> role)
role - the role of a userpublic boolean isChecked()
public void setChecked(boolean checked)
checked - true of falseCopyright © 2018 universAAL Consortium. All rights reserved.