commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: [beansutils] copyProperties when property names are different?
Date Wed, 18 Aug 2010 14:58:19 GMT
I didn't want to say anything, but I can't in good conscience let somebody use Dozer without
at least knowing Morph exists:  http://morph.sourceforge.net .  -Matt

On Aug 18, 2010, at 2:42 AM, janne postilista wrote:

> 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
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message