net.sf.beanlib.provider
Class JavaBeanDetailedPropertyFilter
java.lang.Object
net.sf.beanlib.provider.JavaBeanDetailedPropertyFilter
- All Implemented Interfaces:
- DetailedPropertyFilter
public class JavaBeanDetailedPropertyFilter
- extends Object
- implements DetailedPropertyFilter
Default implementation of DetailedPropertyFilter
.
- 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaBeanDetailedPropertyFilter
public JavaBeanDetailedPropertyFilter()
propagate
public boolean propagate(String propertyName,
Object fromBean,
Method readerMethod,
Object toBean,
Method setterMethod)
- Description copied from interface:
DetailedPropertyFilter
- Returns true if the given property should be propagated;
false otherwise.
- Specified by:
propagate
in interface DetailedPropertyFilter
- 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.