@Entity public class Story extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected Genre |
genre |
protected Long |
id |
protected Theme |
themeA |
protected Theme |
themeB |
protected String |
title |
| Constructor and Description |
|---|
Story() |
Story(String title,
String author,
Genre genre,
Theme themeA,
Theme themeB,
Date publicationDate) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
String |
getContent() |
Genre |
getGenre() |
Date |
getPublicationDate() |
Theme |
getThemeA() |
Theme |
getThemeB() |
String |
getTitle() |
void |
setAuthor(String author) |
void |
setContent(String content) |
void |
setGenre(Genre genre) |
void |
setPublicationDate(Date publicationDate) |
void |
setThemeA(Theme themeA) |
void |
setThemeB(Theme themeB) |
void |
setTitle(String title) |
protected Long id
protected String title
protected String author
protected Genre genre
protected Theme themeB
protected Theme themeA
public String getTitle()
public void setTitle(String title)
public String getAuthor()
public void setAuthor(String author)
public Genre getGenre()
public void setGenre(Genre genre)
public Theme getThemeB()
public void setThemeB(Theme themeB)
public Theme getThemeA()
public void setThemeA(Theme themeA)
public Date getPublicationDate()
public void setPublicationDate(Date publicationDate)
public String getContent()
public void setContent(String content)
Copyright © 2024. All rights reserved.