Package ecar.pojo

Examples of ecar.pojo.ItemEstruturaSisAtributoIettSatb


      ItemEstruturaIettPPA itemAcao = (ItemEstruturaIettPPA)this.buscar( ItemEstruturaIettPPA.class , codItem );

    Set sisAtributoList = itemAcao.getItemEstruturaSisAtributoIettSatbs();
    for (Iterator iterator = sisAtributoList.iterator(); iterator
        .hasNext();) {
      ItemEstruturaSisAtributoIettSatb sis = (ItemEstruturaSisAtributoIettSatb) iterator.next();
      if (sis.getSisAtributoSatb().getCodSatb().longValue() == INTEGRALIZACAO_CAPITAL_SIM ){
        integralizacaoCapital.add( itemAcao.getCodIett() );
      }
    }
     
      StringBuilder queryStr = new StringBuilder();
View Full Code Here


      ItemEstruturaIettPPA acao = (ItemEstruturaIettPPA) iter.next();
     
      Set sisAtributoList = acao.getItemEstruturaSisAtributoIettSatbs();
      for (Iterator iterator = sisAtributoList.iterator(); iterator
          .hasNext();) {
        ItemEstruturaSisAtributoIettSatb sis = (ItemEstruturaSisAtributoIettSatb) iterator.next();
        if (sis.getSisAtributoSatb().getCodSatb().longValue() == INTEGRALIZACAO_CAPITAL_SIM ){
          integralizacaoCapital.add( acao.getCodIett() );
        }
      }
     
    }
View Full Code Here

      ItemEstruturaIettPPA itemAcao = (ItemEstruturaIettPPA)this.buscar( ItemEstruturaIettPPA.class , codItem );
     
    Set sisAtributoList = itemAcao.getItemEstruturaSisAtributoIettSatbs();
    for (Iterator iterator = sisAtributoList.iterator(); iterator
        .hasNext();) {
      ItemEstruturaSisAtributoIettSatb sis = (ItemEstruturaSisAtributoIettSatb) iterator.next();
      if (sis.getSisAtributoSatb().getCodSatb().longValue() == INTEGRALIZACAO_CAPITAL_SIM ){
        integralizacaoCapital.add( itemAcao.getCodIett() );
      }
    }
     
      StringBuilder queryStr = new StringBuilder();
View Full Code Here

      ItemEstruturaIettPPA acao = (ItemEstruturaIettPPA) iter.next();
     
      Set sisAtributoList = acao.getItemEstruturaSisAtributoIettSatbs();
      for (Iterator iterator = sisAtributoList.iterator(); iterator
          .hasNext();) {
        ItemEstruturaSisAtributoIettSatb sis = (ItemEstruturaSisAtributoIettSatb) iterator.next();
        if (sis.getSisAtributoSatb().getCodSatb().longValue() == INTEGRALIZACAO_CAPITAL_SIM ){
          integralizacaoCapital.add( acao.getCodIett() );
        }
      }
     
    }
