「Java」BeanUtils.copyPropertiesの使い方

Javaコード:
Product srcProduct = new Product();
srcProduct.setName(“iphone 7");
Product destProduct = new Product();
PropertyUtils.copyProperties(destProduct, srcProduct);
System.out.println(destProduct.getName());

Java

Posted by arkgame