Package dao

Examples of dao.AvaliacaoDAO


    private AvaliacaoDAO avaliacaoDAO;
    private ArrayList<Avaliacao> listaDeAvaliacaos;
   
    public AvaliacaoController() {
        this.avaliacao = new Avaliacao();
        this.avaliacaoDAO = new AvaliacaoDAO();
        this.listaDeAvaliacaos = new ArrayList<Avaliacao>();
    }
View Full Code Here


    }

    public String getNovoCodigo() {
        String novoCodigo = "0";
        if(GerenciadorDeConfiguracoesDoSistema.getUsarConexao()){
            avaliacaoDAO = new AvaliacaoDAO();
            int codigo = avaliacaoDAO.getMaiorCodigo() + 1;
            novoCodigo = String.valueOf(codigo);
        }else
            JOptionPane.showMessageDialog(null, Strings.mensagemConexaoDesativada, Strings.tituloMessage, JOptionPane.INFORMATION_MESSAGE);
      
View Full Code Here

TOP

Related Classes of dao.AvaliacaoDAO

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.