Package com.vaadin.featurepack.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>
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
Modifier and TypeMethodDescriptiongetIdForBean(BEANTYPE bean) Return the item identifier for a bean.
-
Method Details
-
getIdForBean
Return the item identifier for a bean.- Parameters:
bean-- Returns:
-