commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Mitev <adrian.mi...@googlemail.com>
Subject Re: [beansutils] copyProperties when property names are different?
Date Tue, 17 Aug 2010 14:40:52 GMT
Use more powerful tool like dozer.

On Tue, Aug 17, 2010 at 5:13 PM, janne postilista <
jannepostilistat@gmail.com> wrote:

> Hi,
>
> AFAIK beansutils starts from the assumption that the properties are
> named identically.
>
> What if for some reason I have beans A and B and the property names,
> or some of them, are named differently (one has setLastName while
> other has setFamilyName)?
>
> Is there any easy-to-use helper to do this (in beansutils or
> elsewhere) or should I implement this myself?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>


-- 
Although nobody can come back and make a new start, anyone can start now and
make a new end

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message