Examples of IndicadorBean


Examples of ecar.servlet.relatorio.PPA.bean.IndicadorBean

  }
 
  private ArrayList<IndicadorBean> generateIndicadores(Set indicadores)
      throws ECARException {

    IndicadorBean bean = null;

    ArrayList<IndicadorBean> retorno = new ArrayList<IndicadorBean>();

    for (Iterator iter = indicadores.iterator(); iter.hasNext();) {
      ItemEstrtIndResulIettr ind = (ItemEstrtIndResulIettr) iter.next();
     
      if ( ind.getIndAtivoIettr()!=null &&  "S".equalsIgnoreCase(ind.getIndAtivoIettr())) {

        bean = new IndicadorBean();

        bean.setNome(ind.getNomeIettir());
        bean.setUnidade(ind.getUnidMedidaIettr());
        bean.setPeriodicidade(ind.getPeriodicidadePrdc() != null ? ind
            .getPeriodicidadePrdc().getDescricaoPrdc() : "");
        bean.setFonte(ind.getFonteIettr());
        bean.setIndiceRecente(ind.getIndiceMaisRecenteIettr());
        bean.setDataApuracao(ind.getDataApuracaoIettr());

        Set fisico = ind.getItemEstrutFisicoIettfs();
        for (Iterator iterator = fisico.iterator(); iterator.hasNext();) {
          ItemEstrutFisicoIettf elemento = (ItemEstrutFisicoIettf) iterator
              .next();
View Full Code Here

Examples of ecar.servlet.relatorio.PPA.bean.IndicadorBean

  private ArrayList<IndicadorBean> contadorIndicador(ArrayList<IndicadorBean> list){
   
   
    int cont =0;
    for (Iterator iter = list.iterator(); iter.hasNext();) {
      IndicadorBean element = (IndicadorBean) iter.next();
      element.setIndice(new Integer(cont));
      cont++;
     
    }
    return list;
  }
View Full Code Here
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.