BEAN
- the type of the target beanFIELDVALUE
- the field value type to be written to the bean@FunctionalInterface public interface Setter<BEAN,FIELDVALUE> extends BiConsumer<BEAN,FIELDVALUE>, Serializable
BiConsumer
,
Binder.bind(HasValue, ValueProvider, Setter)
Modifier and Type | Method and Description |
---|---|
void |
accept(BEAN bean,
FIELDVALUE fieldvalue)
Save value to the bean property.
|
andThen
void accept(BEAN bean, FIELDVALUE fieldvalue)
accept
in interface BiConsumer<BEAN,FIELDVALUE>
bean
- the target beanfieldvalue
- the field value to be written to the beanCopyright © 2019. All rights reserved.