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
getIdForBean
IDTYPE getIdForBean(BEANTYPE bean)
- Return the item identifier for a bean.
- Parameters:
bean
-
- Returns:
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.