@Entity public class Story extends Object
| Constructor and Description |
|---|
Story() |
Story(String title,
String author,
Genre genre,
Theme themeA,
Theme themeB,
Date publicationDate,
String content) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
String |
getContent() |
Genre |
getGenre() |
Long |
getId() |
static int |
getMaxAuthorLength() |
static int |
getMaxContentLength() |
static int |
getMaxTitleLength() |
Date |
getPublicationDate() |
Theme |
getThemeA() |
Theme |
getThemeB() |
String |
getTitle() |
void |
setAuthor(String author) |
void |
setContent(String content) |
void |
setGenre(Genre genre) |
void |
setId(Long id) |
void |
setPublicationDate(Date publicationDate) |
void |
setThemeA(Theme themeA) |
void |
setThemeB(Theme themeB) |
void |
setTitle(String title) |
public Story()
public Story(String title, String author, Genre genre, Theme themeA, Theme themeB, Date publicationDate, String content) throws IllegalArgumentException
IllegalArgumentExceptionpublic 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 getThemeA()
public void setThemeA(Theme themeA)
public Theme getThemeB()
public void setThemeB(Theme themeB)
public Date getPublicationDate()
public void setPublicationDate(Date publicationDate)
public String getContent()
public void setContent(String content)
public static int getMaxTitleLength()
public static int getMaxAuthorLength()
public static int getMaxContentLength()
public Long getId()
public void setId(Long id)
Copyright © 2024. All rights reserved.