try{
if(item.getItemEstrutAcaoIettas().size() > 0){
builder.addNode("acoes", "label=\"" + builder.normalize(label) + "\"");
Iterator it = item.getItemEstrutAcaoIettas().iterator();
while(it.hasNext()){
ItemEstrutAcaoIetta acao = (ItemEstrutAcaoIetta) it.next();
// ignorar registro inativo
if(Dominios.NAO.equals(acao.getIndAtivoIetta())) {
continue;
}
String ultManutencao = (acao.getUsuarioUsu() != null) ? acao.getUsuarioUsu().getNomeUsu() : "";
builder.addClosedNode("acao",
"data=\"" + builder.normalize(Pagina.trocaNullData(acao.getDataIetta())) + "\""+
" descricao=\"" + builder.normalize(Pagina.trocaNull(acao.getDescricaoIetta())) + "\"" +
" ultManutencao=\"" + builder.normalize(ultManutencao) + "\"" +
" dataInclusao=\"" + builder.normalize(Pagina.trocaNullData(acao.getDataInclusaoIetta())) + "\"");
}
builder.closeNode("acoes");
}
} catch(Exception e){
this.logger.error(e);