| Modifier and Type | Method and Description |
|---|---|
User |
Story.getAuthor()
Returns the author of the story
|
| Modifier and Type | Method and Description |
|---|---|
void |
Story.setAuthor(User author)
Sets the author of the story.
|
| Constructor and Description |
|---|
Story(Long id,
String title,
String content,
Genre genre,
Theme theme1,
Theme theme2,
Date date,
User author,
boolean published)
Creates a new instance of
Story with id and no views |
Story(String title,
String content,
Genre genre,
Theme theme1,
Theme theme2,
Date date,
User author)
Creates a new instance of
Story |
Copyright © 2022. All rights reserved.