Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.8.3
-
None
Description
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.