Implementing Copy Constructors using Spring BeanUtils.copyProperties()
I got interested in automating copy constructors today and realized what perhaps is obvious and certainly others have already realized: that Spring's BeanUtils copyProperties() method can be an effective tool for quickly implementing copy constructors with support for copying appropriately from within a class hierarchy.
0 Comments:
Post a Comment
<< Home