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.data.util.
Class AbstractBeanContainer.PropertyBasedBeanIdResolver
- java.lang.Object
-
- com.vaadin.data.util.AbstractBeanContainer.PropertyBasedBeanIdResolver
-
All Implemented Interfaces:
AbstractBeanContainer.BeanIdResolver<IDTYPE,BEANTYPE>
,Serializable
Enclosing class:
protected class AbstractBeanContainer.PropertyBasedBeanIdResolver extends Object implements AbstractBeanContainer.BeanIdResolver<IDTYPE,BEANTYPE>
A item identifier resolver that returns the value of a bean property. The bean must have a getter for the property, and the getter must return an object of type IDTYPE.
See Also:
-
-
Constructor Summary
Constructors Constructor Description PropertyBasedBeanIdResolver(Object propertyId)
-
-
-
Constructor Detail
-
PropertyBasedBeanIdResolver
public PropertyBasedBeanIdResolver(Object propertyId)
-
-
Method Detail
-
getIdForBean
public IDTYPE getIdForBean(BEANTYPE bean) throws IllegalArgumentException
Description copied from interface:
AbstractBeanContainer.BeanIdResolver
Return the item identifier for a bean.
Specified by:
getIdForBean
in interfaceAbstractBeanContainer.BeanIdResolver<IDTYPE,BEANTYPE>
Returns:
Throws:
-
-