View Full Code Here

        exibirEstrutura = true;
      } else if(estrutura.getIndExibirEstruturaEtt().equals(Dominios.SIM)) {
        Iterator<SisAtributoSatb> itSisAtributos = estrutura.getSisAtributoSatbEttSuperior().iterator();
      Iterator<ItemEstruturaSisAtributoIettSatb> itIettSatbs =  itemEstruturaSelecionado.getItemEstruturaSisAtributoIettSatbs().iterator();
      while(itIettSatbs.hasNext()) {
        ItemEstruturaSisAtributoIettSatb itemEstruturaSisAtributoIettSatb = (ItemEstruturaSisAtributoIettSatb) itIettSatbs.next();
        if(itemEstruturaSisAtributoIettSatb.getSisAtributoSatb() != null) {
          SisAtributoSatb sisAtributoItem = itemEstruturaSisAtributoIettSatb.getSisAtributoSatb();
          while(itSisAtributos.hasNext()) {
            SisAtributoSatb sisAtributoItemConfigurado = (SisAtributoSatb)itSisAtributos.next();
            if(sisAtributoItemConfigurado.getCodSatb().equals(sisAtributoItem.getCodSatb())) {
              exibirEstrutura = true;
              break;
View Full Code Here

                    Iterator itIettSatbs = item.getItemEstruturaSisAtributoIettSatbs(  ).iterator(  );
                    String informacaoIettSatb = "";

                    while ( itIettSatbs.hasNext(  ) )
                    {
                        ItemEstruturaSisAtributoIettSatb itemEstruturaSisAtributoIettSatb =
                            (ItemEstruturaSisAtributoIettSatb) itIettSatbs.next(  );

                        if ( itemEstruturaSisAtributoIettSatb.getSisAtributoSatb(  ).getSisGrupoAtributoSga(  )
                                                                 .equals( atributo.iGetGrupoAtributosLivres(  ) ) )
                        {
                            if ( atributo.iGetGrupoAtributosLivres(  ).getSisTipoExibicGrupoSteg(  ).getCodSteg(  )
                                             .equals( new Long( Input.TEXT ) ) ||
                                     atributo.iGetGrupoAtributosLivres(  ).getSisTipoExibicGrupoSteg(  ).getCodSteg(  )
                                                 .equals( new Long( Input.TEXTAREA ) ) ||
                                     atributo.iGetGrupoAtributosLivres(  ).getSisTipoExibicGrupoSteg(  ).getCodSteg(  )
                                                 .equals( new Long( Input.MULTITEXTO ) ) ||
                                     atributo.iGetGrupoAtributosLivres(  ).getSisTipoExibicGrupoSteg(  ).getCodSteg(  )
                                                 .equals( new Long( Input.VALIDACAO ) ) )
                            {
                                informacaoIettSatb = informacaoIettSatb +
                                                     itemEstruturaSisAtributoIettSatb.getInformacao(  ) + config.getSeparadorCampoMultivalor();
                            } else if ( ! atributo.iGetGrupoAtributosLivres(  ).getSisTipoExibicGrupoSteg(  )
                                                      .getCodSteg(  ).equals( new Long( Input.IMAGEM ) ) )
                            {
                                //se for do tipo imagem n�o faz nada, deixa em branco.
                                informacaoIettSatb = informacaoIettSatb +
                                                     itemEstruturaSisAtributoIettSatb.getSisAtributoSatb(  )
                                                                                     .getDescricaoSatb(  ) + config.getSeparadorCampoMultivalor()/*"; "*/;
                            }
                        }
                    }

View Full Code Here

 
      Set atributos = itemPrograma.getItemEstruturaSisAtributoIettSatbs();
      String tipoAcao = null;
     
      for (Iterator iter = atributos.iterator(); iter.hasNext();) {
        ItemEstruturaSisAtributoIettSatb atributo = (ItemEstruturaSisAtributoIettSatb) iter
            .next();
        if ( atributo.getSisAtributoSatb().getSisGrupoAtributoSga().getCodSga().longValue() == 15L  ){
          tipoAcao = atributo.getSisAtributoSatb().getDescricaoSatb();
          break;
        }
       
      }
      programa.setTipoAcao(tipoAcao == null ? "" : tipoAcao);
View Full Code Here

                 
                  //Para cada atributo livre do �tem, verifica-se se este corresponde
                  //ao atributo que esta sendo tratado
                  while(itAtribLivres.hasNext()){
                   
                    ItemEstruturaSisAtributoIettSatb itemEstruturaSisAtrib = (ItemEstruturaSisAtributoIettSatb) itAtribLivres.next();
                    //Iterador com os atributos livres associados ao atributo em quest�o
                    Iterator<SisAtributoSatb> sisAtributosSatbIt = atributo.iGetGrupoAtributosLivres().getSisAtributoSatbs().iterator();
                   
                    while (sisAtributosSatbIt.hasNext()) {
                      SisAtributoSatb sisAtributo = (SisAtributoSatb) sisAtributosSatbIt.next();
                      if( (sisAtributo).equals(itemEstruturaSisAtrib.getSisAtributoSatb()) ) {
                        //Caso seja um atributo tipo texto
                        if(itemEstruturaSisAtrib.getInformacao() != null) {
                          if (itemPertenceAref || relatorioTipoMonitoramento.equals(Pagina.NAO)){
                            linhaRetorno += separadorParaCamposMulti + itemEstruturaSisAtrib.getInformacao().replaceAll("\n", " ").replaceAll("\r"," ").replaceAll("\t", " ");
                            separadorParaCamposMulti = this.separadorMultivalor;
                          }
                         
                        //Caso seja atributo tipo check, radio ou select
                        } else if(itemEstruturaSisAtrib.getSisAtributoSatb().getDescricaoSatb() != null) {
                          if (itemPertenceAref || relatorioTipoMonitoramento.equals(Pagina.NAO)){
                            linhaRetorno += separadorParaCamposCheck + (itemEstruturaSisAtrib.getSisAtributoSatb().getDescricaoSatb()).replaceAll("\n", " ").replaceAll("\r"," ").replaceAll("\t", " ");;
                            separadorParaCamposCheck = this.separadorMultivalor;
                          }
                         
                        //Caso n�o tenha valor associado ao atributo
                        } else {
View Full Code Here

               
                //Para cada atributo livre do �tem, verifica-se se este corresponde
                //ao atributo que esta sendo tratado
                while(itAtribLivres.hasNext()){
                 
                  ItemEstruturaSisAtributoIettSatb itemEstruturaSisAtrib = (ItemEstruturaSisAtributoIettSatb) itAtribLivres.next();
                  //Iterador com os atributos livres associados ao atributo em quest�o
                  Iterator<SisAtributoSatb> sisAtributosSatbIt = atributo.iGetGrupoAtributosLivres().getSisAtributoSatbs().iterator();
                 
                  while (sisAtributosSatbIt.hasNext()) {
                    SisAtributoSatb sisAtributo = (SisAtributoSatb) sisAtributosSatbIt.next();
                    if( (sisAtributo).equals(itemEstruturaSisAtrib.getSisAtributoSatb()) ) {
                      //Caso seja um atributo tipo texto
                      if (sisAtributo.getSisGrupoAtributoSga().getSisTipoExibicGrupoSteg().getCodSteg().intValue() == Input.IMAGEM){
                        if (itemEstruturaSisAtrib.getInformacao().indexOf("/") != -1){
                          String conteudoImagem = itemEstruturaSisAtrib.getInformacao().substring(itemEstruturaSisAtrib.getInformacao().lastIndexOf("/")+1);
                          if (conteudoImagem.indexOf("--") != -1){
                            conteudoImagem = conteudoImagem.substring(conteudoImagem.lastIndexOf("--")+3);
                          }
                          conteudo += separadorParaCamposMulti + conteudoImagem;
                        }
                      } else if(itemEstruturaSisAtrib.getInformacao() != null) {
                        conteudo += separadorParaCamposMulti + itemEstruturaSisAtrib.getInformacao().replaceAll("\n", " ").replaceAll("\r"," ").replaceAll("\t", " ");
                        separadorParaCamposMulti = separador;
                      //Caso seja atributo tipo check, radio ou select
                      } else if(itemEstruturaSisAtrib.getSisAtributoSatb().getDescricaoSatb() != null) {
                        conteudo += separadorParaCamposCheck + (itemEstruturaSisAtrib.getSisAtributoSatb().getDescricaoSatb()).replaceAll("\n", " ").replaceAll("\r"," ").replaceAll("\t", " ");;
                        separadorParaCamposCheck = separador;
                      //Caso n�o tenha valor associado ao atributo
                      } else {
                        conteudo += "";
                      }
View Full Code Here

                        List<ItemEstruturaSisAtributoIettSatb> listaSisAtributosInformados = item.obterAtirbutosLivresInformados(estruturaAtributo.iGetGrupoAtributosLivres());
                        int tam = listaSisAtributosInformados.size();
                        int pos = 0;
                        Iterator itAtribLivres = item.getItemEstruturaSisAtributoIettSatbs().iterator();
                        while(itAtribLivres.hasNext()){
                          ItemEstruturaSisAtributoIettSatb atributo = (ItemEstruturaSisAtributoIettSatb) itAtribLivres.next();
                          AtributoLivre atributoLivre = new AtributoLivre();
                          atributoLivre.setSisAtributoSatb(atributo.getSisAtributoSatb());
                          atributoLivre.setInformacao(atributo.getInformacao());
                         
                          if(!atributoLivre.getSisAtributoSatb().getSisGrupoAtributoSga().equals(estruturaAtributo.iGetGrupoAtributosLivres()))
                            continue;
                         
                          if((atributoLivre.getSisAtributoSatb()
View Full Code Here

TOP

Related Classes of ecar.pojo.ItemEstruturaSisAtributoIettSatb

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.