public class Story extends Object
| Constructor and Description |
|---|
Story() |
Story(int id,
String title,
String text,
Genre genre,
List<Topic> topics,
String author,
Date date,
boolean published) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
Date |
getDate() |
Genre |
getGenre() |
int |
getId() |
String |
getText() |
String |
getTitle() |
List<Topic> |
getTopics() |
boolean |
isPublished() |
void |
setAuthor(String author) |
void |
setDate(Date date) |
void |
setGenre(Genre genre) |
void |
setId(int id) |
void |
setPublished(boolean published) |
void |
setText(String text) |
void |
setTitle(String title) |
void |
setTopics(List<Topic> topics) |
public int getId()
public void setId(int id)
public String getTitle()
public void setTitle(String title)
public String getText()
public void setText(String text)
public Genre getGenre()
public void setGenre(Genre genre)
public String getAuthor()
public void setAuthor(String author)
public Date getDate()
public void setDate(Date date)
public boolean isPublished()
public void setPublished(boolean published)
Copyright © 2021. All rights reserved.