public class User extends Object
| Constructor and Description |
|---|
User()
Default constructor.
|
User(String name,
String password,
String[] roles)
Default constructor using fields.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name.
|
String |
getPassword()
Gets the password.
|
String[] |
getRoles()
Gets the roles.
|
void |
setName(String name)
Sets the name.
|
void |
setPassword(String password)
Sets the password.
|
void |
setRoles(String[] roles)
Sets the roles.
|
public String getName()
public void setName(String name)
name - the name to setpublic String getPassword()
public void setPassword(String password)
password - the password to setpublic String[] getRoles()
public void setRoles(String[] roles)
roles - the roles to setCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.