net.sf.beanlib.spi
Interface BeanPopulatable

All Known Implementing Classes:
Hibernate3DtoPopulator, HibernateBeanPopulatableSupport

public interface BeanPopulatable

Used to control if a JavaBean property should be populated.

Author:
Joe D. Velopar

Method Summary
 boolean shouldPopulate(String propertyName, Method readerMethod)
          Returns true if the given JavaBean property should be populated; false otherwise.
 

Method Detail

shouldPopulate

boolean shouldPopulate(String propertyName,
                       Method readerMethod)
Returns true if the given JavaBean property should be populated; false otherwise.

Parameters:
propertyName - JavaBean property name.
readerMethod - reader method of the JavaBean property name.
Returns:
true if the given JavaBean property should be populated.