Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BeanUtil.copyProperties

 
PoojaC gupta
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Urgent help needed.

I have a Value Object(VO) say AddressVO containing an array of TelephoneVO in com.abc.test package.

I need to populate the AddressVO in com.xyx.test package from the co.abc.test.AddressVO.

I am not sure how to use BeanUtils.copyProperties to populate the telephoneVO[] in it.

VO structure in both the packages:

public class AddressVO{
private TelephoneVO[] phone;
//getter + setter methods
}


Has someone dealt with this kind of scenario. If yes, please help me on this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic