sets the classId
978924
function put(propName, propValue, classId) {
	if (pick(propName, propValue)) return false;

	if (!classId) {
		nextClassId++;
		classId = nextClassId;
	}

	nextClassId = nextClassId < classId ? classId : nextClassId;

	storage[propName] = storage[propName] || {};
	storage[propName][classId] = propValue;

	return true;
}
313158
function setLoaderClass(c, t) {
    timeouts.push(
        setTimeout(() => {
            loadbar.classList.add(c);
        }, t)
    );
}
432686
def _create_id_field(new_class):
        """"""
        id_field = Auto(identifier=True)

        setattr(new_class, 'id', id_field)
        id_field.__set_name__(new_class, 'id')

        # Ensure ID field is updated properly in Meta attribute
        new_class.meta_.declared_fields['id'] = id_field
        new_class.meta_.id_field = id_field
295958
protected function setErrorClassAttribute()
    {
        if ($this->hasArgument('class')) {
            $cssClass = $this->arguments['class'] . ' ';
        } else {
            $cssClass = '';
        }
        $mappingResultsForProperty = $this->getMappingResultsForProperty();
        if ($mappingResultsForProperty->hasErrors()) {
            if ($this->hasArgument('errorClass')) {
                $cssClass .= $this->arguments['errorClass'];
            } else {
                $cssClass .= 'error';
            }
            $this->tag->addAttribute('class', $cssClass);
        }
    }
1228444
def set_toplevel_object(self, instance, class_=None):
        
        if class_ is None:
            class_ = type(instance)
        self._toplevels[class_] = instance
389232
@Override
  public final void setItsId(final SeGoodsPriceId pItsId) {
    this.itsId = pItsId;
    if (this.itsId != null) {
      this.priceCategory = this.itsId.getPriceCategory();
      this.item = this.itsId.getItem();
    } else {
      this.priceCategory = null;
      this.item = null;
    }
  }
481906
@Override
  public final void setItsId(final AdvisedGoodsForGoodsId pItsId) {
    this.itsId = pItsId;
    if (this.itsId != null) {
      this.advisedCategory = this.itsId.getAdvisedCategory();
      this.forAdviseCategory = this.itsId.getForAdviseCategory();
    } else {
      this.advisedCategory = null;
      this.forAdviseCategory = null;
    }
  }
209415
def add_to_class(self, cls, name):
        '''
        
        '''
        self.model_class = cls
        setattr(cls, name, PhoneNumberDescriptor(self))
        self._bound = True
1144165
public final void setId(final ID id) {
    Assert.notNull(id, "The identifier for Rule ({0}) cannot be null!", getClass().getName());
    this.id = id;
  }
865136
public void setId(Object id) {
	  if (lock == SET) {
		 throw new IllegalStateException("EntryInfo is locked");
	  }
	  /*if (idFlag == SET) {
		 if (tc.isDebugEnabled()) Tr.debug(tc, "Illegal State: tried to set id to "+id+
											   ", but id was already set to "+this.id  );
		  throw new IllegalStateException("id was already set");
	  } */
	  idFlag = SET;
	  this.id = id;
	  if (tc.isDebugEnabled())
		 Tr.debug(tc, "set id=" + id);
   }
378618
public void setTDBTClassDefinition(String tdbtClass, Identification id, Attributes attr) {
	this.tdbtCD = ClassDefinitionImpl.toClassDefinition(tdbtClass, id, attr);
	this.tdbt = null;
    }
440592
def set_id(self,i):
        
        if self.type == 'NAF':
            self.node.set('id',i)
        elif self.type == 'KAF':
            self.node.set('mid',i)
683535
def set_id(self, dxid):
        '''
        
        '''
        if dxid is not None:
            verify_string_dxid(dxid, self._class)

        self._dxid = dxid
137200
@SuppressWarnings("unchecked")
   public void setSpellCheckerClass(String className)
   {
      try
      {
         Class<?> clazz = ClassLoading.forName(className, this);
         if (SpellChecker.class.isAssignableFrom(clazz))
         {
            spellCheckerClass = (Class<? extends SpellChecker>)clazz;
         }
         else
         {
            log.warn("Invalid value for spellCheckerClass, {} " + "does not implement SpellChecker interface.",
               className);
         }
      }
      catch (ClassNotFoundException e)
      {
         log.warn("Invalid value for spellCheckerClass," + " class {} not found.", className);
      }
   }
234613
function setClass( $value, $params=FALSE ) {
    $this->class['value']  = $value;
    $this->class['params'] = $this->_setParams( $params );
  }
1105435
function() {
      if (!this.el) {
        var attrs = Parse._getValue(this, 'attributes') || {};
        if (this.id) {
          attrs.id = this.id;
        }
        if (this.className) {
          attrs['class'] = this.className;
        }
        this.setElement(this.make(this.tagName, attrs), false);
      } else {
        this.setElement(this.el, false);
      }
    }
182640
function(inClass) {
		if (inClass && !this.hasClass(inClass)) {
			var c = this.getClassAttribute();
			this.setClassAttribute(c + (c ? " " : "") + inClass);
		}
	}