/** * Returns the field value. This is always identical to {@link #getValue()} * and only here because of clarity in the code that handles both the data * model value and the field value. * * @return The value of the field */ private T getFieldValue() { // Give the value from abstract buffers if the field if possible if (dataSource == null || isBuffered() || isModified()) { return getInternalValue(); } // There is no buffered value so use whatever the data model provides return convertFromModel(getDataSourceValue()); }
newFieldValue = convertFromModel(getDataSourceValue());
T fieldValue = convertFromModel(getDataSourceValue()); setInternalValue(fieldValue);