Package daoTeste

Source Code of daoTeste.AlunoDAO

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

package daoTeste;

import model.Aluno;

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

    public Aluno getAluno(String codigo) {
        Aluno aluno = new Aluno();
        aluno.setCodigoAluno(Integer.parseInt(codigo));
        aluno.setCodigoPessoa(Integer.parseInt(codigo));
        return aluno;
    }

    public boolean salvar(Aluno pAluno) {
        return true;
    }

    public boolean atualizar(Aluno pAluno) {
        return true;
    }

    public boolean excluir(String codigo) {
        return true;
    }
   
    public boolean relacionarEstagio(String codigo) {
        return true;
    }
   
    public int getMaiorCodigo() {
        int intCodigo = 0;       
        return intCodigo;
    }
}
TOP

Related Classes of daoTeste.AlunoDAO

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.