Adds multivalued property value.

@param name property name.
@param value property values.
175921
public void put(String name, Object[] values) {
        if (values instanceof EsRequest[]) {
            Object[] docs = new Object[values.length];
            for (int i = 0; i < docs.length; i++) {
                docs[i] = ((EsRequest)values[i]).document;
            }
            document.setArray(name, docs);
        } else {
            document.setArray(name, values);
        }
    }
327033
public void addToConfiguration(String name, String value) {
        if (this.sessionConfigProperties == null) {
            this.sessionConfigProperties = new Properties();
        }
        this.sessionConfigProperties.setProperty(name, 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);
    }
633168
public void addProperty(String key, String value) {
        if (null == properties) {
            properties = new HashMap<>();
        }
        properties.put(key, value);
    }
24472
public void addParameter( String name, String value )
    {
        if ( _additionalParameters == null )
        {
            _additionalParameters = new HashMap();
        }
        
        _additionalParameters.put( name, value );
    }
399247
public void addValue(String value)
    {
        if(this.values == null)
            this.values = new ArrayList<String>();
        this.values.add(value);
    }
829636
public void setProperty(final String name, final String val) {
    if (props == null) {
      props = new Properties();
    }

    props.setProperty(name, val);
  }
911722
public void addField(final String name, final Object value) {
        if (value == null) {
            this.fields.add(new Field(name, null, null));
        } else {
            this.fields.add(new Field(name, value.toString(), value.getClass().getName()));
        }
    }
87118
public void setValue (String name, String value)
    {
        String oldValue = getValue(name, (String)null);
        _prefs.put(name, value);
        _propsup.firePropertyChange(name, oldValue, value);
    }
835423
public void registerValue(LinearInterpolator value, String name) {
		// add to properties combobox
		properties.addItem(name);

		// add to value map
		values.put(name, value);

		// set as current interpolator
		panel.setInterpolator(value);

		// enable all input fields
		enableControls();
	}
51998
public void addStaticElVarValue(final String name, final String value) {
        check(!staticElValues.containsKey(name),
                "Duplicate el variable %s value declaration: %s (original: %s)", name, value,
                staticElValues.get(name));
        check(!dynamicElValues.contains(name),
                "El variable %s can't be registered as static, because dynamic declaration already defined",
                name);
        staticElValues.put(name, value);
    }
367338
public void addObjectToSession(String name, Object value) {
        if (session == null) {
            session = new HashMap<>();
        }
        if (logger.isDebugEnabled()) {
            logger.debug("Add object [" + name + "] to session with value [" + value + "]");
        }
        session.put(name, value);
    }
750594
public void addParam(String name, String value) {
        if (name == null) {
            throw new NullPointerException("name");
        }
        if (value == null) {
            throw new NullPointerException("value");
        }
        params.add(new Param(name, value));
    }
1192794
public List<V> put(String name, V value) {
        if (value == null) {
            return super.put(name, null);
        }
        List<V> vals = new ArrayList<>();
        vals.add(value);
        return put(name, vals);
    }
12050
public void addCollectionAttribute(String name, Object value) {
        List<Object> attributeValues = getCollectionAttribute(name);
        attributeValues.add(value);
    }
337317
public GrProperty addProperty(String name, Object value) {
		GrProperty prop = GrAccess.createProperty(name);
		prop.setValue(value);
		return getPropertiesContainer().addElement(prop);
	}
131415
public XElement add(String name, Object value) {
        XElement result = add(name);
        result.parent = this;
        result.setValue(value);
        return result;
    }