/** * Checks that {@code value} is not null and not empty. */ // The rest of the Javadoc is inherited @Override @SuppressWarnings("unchecked") protected boolean isFieldEmptyForWrite(Object value) { return super.isFieldEmptyForWrite(value) || ((MultiValuedMap<Object, Object>)value).isEmpty(); } }
new BeanFieldSingleValue<T>(field, required, errorLocale, converter, capture, format)); } else { fieldMap.put(columnName, new BeanFieldSingleValue<T>( field, required, errorLocale, converter, capture, format));
super.assignValueToField(bean, currentValue, header); } catch (IllegalAccessException | InvocationTargetException | ClassCastException e) { CsvBeanIntrospectionException csve =
CsvConverter converter = determineConverter(field, field.getType(), fieldLocale, null); fieldMap.put(annotation.position(), new BeanFieldSingleValue<T>( field, required, errorLocale, converter, capture, format));