def setValue(self, value):
if self.name in self._CUSTOM_INT_PARAMS:<EOL><INDENT>value = int(value)<EOL><DEDENT>elif self.name in self._CUSTOM_FLOAT_PARAMS:<EOL><INDENT>value = float(value)<EOL><DEDENT>elif self.name in self._CUSTOM_BOOL_PARAMS:<EOL><INDENT>value = bool(value)<EOL><DEDENT>elif self.name in self._CUSTOM_INTLIST_PARAMS:<EOL><INDENT>value = readIntlist(value)<EOL><DEDENT>elif self.name in self._CUSTOM_DICT_PARAMS:<EOL><INDENT>parser = Parser()<EOL>value = parser.parse(value)<EOL><DEDENT>elif self.name == "<STR_LIT>":<EOL><INDENT>value = unicode(value)<EOL><DEDENT>self._value = value<EOL>
Cast some known data in custom parameters.