/** * Gets the parameter mappings map to process this function instantiation. * * @return the parameter mappings map */ @XmlElement(name = "parameter_mappings") public Map<String, String> getParameterMappings() { initParameterMappings(false); return parameterMappings; }
/** * Adds a new parameter mapping to the parameter mappings collection. * * @param keyParameter the key of the parameter mapping * @param valueParameter the value fo the parameter mapping */ public void addParameterMapping(final String keyParameter, final String valueParameter) { if (keyParameter != null && valueParameter != null) { if (parameterMappings == null) { initParameterMappings(false); if (null == parameterMappings) { parameterMappings = Maps.newLinkedHashMap(); } } parameterMappings.put(keyParameter, valueParameter); refreshParameterMappingsString(); } }