import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Objects;
+import java.util.Set;
import java.util.function.Function;
import java.util.function.Predicate;
import com.vaadin.data.util.BeanUtil;
import com.vaadin.data.util.converter.Converter;
import com.vaadin.data.validator.BeanValidator;
+import com.vaadin.ui.AbstractMultiSelect;
+import com.vaadin.ui.AbstractSingleSelect;
/**
* A {@code Binder} subclass specialized for binding <em>beans</em>: classes
this::handleValidationStatus);
}
+ @Override
+ public <SELECTVALUE> BeanBinding<BEAN, SELECTVALUE, SELECTVALUE> forSelect(
+ AbstractSingleSelect<SELECTVALUE> select) {
+ return (BeanBinding<BEAN, SELECTVALUE, SELECTVALUE>) super.forSelect(
+ select);
+ }
+
+ @Override
+ public <SELECTVALUE> BeanBinding<BEAN, Set<SELECTVALUE>, Set<SELECTVALUE>> forSelect(
+ AbstractMultiSelect<SELECTVALUE> select) {
+ return (BeanBinding<BEAN, Set<SELECTVALUE>, Set<SELECTVALUE>>) super.forSelect(
+ select);
+ }
+
/**
* Binds the given field to the property with the given name. The getter and
* setter methods of the property are looked up with bean introspection and