[ http://issues.apache.org/jira/browse/BEANUTILS-238?page=all ]
Henri Yandell updated BEANUTILS-238:
------------------------------------
Bugzilla Id: (was: 27074)
Fix Version/s: LATER THAN 1.8.0
> [beanutils] Add nullate utilities
> ---------------------------------
>
> Key: BEANUTILS-238
> URL: http://issues.apache.org/jira/browse/BEANUTILS-238
> Project: Commons BeanUtils
> Issue Type: Improvement
> Components: Bean / Property Utils
> Environment: Operating System: other
> Platform: Other
> Reporter: Marc Guillemot
> Priority: Minor
> Fix For: LATER THAN 1.8.0
>
>
> It's a common task to reset all properties of an object to null (or to default
> values for primitives), for instance in Struts in the reset method of
> subclasses
> of ActionForm.
> It would be usefull to have something like
> - nullateProperties(Object _o)
> to nullate the properties of _o declared by the class of _o
> - nullateProperties(Object _o, Class _clazz)
> to nullate the properties of _o declared by _clazz
> - nullateProperties(Object _o, Class _clazz, boolean _bAncestorsToo)
> to nullate the properties of _o declared by _clazz and its ancestors
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]