/** * Sets the value based on a string representation. Returns false if the value could * not be set from the given string. * TODO: return void (see doSetValue) * * @param value the value to set * @return true on success, false otherwise * @throws IllegalArgumentException when value is null */ protected final boolean setValue(String value) { if (value == null) throw new IllegalArgumentException("Null value is not allowed"); return doSetValue(value); }