code: def setValue(self, value):
          
          if self.name in self._CUSTOM_INT_PARAMS:
              value = int(value)
          elif self.name in self._CUSTOM_FLOAT_PARAMS:
              value = float(value)
          elif self.name in self._CUSTOM_BOOL_PARAMS:
              value = bool(value)
          elif self.name in self._CUSTOM_INTLIST_PARAMS:
              value = readIntlist(value)
          elif self.name in self._CUSTOM_DICT_PARAMS:
              parser = Parser()
              value = parser.parse(value)
          elif self.name == "note":
              value = unicode(value)
          self._value = value
docs: Cast some known data in custom parameters.