'Constructor
@todo: parameter description'

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

    self.question_id = question_id
    self.answerList = answerList
    self.valueList = []
    self.result = []
    self.type = type
    self.qstnWidget = survey_question_type[type](question_id=question_id)
    self.priorityGroup = 'zero'
    self.priorityGroups = {'default': [(-1), (-0.5), 0, 0.5, 1], 'standard': [(-2), (-1), 0, 1, 2]}
    for answer in self.answerList:
        if self.valid(answer):
            try:
                cast = self.castRawAnswer(answer['complete_id'], answer['value'])
                if (cast != None):
                    self.valueList.append(cast)
            except:
                if DEBUG:
                    raise
                pass
    self.basicResults()
