public class QuestionLanguage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_NEW |
static String |
DELETE |
static String |
EDIT |
static String |
VIEW |
| Constructor and Description |
|---|
QuestionLanguage()
class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Answer[] |
getAnswers() |
Comment[] |
getComments() |
String |
getDetail()
Get content of question is saved in this language node.
|
String |
getId() |
String |
getLanguage()
Get name of language is used to write quetsion.
|
String |
getQuestion() |
String |
getState() |
void |
setAnswers(Answer[] answers) |
void |
setComments(Comment[] comments) |
void |
setDetail(String q)
Registers question content for this language node.
|
void |
setId(String id) |
void |
setLanguage(String lang)
registers name of language for Language node and the name is Language node's name too.
|
void |
setQuestion(String question) |
void |
setState(String state) |
public static final String VIEW
public static final String EDIT
public static final String ADD_NEW
public static final String DELETE
public String getLanguage()
public void setLanguage(String lang)
lang - the name of language nodepublic String getDetail()
public void setDetail(String q)
q - the content of questionpublic String getQuestion()
public void setQuestion(String question)
public Answer[] getAnswers()
public void setAnswers(Answer[] answers)
public Comment[] getComments()
public void setComments(Comment[] comments)
public String getId()
public void setId(String id)
public void setState(String state)
public String getState()
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.