DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37987>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37987 ------- Additional Comments From [EMAIL PROTECTED] 2005-12-21 14:59 ------- I don't understand how this behavior is inconsistent. Only the matching (same name and type) properties can be copied. So, case 3, IMO is fine the way it's implemented. A Project object doesn't have a purchaseNr property, so the purchaseNr property can't be copied from the PurchaseItem object to the Project object. However, what I do think might be nice is if we had an additional parameter to copyProperties() which specified exactly which properties to copy (a collection/array of Strings which specified the property names). This would be a bit more flexible, because there could be instances where you can't use a class/interface to specify which properties to copy (you don't want to copy the "id" property for instance). Would that work for you? We could actually provide both, I guess so that you wouldn't have to manually construct the collection of property names by hand. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
