public class Question extends Object
Constructor and Description |
---|
Question() |
Modifier and Type | Method and Description |
---|---|
String |
getConfiguration()
Gets question configuration
*Only some types have configuration |
String |
getId()
Returns the identifier.
|
int |
getPosition()
Gets question position
|
Questionnaire |
getQuestionnaire()
Gets question questionnaire
|
String |
getTitle()
Returns the title.
|
lumis.service.questionnaire.QuestionnaireManager.QuestionType |
getType()
Gets question type
|
boolean |
isRequired()
Check if question is required
|
void |
setConfiguration(String configuration)
Sets question configuration
|
void |
setId(String id)
Sets the identifier.
|
void |
setPosition(int position)
Sets question position
|
void |
setQuestionnaire(Questionnaire questionnaire)
Set question questionnaire
|
void |
setRequired(boolean required)
Sets question requirement
|
void |
setTitle(String title)
Sets the title.
|
void |
setType(lumis.service.questionnaire.QuestionnaireManager.QuestionType type)
Sets question type
|
public String getId()
public void setId(String id)
id
- the identifier.public String getTitle()
public void setTitle(String title)
title
- the title.public lumis.service.questionnaire.QuestionnaireManager.QuestionType getType()
public void setType(lumis.service.questionnaire.QuestionnaireManager.QuestionType type)
type
- public String getConfiguration()
*Only some types have configuration
public void setConfiguration(String configuration)
configuration
- public int getPosition()
public void setPosition(int position)
position
- public boolean isRequired()
public void setRequired(boolean required)
required
- public Questionnaire getQuestionnaire()
public void setQuestionnaire(Questionnaire questionnaire)
questionnaire
- LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.