Package dao

Examples of dao.EmpresaDAO


    private PessoaController pessoaCtrl;
    private EnderecoController enderecoCtrl;
   
    public EmpresaController() {
        this.empresa = new Empresa();
        this.empresaDAO = new EmpresaDAO();
        this.listaDeEmpresas = new ArrayList<Empresa>();
        this.pessoaCtrl = new PessoaController();
        this.enderecoCtrl = new EnderecoController();
    }
View Full Code Here


    }

    public String getNovoCodigo() {
        String novoCodigo = "0";
        if(GerenciadorDeConfiguracoesDoSistema.getUsarConexao()){
            empresaDAO = new EmpresaDAO();
            int codigo = empresaDAO.getMaiorCodigo() + 1;
            novoCodigo = String.valueOf(codigo);
        }else
            JOptionPane.showMessageDialog(null, Strings.mensagemConexaoDesativada, Strings.tituloMessage, JOptionPane.INFORMATION_MESSAGE);
      
View Full Code Here

TOP

Related Classes of dao.EmpresaDAO

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.