Name Setter

        Set name with passed in variable.

        @param name: New name string.
        @type name: String
3313
def name(self, name: str):
        

        self.pathName = os.path.join(self.path, name)
201865
def set_name(self, name="My Colormap"):
        
        if not type(name)==str:
            print("set_name(): Name must be a string.")
            return
        self._name = name
        return self
232855
public void setName (final String name)
  {
    if (name == null || name.trim ().length () == 0)
    {
      throw new IllegalArgumentException ("Scheduler name cannot be empty.");
    }

    m_sName = name;

    if (m_sThreadName == null)
    {
      // thread name not already set, use default thread name
      setThreadName (name + "_QuartzSchedulerThread");
    }
  }
335575
def setName( self, name ):
        
        self._name = projex.text.nativestring(name)
        self.setText(0, ' '.join(projex.text.words(self._name)))
1127905
def set(self, name, value):
        
        if self.vars is None:
            self.vars = {}
        self.vars[name] = value
1131590
public void setName(String n) {
    if (n == null) {
      n = this.getClass().getSimpleName() + "#" + cacheCnt++;
    }
    name = n;
  }
523270
public function setName($name)
    {
        if (is_string($name) === true) {
            $this->name = $name;
        } else {
            $msg = "The 'name' argument must be a string, '" . gettype($name) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
1120910
def set(self, name, value):
        '''
        
        '''

        def change(session):
            session[name] = value
        self.__change_session(change)
595532
@Override
	public void setName(String name) {
		if (name == null) {
			super.setName(getFirstFreeBusStopName(getContainer()));
		} else {
			super.setName(name);
		}
	}
1250295
public void setName(String name) {
		try {
			get().setName(name);
		} catch (final NotConnectedException e) {
			e.printStackTrace();
		}
	}
163621
def name(self, name):
        
        weight, width, custom_name = self._splitName(name)
        self.set_all_name_components(name, weight, width, custom_name)
651273
public void setName(String name) throws IOException {
    if (failException != null) {
      throw failException;
    }

    if (name == null || name.length() == 0) {
      return;
    }

    sessionInfo.name = name;

    SessionInfo newInfo = new SessionInfo(sessionInfo);
    cmNotifier.addCall(
      new ClusterManagerService.sessionUpdateInfo_args(sessionId, newInfo));
  }
847242
private String computeSetterName(String name)
	{
		StringBuilder _result = new StringBuilder().append(PREFIX__SETTER);
		_result.append(Character.toUpperCase(name.charAt(0))).append(name.substring(1));
		return _result.toString();
	}
1363002
public R setName(String name) {
        mBodyMap.put(BoxUser.FIELD_NAME, name);
        return (R) this;
    }
882374
@Override
    public final void setName(String name) {
        log.debug("Set name: {}", name);
        if (this.name == null && StringUtils.isNotBlank(name)) {
            // reset of the name is no longer allowed
            this.name = name;
            // unregister from jmx
            if (oName != null) {
                unregisterJMX();
            }
            // register
            registerJMX();
        } else {
            log.info("Scope {} name reset to: {} disallowed", this.name, name);
        }
    }
353769
def name_server_set(self, value):
        
        if not isinstance(value, six.string_types) and value is not None:
            raise ValueError("Pass a string, or None")
        self._properties["nameServerSet"] = value
67882
public void setName(String nameString)
    {
        byte bytes[] = nameString.getBytes();
        int n = Math.min(name.length, bytes.length);
        System.arraycopy(bytes, 0, name, 0, n);
    }