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:
- AbstractBeanContainer<IDTYPE,BEANTYPE>
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:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBeanContainer.PropertyBasedBeanIdResolver
public AbstractBeanContainer.PropertyBasedBeanIdResolver(Object propertyId)
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 interface AbstractBeanContainer.BeanIdResolver<IDTYPE,BEANTYPE>
- Returns:
-
- Throws:
IllegalArgumentException
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.