Oliver Heger created BEANUTILS-424:
--------------------------------------
Summary: Allow filtering the properties to be copied
Key: BEANUTILS-424
URL: https://issues.apache.org/jira/browse/BEANUTILS-424
Project: Commons BeanUtils
Issue Type: New Feature
Components: Bean / Property Utils
Affects Versions: 1.8.3
Reporter: Oliver Heger
Priority: Minor
The method {{PropertyUtilsBean.copyProperties()}} allows copying all properties
from a source bean to a target bean. There are use cases when only a subset of
the properties available should be taken into account. It would be nice if
there was an overloaded method accepting additional parameters to limit the set
of properties that will be copied.
A pretty generic solution could define a typical filter interface, e.g.
{{PropertyFilter}}. Then we can provide some default implementations, for
instance inclusion or exclusion filters based on property names.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira