Autobean directly have a clone() method:
clone()

An AutoBean <http://code.google.com/p/google-web-toolkit/wiki/AutoBean> and 
the property values stored within it can be cloned. The clone() method has 
a boolean parameter that will trigger a deep or a shallow copy. Any tag 
values associated with the 
AutoBean<http://code.google.com/p/google-web-toolkit/wiki/AutoBean> will 
not be cloned. AutoBeans that wrap a delegate object cannot be cloned.

>> e.g. AutoBeanUtils.decodeInto(AutoBeanUtils.encode(autobean), 
newAutoBean)
Is there any advantage of doing it this way? Am I missing something?

Thanks, 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/N8ovWakxDFMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to