We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.data.binder.
Interface Setter<BEAN,FIELDVALUE>
-
Type Parameters:
BEAN
- the type of the target beanFIELDVALUE
- the field value type to be written to the beanAll Superinterfaces:
BiConsumer<BEAN,FIELDVALUE>, Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Setter<BEAN,FIELDVALUE> extends BiConsumer<BEAN,FIELDVALUE>, Serializable
The function to write the field value to the bean property
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
-
Method Summary
All Methods Modifier and Type Method and Description void
accept(BEAN bean, FIELDVALUE fieldvalue)
Save value to the bean property.
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Method Detail
-
accept
void accept(BEAN bean, FIELDVALUE fieldvalue)
Save value to the bean property.
Specified by:
accept
in interfaceBiConsumer<BEAN,FIELDVALUE>
Parameters:
bean
- the target beanfieldvalue
- the field value to be written to the bean
-
-