Package com.vaadin.data.util
Interface AbstractBeanContainer.BeanIdResolver<IDTYPE,BEANTYPE>
-
- Type Parameters:
IDTYPE
-BEANTYPE
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractBeanContainer.PropertyBasedBeanIdResolver
- Enclosing class:
- AbstractBeanContainer<IDTYPE,BEANTYPE>
public static interface AbstractBeanContainer.BeanIdResolver<IDTYPE,BEANTYPE> extends Serializable
Resolver that maps beans to their (item) identifiers, removing the need to explicitly specify item identifiers when there is no need to customize this. Note that beans can also be added with an explicit id even if a resolver has been set.- Since:
- 6.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IDTYPE
getIdForBean(BEANTYPE bean)
Return the item identifier for a bean.
-