Package dao

Examples of dao.AlunoDAO


    private PessoaController pessoaCtrl;
    private EnderecoController enderecoCtrl;
   
    public AlunoController() {
        this.aluno = new Aluno();
        this.alunoDAO = new AlunoDAO();
        this.listaDeAlunos = new ArrayList<Aluno>();
        this.pessoaCtrl = new PessoaController();
        this.enderecoCtrl = new EnderecoController();
    }
View Full Code Here


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

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.