Package daoTeste

Examples of daoTeste.CandidatoDAO


    private PessoaController pessoaCtrl;
    private EnderecoController enderecoCtrl;
   
    public CandidatoController() {
        this.candidato = new Candidato();
        this.candidatoDAO = new CandidatoDAO();
        this.pessoaCtrl = new PessoaController();
        this.enderecoCtrl = new EnderecoController();
    }
View Full Code Here


        this.enderecoCtrl = new EnderecoController();
    }

    public String getNovoCodigo() {
        String novoCodigo = "0";
        candidatoDAO = new CandidatoDAO();
        int codigo = candidatoDAO.getMaiorCodigo() + 1;
        novoCodigo = String.valueOf(codigo);
        return novoCodigo;
    }
View Full Code Here

TOP

Related Classes of daoTeste.CandidatoDAO

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.