Hi,

I have four classes.

public class AccountForm
{
  private String accNum;
}

public class Account
{
  private String accNum;
}

public class CustomerForm
{
     private String custRef = "";
     private Vector accounts= null;//Contains objects
of AccountForms classes

     //Get, set methods
}

public class Customer
{
     private String custRef = "";
     private Vector accounts = null; //Contains
objects of Account classes

     //Get, set methods
}

Now I need to copy properties from CustomerForm object
to Customer object.

My customers classes accounts vector contains Account
objects. CustomerForm classes accounts vector contains
AccountForms.

So when BeanUtils copy accounts vector from
CustomerForm to Customer class, will it also convert
AccountForms to Accounts. If not is there a way that I
can do that.

Thanking You,
Chamal.




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to