/*! set value of some record's propery

@param name
name of record's property ( name of db field or alias )
@param value
value of related property
338512
function set_value($name,$value){
		LogMaster::log("change value of: ".$name." as: ".$value);
		$this->data[$name]=$value;
	}
431690
public void setValue (String name, boolean value)
    {
        Boolean oldValue = null;
        if (_prefs.get(name, null) != null || _props.getProperty(name) != null) {
            oldValue = Boolean.valueOf(_prefs.getBoolean(name, super.getValue(name, false)));
        }

        _prefs.putBoolean(name, value);
        _propsup.firePropertyChange(name, oldValue, Boolean.valueOf(value));
    }
1178570
public void addProperty(String name, String value) {
        if (name == null || name.trim().length() == 0) {
            throw new IllegalArgumentException("A property name must be specified.");
        }

        if (value == null || value.trim().length() == 0) {
            throw new IllegalArgumentException("A property value must be specified.");
        }

        properties.put(name, value);
    }
1364079
@Override
    public void setProperty(String name, Object value) {
        message.put(name, value);
    }
646175
public void setProperty(String name, String value) {
		// Set cache correctly with prop name and value.
		propertyCache.put(name, value);

		String[] propName = parsePropertyName(name);
		// Search for this property by traversing down the XML heirarchy.
		Element element = doc.getRootElement();
		for (int i = 0; i < propName.length; i++) {
			// If we don't find this part of the property in the XML heirarchy
			// we add it as a new node
			if (element.getChild(propName[i]) == null) {
				element.addContent(new Element(propName[i]));
			}
			element = element.getChild(propName[i]);
		}
		// Set the value of the property in this node.
		element.setText(value);

	}
70574
public SqlBuilder param(String name, Object value) {
    params.put(name, value);
    return this;
  }
1099833
public void setProperty(String name, String value) {
        Validate.notNullOrEmpty(name, "Name of property can not be a null object nor an empty string!");
        Validate.notNull(value, "Value of property can not be a null object!");

        configuration.put(name, value);
    }
814277
public function setParameter($name, $value)
    {
        if ($name === 'basename') {
            $this->parameters['bundle_basename'] = $value;
            $this->parameters['extension_alias'] = Container::underscore($value);
        } elseif ($name === 'json') {
            $this->parameters['json'] = $value;
            // if we have data for id field, pass it along
            $idField = $value->getField('id');
            if (!is_null($idField)) {
                $this->parameters['idField'] = $idField->getDefAsArray();
            } else {
                // if there is a json file and no id defined - so we don't do one here..
                // we leave it in the document though but we don't wanna output it..
                $this->parameters['noIdField'] = true;
            }
            $this->parameters['parent'] = $value->getParentService();
        } elseif ($name === 'recordOriginModifiable' && $value !== null) {
            $this->parameters[$name] = ($value) ? 'true' : 'false';
        } else {
            $this->parameters[$name] = $value;
        }

        return $this;
    }
213417
protected function setSubDataObject($name, $value)
    {
        // Can't add type-hinting because dataobjects may not be dataobjects.
        // Go figure.
        $this->sub_data_objects[$name] = $value;
        if ($value instanceof SwatDBRecordable && $this->db !== null) {
            $value->setDatabase($this->db);
        }
    }
540243
@Override
    public void setProperty(String name, Object value) {
        session.setProperty(name, value);
    }
1137216
synchronized void setProperty(final String name, final String value) {
        Hashtable<String, String> properties = new Hashtable<String, String>(this.properties);
        properties.put(name, value);

        this.properties = properties;
    }
87118
public void setValue (String name, String value)
    {
        String oldValue = getValue(name, (String)null);
        _prefs.put(name, value);
        _propsup.firePropertyChange(name, oldValue, value);
    }
582307
public void addEntity(SQLiteEntity value) {
		entities.put(value.getName(), value);
		entitiesBySimpleName.put(value.getSimpleName().toString().toLowerCase(), value);
		Set<SQLProperty> listEntity = null;

		// update map property name -> property collection with same name
		for (SQLProperty p : value.getCollection()) {
			listEntity = propertyBySimpleName.get(p.getName());
			if (listEntity == null) {
				listEntity = new HashSet<>();
			}
			checkName(listEntity, p);
			listEntity.add(p);
			propertyBySimpleName.put(p.getName().toLowerCase(), listEntity);
		}
	}
1293408
private function SetInternally($name, $value)
    {
        $schema = $this->GetSchema();
        $mapper = $schema->FieldMapper($name);
        $this->fieldValues[$name] = $mapper->MapValue($value);
    }
598902
public void setManyToOneAttribute(String name, AssociationValue value) {
		ensureAttributes();
		Attribute attribute = new ManyToOneAttribute(value);
		attribute.setEditable(isEditable(name));
		getAllAttributes().put(name, attribute);

	}
796291
public function setColumnValue(string $name, $value): void
	{
		$value = $this->cast($name, $value);

		if(method_exists($this, $name . 'Mutator'))
		{
			$this->columns[$name] = $this->{$name . 'Mutator'}($value);
		}
		else
		{
			$this->columns[$name] = $value;
		}
	}
120288
public void setProperty(String name, String value, int propertyIndex) {
        additionalProperties[propertyIndex].setName(name);
        additionalProperties[propertyIndex].setValue(value);
    }