code: def set_parameter(self, name, value):
          
          if not self._in_valid_interval(name, value):
              raise ValueError(self._get_value_error_message_for_invalid_prarameter(name, value))
  
          #if name in self._parameters:
          #    print "Parameter %s already existed. It's old value will be replaced with %s" % (name, value)
  
          self._parameters[name] = value
docs: Sets a parameter for the BaseMethod.
  
          :param string name:     Name of the parameter that has to be checked.
          :param numeric value:     Value of the parameter.