Package com.sertaogames.mundoj.model

Examples of com.sertaogames.mundoj.model.ItemCompra


    for (Integer id : ids) {
      Produto p = jdo.findById(Produto.class, id);

      compra.setTotal(compra.getTotal().add(p.getPreco()));

      ItemCompra itemCompra = new ItemCompra();
      itemCompra.setProduto(p);
      compra.getItens().add(itemCompra);
    }

    try {
     
View Full Code Here

TOP

Related Classes of com.sertaogames.mundoj.model.ItemCompra

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.