摘要:
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... 阅读全文