Package Negocio_Dados

Examples of Negocio_Dados.Funcionario


    @Override
    public String gerarFuncionario(String nome) throws NegocioException {
        String aux = mc.gerarFuncionario(nome);
        int id = Integer.parseInt(aux);
        Funcionario f = new Funcionario(id, nome);
        addFunc(f);
       
        return aux;
    }
View Full Code Here


    @Override
    public void funcEditado(FuncEvent ev) {
        for(int i = 0; i < model.size(); i++)
        {
            Funcionario aux = model.get(i);
            if(aux.getId() == ev.getF().getId()){
                model.set(i, aux);
                fireContentsChanged(this, i, i);
        }
        }
    }
View Full Code Here

TOP

Related Classes of Negocio_Dados.Funcionario

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.