| Modifier and Type | Method and Description |
|---|---|
Topics |
Story.getTopic1() |
Topics |
Story.getTopic2() |
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.setTopic1(Topics topic1) |
void |
Story.setTopic2(Topics topic2) |
| Constructor and Description |
|---|
Story(int id,
String title,
String content,
User author,
Date publicationDate,
Type type,
Topics topic1,
Topics topic2,
int numReads) |
Story(String title,
String content,
User author,
Date publicationDate,
Type type,
Topics topic1,
Topics topic2,
int numReads) |
Copyright © 2020. All rights reserved.