Package dao

Examples of dao.DocenteDAO


    private PessoaController pessoaCtrl;
    private EnderecoController enderecoCtrl;
   
    public DocenteController() {
        this.docente = new Docente();
        this.docenteDAO = new DocenteDAO();
        this.listaDeDocentes = new ArrayList<Docente>();
        this.pessoaCtrl = new PessoaController();
        this.enderecoCtrl = new EnderecoController();
    }
View Full Code Here


    }

    public String getNovoCodigo() {
        String novoCodigo = "0";
        if(GerenciadorDeConfiguracoesDoSistema.getUsarConexao()){
            docenteDAO = new DocenteDAO();
            int codigo = docenteDAO.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.DocenteDAO

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.