| Modifier and Type | Method and Description |
|---|---|
static Theme |
Theme.forName(String themeName) |
Theme |
Story.getTheme1()
Returns the theme1 of a story
|
Theme |
Story.getTheme2()
Returns the theme2 of a story
|
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.setTheme1(Theme theme1)
Modify the theme1 of a story, without being null
|
void |
Story.setTheme2(Theme theme2)
Modify the theme2 of a story, without being null
|
| Constructor and Description |
|---|
Nanostory(int idStory,
String title,
Theme theme1,
Theme theme2,
User author,
Date date,
String nanostoryText)
Builder of a Nanostory
|
Nanostory(String title,
Theme theme1,
Theme theme2,
User author,
Date date,
String nanostoryText)
Builder of a Nanostory without id
|
Nanostory(String title,
Theme theme1,
User author,
Date date,
String nanostoryText)
Builder of a Nanostory without id and theme2
|
Narrative(int idStory,
String text,
Theme theme1,
Theme theme2,
User autor,
Date date,
String narrativeText)
Builder of a Narrative
|
Narrative(String text,
Theme theme1,
Theme theme2,
User autor,
Date date,
String narrativeText)
Builder of a Narrative without id
|
Narrative(String title,
Theme theme1,
User autor,
Date date,
String narrativeText)
Builder of a Narrative without id and theme2
|
Poetry(int idStory,
String text,
Theme theme1,
Theme theme2,
User autor,
Date date,
String poetryText)
Builder of a Poetry
|
Poetry(String text,
Theme theme1,
Theme theme2,
User autor,
Date date,
String poetryText)
Builder of a Poetry without id
|
Poetry(String text,
Theme theme1,
User autor,
Date date,
String poetryText)
Builder of a Poetry without id and theme2
|
Story(int idStory,
String title,
Theme theme1,
Theme theme2,
User author,
Date date)
Builder of a Story
|
Story(String title,
Theme theme1,
Theme theme2,
User author,
Date date)
Builder of a Story without id
|
Story(String title,
Theme theme1,
User author,
Date date)
Builder of a Story without id and theme2
|
Copyright © 2020. All rights reserved.