commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janne postilista <jannepostilis...@gmail.com>
Subject [beansutils] copyProperties when property names are different?
Date Tue, 17 Aug 2010 14:13:31 GMT
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


Mime
View raw message