'@todo: docstring'

def __init__(self, type, question_id, answerList):

    S3AbstractAnalysis.__init__(self, type, question_id, answerList)
    childWidget = S3QuestionTypeLinkWidget(question_id)
    trueType = childWidget.get('Type')
    for answer in self.answerList:
        if self.valid(answer):
            try:
                self.valueList.append(trueType.castRawAnswer(answer['complete_id'], answer['value']))
            except:
                pass
    self.widget = survey_analysis_type[trueType](question_id, self.answerList)
