@Entity public class Story extends Object implements Serializable
| Constructor and Description |
|---|
Story() |
Story(int id,
Date date,
String title,
String content,
Genre genre,
Theme mainTheme,
Theme secondaryTheme,
String author,
boolean published) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
String |
getContent() |
Date |
getDate() |
Genre |
getGenre() |
int |
getId() |
Theme |
getMainTheme() |
Theme |
getSecondaryTheme() |
String |
getTitle() |
boolean |
isPublished() |
String |
toString() |
public Story()
public Story(int id,
Date date,
String title,
String content,
Genre genre,
Theme mainTheme,
Theme secondaryTheme,
String author,
boolean published)
throws IllegalArgumentException
IllegalArgumentExceptionpublic int getId()
public Date getDate()
public String getTitle()
public String getContent()
public Genre getGenre()
public Theme getMainTheme()
public Theme getSecondaryTheme()
public String getAuthor()
public boolean isPublished()
Copyright © 2022. All rights reserved.