@Override public void setReference(Variable v) throws ScriptException { if (v == null) configurationNode.setAttribute(attributeName, null); else { String value = v.getStringValue(); configurationNode.setAttribute(attributeName, value); } }