摘要: public class FatherToChildUtils { /* * 将父类所有的属性COPY到子类中。 * 类定义中child一定要extends father; * 而且child和father一定为严格javabean写法,属性为deleteDate,方法为getDeleteDate */ public static void fatherToChild (Object father,Object child){ if(!(child.getClass().getSuperclass()==father.g... 阅读全文
posted @ 2013-12-27 15:52 chasewade 阅读(6068) 评论(0) 推荐(0) 编辑