Examples of Movimento


Examples of com.sevenrtc.aas.entidades.Movimento

  /** Construtor para novos movimentos */
  public MovimentosDialog(JDialog parent, String title, char tipo) {
    super(parent, title, true);
    try {
      jbInit();
      this.mv = new Movimento(-1, 0, 0, tipo, -1, null, Contextos
          .getContextoAtual());
      this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
      this.setLocationRelativeTo(parent);
      this.setVisible(true);
    } catch (Exception e) {
View Full Code Here

Examples of com.sevenrtc.aas.entidades.Movimento

            Conta.update(con2);
        }

        // Testa as funcionalidades da classe Movimento
        {
            Movimento mov = new Movimento(-1, (Number) Constantes.getFormatterValor().stringToValue("250,00"),
                    (Number) Constantes.getFormatterValor().stringToValue(
                    "(1.000.000,00)"), 'c', 2, "33.33.1", 2);
            Movimento.store(mov);
            ResultSet rs = DAO.query("select * from mov_movimento");
            try {
                rs.next();
            } catch (SQLException e) {
                e.printStackTrace();
            }
            Movimento mov2 = Movimento.load(rs);
            Movimento.delete(mov);
            Movimento.store(mov2);
            mov2.setTipo('d');
            Movimento.update(mov2);

        }

        // Limpa o banco
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.