@Entity
public class Question
extends java.lang.Object
| Constructor and Description |
|---|
Question() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContent()
getter for content
|
java.lang.Long |
getId()
getter for id
|
java.lang.String |
getTitle()
getter for title
|
Question |
setCommentable(Commentable commentable)
fluent setter for commentable
|
Question |
setContent(java.lang.String content)
fluent setter for content
|
Question |
setId(java.lang.Long id)
fluent setter for id
|
Question |
setTitle(java.lang.String title)
fluent setter for title
|
public java.lang.Long getId()
public Question setId(java.lang.Long id)
id - public java.lang.String getTitle()
public Question setTitle(java.lang.String title)
title - public java.lang.String getContent()
public Question setContent(java.lang.String content)
content - public Question setCommentable(Commentable commentable)
commentable -