The Artima Developer Community
Sponsored Link

Java Buzz Forum
How to copy bean properties with a single line of code

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Vineet Manohar

Posts: 114
Nickname: vineetmano
Registered: Mar, 2009

Vineet Manohar is an entrepreneur / Senior Java Developer with 12 years of industry experience
How to copy bean properties with a single line of code Posted: Aug 30, 2010 11:46 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Vineet Manohar.
Original Post: How to copy bean properties with a single line of code
Feed Title: Vineet Manohar's blog
Feed URL: http://www.vineetmanohar.com/category/java/feed/
Feed Description: Cutting edge Java articles, Web 2.0 and other Tech topics
Latest Java Buzz Posts
Latest Java Buzz Posts by Vineet Manohar
Latest Posts From Vineet Manohar's blog

Advertisement
This article shows how to copy multiple properties from one bean to another with a single line of code, even if the property names in the source and target beans are different. Copying properties from one bean is quite common especially if you are working with a lot of POJOs, for example working with JAXB [...] Related posts:
  1. JAXB code snippets for beginners
  2. Calling a static method from EL
  3. 2 ways to convert Java Map to String

Read: How to copy bean properties with a single line of code

Topic: iTunes Scam Surfaces Previous Topic   Next Topic Topic: IntelliJ IDEA 10 EAP (96.1020)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use