@Entity public class User extends Object implements Serializable
| Constructor and Description |
|---|
User() |
User(String login,
String password) |
User(String login,
String password,
Collection<Story> stories) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStory(Story story) |
String |
getLogin() |
String |
getPassword() |
Collection<Story> |
getStories() |
boolean |
ownsStory(Story story) |
void |
removeStory(Story story) |
public User()
public User(String login, String password, Collection<Story> stories)
Copyright © 2022. All rights reserved.