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=27074>.
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=27074

Add nullate utilities

           Summary: Add nullate utilities
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Bean Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

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

Reply via email to