You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/11/06 06:26:41 UTC
[jira] Updated: (BEANUTILS-237) [beanutils] Add "aggressive" mode
for BeanUtils.copyProperty()
[ http://issues.apache.org/jira/browse/BEANUTILS-237?page=all ]
Niall Pemberton updated BEANUTILS-237:
--------------------------------------
Bugzilla Id: (was: 21076)
Component/s: Bean / Property Utils
> [beanutils] Add "aggressive" mode for BeanUtils.copyProperty()
> --------------------------------------------------------------
>
> Key: BEANUTILS-237
> URL: http://issues.apache.org/jira/browse/BEANUTILS-237
> Project: Commons BeanUtils
> Issue Type: Improvement
> Components: Bean / Property Utils
> Environment: Operating System: other
> Platform: Other
> Reporter: apachebugs
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org