commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janne postilista <jannepostilis...@gmail.com>
Subject Re: [beansutils] copyProperties when property names are different?
Date Wed, 18 Aug 2010 07:42:03 GMT
Thanks. dozer seems great for my needs.

On Tue, Aug 17, 2010 at 5:40 PM, Adrian Mitev
<adrian.mitev@googlemail.com>wrote:

> 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