net.sf.beanlib.spi
Interface DetailedPropertyFilter
- All Known Implementing Classes:
- JavaBeanDetailedPropertyFilter
public interface DetailedPropertyFilter
Used to control if a property should be propagated.
- Author:
- Joe D. Velopar
Method Summary |
boolean |
propagate(String propertyName,
Object fromBean,
Method readerMethod,
Object toBean,
Method setterMethod)
Returns true if the given property should be propagated;
false otherwise. |
ALWAYS_PROPAGATE
static final DetailedPropertyFilter ALWAYS_PROPAGATE
JAVABEAN_PROPAGATE
static final DetailedPropertyFilter JAVABEAN_PROPAGATE
propagate
boolean propagate(String propertyName,
Object fromBean,
Method readerMethod,
Object toBean,
Method setterMethod)
- Returns true if the given property should be propagated;
false otherwise.
- Parameters:
propertyName
- property name.fromBean
- from bean.readerMethod
- reader method of the property name.toBean
- to bean.setterMethod
- setter method of the property name.
- Returns:
- true if the given property should be propagated.