DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21076>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21076

Add "aggressive" mode for BeanUtils.copyProperty()

           Summary: Add "aggressive" mode for BeanUtils.copyProperty()
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Bean Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Currently, the Beanutils.copyProperty() method behaves as per the javadoc:

"If the specified bean does not have a property of the specified name, or the 
property is read only on the destination bean, return without doing anything"

It would be good if the method could take an optional extra parameter which 
indicated whether or not this behaviour should be more aggressive, i.e. if the
bean does not have a read-write property of the appropriate name, then throw an
exception.  An overloaded copyProperty() is the obvious choice.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to