Package banco_imobiliario.dao

Examples of banco_imobiliario.dao.ImovelDAO


public class ImovelFactory implements LogradouroFactory{

    @Override
    public CasaDePropriedade criarLogradouro(int id) {
        //Instanciando Objetos
        ImovelDAO imovelDao = new ImovelDAOImpl();       
        Imovel imovel;
       
        //Atribuindo ao objeto o retorno da empresa no banco de dados de acordo com o id passado
        imovel = imovelDao.buscarImovel(id);
              
        return imovel;
    }
View Full Code Here

TOP

Related Classes of banco_imobiliario.dao.ImovelDAO

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.