这个简单呢,对属性copy,或者设置值之类的,一般用于vo与model的转换...
这两个是完全不同的接口啊,功能不一样的:
public static void copyProperties(Object dest, Object orig) throws IllegalAccessException, InvocationTargetException
Copy property values from the origin bean to the destination bean for all cases where the property names are the same.
public static void setProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException
Set the specified property value, performing type conversions as required to conform to the type of the destination property.