| Modifier and Type | Method and Description |
|---|---|
Theme |
Story.getPrimaryTheme() |
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.setPrimaryTheme(Theme primaryTheme) |
void |
Story.setSecondaryTheme(Theme secondaryTheme) |
| Constructor and Description |
|---|
Story(String title,
String text,
Author author,
Date publicationDate,
Genre genre,
Theme primaryTheme,
Integer views) |
Story(String title,
String text,
Author author,
Date publicationDate,
Genre genre,
Theme primaryTheme,
Theme secondaryTheme,
Integer views) |
Copyright © 2018. All rights reserved.