| Modifier and Type | Method and Description |
|---|---|
Theme |
Story.getMainTheme() |
Theme |
Story.getSecondaryTheme() |
static Theme |
Theme.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Theme[] |
Theme.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
Story(Date date,
String title,
String content,
Genre genre,
Theme mainTheme,
Theme secondaryTheme,
String author,
boolean published,
User user) |
Story(int id,
Date date,
String title,
String content,
Genre genre,
Theme mainTheme,
Theme secondaryTheme,
String author,
boolean published,
User user) |
Copyright © 2022. All rights reserved.