add a new property, throw a RuntimeException if the property already exists
@param name of the property
@param value of the property
@return the added property
337317
public GrProperty addProperty(String name, Object value) {
		GrProperty prop = GrAccess.createProperty(name);
		prop.setValue(value);
		return getPropertiesContainer().addElement(prop);
	}
536650
public boolean addValue(String property, String value) {
		if (!has()) {
			getOrCreate();
		}
		boolean added = false;
		if (!hasValue(property, value)) {
			TRow row = newRow();
			row.setValue(COLUMN_PROPERTY, property);
			row.setValue(COLUMN_VALUE, value);
			getDao().insert(row);
			added = true;
		}
		return added;
	}
207990
public void addAttributeValue(String attributeName, String value) {

        if (m_entityAttributes.containsKey(attributeName)) {
            throw new RuntimeException("Attribute already exists with a entity type value.");
        }
        if (m_simpleAttributes.containsKey(attributeName)) {
            m_simpleAttributes.get(attributeName).add(value);
        } else {
            List<String> values = new ArrayList<String>();
            values.add(value);
            m_simpleAttributes.put(attributeName, values);
        }
        fireChange();
    }
1363693
public AcceptableUsagePolicyStatus setProperty(final String name, final Object value) {
        this.properties.remove(name);
        addProperty(name, value);
        return this;
    }
467389
public static AtlasVertex addProperty(AtlasVertex vertex, String propertyName, Object value) {
        if (LOG.isDebugEnabled()) {
            LOG.debug("==> addProperty({}, {}, {})", toString(vertex), propertyName, value);
        }
        propertyName = encodePropertyKey(propertyName);
        vertex.addProperty(propertyName, value);
        return vertex;
    }
984758
protected static CmsProperty createPropertyObject(String name, String value) {

        CmsProperty prop = new CmsProperty();
        prop.setAutoCreatePropertyDefinition(true);
        prop.setName(name);
        if (OpenCms.getWorkplaceManager().isDefaultPropertiesOnStructure()) {
            prop.setValue(value, CmsProperty.TYPE_INDIVIDUAL);
        } else {
            prop.setValue(value, CmsProperty.TYPE_SHARED);
        }
        return prop;
    }
26445
@Scope(DocScope.IO)
    public UrlIO addRequestProperty(final String name, final String value) {
        requestProperties.put(name, value);
        return this;
    }
495541
@SuppressWarnings("WeakerAccess")
    void addOrReplaceProperty(final String name, final Object value) {
        final String currentValue = SecurityActions.setPropertyPrivileged(name, value.toString());
        if (currentValue != null) {
            propertiesToReset.put(name, currentValue);
        } else {
            propertiesToClear.add(name);
        }
    }
996610
public RawProperty addExperimentalProperty(String name, String value) {
		return addExperimentalProperty(name, null, value);
	}
345578
public RequestBuilder<T,ID> addParameter(String name,String value)
    {
        parameters.add(name, value);
        return this;
    }
694327
public RawProperty addExperimentalProperty(String name, ICalDataType dataType, String value) {
		RawProperty raw = new RawProperty(name, dataType, value);
		addProperty(raw);
		return raw;
	}
171848
public PersistenceDescriptor addNamespace(String name, String value)
   {
      model.attribute(name, value);
      return this;
   }
53239
public EventBuilder addField(String name, Object value){
		event.addField(name, value);
		return this;
	}
131415
public XElement add(String name, Object value) {
        XElement result = add(name);
        result.parent = this;
        result.setValue(value);
        return result;
    }
658913
@JsonAnySetter
	public Sysprop addProperty(String name, Object value) {
		if (!StringUtils.isBlank(name) && value != null) {
			getProperties().put(name, value);
		}
		return this;
	}
751569
public OrmDescriptor addNamespace(String name, String value)
   {
      model.attribute(name, value);
      return this;
   }
426148
public ObjectNameBuilder addProperty(String key, String value) {
    nameStrBuilder.append(sanitizeValue(key))
        .append('=')
        .append(sanitizeValue(value)).append(",");
    return this;
  }