T - the bean type@FunctionalInterface public interface EditorErrorGenerator<T> extends Serializable, BiFunction<Map<Component,Grid.Column<T,?>>,BinderValidationStatus<T>,String>
| Modifier and Type | Method and Description |
|---|---|
String |
apply(Map<Component,Grid.Column<T,?>> fieldToColumn,
BinderValidationStatus<T> status)
Generates an error message from given validation status object.
|
andThenString apply(Map<Component,Grid.Column<T,?>> fieldToColumn, BinderValidationStatus<T> status)
apply in interface BiFunction<Map<Component,Grid.Column<T,?>>,BinderValidationStatus<T>,String>fieldToColumn - the map of failed fields and corresponding columnsstatus - the binder status object with all failuresCopyright © 2020 Vaadin Ltd. All rights reserved.