public class Question extends Object implements IQuestionNode, Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(IQuestionNode child) |
List<PreviousQuestion> |
getAllPreviousQuestions() |
List<QuestionPart> |
getAllQuestionParts() |
List<IQuestionNode> |
getChildren() |
String |
getOperator() |
void |
setOperator(String operator) |
String |
toRAW() |
String |
toString() |
String |
toString(int level) |
public Question(String operator)
public String getOperator()
public void setOperator(String operator)
public void addChild(IQuestionNode child)
public List<IQuestionNode> getChildren()
getChildren in interface IQuestionNodepublic List<QuestionPart> getAllQuestionParts()
getAllQuestionParts in interface IQuestionNodepublic List<PreviousQuestion> getAllPreviousQuestions()
getAllPreviousQuestions in interface IQuestionNodepublic String toString(int level)
toString in interface IQuestionNodepublic String toRAW()
toRAW in interface IQuestionNodeCopyright © 2018. All rights reserved.