@Entity public class StoryEntity extends Object
| Constructor and Description |
|---|
StoryEntity() |
StoryEntity(Integer id,
String title,
String text,
Gender gender,
Topic topic1,
Topic topic2,
AuthorEntity author,
Date publicationDate) |
| Modifier and Type | Method and Description |
|---|---|
AuthorEntity |
getAuthor() |
List<AuthorEntity> |
getFavorites() |
Gender |
getGender() |
Integer |
getId() |
Date |
getPublicationDate() |
String |
getText() |
String |
getTitle() |
Topic |
getTopic1() |
Topic |
getTopic2() |
List<ViewEntity> |
getViews() |
void |
setAuthor(AuthorEntity author) |
void |
setGender(Gender gender) |
void |
setPublicationDate(Date publicationDate) |
void |
setText(String text) |
void |
setTitle(String title) |
void |
setTopic1(Topic topic1) |
void |
setTopic2(Topic topic2) |
public Integer getId()
public String getTitle()
public String getText()
public Gender getGender()
public Topic getTopic1()
public Topic getTopic2()
public AuthorEntity getAuthor()
public Date getPublicationDate()
public List<ViewEntity> getViews()
public List<AuthorEntity> getFavorites()
public void setTitle(String title)
public void setText(String text)
public void setGender(Gender gender)
public void setTopic1(Topic topic1)
public void setTopic2(Topic topic2)
public void setPublicationDate(Date publicationDate)
public void setAuthor(AuthorEntity author)
Copyright © 2023. All rights reserved.