Adds properties to the model in key/value pairs.

@param configuration the configuration to get the properties from
@param model         the model to update
331950
static void addProperties(final PropertyConfigurable configuration, final ModelNode model) {
        for (String name : configuration.getPropertyNames()) {
            setModelValue(model.get(name), configuration.getPropertyValueString(name));
        }
    }
581638
private static void setConfigurationFromSystemProperties(Configuration configuration,
      PropertyKey[] propertyNames) {
    for (PropertyKey propertyName : propertyNames) {
      setConfigurationFromSystemProperty(configuration, propertyName.toString());
    }
  }
32909
private void addProperties(final PropertyDescriptor[] _properties) throws ColumnBuilderException, ClassNotFoundException {
        for (final PropertyDescriptor property : _properties) {
            if (isValidProperty(property)) {
                addColumn(getColumnTitle(property), property.getName(), property.getPropertyType().getName(), getColumnWidth(property));
            }
        }
        setUseFullPageWidth(true);
    }
227262
private void addConfigParam(String name, Object value) throws ConfigurationException {
        if (isModuleName(name)) {
            Utils.require(value instanceof Map,
                          "Value for module '%s' should be a map: %s", name, value.toString());
            updateMap(m_params, name, value);
        } else {
            setLegacyParam(name, value);
        }
    }
101168
public void configure(CompilerConfiguration configuration) {
        super.configure(configuration);
        this.debug = configuration.getDebug();

        if (!this.configured && this.classLoader instanceof GroovyClassLoader) {
            appendCompilerConfigurationClasspathToClassLoader(configuration, (GroovyClassLoader) this.classLoader);
        }

        this.configured = true;
    }
934492
private static void setConfigurationFromSystemProperty(Configuration configuration,
      String propertyName) {
    String propertyValue = System.getProperty(propertyName);
    if (propertyValue != null && configuration.get(propertyName) == null) {
      configuration.set(propertyName, propertyValue);
    }
  }
743537
@Override
    public void addProperty(Property property) {
        properties.add(property);
        property.addPropertyChangeListener(this);
        buildModel();
    }
55766
@SuppressWarnings("unchecked")
	private void addParameters(Model model, HttpServletRequest request) {
		for (Object objectEntry : request.getParameterMap().entrySet()) {
			Map.Entry<String, String[]> entry = (Map.Entry<String, String[]>) objectEntry;
			String key = entry.getKey();
			String[] values = entry.getValue();
			if (null != values && values.length > 0) {
				String value  = values[0];
				try {
					model.addAttribute(key, getParameter(key, value));
				} catch (ParseException pe) {
					log.error("Could not parse parameter value {} for {}, ignoring parameter.", key, value);
				} catch (NumberFormatException nfe) {
					log.error("Could not parse parameter value {} for {}, ignoring parameter.", key, value);
				}
			}
		}
	}
870873
public void updateProperties(Map<Object, Object> properties) {
        this.commonProperties = properties;
        this.myConfig = new HttpFactoryConfig(properties);
    }
1064597
public void setConfigurations(java.util.Collection<Configuration> configurations) {
        if (configurations == null) {
            this.configurations = null;
            return;
        }

        this.configurations = new java.util.ArrayList<Configuration>(configurations);
    }
698614
public void apply(CitrusAppConfiguration configuration) {
        setPackages(configuration.getPackages());
        setTestClasses(configuration.getTestClasses());
        setIncludes(configuration.getIncludes());
        addDefaultProperties(configuration.getDefaultProperties());
    }
87903
public void addFieldParser (String property, FieldParser parser)
    {
        if (_parsers == null) {
            _parsers = new HashMap<String,FieldParser>();
        }
        _parsers.put(property, parser);
    }
648029
@Override
    public void setProperties(Configuration<?> config) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.entry(tc, "setProperties", config);
        }
        if (properties != null) {
            for (Property ptype : properties) {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                    Tr.debug(tc, "Name is " + ptype.getName() + "Value is " + ptype.getValue());
                }
                config.addProperty(ptype.getName(), ptype.getValue());
            }
        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.exit(tc, "setProperties");
        }
    }
796205
public void addCache(Object key, String className, Object model) {
		if (key == null)
			return;
		if (ModelUtil.isModel(model.getClass()))
			modelCacheManager.saveCache(key, className, model);
		else
			Debug.logError("addCache error:" + model.getClass() + " not ModelIF or @Model", module);

	}
916712
public void init(String configuration) {

        // initialize the members
        m_additionalButtons = new ArrayList<String>(OPTIONAL_BUTTONS_LIST.size());
        m_configuration = configuration;
        m_editorHeight = EDITOR_DEFAULTHEIGHT;
        m_hiddenButtons = new ArrayList<String>();
        // initialize the widget options
        parseOptions(configuration);
    }
633168
public void addProperty(String key, String value) {
        if (null == properties) {
            properties = new HashMap<>();
        }
        properties.put(key, value);
    }
850487
public void add(ConfigurationMetadataProperty property,
			ConfigurationMetadataSource source) {
		if (source != null) {
			putIfAbsent(source.getProperties(), property.getId(), property);
		}
		putIfAbsent(getGroup(source).getProperties(), property.getId(), property);
	}