| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Story.setMainTheme(Theme mainTheme) |
void |
Story.setSecondaryTheme(Theme secondaryTheme) |
| Constructor and Description |
|---|
Story(int id,
User author,
Date date,
String title,
String content,
Genre genre,
Theme mainTheme,
Theme secondaryTheme,
Boolean publicated) |
Story(User author,
Date date,
String title,
String content,
Genre genre,
Theme mainTheme,
Theme secondaryTheme,
Boolean publicated) |
Copyright © 2021. All rights reserved.