"Michael L. Heuer" wrote:
>
> On 16 Apr 2001 [EMAIL PROTECTED] wrote:
>
> > Log:
> > initial checkin : set of basic tests for BeanUtils (found a small bug in
>BeanUtils
> > while writing it). Mostly complete. Want to add a 'depopulate()' to parallel
> > populate() in BeanUtils before testing (once I can find a smarter name for it)
>
> For this depopulate method, were you thinking of maintaining round-trip
> functionality between the two? I proposed a describe method on the list a
> little while back with a different use in mind, but replace
> getDisplayName() with getName() in the code I posted and you have
> depopulate().
>
Sorry - I don't remember your post. I am not 100% sure what 'round-trip
functionality' mean, but I think so :
populate( newbean, depopulate( oldbean ) ) -> newbean == oldbean modulo
non-property diffs
What I was thinking about was a method that would return a Map
containing the appropos name/value pairs...
Is that what you were thinking of?
--
Geir Magnusson Jr. [EMAIL PROTECTED]
Developing for the web? See http://jakarta.apache.org/velocity/