code_junkie

Quick method to convert classes implementing same interface

Nov 11th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Copy property values from the origin bean to the destination bean for all cases where the property names are the same.
  2.  
  3. For more details see BeanUtilsBean.
  4.  
  5. Parameters:
  6. dest - Destination bean whose properties are modified
  7. orig - Origin bean whose properties are retrieved
Add Comment
Please, Sign In to add comment