return objective;
}
private SurveyQuestion constructQuestion(Element questionElement) {
SurveyQuestion question = new SurveyQuestion();
question.setSurveyQuestion(questionElement.getTextTrim());
for (Object assertionElement : questionElement.elements("assertion")) {
question.getSurveyAssertions().add(constructAssertion((Element) assertionElement));
}
for (SurveyAssertion assertion : question.getSurveyAssertions()) {
assertion.setSurveyQuestion(question);
}
return question;
}