Package daoTeste

Source Code of daoTeste.ContatoDAO

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package daoTeste;

import model.Contato;

/**
*
* @author Consult
*/
public class ContatoDAO {

    public Contato getContato(String codigo) {
        Contato contato = new Contato();
        contato.setCodigoContato(Integer.parseInt(codigo));
        return contato;
    }
       
    public int getMaiorCodigo() {
        int intCodigo = 0;
        return intCodigo;
    }
   
    public boolean salvar(Contato pContato) {
        return true;
    }

    public boolean atualizar(Contato pContato) {
        return true;
    }

    public boolean excluir(String codigo) {
        return true;
    }

}
TOP

Related Classes of daoTeste.ContatoDAO

TOP
Copyright © 2018 www.massapi.com. 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.