Package daoTeste

Examples of daoTeste.ContatoDAO


    private Contato contato;
    private ContatoDAO contatoDAO;
   
    public ContatoController() {
        this.contato = new Contato();
        this.contatoDAO = new ContatoDAO();
    }
View Full Code Here


        this.contatoDAO = new ContatoDAO();
    }

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

TOP

Related Classes of daoTeste.ContatoDAO

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.