@Entity public class User extends Object
| Constructor and Description |
|---|
User()
Empty builder
|
User(String name,
String login,
String password)
Builder of User
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLogin()
Returns the login of a User
|
String |
getName()
Returns the name of a User
|
String |
getPassword()
Returns the password of a User
|
Set<Story> |
getStories()
Returns a story list
|
void |
setLogin(String login)
Modify the login of a USer, without being null
|
void |
setName(String name)
Modify the name of a USer, without being null
|
void |
setPassword(String password)
Modify the password of a User, without being null
|
void |
setStories(Set<Story> stories)
Modify a story list
|
public String getLogin()
public void setLogin(String login)
login - public String getName()
public void setName(String name)
name - public String getPassword()
public void setPassword(String password)
password - Copyright © 2019. All rights reserved.