commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BEANUTILS-237) [beanutils] Add "aggressive" mode for BeanUtils.copyProperty()
Date Wed, 08 Nov 2006 00:16:52 GMT
     [ http://issues.apache.org/jira/browse/BEANUTILS-237?page=all ]

Henri Yandell updated BEANUTILS-237:
------------------------------------

      Bugzilla Id:   (was: 21076)
    Fix Version/s: LATER THAN 1.8.0

> [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
>             Fix For: LATER THAN 1.8.0
>
>
> 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


Mime
View raw message