Add field with given name and value using {@link UpdateAction#ADD} to the fields to be updated.

@param fieldName
@param value
182462
public void addValueToField(String fieldName, Object value) {
		add(new SimpleUpdateField(fieldName, value, UpdateAction.ADD));
	}
1205299
public boolean add(String name, Object value)
    {
        if(name == null)
            throw new NullPointerException("name == null");
        add(name);
        add(value.toString());
        return true;
    }
854905
public void add(String name, Map<?, ?> value) {
		if (value != null) {
			this.content.put(name, value);
		}
	}
1249144
@Override
    public void put(String name, Object value) {
        emulatedFields.put(name, value);
    }
494155
public void addAction(M element, int value)
    {
        actions.put(element, Integer.valueOf(value));
    }
893195
public void add(final String name, final String value) {
    ArrayList<String> values = super.get(name);
    if (values == null) {
      values = new ArrayList<String>(1);  // Often there's only 1 value.
      super.put(name, values);
    }
    values.add(value);
  }
1107439
public void setList(String fieldName, List<?> value) {
		if (value == null) {
			// list默认允许传入null
			return;
		}
		fieldList.add(fieldName);
		statementParameter.setList(value);
	}
429223
void addField(final String name, final long value)
            throws IllegalStateException {

        addField(name, Long.toString(value));

    }
151559
public void setName(String fieldName) {
        if (m_name != null) {
            throw new IllegalArgumentException("Field name is already set: " + m_name);
        }
        if (!isValidFieldName(fieldName)) {
            throw new IllegalArgumentException("Invalid field name: " + fieldName);
        }
        m_name = fieldName;
    }
155397
protected function addValue(&$fieldsArray, $name, $value)
    {
        $arrayCheck = substr($name, -2);

        if ($arrayCheck == '[]') {
            $nameSubstr = substr($name, 0, -2);
            if (!isset($fieldsArray[$nameSubstr]))
                $fieldsArray[$nameSubstr] = [];

            $fieldsArray[$nameSubstr][] = $value;
        } else {
            $fieldsArray[$name] = $value;
        }
    }
1252751
private void addValue(String name, ValueDescriptor<?> value) {
        if (arrayValueDescriptor != null && name == null) {
            getArrayValue().add(value);
        } else {
            setValue(descriptor, value);
        }
    }
629884
public DB2ESImportBuilder addFieldValue(String fieldName, Object value){
		addFieldValue(  fieldValues,  fieldName,  value);
		return this;
	}
879653
public static void setFieldValue(final Object obj, final String fieldName, final Object value) {
		Field field = getField(obj.getClass(), fieldName);
		if (field == null) {
			throw new IllegalArgumentException("Could not find field [" + fieldName + "] on target [" + obj + ']');
		}
		setField(obj, field, value);
	}
656111
void addPasswordField(final String name, final String value)
            throws IllegalStateException {

        addField(name, (value == null) ? null : "*****");

    }
1220372
public void add(String name, Object value) {
		if (value != null) {
			this.content.put(name, value);
		}
	}
350380
public String put(String name,String value)
    {
        if (value==null)
            return remove(name);
        
        FieldInfo info=getFieldInfo(name);
        Field field=getField(info,false);
        // Look for value to replace.
        if (field!=null)
        {
            String old=(field._version==_version)?field._value:null;
            field.reset(value,_version);

            field=field._next;
            while(field!=null)
            {
                field.clear();
                field=field._next;
            }
            return old;    
        }
        else
        {
            // new value;
            field=new Field(info,value,_version);
            int hi=info.hashCode();
            if (hi<_index.length)
                _index[hi]=_fields.size();
            _fields.add(field);
            return null;
        }
    }
627511
public void addGroupBy(String fieldName)
    {
        if (fieldName != null)
        {
            _getGroupby().add(new FieldHelper(fieldName, false));
        }
    }