Package ecar.pojo

Examples of ecar.pojo.AcompRealFisicoLocalArfl


          }

          vlr = Util.formataNumero(vlr);
          Double vlrDouble = Double.parseDouble(vlr);
         
          AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();

          arfl.setLocalItemLit(local);
         
          // Alterando o valor do arfl e incluindo ele na lista
          arfl.setQuantidadeArfl(vlrDouble);
          listaArfl.add(arfl);
        }
      }

      // Salvando a lista de arfl
View Full Code Here


       
        for (Iterator iterator = locaisItem.iterator(); iterator.hasNext();) {
 
              ItemEstrutLocalIettl itemLocal = (ItemEstrutLocalIettl) iterator.next();
              LocalItemLit local = itemLocal.getLocalItemLit();
            AcompRealFisicoLocalArfl arfl = arflDAO.getAcompRealFisicoLocalByLocal(arf, local);
//            if (arfl.getQuantidadeArfl() == null){
//              arfl.setQuantidadeArfl(0.0);
//            }
           
         
            responseHTML.append("<tr>");
           
            String nomeLocal = "";
            Local localLabel = new Local(itemLocal.getLocalItemLit());
            if(localLabel.getAbrangencia() == Local.MUNICIPIO){
              //pega o simbolo do estado
              //testa antes, por que pode haver erros no banco de
              //dados, ou seja, um munic�pio sem estado...
              if(localLabel.getPais() != null && localLabel.getPais().size() > 0){
                nomeLocal = localLabel.getPais().get(0).getSigla().concat(" ");
              }
             
              nomeLocal = nomeLocal.concat(itemLocal.getLocalItemLit().getIdentificacaoLit());
            }else{
              nomeLocal = itemLocal.getLocalItemLit().getIdentificacaoLit();
            }

           
            // Criar uma c�lula contendo o nome do local
            strTdSeta = new String (
                        "<td align='rigth' width='50%' height='30px' valign='center'>" +
                        "  <table width='100%' valign='center'> " +
                        "    <tr>" +
                        "      <td width='25%' align='right'>" +
                        "        <img src='../../images/icon_seta_ident.gif'/>" +
                        "      </td>" +
                        "      <td width='75%'>" +
                        "        " + nomeLocal +
                        "        &nbsp;" +
                        "      </td>" +
                        "    </tr>" +
                        "  </table>" +
                        "</td>"
            );
            responseHTML.append(strTdSeta);
       
            // Criar uma c�lula contendo um campo e uma imagem de informa��o.
            if (podeGravar.equals("S")){
              statusAlteracao = "true";
            }
            else{
              statusAlteracao = "false";
            }
           
            String valorInput = "";

            if (arfl.getQuantidadeArfl() != null){
              valorInput = "    value=\"" + formatBrasil.format(arfl.getQuantidadeArfl()) + "\"";
            }           
           
            strTdCampo = new String (
                        "<td width=\"50%\" align=\"center\" valign=\"center\">" +
                        "  <input " +
View Full Code Here

       
        if(lit == null || arf == null) {
          throw new Exception("lit == null || arf == null");
        }
       
        AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();
        arfl.setLocalItemLit(lit);
        arfl.setAcompRealFisicoArf(arf);
        arfl.setQuantidadeArfl(bean.getQtde());
        session.save(arfl);
      }
     
      System.out.println("Commit...");
      tx.commit();
View Full Code Here

       
        if(lit == null || arf == null) {
          throw new Exception("lit == null || arf == null");
        }
       
        AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();
        arfl.setLocalItemLit(lit);
        arfl.setAcompRealFisicoArf(arf);
        arfl.setQuantidadeArfl(bean.getQtde());
        session.save(arfl);
      }
     
      System.out.println("Commit...");
      tx.commit();
View Full Code Here

       
        if(lit == null || arf == null) {
          throw new Exception("lit == null || arf == null");
        }
       
        AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();
        arfl.setLocalItemLit(lit);
        arfl.setAcompRealFisicoArf(arf);
        arfl.setQuantidadeArfl(bean.getQtde());
        session.save(arfl);
      }
     
      //int i = Integer.parseInt("asdasd.as;;");
     
View Full Code Here

       
        if(lit == null || arf == null) {
          throw new Exception("lit == null || arf == null");
        }
       
        AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();
        arfl.setLocalItemLit(lit);
        arfl.setAcompRealFisicoArf(arf);
        arfl.setQuantidadeArfl(bean.getQtde());
        session.save(arfl);
      }
     
      //int i = Integer.parseInt("asdasd,adsd.as");
     
View Full Code Here

       
        if(lit == null || arf == null) {
          throw new Exception("lit == null || arf == null");
        }
       
        AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();
        arfl.setLocalItemLit(lit);
        arfl.setAcompRealFisicoArf(arf);
        arfl.setQuantidadeArfl(bean.getQtde());
        session.save(arfl);
      }
     
      //int i = Integer.parseInt("asdasd,adsd.as");
     
View Full Code Here

       
        if(lit == null || arf == null) {
          throw new Exception("lit == null || arf == null");
        }
       
        AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();
        arfl.setLocalItemLit(lit);
        arfl.setAcompRealFisicoArf(arf);
        arfl.setQuantidadeArfl(bean.getQtde());
        session.save(arfl);
      }
     
      //int i = Integer.parseInt("asdasd,adsd.as");
     
View Full Code Here

       
        if(lit == null || arf == null) {
          throw new Exception("lit == null || arf == null");
        }
       
        AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();
        arfl.setLocalItemLit(lit);
        arfl.setAcompRealFisicoArf(arf);
        arfl.setQuantidadeArfl(bean.getQtde());
        session.save(arfl);
      }
     
      //int i = Integer.parseInt("asdasd.as;;");
     
View Full Code Here

       
        if(lit == null || arf == null) {
          throw new Exception("lit == null || arf == null");
        }
       
        AcompRealFisicoLocalArfl arfl = new AcompRealFisicoLocalArfl();
        arfl.setLocalItemLit(lit);
        arfl.setAcompRealFisicoArf(arf);
        arfl.setQuantidadeArfl(bean.getQtde());
        session.save(arfl);
      }
     
      //int i = Integer.parseInt("asdasd.as;;");
     
View Full Code Here

TOP

Related Classes of ecar.pojo.AcompRealFisicoLocalArfl

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.