Ejemplo n.º 1
0
 public static Offer fromVO(OfferVO vo) {
   Offer entity = new Offer();
   BeanUtils.copyProperties(vo, entity, "delegation");
   if (vo.getDelegation() != null) {
     entity.setDelegation(Delegation.fromVO(vo.getDelegation()));
   }
   return entity;
 }