| Modifier and Type | Method and Description |
|---|---|
Topics |
Story.getTopic() |
static Topics |
Topics.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Topics[] |
Topics.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.setTopic(Topics topic) |
| Constructor and Description |
|---|
Story(int id,
String title,
String content,
String author,
Date publicationDate,
Topics topic,
Type type) |
Story(String title,
String content,
String author,
Date publicationDate,
Topics topic,
Type type) |
Copyright © 2020. All rights reserved.