Package daoTeste

Source Code of daoTeste.AvaliacaoDAO

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

import model.Avaliacao;

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

    public Avaliacao getAvaliacao(String codigo) {
        Avaliacao avaliacao = new Avaliacao();
        avaliacao.setCodigoAvaliacao(Integer.parseInt(codigo));
        return avaliacao;
    }   

    public boolean salvar(Avaliacao pAvaliacao) {
        return true;
    }

    public boolean atualizar(Avaliacao pAvaliacao) {
        return true;
    }

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

    public int getMaiorCodigo() {       
        int intCodigo = 0;       
        return intCodigo;
    }
}
TOP

Related Classes of daoTeste.AvaliacaoDAO

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.