Package ecar.pojo

Examples of ecar.pojo.ObjetoEstrutura.iGetNome()


                        }
                      }
            
                      valor = valor.trim();
                    } else {
                      if("nivelPlanejamento".equals(estruturaAtributo.iGetNome())){
                          if(item.getItemEstruturaNivelIettns() != null){
                            int tam = item.getItemEstruturaNivelIettns().size();
                            int pos = 1;
                            Iterator niveis = item.getItemEstruturaNivelIettns().iterator();
                            while(niveis.hasNext()){
View Full Code Here


                    strBuffer.append("<!-- Imprime os itens da estrutura -->");
                    strBuffer.append("<td width=\\\"" + col.iGetLargura() + "%\\\" aliasSortableIndex >");
                    String[] strArray = new String[2];                               
                   
                   
                    if("nivelPlanejamento".equals(col.iGetNome())){
                    String niveis = "";
                      if(itemEstrutura.getItemEstruturaNivelIettns() != null && !itemEstrutura.getItemEstruturaNivelIettns().isEmpty()){
                        Iterator itNiveis = itemEstrutura.getItemEstruturaNivelIettns().iterator();
                        while(itNiveis.hasNext()){
                          SisAtributoSatb nivel = (SisAtributoSatb) itNiveis.next();
View Full Code Here

             
              strBuffer.append(" width=\\\""+coluna.iGetLargura()+"%\\\" aliasSortableIndex >");
              strBuffer.append(strHRef);
              strBuffer.append("<font color=\\\""+estruturaSelecionada.getCodCor4Ett()+"\\\">");
       
              if("nivelPlanejamento".equals(coluna.iGetNome())){
                String niveis = "";
                  if(item.getItemEstruturaNivelIettns() != null && !item.getItemEstruturaNivelIettns().isEmpty()){
                    Iterator itNiveis = item.getItemEstruturaNivelIettns().iterator();
                    while(itNiveis.hasNext()){
                      SisAtributoSatb nivel = (SisAtributoSatb) itNiveis.next();
View Full Code Here

                Iterator itDados = dados.iterator();
                while(itDados.hasNext()){
                    ObjetoEstrutura estruturaAtributo = (ObjetoEstrutura) itDados.next();

                    if(estruturaAtributo != null){
                      String nomeAtributo = estruturaAtributo.iGetNome()
                      String valor = Util.normalizaCaracterMarcador(estruturaAtributo.iGetValor(itemRevisao));
                      String tipoAtributo = descobreTipo(nomeAtributo);
                      if(valor != null && !"".equals(valor.trim()))
                        builder.addClosedNode(tipoAtributo, "label=\"" + builder.normalize(estruturaAtributo.iGetLabel()) + ": \"" + " valor=\"" + builder.normalize(valor) + "\"");
                    }
View Full Code Here

           
            for(Iterator it2 = colunas.iterator(); it2.hasNext();){
              ObjetoEstrutura atb = (ObjetoEstrutura) it2.next();
              String valor = "";
             
              if("nivelPlanejamento".equals(atb.iGetNome())){
                String niveis = "";
                  if(iett.getItemEstruturaNivelIettns() != null && !iett.getItemEstruturaNivelIettns().isEmpty()){
                    Iterator itNiveis = iett.getItemEstruturaNivelIettns().iterator();
                    while(itNiveis.hasNext()){
                      SisAtributoSatb nivel = (SisAtributoSatb) itNiveis.next();
View Full Code Here

                if (informacaoIettSatb.length() > 0){
                  informacaoIettSatb = informacaoIettSatb.substring(0, informacaoIettSatb.length() - 2);
                }
                valor = informacaoIettSatb;
              } else {
                valor = itemEstruturaDao.getValorAtributoItemEstrutura(iett, atb.iGetNome(), atb.iGetNomeFk());
              }

             
              Date data = Data.parseDate(valor, "dd/MM/yyyy");
            if(data != null){ //� campo data!
View Full Code Here

      ItemEstruturaIett item = (ItemEstruturaIett) it.next();
     
      if(colunas != null && !colunas.isEmpty()){
        for(Iterator it2 = colunas.iterator(); it2.hasNext();){
          ObjetoEstrutura atb = (ObjetoEstrutura) it2.next();
          String valor = itemEstruturaDao.getValorAtributoItemEstrutura(item, atb.iGetNome(), atb.iGetNomeFk());
         
          if(valor != null){
            if(valor.length() > tam){
              tam = valor.length();
            }
View Full Code Here

        //ou n�o est� ativo.
            if(atributos != null){
                Iterator it = atributos.iterator();
                while(it.hasNext()){
                    ObjetoEstrutura atributoEstrutura = (ObjetoEstrutura) it.next();
                    if(atributoEstrutura.iGetNome().equals("orgaoOrgByCodOrgaoResponsavel1Iett")){
                      labelOrgaoOrgByCodOrgaoResponsavel1Iett = atributoEstrutura.iGetLabel();
                  }
                }               
            }
                       
View Full Code Here

                      geraValidacaoAtributoLivre(atributoEstrutura);
                  }
                    else {
                      try {
                          this.getClass().
                            getMethod("geraValidacao" + Util.primeiraLetraToUpperCase(atributoEstrutura.iGetNome()), new Class[] { ObjetoEstrutura.class }).
                              invoke(this, new Object[] { atributoEstrutura });
                          if("dataInicioIett".equals(atributoEstrutura.iGetNome()) || "dataTerminoIett".equals(atributoEstrutura.iGetNome())){
                            datas++;
                          }
                         
View Full Code Here

                    else {
                      try {
                          this.getClass().
                            getMethod("geraValidacao" + Util.primeiraLetraToUpperCase(atributoEstrutura.iGetNome()), new Class[] { ObjetoEstrutura.class }).
                              invoke(this, new Object[] { atributoEstrutura });
                          if("dataInicioIett".equals(atributoEstrutura.iGetNome()) || "dataTerminoIett".equals(atributoEstrutura.iGetNome())){
                            datas++;
                          }
                         
                          if("dataInicioIett".equals(atributoEstrutura.iGetNome())){
                            labelDataIni = atributoEstrutura.iGetLabel();
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.