Assigns (copies over) properties from the specified value to this map.

        :param value: value whose properties shall be copied over.
489817
def assign_to(self, value):
        
        if value == None or len(self) == 0:
            return

        RecursiveObjectWriter.copy_properties(value, self)
1246276
def set_spcPts(self, value):
        
        self._remove_spcPct()
        spcPts = self.get_or_add_spcPts()
        spcPts.val = value
1127905
def set(self, name, value):
        
        if self.vars is None:
            self.vars = {}
        self.vars[name] = value
317223
def set(self, value):
        

        if not isinstance(value, int_types) and not isinstance(value, str_cls):
            raise TypeError(unwrap(
                '''
                %s value must be an integer or a unicode string, not %s
                ''',
                type_name(self),
                type_name(value)
            ))

        if isinstance(value, str_cls):
            if value not in self._reverse_map:
                raise ValueError(unwrap(
                    '''
                    %s value "%s" is not a valid value
                    ''',
                    type_name(self),
                    value
                ))

            value = self._reverse_map[value]

        elif value not in self._map:
            raise ValueError(unwrap(
                '''
                %s value %s is not a valid value
                ''',
                type_name(self),
                value
            ))

        Integer.set(self, value)
968523
def assign_value(self, comp_def, value, src_ref):
        
        super().assign_value(comp_def, value, src_ref)
        comp_def.properties['incrthreshold'] = value
135695
public Object setValue(final Object value) {
        final Object answer = this.value;
        this.value = value;
        return answer;
    }
7711
def setValue( self, value ):
        
        scene = self.scene()
        point = scene.mapFromChart(value, None)
        
        self.setPos(point.x(), self.pos().y())
        self.rebuild(scene.gridRect())
6909
def setProperty(self, prop: str, value: str, priority: str = None
                    ) -> None:
        
        self[prop] = value
1208183
def set(self, prop, value):
        

        prop_parts = prop.split(".")
        if self.copy_dict:
            new_dict = copy.deepcopy(self.obj)
        else:
            new_dict = self.obj
        pointer = None
        parts_length = len(prop_parts) - 1
        for i, part in enumerate(prop_parts):
            if pointer is None and i == parts_length:
                new_dict[part] = value
            elif pointer is None:
                pointer = new_dict.get(part)
            elif i == parts_length:
                pointer[part] = value
            else:
                pointer = pointer.get(part)
        return new_dict
232634
def key_on(self, value):
        
        if isinstance(value, BASESTRING):
            value = (value,)
        self._key_on = value
381586
def setValue( self, value ):
        
        self._value = value
        
        # map a list of choices to the system
        if ( isinstance(value, list) ):
            self.setText(2, '[%s]' % ','.join(map(str, value)))
        else:
            self.setText(2, nativestring(value))
1293047
private static void setValue(Map<String,String> map, String key, String value) {
		map.put(key,value);
	}
706817
def set_value_for_key(self, key, value):
        
        if key in self.options:
            self.options[key]['value'] = value
1011447
def set(self, name, value):
        
        flag = self.flags[name]
        self._value = (self.value | flag) if value else (self.value & ~flag)
542455
def set_value(obj, attrs, value, _copy=False):
    
    for attr in attrs:
        if _copy:
            value = copy(value)
        setattr(obj, attr, value)
201293
def set_value(self, value):
        
        self.raw_value = self.preference.serializer.serialize(value)
594205
public void put(final String key, final String value) {
        if (StringUtils.isBlank(value)) {
            this.properties.remove(key);
        } else {
            this.properties.put(key, value);
        }
    }