/** * @param variable * @param value */ public void setValue(final Variable variable, final String value) { variable.setValue(value); fireEvent(VARIABLE_VALUE, null, variable); }
/** * @param mapping * @param variable * @return <code>true</code> if the supplied mapping contains the supplied variable */ public boolean mappingContainsVariable( final MappingOperation<?, ?> mapping, final Variable variable) { return mapping != null && mapping.getType() == MappingType.VARIABLE && ((VariableMapping) mapping).getSource().getName().equals(variable.getName()); }