Package fing.satode.dominio

Examples of fing.satode.dominio.IdlTipoEvento


      Set<IdlTipoEvento> tiposEventos=new HashSet<IdlTipoEvento>();
     
      for(TipoEvento t:tipoEventos){
        ArrayList<Long> tipoE=new ArrayList<Long>();
        tipoE.add(t.getId());
        IdlTipoEvento idlTipoEvento=new IdlTipoEvento();
        Set<IdlEvento> eventosIdl=new HashSet<IdlEvento>();
        for(Evento e: EventoDAO.getInstance().listaEventosPorDepratamentoYTiposDeEvento(dto.getFechaFino(),dto.getFechaInicio(), d.getDepartamento().getId() ,tipoE))
        {
          eventosIdl.add(new IdlEvento(e.getDTO()));
        }
        if(eventos.size()>0)
          idlTipoEvento.setPocentaje((Float.valueOf(eventosIdl.size())/Float.valueOf(eventos.size()))*100);
       
        idlTipoEvento.setEventos(eventosIdl);
        idlTipoEvento.setTipoEvento(t);
        tiposEventos.add(idlTipoEvento);
      }
     
      d.setTiposEventos(tiposEventos);
      deptosDTOs.add(d.getDTO());
 
View Full Code Here

TOP

Related Classes of fing.satode.dominio.IdlTipoEvento

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.