@Entity
public class Answer
extends java.lang.Object
Constructor and Description |
---|
Answer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
getter for content
|
java.lang.Long |
getId()
getter for id
|
Answer |
setCommentable(Commentable commentable)
fluent setter for Commentable
|
Answer |
setContent(java.lang.String content)
fluent setter for content
|
Answer |
setId(java.lang.Long id)
fluent setter for id
|
Answer |
setQuestion(Question question)
fluent setter for question
|
public java.lang.String getContent()
public Answer setContent(java.lang.String content)
content
- public Answer setQuestion(Question question)
question
- Question to set in relation.public java.lang.Long getId()
public Answer setCommentable(Commentable commentable)
commentable
- public Answer setId(java.lang.Long id)
id
-