class QuestionController extends QuestionnaireController {

    public String addQuestion(QuestionForm questionForm, RequestContext requestContext, boolean createMode) {
        MessageContext context = requestContext.getMessageContext();
        boolean result = validateQuestion(questionForm, context, createMode);
        if (result) {
            questionForm.addCurrentQuestion();
        }
        return result? "success": "failure";
    }

    @SuppressWarnings({"UnusedDeclaration"}) public  QuestionController();
    public  QuestionController(QuestionnaireServiceFacade questionnaireServiceFacade);

}